forked from posit-dev/pointblank
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
165 lines (150 loc) · 4.55 KB
/
Copy pathpyproject.toml
File metadata and controls
165 lines (150 loc) · 4.55 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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
[build-system]
requires = ["setuptools>=45", "wheel", "setuptools_scm>=6.2"]
build-backend = "setuptools.build_meta"
[tool.setuptools_scm]
[tool.setuptools.packages.find]
include = ["pointblank", "pointblank.*"]
[project]
name = "pointblank"
description = "Find out if your data is what you think it is."
readme = "README.md"
keywords = [
"data",
"quality",
"validation",
"testing",
"data science",
"data engineering",
]
license.file = "LICENSE"
authors = [{ name = "Richard Iannone", email = "riannone@me.com" }]
dynamic = ["version"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Operating System :: OS Independent",
"Topic :: Scientific/Engineering",
]
dependencies = [
"commonmark>=0.9.1",
"importlib-metadata",
"great_tables>=0.22.0",
"narwhals>=2.0.1",
"typing_extensions>=3.10.0.0",
"requests>=2.31.0",
"click>=8.0.0",
"rich>=13.0.0",
"pyyaml>=6.0.0",
]
requires-python = ">=3.10"
[project.optional-dependencies]
pd = ["pandas>=2.2.3"]
pl = ["polars>=1.33.0"]
pyspark = ["pyspark==3.5.6"]
generate = [
"chatlas>=0.3.0",
"anthropic[bedrock]>=0.45.2",
"openai>=1.63.0",
"httpx>=0.28.0",
"shiny>=1.3.0",
]
mcp = ["mcp[cli]>=1.10.1", "fastmcp>=2.11.3", "pytest-asyncio>=1.0.0"]
otel = [
"opentelemetry-api>=1.22.0",
"opentelemetry-sdk>=1.22.0",
]
excel = ["openpyxl>=3.0.0"]
cdisc = ["lxml>=4.9.0"]
bigquery = ["ibis-framework[bigquery]>=9.5.0"]
databricks = ["ibis-framework[databricks]>=9.5.0"]
duckdb = ["ibis-framework[duckdb]>=9.5.0"]
mysql = ["ibis-framework[mysql]>=9.5.0"]
mssql = ["ibis-framework[mssql]>=9.5.0"]
postgres = ["ibis-framework[postgres]>=9.5.0"]
snowflake = ["ibis-framework[snowflake]>=9.5.0"]
sqlite = ["ibis-framework[sqlite]>=9.5.0"]
docs = [
"jupyter",
"nbclient>=0.10.0",
"nbformat>=5.10.4",
"pandas>=2.2.3,<3", # <3: pandas 3.0's default `str` dtype is unsupported by the pinned duckdb (<1.3.3)
"polars>=1.17.1",
"pyspark==3.5.6",
"openpyxl>=3.0.0",
"duckdb>=1.2.0,<1.3.3", # Pin to stable versions avoiding 1.4.0+ RecordBatchReader issues
"lxml>=4.9.0", # CDISC Define-XML / Controlled Terminology examples
"pyreadstat>=1.2.0", # SAS Transport (XPT) metadata example
]
[dependency-groups]
dev = [
"chatlas>=0.6.1",
"duckdb>=1.2.0,<1.3.3", # Pin to stable versions avoiding 1.4.0+ RecordBatchReader issues
"hypothesis>=6.129.2",
"ibis-framework[duckdb,mysql,postgres,sqlite]>=9.5.0",
"jupyter",
"nbclient>=0.10.0",
"nbformat>=5.10.4",
"pandas>=2.2.3,<3", # <3: pandas 3.0's default `str` dtype is unsupported by the pinned duckdb (<1.3.3)
"polars>=1.17.1",
"pre-commit==2.15.0",
"pyarrow",
"pyarrow-stubs>=19.4",
"pyspark==3.5.6",
"pytest>=8.4.1",
"pytest-asyncio>=1.0.0",
"pytest-cov",
"pytest-randomly>=3.16.0",
"pytest-rerunfailures>=15.0",
"pytest-snapshot",
"pytest-xdist>=3.6.1",
"pyreadstat>=1.2.0",
"pytz>=2025.2",
"lxml>=4.9.0",
"ruff==0.14.10", # NOTE: must match rev in .pre-commit-config.yaml
"shiny>=1.4.0",
"openpyxl>=3.0.0",
"mcp[cli]>=1.10.1",
"fastmcp>=2.10.5",
"ty>=0.0.23",
"mypy>=1.19.0",
"tox-uv>=1.33.4",
"tox>=4.49.1",
]
[project.urls]
homepage = "https://github.com/posit-dev/pointblank"
[project.entry-points.pytest11]
pointblank = "pointblank.pytest_plugin"
[project.scripts]
pb = "pointblank.cli:cli"
[tool.pytest.ini_options]
minversion = "6.0"
addopts = "-ra --cov=pointblank"
testpaths = ["tests"]
markers = [
"otel: OpenTelemetry integration tests",
]
[tool.ruff]
line-length = 100
[tool.ruff.lint]
exclude = ["docs", ".venv", "tests/*", "pointblank/validate.pyi"]
ignore = [
"E402", # module level import not at top of file
"E501", # line too long (maximum 100 characters)
"F811", # redefinition of unused name
"E203", # whitespace before ':'
"F841", # local variable 'name' is assigned to but never used
"E702", # multiple statements on one line (semicolon)
]
[tool.coverage.report]
exclude_also = ["if TYPE_CHECKING:"]
[tool.coverage.run]
omit = [
"pointblank/_typing.py",
"pointblank/data/validations/preprocessing_functions.py",
]