This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Remove-Item .\getmac\ -ErrorAction SilentlyContinue -Recurse -Include *.pyc | |
Remove-Item .\getmac\ -ErrorAction SilentlyContinue -Recurse -Include *.pyo | |
Remove-Item .\getmac\ -ErrorAction SilentlyContinue -Recurse -Force -Include '__pycache__' | |
Remove-Item -ErrorAction SilentlyContinue -Force -Recurse .\build\ | |
Remove-Item -ErrorAction SilentlyContinue -Force -Recurse .\dist\ | |
Remove-Item -ErrorAction SilentlyContinue -Force -Recurse *.egg | |
Remove-Item -ErrorAction SilentlyContinue -Force -Recurse *.egg-info | |
Remove-Item -ErrorAction SilentlyContinue -Force -Recurse .\.tox\ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://editorconfig.org/ | |
root = true | |
[*] | |
indent_style = space | |
indent_size = 4 | |
end_of_line = lf | |
charset = utf-8 | |
[*.py] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
"""Velocioraptor. rawr.""" | |
# TODO: improve resiliency to unexpected format changes/deviations | |
# TODO: generate modbus register/tag map | |
# TODO: generate input to a scanning script (what that looks like is TBD) | |
import xml.etree.ElementTree as ET | |
from pathlib import Path |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This example pyproject.toml is for a basic pip+setuptools setup. | |
# If you use a project management tool (like Poetry), then | |
# those tools will have slightly different configurations or additions. | |
# I highly recommend using a project management tool for your project. | |
# Project management is a highly opinionated subject. | |
# There are a lot of good, robust tools in this space now (as of 2023) | |
# Two that I've used and recommend are Poetry and PDM. | |
# Poetry is more mature, PDM is recent, both work well. | |
# - Poetry: https://python-poetry.org/ |
OlderNewer