- Add Ruff rules to pyproject.toml.
- Update readme. - Add launch.json for python debugging in VSCode.
This commit is contained in:
16
.vscode/launch.json
vendored
Normal file
16
.vscode/launch.json
vendored
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
{
|
||||||
|
// Use IntelliSense to learn about possible attributes.
|
||||||
|
// Hover to view descriptions of existing attributes.
|
||||||
|
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
|
||||||
|
"version": "0.2.0",
|
||||||
|
"configurations": [
|
||||||
|
{
|
||||||
|
"name": "Python Debugger: Current File with Arguments",
|
||||||
|
"type": "debugpy",
|
||||||
|
"request": "launch",
|
||||||
|
"program": "${file}",
|
||||||
|
"console": "integratedTerminal",
|
||||||
|
"args": "${command:pickArgs}"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -24,6 +24,12 @@ Issues = "https://github.com/jlucas-primecontrols/AuDaGe/issues"
|
|||||||
[tool.coverage.report]
|
[tool.coverage.report]
|
||||||
exclude_also = ['if __name__ == "__main__"', 'pass']
|
exclude_also = ['if __name__ == "__main__"', 'pass']
|
||||||
|
|
||||||
|
[tool.ruff]
|
||||||
|
line-length = 80
|
||||||
|
|
||||||
|
[tool.ruff.lint.pep8-naming]
|
||||||
|
ignore-names = ["AuDaGe"]
|
||||||
|
|
||||||
[tool.setuptools.packages.find]
|
[tool.setuptools.packages.find]
|
||||||
where = ["src", "tests"]
|
where = ["src", "tests"]
|
||||||
|
|
||||||
|
|||||||
26
readme.md
26
readme.md
@@ -4,6 +4,22 @@ AuDaGe is a tool for converting between common process control data formats
|
|||||||
using Python (pandas). AuDaGe will initially consist of a command-line interface
|
using Python (pandas). AuDaGe will initially consist of a command-line interface
|
||||||
with a GUI application possibly to come later.
|
with a GUI application possibly to come later.
|
||||||
|
|
||||||
|
## Project Structure
|
||||||
|
- AuDaGe
|
||||||
|
- docs
|
||||||
|
- src
|
||||||
|
- AuDaGe
|
||||||
|
- formats
|
||||||
|
- applications
|
||||||
|
- assets
|
||||||
|
- file format modules
|
||||||
|
- common code modules
|
||||||
|
- tests
|
||||||
|
- assets
|
||||||
|
- output
|
||||||
|
- test modules
|
||||||
|
- configuration
|
||||||
|
|
||||||
## Planned formats (non-exhaustive):
|
## Planned formats (non-exhaustive):
|
||||||
- PLC variable export:
|
- PLC variable export:
|
||||||
- In Development:
|
- In Development:
|
||||||
@@ -11,17 +27,21 @@ with a GUI application possibly to come later.
|
|||||||
- Planned:
|
- Planned:
|
||||||
- Schneider Electric ControlExpert TSV (TXT)
|
- Schneider Electric ControlExpert TSV (TXT)
|
||||||
- Allen-Bradley CSV
|
- Allen-Bradley CSV
|
||||||
|
- Maybe someday:
|
||||||
|
- Siemens
|
||||||
|
|
||||||
- HMI/SCADA databases:
|
- HMI/SCADA databases:
|
||||||
- In Development:
|
- In Development:
|
||||||
- Kepserver EX/Enterprise CSV
|
- Kepserver EX/Enterprise CSV
|
||||||
- Planned:
|
- Planned:
|
||||||
- FactoryTalk View SE Alarm Database XLS and/or XML
|
- FactoryTalk View SE Alarm Database XLS and/or XML
|
||||||
- PI Historian XLSX
|
- PI Historian XLS(X)
|
||||||
|
- Maybe someday:
|
||||||
|
- Kepserver OPF/PFE
|
||||||
|
|
||||||
## Dataframe format
|
## Dataframe format
|
||||||
| name | [parent] | type | address | [bitrank] | [save] | comment |
|
| name | type | address | comment |
|
||||||
|:----:|:--------:|:----:|:-------:|:---------:|:------:|:-------:|
|
|:----:|:----:|:-------:|:-------:|
|
||||||
|
|
||||||
## Dependencies
|
## Dependencies
|
||||||
- pandas
|
- pandas
|
||||||
Reference in New Issue
Block a user