- Added `.idea` to `.gitignore` to exclude IDE configuration files. - Introduced `pydantic` version `2.12.5` as a dependency in `pyproject.toml` and `uv.lock`. - Added `annotated-types` as a new dependency in `uv.lock`. - Refactored `BaseDevice` class to include abstract methods for device properties and loading templates. - Created `Interfaces`, `System`, `Vlans`, and `Device` models in a new `contract.py` file for structured data handling. - Updated `Mikrotik` class to implement the new `BaseDevice` structure and added a template loading method.
19 lines
359 B
TOML
19 lines
359 B
TOML
[build-system]
|
|
requires = ["setuptools>=61"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "oxipy"
|
|
version = "0.1.0"
|
|
description = "Oxi API client"
|
|
readme = "README.md"
|
|
requires-python = ">=3.13"
|
|
dependencies = [
|
|
"pydantic>=2.12.5",
|
|
"requests>=2.32.5",
|
|
"ttp>=0.10.0",
|
|
]
|
|
[tool.setuptools.packages.find]
|
|
where = ["."]
|
|
include = ["oxi*"]
|