Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
105 lines (96 loc) · 3.1 KB
/
Copy pathpyproject.toml
File metadata and controls
105 lines (96 loc) · 3.1 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
[build-system]
requires = [ "setuptools >= 75.0" ]
build-backend = "setuptools.build_meta"
[project]
name = "data_formulator"
version = "0.8.0b1"
requires-python = ">=3.11"
authors = [
{name = "Chenglong Wang"},
{name = "Dan Marshall"},
]
readme = "README.md"
description = "Datly is an AI-powered data visualization workspace."
keywords = ["data visualization", "LLM", "AI"]
classifiers = [
"Development Status :: 4 - Beta",
"Programming Language :: Python"
]
dependencies = [
"pandas",
"flask",
"flask-cors",
"flask-limiter",
"openai",
"python-dotenv",
# litellm 1.92+ switched to a Rust/maturin build and ships manylinux-only
# wheels (no win_amd64 / macosx / py3-none-any), so installs hang on
# Windows/macOS without a Rust toolchain. Pin to the last universal-wheel
# line; >=1.84.0 keeps the litellm CVE fix and allows aiohttp>=3.14.
"litellm>=1.84.0,<1.92",
"aiohttp>=3.14.3",
"duckdb",
"sqlglot",
"numpy",
"vl-convert-python",
"beautifulsoup4",
"scikit-learn",
"pyyaml",
"pyarrow>=13.0.0",
"xlrd",
"openpyxl>=3.1.0",
"lxml", # pandas.read_html web table extraction
"yfinance",
# Data-loader deps (all included by default; try/except keeps things safe)
"pymongo", # mongodb
"azure-cosmos", # cosmosdb
"azure-storage-blob", # azure_blob
"azure-identity", # azure_blob, kusto
"azure-kusto-data", # kusto
"azure-keyvault-secrets", # kusto
"pymysql", # mysql
"clickhouse-connect", # clickhouse
"mssql-python>=1.11.0", # mssql
"psycopg2-binary", # postgresql
"boto3", # s3, athena
"google-cloud-bigquery", # bigquery
"google-auth", # bigquery
"db-dtypes", # bigquery
"databricks-sql-connector", # databricks
# SSO / Auth deps
"PyJWT[crypto]>=2.8.0", # OIDC JWT verification (includes cryptography)
"requests", # GitHub OAuth code exchange, Superset API calls
"flask-session>=0.8.0", # Server-side session (SQLite) for TokenStore
"argon2-cffi>=23.1.0", # First-party password hashes (C-auth-user-store)
]
[project.optional-dependencies]
# Headless-browser rendering for the data-loading agent's fetch_url(render=true).
# Needed for JavaScript single-page apps and pages behind a browser-verification
# challenge that a plain HTTP fetch cannot pass. After installing, also run:
# python -m playwright install chromium
browser = ["playwright>=1.40"]
desktop = [
"pyinstaller>=6.0",
"pywebview>=5.0",
]
[tool.setuptools]
package-dir = {"" = "py-src"}
include-package-data = true
[tool.setuptools.packages.find]
where = ["py-src"]
include = ["data_formulator*"]
# Analyst skills load SKILL.md and tools.json at runtime from the package dir.
[tool.setuptools.package-data]
"*" = ["SKILL.md", "tools.json"]
"data_formulator.data_loader.guides" = ["*.md"]
"data_formulator" = ["sample_data/*.csv"]
[project.scripts]
data_formulator = "data_formulator:run_app"
data_formulator_desktop = "data_formulator.desktop:run_desktop"
datly = "data_formulator:run_app"
datly_desktop = "data_formulator.desktop:run_desktop"
[tool.uv]
dev-dependencies = [
"build",
"pytest",
]