|
| 1 | +[build-system] |
| 2 | +requires = ["hatchling"] |
| 3 | +build-backend = "hatchling.build" |
| 4 | + |
| 5 | +[project] |
| 6 | +name = "wren" |
| 7 | +dynamic = ["version"] |
| 8 | +description = "Wren Engine CLI and Python SDK — semantic SQL layer for 20+ data sources" |
| 9 | +readme = "README.md" |
| 10 | +requires-python = ">=3.11" |
| 11 | +license = { text = "Apache-2.0" } |
| 12 | +keywords = ["wren", "sql", "semantic", "mdl", "datafusion"] |
| 13 | +classifiers = [ |
| 14 | + "Development Status :: 4 - Beta", |
| 15 | + "Intended Audience :: Developers", |
| 16 | + "License :: OSI Approved :: Apache Software License", |
| 17 | + "Programming Language :: Python :: 3", |
| 18 | + "Programming Language :: Python :: 3.11", |
| 19 | + "Programming Language :: Python :: 3.12", |
| 20 | +] |
| 21 | +dependencies = [ |
| 22 | + "wren-core-py>=0.1", |
| 23 | + "ibis-framework>=10", |
| 24 | + "duckdb>=1.0", |
| 25 | + "sqlglot>=27", |
| 26 | + "typer>=0.12", |
| 27 | + "pydantic>=2", |
| 28 | + "pyarrow>=14", |
| 29 | + "pyarrow-hotfix>=0.6", |
| 30 | + "loguru>=0.7", |
| 31 | + "opendal>=0.45", |
| 32 | + "pandas>=2", |
| 33 | + "boto3>=1.26", |
| 34 | +] |
| 35 | + |
| 36 | +[project.optional-dependencies] |
| 37 | +postgres = ["psycopg>=3", "ibis-framework[postgres]"] |
| 38 | +mysql = ["mysqlclient>=2.2", "ibis-framework[mysql]"] |
| 39 | +bigquery = ["ibis-framework[bigquery]", "google-auth"] |
| 40 | +snowflake = ["ibis-framework[snowflake]"] |
| 41 | +clickhouse = ["ibis-framework[clickhouse]"] |
| 42 | +trino = ["ibis-framework[trino]", "trino>=0.321"] |
| 43 | +mssql = ["ibis-framework[mssql]"] |
| 44 | +databricks = ["databricks-sql-connector", "databricks-sdk"] |
| 45 | +redshift = ["redshift_connector"] |
| 46 | +spark = ["pyspark>=3.5"] |
| 47 | +athena = ["ibis-framework[athena]"] |
| 48 | +oracle = ["ibis-framework[oracle]", "oracledb"] |
| 49 | +all = ["wren[postgres,mysql,bigquery,snowflake,clickhouse,trino,mssql,databricks,redshift,athena,oracle]"] |
| 50 | +dev = ["pytest>=8", "ruff>=0.4", "orjson>=3", "testcontainers[postgres]>=4"] |
| 51 | + |
| 52 | +[project.scripts] |
| 53 | +wren = "wren.cli:app" |
| 54 | + |
| 55 | +[project.urls] |
| 56 | +Homepage = "https://getwren.ai" |
| 57 | +Repository = "https://github.com/Canner/wren-engine" |
| 58 | +Issues = "https://github.com/Canner/wren-engine/issues" |
| 59 | + |
| 60 | +[tool.hatch.version] |
| 61 | +path = "src/wren/__init__.py" |
| 62 | + |
| 63 | +[tool.hatch.build.targets.wheel] |
| 64 | +packages = ["src/wren"] |
| 65 | + |
| 66 | +[tool.ruff] |
| 67 | +line-length = 88 |
| 68 | +target-version = "py311" |
| 69 | + |
| 70 | +[tool.ruff.lint] |
| 71 | +select = ["E", "F", "I", "PLC"] |
| 72 | +ignore = [ |
| 73 | + "E501", # line-too-long, enforced by ruff format |
| 74 | +] |
0 commit comments