Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
99 lines (88 loc) · 3.34 KB
/
Copy pathpyproject.toml
File metadata and controls
99 lines (88 loc) · 3.34 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
94
95
96
97
98
99
[build-system]
requires = ["maturin>=1.5,<2.0"]
build-backend = "maturin"
[project]
name = "dataprof"
description = "Fast, lightweight data profiling and quality assessment library"
authors = [{name = "Andrea Bozzo", email = "andreabozzo92@gmail.com"}]
# Kept in agreement with .github/python-interpreters.json by the release gate.
requires-python = ">=3.11,<3.16"
dependencies = []
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Operating System :: POSIX",
"Operating System :: Microsoft :: Windows",
"Operating System :: MacOS :: MacOS X",
"Programming Language :: Rust",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Programming Language :: Python :: 3.15",
"Topic :: Scientific/Engineering",
"Topic :: Software Development :: Libraries :: Python Modules",
]
keywords = ["data", "profiling", "quality", "csv", "json", "analysis", "performance"]
license = {file = "LICENSE"}
readme = "README.md"
dynamic = ["version"]
[project.urls]
Homepage = "https://andreabozzo.github.io/dataprof/"
Repository = "https://github.com/AndreaBozzo/dataprof"
Issues = "https://github.com/AndreaBozzo/dataprof/issues"
[project.optional-dependencies]
pandas = ["pandas>=2.0.0"]
jupyter = ["pandas>=2.0.0", "ipython>=8.0.0"]
all = ["pandas>=2.0.0", "ipython>=8.0.0", "numpy>=1.23.0"]
# There is deliberately no `database` extra: database support is a compile-time
# feature of the extension, not a Python dependency, and the published wheels do
# not carry it (#588). An extra cannot install it, so offering one only promises
# an install path that does not exist.
[dependency-groups]
dev = [
"maturin>=1.5,<2.0",
"jsonschema>=4.25,<5",
"pytest>=8.0",
"ruff>=0.9",
"ty>=0.0.56",
"pandas>=2.0.0",
"polars>=1.0.0",
"pyarrow>=14.0",
]
[tool.maturin]
# The single declaration of the shipped feature set: the release workflow
# passes no --features, so this list drives both the wheel and the sdist.
# python/tests/test_wheel_feature_single_source.py fails if that changes.
features = ["python", "python-async", "async-streaming", "parquet-async"]
manifest-path = "crates/dataprof-python/Cargo.toml"
module-name = "dataprof._dataprof"
python-source = "python"
bindings = "pyo3"
[tool.ruff]
target-version = "py311"
line-length = 100
[tool.ty.environment]
# Match requires-python floor; the extension module is stubbed in
# python/dataprof/_dataprof.pyi so ty can resolve the compiled core.
python-version = "3.11"
[tool.ruff.lint]
select = ["E", "F", "W", "I", "UP"]
[tool.ruff.lint.isort]
# Keep `from x import (a as a, b as b)` re-export blocks (e.g. __init__.pyi) combined.
combine-as-imports = true
[tool.pytest.ini_options]
testpaths = ["python/tests"]
python_files = "test_*.py"
python_classes = "Test*"
python_functions = "test_*"
addopts = "-v -ra -l --strict-markers -W default"
markers = [
"slow: Tests that take longer to run",
"integration: Integration tests requiring multiple components",
"database: Database integration tests (require database feature flags)",
]