summaryrefslogtreecommitdiff
path: root/pyproject.toml
blob: 1f3538422e4e776d46b782e01cd0cf607d1c627b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
[build-system]
requires = ["hatchling>=1.20"]
build-backend = "hatchling.build"

[project]
name = "pyvyos"
version = "0.4.0"
authors = [
    { name = "Roberto Berto", email = "463349+robertoberto@users.noreply.github.com" },
]
description = "Python SDK for interacting with the VyOS HTTPS API"
readme = "README.md"
requires-python = ">=3.13"
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.13",
    "License :: OSI Approved :: MIT License",
    "Operating System :: OS Independent",
    "Typing :: Typed",
]
dependencies = [
    "requests>=2.32.0,<3.0",
    "python-dotenv>=1.0.1,<2.0",
    "urllib3>=2.5.0",
]

[project.optional-dependencies]
dev = [
    "pytest>=8.0,<10.0",
    "pytest-cov>=5.0,<7.0",
    "pytest-env>=0.6.2,<1.3",
]

[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.build.targets.wheel]
packages = ["pyvyos"]

[tool.pytest.ini_options]
testpaths = ["tests"]
log_cli = false
log_cli_level = "DEBUG"
filterwarnings = [
    "ignore::DeprecationWarning:_pytest.assertion.rewrite",
    "ignore::DeprecationWarning:ast",
]
env = [
    "VYDEVICE_APIKEY='api_key'",
    "VYDEVICE_HOSTNAME=192.168.56.100",
    "VYDEVICE_PORT=443",
    "VYDEVICE_PROTOCOL=https",
    "VYDEVICE_VERIFY_SSL=False",
]

[tool.coverage.run]
omit = ["tests/*"]

[tool.uv]
package = true