-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Expand file tree
/
Copy pathpyproject.toml
More file actions
102 lines (92 loc) · 3.27 KB
/
Copy pathpyproject.toml
File metadata and controls
102 lines (92 loc) · 3.27 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
[build-system]
requires = [ "setuptools >= 75.0" ]
build-backend = "setuptools.build_meta"
[project]
name = "data_formulator"
version = "0.8.0a4"
requires-python = ">=3.11"
authors = [
{name = "Chenglong Wang", email = "chenglong.wang@microsoft.com"},
{name = "Dan Marshall", email = "danmar@microsoft.com"},
]
readme = "README.md"
license = "MIT"
description = "Data Formulator is research protoype data visualization tool powered by AI."
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",
"duckdb",
"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
"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
]
[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"]
[project.urls]
Homepage = "https://github.com/microsoft/data-formulator"
Repository = "https://github.com/microsoft/data-formulator.git"
"Bug Tracker" = "https://github.com/microsoft/data-formulator/issues"
[tool.setuptools]
package-dir = {"" = "py-src"}
include-package-data = true
[tool.setuptools.packages.find]
where = ["py-src"]
include = ["data_formulator*"]
# Non-Python resources that must ship inside the installed package. The Azure
# build runs `pip install .` from a zip (no VCS), so include-package-data alone
# does not pick these up — declare them explicitly. Analyst skills load their
# `SKILL.md` body and `tools.json` schemas at runtime from the package dir.
# Scoped to the exact skill filenames so unrelated data JSON is not bundled.
[tool.setuptools.package-data]
"*" = ["SKILL.md", "tools.json"]
[project.scripts]
data_formulator = "data_formulator:run_app"
[tool.uv]
dev-dependencies = [
"build",
"pytest",
]