forked from Kanaries/pygwalker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
127 lines (117 loc) · 2.94 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
126
127
[project]
name = "pygwalker"
dynamic = ["version"]
requires-python = ">=3.7"
description = "pygwalker: turn your data into an interactive UI for data exploration and visualization"
authors = [ { name = "kanaries", email = "[email protected]" } ]
license-files = { paths = ["LICENSE"] }
readme = "README.md"
keywords = [ 'visualization', 'pandas', 'data-analysis', 'tableau', 'data-exploration', 'dataframe', 'tableau-alternative', 'jupyter' ]
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: Apache Software License",
]
dependencies = [
"jinja2",
"ipython",
"astor",
"typing_extensions",
"ipywidgets",
"pydantic",
"psutil",
"duckdb>=0.10.1,<2.0.0",
"pyarrow",
"sqlglot>=23.15.8",
"requests",
"arrow",
"sqlalchemy",
"gw_dsl_parser==0.1.49.1",
"appdirs",
"segment-analytics-python==2.2.3",
"pandas",
"pytz",
"kanaries_track==0.0.5",
"cachetools",
"packaging",
"numpy<2.0.0",
"ipylab<=1.0.0",
"quickjs",
]
[project.urls]
homepage = "https://kanaries.net/pygwalker"
repository = "https://github.com/Kanaries/pygwalker"
# changelog, documentation
[project.optional-dependencies]
pandas = ["pandas"]
polars = ["polars"]
streamlit = ["streamlit"]
notebook = [
"jupyter-client<=7.4.9,>6.0.0",
"jupyter-server<=2.5.0",
"ipywidgets<8.0.0,>7.0.0"
]
snowflake = [
"pandas",
"SQLAlchemy==1.4.49",
"snowflake-sqlalchemy==1.5.0",
"pyarrow==10.0.1"
]
labv4 = [
"jupyter-client>7.4.9",
"jupyter-server>2.5.0",
"ipywidgets>=8.0.0"
]
all = [
"pygwalker[pandas,polars,streamlit]",
]
dev = [
"build",
"twine",
"jupyterlab",
"jupyter_server_proxy",
]
[project.scripts]
pygwalker = "bin.pygwalker_command:main"
[tool.hatch]
# metadata = { allow-direct-references = true }
version = { path = "pygwalker/__init__.py" }
[tool.hatch.build]
include = [
"pygwalker",
"pygwalker_tools",
"bin",
"pygwalker/templates/**",
"pygwalker/templates/**/*",
]
exclude = [ "/graphic-walker", "/tests" ]
artifacts = [ "pygwalker/templates/*" ]
[tool.hatch.build.hooks.jupyter-builder]
dependencies = ["hatch-jupyter-builder"]
build-function = "hatch_jupyter_builder.npm_builder"
ensured-targets = ["pygwalker/templates/dist/pygwalker-app.iife.js"]
skip-if-exists = ["pygwalker/templates/dist/pygwalker-app.iife.js"]
# install-pre-commit-hook = true
optional-editable-build = true
[tool.hatch.build.hooks.jupyter-builder.build-kwargs]
path = "app"
build_dir = "./build"
build_cmd = "build"
[tool.hatch.build.hooks.jupyter-builder.editable-build-kwargs]
path = "app"
build_dir = "./build"
build_cmd = "dev"
[tool.hatch.build.targets.wheel]
[tool.hatch.build.targets.sdist]
include = [
"README.md", "LICENSE",
"app",
"pygwalker",
"pygwalker_tools",
"bin",
"pygwalker/templates/**",
"pygwalker/templates/**/*",
"scripts",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"