pyixapi 0.3.0__tar.gz → 0.3.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {pyixapi-0.3.0 → pyixapi-0.3.1}/PKG-INFO +3 -2
- {pyixapi-0.3.0 → pyixapi-0.3.1}/README.md +1 -0
- {pyixapi-0.3.0 → pyixapi-0.3.1}/pyixapi/core/api.py +1 -1
- pyixapi-0.3.1/pyproject.toml +100 -0
- pyixapi-0.3.0/pyproject.toml → pyixapi-0.3.1/pyproject.toml.orig +3 -3
- {pyixapi-0.3.0 → pyixapi-0.3.1}/pyixapi/__init__.py +0 -0
- {pyixapi-0.3.0 → pyixapi-0.3.1}/pyixapi/core/__init__.py +0 -0
- {pyixapi-0.3.0 → pyixapi-0.3.1}/pyixapi/core/endpoint.py +0 -0
- {pyixapi-0.3.0 → pyixapi-0.3.1}/pyixapi/core/query.py +0 -0
- {pyixapi-0.3.0 → pyixapi-0.3.1}/pyixapi/core/response.py +0 -0
- {pyixapi-0.3.0 → pyixapi-0.3.1}/pyixapi/core/token.py +0 -0
- {pyixapi-0.3.0 → pyixapi-0.3.1}/pyixapi/core/util.py +0 -0
- {pyixapi-0.3.0 → pyixapi-0.3.1}/pyixapi/models.py +0 -0
- {pyixapi-0.3.0 → pyixapi-0.3.1}/pyixapi/py.typed +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pyixapi
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.1
|
|
4
4
|
Summary: Python API client library for IX-API
|
|
5
5
|
Author: Guillaume Mazoyer
|
|
6
6
|
Author-email: Guillaume Mazoyer <oss@mazoyer.eu>
|
|
@@ -12,7 +12,7 @@ Classifier: Programming Language :: Python :: 3.11
|
|
|
12
12
|
Classifier: Programming Language :: Python :: 3.12
|
|
13
13
|
Classifier: Programming Language :: Python :: 3.13
|
|
14
14
|
Classifier: Programming Language :: Python :: 3.14
|
|
15
|
-
Requires-Dist: pyjwt>=2.4.0,<2.
|
|
15
|
+
Requires-Dist: pyjwt>=2.4.0,<2.15
|
|
16
16
|
Requires-Dist: requests>=2.32.4,<3.0
|
|
17
17
|
Requires-Python: >=3.10
|
|
18
18
|
Description-Content-Type: text/markdown
|
|
@@ -36,6 +36,7 @@ To begin, import pyixapi and instantiate the API.
|
|
|
36
36
|
|
|
37
37
|
```python
|
|
38
38
|
import pyixapi
|
|
39
|
+
|
|
39
40
|
ixapi = pyixapi.api(
|
|
40
41
|
"https://api.de-cix.net/api/v2/",
|
|
41
42
|
"3LH3G72VH7H1SGogEsFeQOPsGjOQotMUZQRt2pK7YbH",
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
[project]
|
|
2
|
+
name = "pyixapi"
|
|
3
|
+
version = "0.3.1"
|
|
4
|
+
description = "Python API client library for IX-API"
|
|
5
|
+
readme = "README.md"
|
|
6
|
+
license = "Apache-2.0"
|
|
7
|
+
requires-python = ">=3.10"
|
|
8
|
+
classifiers = [
|
|
9
|
+
"Intended Audience :: Developers",
|
|
10
|
+
"Programming Language :: Python :: 3",
|
|
11
|
+
"Programming Language :: Python :: 3.10",
|
|
12
|
+
"Programming Language :: Python :: 3.11",
|
|
13
|
+
"Programming Language :: Python :: 3.12",
|
|
14
|
+
"Programming Language :: Python :: 3.13",
|
|
15
|
+
"Programming Language :: Python :: 3.14",
|
|
16
|
+
]
|
|
17
|
+
dependencies = [
|
|
18
|
+
"PyJWT>=2.4.0,<2.15",
|
|
19
|
+
"requests>=2.32.4,<3.0",
|
|
20
|
+
]
|
|
21
|
+
|
|
22
|
+
[[project.authors]]
|
|
23
|
+
name = "Guillaume Mazoyer"
|
|
24
|
+
email = "oss@mazoyer.eu"
|
|
25
|
+
|
|
26
|
+
[dependency-groups]
|
|
27
|
+
dev = [
|
|
28
|
+
"pytest",
|
|
29
|
+
"pytest-cov",
|
|
30
|
+
"ruff",
|
|
31
|
+
"ty",
|
|
32
|
+
]
|
|
33
|
+
|
|
34
|
+
[tool.ruff]
|
|
35
|
+
line-length = 120
|
|
36
|
+
exclude = [
|
|
37
|
+
".git",
|
|
38
|
+
".tox",
|
|
39
|
+
".venv",
|
|
40
|
+
"env",
|
|
41
|
+
"_build",
|
|
42
|
+
"build",
|
|
43
|
+
"dist",
|
|
44
|
+
"examples",
|
|
45
|
+
"__main__.py",
|
|
46
|
+
]
|
|
47
|
+
|
|
48
|
+
[tool.ruff.lint]
|
|
49
|
+
select = [
|
|
50
|
+
"C90",
|
|
51
|
+
"E",
|
|
52
|
+
"W",
|
|
53
|
+
"F",
|
|
54
|
+
"I",
|
|
55
|
+
"DTZ",
|
|
56
|
+
"ICN",
|
|
57
|
+
"TCH",
|
|
58
|
+
"T10",
|
|
59
|
+
"Q",
|
|
60
|
+
"YTT",
|
|
61
|
+
]
|
|
62
|
+
task-tags = [
|
|
63
|
+
"FIXME",
|
|
64
|
+
"TODO",
|
|
65
|
+
"XXX",
|
|
66
|
+
]
|
|
67
|
+
|
|
68
|
+
[tool.ruff.lint.isort]
|
|
69
|
+
known-first-party = ["pyixapi"]
|
|
70
|
+
|
|
71
|
+
[tool.ruff.lint.mccabe]
|
|
72
|
+
max-complexity = 31
|
|
73
|
+
|
|
74
|
+
[tool.ruff.format]
|
|
75
|
+
quote-style = "double"
|
|
76
|
+
indent-style = "space"
|
|
77
|
+
skip-magic-trailing-comma = false
|
|
78
|
+
line-ending = "auto"
|
|
79
|
+
|
|
80
|
+
[tool.ty.rules]
|
|
81
|
+
unresolved-attribute = "ignore"
|
|
82
|
+
invalid-return-type = "ignore"
|
|
83
|
+
unresolved-import = "ignore"
|
|
84
|
+
|
|
85
|
+
[tool.pytest.ini_options]
|
|
86
|
+
addopts = "--cov=pyixapi --cov-branch --cov-report=term-missing --cov-report=xml"
|
|
87
|
+
|
|
88
|
+
[tool.coverage.run]
|
|
89
|
+
source = ["pyixapi"]
|
|
90
|
+
omit = ["pyixapi/__main__.py"]
|
|
91
|
+
|
|
92
|
+
[tool.coverage.report]
|
|
93
|
+
exclude_lines = ["if TYPE_CHECKING:"]
|
|
94
|
+
|
|
95
|
+
[tool.uv.build-backend]
|
|
96
|
+
module-root = "."
|
|
97
|
+
|
|
98
|
+
[build-system]
|
|
99
|
+
requires = ["uv_build>=0.9.21,<0.13.0"]
|
|
100
|
+
build-backend = "uv_build"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "pyixapi"
|
|
3
|
-
version = "0.3.
|
|
3
|
+
version = "0.3.1"
|
|
4
4
|
description = "Python API client library for IX-API"
|
|
5
5
|
authors = [{ name = "Guillaume Mazoyer", email = "oss@mazoyer.eu" }]
|
|
6
6
|
readme = "README.md"
|
|
@@ -15,7 +15,7 @@ classifiers = [
|
|
|
15
15
|
"Programming Language :: Python :: 3.13",
|
|
16
16
|
"Programming Language :: Python :: 3.14",
|
|
17
17
|
]
|
|
18
|
-
dependencies = ["PyJWT>=2.4.0,<2.
|
|
18
|
+
dependencies = ["PyJWT>=2.4.0,<2.15", "requests>=2.32.4,<3.0"]
|
|
19
19
|
|
|
20
20
|
[dependency-groups]
|
|
21
21
|
dev = ["pytest", "pytest-cov", "ruff", "ty"]
|
|
@@ -69,7 +69,7 @@ omit = ["pyixapi/__main__.py"]
|
|
|
69
69
|
exclude_lines = ["if TYPE_CHECKING:"]
|
|
70
70
|
|
|
71
71
|
[build-system]
|
|
72
|
-
requires = ["uv_build>=0.9.21,<0.
|
|
72
|
+
requires = ["uv_build>=0.9.21,<0.13.0"]
|
|
73
73
|
build-backend = "uv_build"
|
|
74
74
|
|
|
75
75
|
[tool.uv.build-backend]
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|