Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
86 lines (77 loc) · 2.04 KB
/
Copy pathpyproject.toml
File metadata and controls
86 lines (77 loc) · 2.04 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
[build-system]
requires = ["setuptools>=45", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "datapact"
version = "2.0.0"
description = "Validate datasets against YAML data contracts with support for Pact API contracts, ODCS schemas, and custom rules"
readme = "README.md"
requires-python = ">=3.9"
authors = [{name = "Nishant Verma", email = "meetnishant@gmail.com"}]
license = {text = "MIT"}
keywords = ["data-quality", "data-contract", "validation", "schema", "pact", "api-contract", "odcs", "open-data-contract", "data-pact"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
dependencies = [
"pandas>=1.5.0",
"pyyaml>=6.0",
"pyarrow>=10.0.0",
"pact-python>=2.0.0",
"openpyxl>=3.8.0",
"xlrd>=2.0.0",
]
[project.optional-dependencies]
dev = [
"pytest>=7.0",
"pytest-cov>=4.0",
"testcontainers[kafka]>=3.7.1",
"ruff>=0.1.0",
"black>=23.0",
"mypy>=1.0",
]
db = [
"psycopg2-binary>=2.9",
"pymysql>=1.1",
]
streaming = [
"confluent-kafka>=2.3.0",
]
flink = [
"pyflink>=1.18.0",
]
spark = [
"pyspark>=3.5.0",
]
[project.scripts]
datapact = "datapact.cli:main"
datapact-coverage = "datapact.coverage_check:main"
[tool.setuptools]
package-dir = {"" = "src"}
[tool.ruff]
line-length = 88
target-version = "py39"
[tool.ruff.lint]
select = ["E", "F", "W"]
ignore = []
[tool.mypy]
python_version = "3.9"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = false
[tool.pytest.ini_options]
testpaths = ["tests"]
pythonpath = ["src"]
markers = [
"PositiveCases: valid datasets expected to pass",
"NegativeCases: invalid datasets expected to fail",
"BoundaryCases: edge-case datasets around thresholds",
"performance: performance and NFR benchmarks",
]