-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpyproject.toml
More file actions
93 lines (84 loc) · 2.11 KB
/
Copy pathpyproject.toml
File metadata and controls
93 lines (84 loc) · 2.11 KB
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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
[project]
name = "opensdmx"
version = "0.24.0"
description = "Simple Python interface to any SDMX 2.1 REST API (Eurostat, ISTAT, and more)"
readme = "README.md"
authors = [
{ name = "Andrea Borruso", email = "aborruso@gmail.com" }
]
license = { text = "MIT" }
requires-python = ">=3.12"
keywords = ["sdmx", "statistics", "eurostat", "istat", "open-data", "api"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Scientific/Engineering",
"Topic :: Software Development :: Libraries :: Python Modules",
]
dependencies = [
"httpx[socks]>=0.28.1",
"lxml>=6.0.2",
"numpy>=2.4.2",
"ollama>=0.6.1",
"pandas>=2.0",
"platformdirs>=4.9.4",
"plotnine>=0.15.3",
"portalocker>=3.0.0",
"polars>=1.38.1",
"pyarrow>=23.0.1",
"pyyaml>=6.0.3",
"rich>=14.3.3",
"tenacity>=9.1.4",
"typer>=0.24.1",
]
[project.optional-dependencies]
guide = [
"chatlas[google]>=0.7",
"questionary>=2.1.1",
]
eval = [
"deepeval>=3.0",
]
[project.scripts]
opensdmx = "opensdmx:main"
[dependency-groups]
dev = [
"pytest>=8",
"ruff>=0.11",
"mypy>=1.11",
"types-PyYAML",
"lxml-stubs",
"pandas-stubs",
"opensdmx[guide]",
]
[tool.pytest.ini_options]
testpaths = ["tests"]
[tool.ruff.lint]
ignore = ["E402"]
[tool.mypy]
python_version = "3.12"
files = ["src/opensdmx"]
strict = true
# Third-party libraries without type stubs.
[[tool.mypy.overrides]]
module = [
"ollama.*",
"questionary.*",
"chatlas.*",
"matplotlib.*",
]
ignore_missing_imports = true
# plotnine ships py.typed but leaves its public API (aes, geom_*, theme, ...)
# unannotated, so skip following it — otherwise every call is a no-untyped-call.
[[tool.mypy.overrides]]
module = ["plotnine.*"]
follow_imports = "skip"
ignore_missing_imports = true
[build-system]
requires = ["uv_build>=0.9.7,<0.10.0"]
build-backend = "uv_build"