diff options
| author | Roberto Bertó <463349+robertoberto@users.noreply.github.com> | 2026-05-19 03:15:55 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-05-19 03:15:55 -0300 |
| commit | 294d060ac1557ed70cab7a12f97d930f9dc4baf9 (patch) | |
| tree | 25e03a160fb1dc05a27a9118a7a6f573f0ffd123 /pyproject.toml | |
| parent | ffd5ba16eb1ada42a582db4ac8bdaf29f66a868f (diff) | |
| parent | 6071528289e4a8b11a772433c33851136d30f133 (diff) | |
| download | pyvyos-294d060ac1557ed70cab7a12f97d930f9dc4baf9.tar.gz pyvyos-294d060ac1557ed70cab7a12f97d930f9dc4baf9.zip | |
Merge pull request #31 from vyos-contrib/release/v0.4.0-cleanupv0.4.0
Release v0.4.0 — cleanup and consolidation
Diffstat (limited to 'pyproject.toml')
| -rw-r--r-- | pyproject.toml | 62 |
1 files changed, 29 insertions, 33 deletions
diff --git a/pyproject.toml b/pyproject.toml index 7a0f401..5c3885a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,70 +6,66 @@ build-backend = "hatchling.build" name = "pyvyos" version = "0.4.0" authors = [ - { name="Roberto Berto", email="463349+robertoberto@users.noreply.github.com" }, + { name = "Roberto Berto", email = "463349+robertoberto@users.noreply.github.com" }, ] -description = "Python SDK for interacting with VyOS API" +description = "Python SDK for interacting with the VyOS HTTPS API" readme = "README.md" -requires-python = ">=3.13" +requires-python = ">=3.11" +license = { file = "LICENSE" } +keywords = ["vyos", "networking", "sdk", "api", "router", "firewall"] classifiers = [ + "Development Status :: 4 - Beta", + "Intended Audience :: System Administrators", + "Intended Audience :: Developers", + "Topic :: System :: Networking", + "Topic :: Software Development :: Libraries :: Python Modules", "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", + "Typing :: Typed", ] dependencies = [ + "pytest>=9.0.3", "requests>=2.32.0,<3.0", - "python-dotenv>=1.0.1,<2.0", - "urllib3>=2.5.0", ] [project.optional-dependencies] dev = [ - "pytest>=6.2.5,<9.0.0", - "pytest-cov>=4.1,<6.0", + "python-dotenv>=1.0.1,<2.0", + "pytest>=8.0,<10.0", + "pytest-cov>=5.0,<7.0", "pytest-env>=0.6.2,<1.3", ] -validation = [ - "pydantic>=2.0,<3.0", -] [project.urls] Homepage = "https://github.com/vyos-contrib/pyvyos" Issues = "https://github.com/vyos-contrib/pyvyos/issues" +Changelog = "https://github.com/vyos-contrib/pyvyos/blob/main/CHANGELOG.md" -[tool.hatch.metadata] -dependencies = [ - "requests>=2.32.0,<3.0", - "python-dotenv>=1.0.1,<2.0", - "urllib3>=2.5.0", -] +[tool.hatch.build.targets.wheel] +packages = ["pyvyos"] [tool.pytest.ini_options] -testpaths = ["./tests"] +testpaths = ["tests"] log_cli = false log_cli_level = "DEBUG" filterwarnings = [ "ignore::DeprecationWarning:_pytest.assertion.rewrite", - "ignore::DeprecationWarning:ast" + "ignore::DeprecationWarning:ast", ] env = [ - "VYDEVICE_APIKEY='api_key'", - "VYDEVICE_HOSTNAME=192.168.56.100", - "VYDEVICE_PORT=443", - "VYDEVICE_PROTOCOL=https", - "VYDEVICE_VERIFY_SSL=False", + "D:VYDEVICE_APIKEY=api_key", + "D:VYDEVICE_HOSTNAME=192.168.56.100", + "D:VYDEVICE_PORT=443", + "D:VYDEVICE_PROTOCOL=https", + "D:VYDEVICE_VERIFY_SSL=False", ] [tool.coverage.run] -omit = [ - "tests/*", -] - -[dependency-groups] -dev = [ - "pytest>=8.4.2", - "pytest-cov>=5.0.0", - "pytest-env>=0.6.2", -] +omit = ["tests/*"] [tool.uv] package = true |
