Add ttp dependency and refactor OxiAPI and NodeConfig classes
- Added `ttp` as a dependency in `pyproject.toml` and `uv.lock`. - Updated `NodeConfig` to store model names in lowercase. - Refactored `OxiAPI` to always create a new session and added a `close` method. - Removed unnecessary logging in `Node` class. - Introduced interfaces for device registration with a new `BaseDevice` class and a `register_parser` function. - Created initial structure for device models, including a `Mikrotik` parser.
This commit is contained in:
@@ -10,7 +10,8 @@ readme = "README.md"
|
||||
requires-python = ">=3.13"
|
||||
dependencies = [
|
||||
"requests>=2.32.5",
|
||||
"ttp>=0.10.0",
|
||||
]
|
||||
[tool.setuptools.packages.find]
|
||||
where = ["."]
|
||||
include = ["oxi*"]
|
||||
include = ["oxi*"]
|
||||
|
||||
Reference in New Issue
Block a user