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
|
[build-system]
requires = ["hatchling>=1.20"]
build-backend = "hatchling.build"
[project]
name = "pyvyos"
version = "0.3.0"
authors = [
{ name="Roberto Berto", email="463349+robertoberto@users.noreply.github.com" },
]
description = "Python SDK for interacting with VyOS API"
readme = "README.md"
requires-python = ">=3.13"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
dependencies = [
"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",
"pytest-env>=0.6.2,<0.7",
]
[project.urls]
Homepage = "https://github.com/vyos-contrib/pyvyos"
Issues = "https://github.com/vyos-contrib/pyvyos/issues"
[tool.hatch.metadata]
dependencies = [
"requests>=2.32.0,<3.0",
"python-dotenv>=1.0.1,<2.0",
"urllib3>=2.5.0",
]
[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/*",
]
|