forked from dbt-labs/metricflow
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
93 lines (86 loc) · 2.27 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
[tool.poetry]
name = "metricflow"
version = "0.140.0"
description = "Translates a simple metric definition into reusable SQL and executes it against the SQL engine of your choice."
authors = ["Transform <[email protected]>"]
license = "AGPL-3.0-or-later"
readme = "README.md"
homepage = "https://transform.co/metricflow"
repository = "https://github.com/transform-data/metricflow"
[tool.poetry.dependencies]
python = ">=3.8,<3.10"
typing_extensions = ">=4.0.0"
croniter = "^1.3.4"
pycron = "^3.0.0"
pydantic = "^1.9.0"
fuzzywuzzy = "^0.18.0"
jsonschema = "3.2.0"
SQLAlchemy = "^1.4.42"
snowflake-sqlalchemy = "^1.4.3"
sqlalchemy-redshift = "0.8.1"
numpy = ">=1.22.2"
pandas = "^1.3.0"
Jinja2 = ">=2.11.3"
PyYAML = "^6.0"
snowflake-connector-python = ">=2.7.8"
mo-sql-parsing = "^9.328.23003"
tabulate = "0.8.9"
more-itertools = "8.10.0"
graphviz = "0.18.2"
sqlalchemy2-stubs = "^0.0.2-alpha.21"
sqlalchemy-bigquery = "^1.4.3"
python-dateutil = "2.8.2"
requests = "^2.27.1"
MarkupSafe = "2.0.1"
psycopg2 = "^2.9.3"
google-auth = "^2.13.0"
google-cloud-bigquery = "^3.4.2"
halo = "^0.0.31"
update-checker = "^0.18.0"
"ruamel.yaml" = "^0.17.21"
rudder-sdk-python = "^1.0.3"
duckdb-engine = "^0.1.8"
duckdb = "0.3.4"
yamllint = "^1.26.3"
click = ">=7.1.2"
GitPython = "^3.1.27"
databricks-sql-connector = "2.0.3"
dbt-snowflake = {version="^1.4.0", optional=true}
dbt-redshift = {version="^1.4.0", optional=true}
dbt-postgres = {version="^1.4.0", optional=true}
dbt-bigquery = {version="^1.4.0", optional=true}
dbt-metadata-client = {version="^0.1.0", optional=true}
[tool.poetry.dev-dependencies]
pytest-mock = "^3.7.0"
pytest = "^7.1.1"
pre-commit = "^2.18.0"
[tool.poetry.extras]
dbt-snowflake = ["dbt-snowflake"]
dbt-redshift = ["dbt-redshift"]
dbt-postgres = ["dbt-postgres"]
dbt-bigquery = ["dbt-bigquery"]
dbt-cloud = ["dbt-metadata-client"]
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.poetry.scripts]
mf = 'metricflow.cli.main:cli'
[tool.black]
line-length = 120
target-version = ['py36', 'py37', 'py38']
force-exclude = '''
(
/(
\.eggs # exclude a few common directories in the
| \.git # root of the project
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
)/
)
'''