forked from datacontract/datacontract-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
125 lines (107 loc) · 2.97 KB
/
pyproject.toml
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
[project]
name = "datacontract-cli"
version = "0.10.10"
description = "The datacontract CLI is an open source command-line tool for working with Data Contracts. It uses data contract YAML files to lint the data contract, connect to data sources and execute schema and quality tests, detect breaking changes, and export to different formats. The tool is written in Python. It can be used as a standalone CLI tool, in a CI/CD pipeline, or directly as a Python library."
readme = "README.md"
authors = [
{ name = "Jochen Christ", email = "[email protected]" },
{ name = "Stefan Negele", email = "[email protected]" },
{ name = "Simon Harrer", email = "[email protected]" },
]
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
requires-python = ">=3.10"
dependencies = [
"typer[all]>=0.9,<0.13",
"pydantic>=2.8.2,<2.9.0",
"pyyaml~=6.0.1",
"requests>=2.31,<2.33",
"fastapi==0.111.1",
"fastparquet==2024.5.0",
"python-multipart==0.0.9",
"rich~=13.7.0",
"simple-ddl-parser==1.5.2",
"soda-core-duckdb>=3.3.1,<3.4.0",
# remove setuptools when https://github.com/sodadata/soda-core/issues/2091 is resolved
"setuptools>=60",
"duckdb==1.0.0",
"fastjsonschema>=2.19.1,<2.21.0",
"python-dotenv~=1.0.0",
"rdflib==7.0.0",
"opentelemetry-exporter-otlp-proto-grpc~=1.16",
"opentelemetry-exporter-otlp-proto-http~=1.16",
"boto3>=1.34.41,<1.34.137",
"botocore>=1.34.41,<1.34.137",
"jinja_partials >= 0.2.1"
]
[project.optional-dependencies]
avro = [
"avro==1.11.3"
]
bigquery = [
"soda-core-bigquery>=3.3.1,<3.4.0"
]
databricks = [
"soda-core-spark-df>=3.3.1,<3.4.0",
"databricks-sql-connector>=3.1.2,<3.4.0",
"soda-core-spark[databricks]>=3.3.1,<3.4.0"
]
deltalake = [
"deltalake>=0.17,<0.19"
]
kafka = [
"datacontract-cli[avro]",
"soda-core-spark-df>=3.3.1,<3.4.0"
]
postgres = [
"soda-core-postgres>=3.3.1,<3.4.0"
]
s3 = [
"s3fs==2024.6.1"
]
snowflake = [
"snowflake-connector-python[pandas]>=3.6,<3.12",
"soda-core-snowflake>=3.3.1,<3.4.0"
]
sqlserver = [
"soda-core-sqlserver>=3.3.1,<3.4.0"
]
trino = [
"soda-core-trino>=3.3.1,<3.4.0"
]
all = [
"datacontract-cli[kafka,bigquery,snowflake,postgres,databricks,sqlserver,s3,deltalake,trino]"
]
dev = [
"datacontract-cli[all]",
"httpx==0.27.0",
"ruff",
"pre-commit>=3.7.1,<3.9.0",
"pytest",
"pytest-xdist",
"moto==5.0.11",
"pymssql==2.3.0",
"kafka-python",
"trino==0.329.0",
"testcontainers>=4.5,<4.8",
"testcontainers[core]",
"testcontainers[minio]",
"testcontainers[postgres]",
"testcontainers[kafka]",
"testcontainers[mssql]",
]
[project.urls]
Homepage = "https://cli.datacontract.com"
Issues = "https://github.com/datacontract/datacontract-cli/issues"
[project.scripts]
datacontract = "datacontract.cli:app"
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"
[tool.pytest.ini_options]
addopts = "-n 8"
[tool.ruff]
line-length = 120