forked from Zenlytic/metrics_layer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
68 lines (61 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
[tool.poetry]
name = "metrics_layer"
version = "0.10.30"
description = "The open source metrics layer."
authors = ["Paul Blankley <[email protected]>"]
keywords = ["Metrics Layer", "Business Intelligence", "Analytics"]
readme = "README.md"
license = "Apache 2.0"
homepage = "https://github.com/Zenlytic/metrics_layer"
repository = "https://github.com/Zenlytic/metrics_layer"
documentation = "https://docs.zenlytic.com"
[tool.poetry.dependencies]
python = ">=3.8.1, <3.12"
GitPython = ">=3.1.20"
sqlparse = ">=0.4.1"
PyPika = "^0.48.8"
pandas = "^1.5.2"
redshift-connector = {version = ">=2.0.905", optional = true}
snowflake-connector-python = {version = ">=2.7.6", optional = true}
pyarrow = {version = "^10.0.0", optional = true}
google-cloud-bigquery = {version = ">=2.24.1", optional = true}
psycopg2-binary = {version = ">=2.9.3", optional = true}
SQLAlchemy = {version = ">=1.3.18", optional = true}
dbt-core = {version = "<1.6.0", optional = true}
dbt-extractor = {version = "^0.4.0", optional = true}
dbt-snowflake = {version = "^1.0.0", optional = true}
dbt-bigquery = {version = "^1.0.0", optional = true}
dbt-redshift = {version = "^1.0.0", optional = true}
dbt-postgres = {version = "^1.0.0", optional = true}
networkx = "^2.8.2"
click = "^8.0"
colorama = "^0.4.4"
"ruamel.yaml" = "^0.17.20"
pendulum = "^2.1.2"
PyYAML = "^6.0"
[tool.poetry.dev-dependencies]
pytest = "^6.2.5"
black = "^22.3.0"
flake8 = "^3.9.2"
pre-commit = "^2.15.0"
isort = "^5.9.3"
pytest-cov = "^2.12.1"
pytest-mock = "^3.6.1"
[tool.poetry.extras]
snowflake = ["snowflake-connector-python", "pyarrow", "dbt-snowflake"]
bigquery = ["google-cloud-bigquery", "pyarrow", "dbt-bigquery"]
redshift = ["redshift-connector", "dbt-redshift"]
postgres = ["psycopg2-binary", "dbt-postgres"]
dbt = ["dbt-core", "dbt-extractor"]
all = ["snowflake-connector-python", "google-cloud-bigquery", "pyarrow", "dbt-core", "dbt-extractor", "dbt-snowflake", "dbt-bigquery", "dbt-redshift", "redshift-connector", "psycopg2-binary", "dbt-postgres"]
[tool.black]
line-length = 110
[tool.isort]
profile = "black"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.poetry.scripts]
# command_name = module_for_handler : function_for_handler
metrics_layer = 'metrics_layer:cli_group'
ml = 'metrics_layer:cli_group'