Metadata-Version: 2.4
Name: mocksql
Version: 0.1.15
Summary: TDD engine for Analytics Engineering — generate unit test data for SQL queries
License: MIT
Keywords: sql,testing,analytics,bigquery,duckdb,langgraph
Author: Adel Skhiri
Author-email: skhiriadel92@gmail.com
Requires-Python: >=3.11,<3.14
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Software Development :: Testing
Requires-Dist: bcrypt (>=5.0.0,<6.0.0)
Requires-Dist: duckdb (>=1.5.3,<2.0.0)
Requires-Dist: faker (>=40.19.1,<41.0.0)
Requires-Dist: fastapi (>=0.136.3,<1.0.0)
Requires-Dist: google-cloud-bigquery (>=3.41.0,<4.0.0)
Requires-Dist: google-cloud-secret-manager (>=2.28.0,<3.0.0)
Requires-Dist: langchain (>=1.3.2,<2.0.0)
Requires-Dist: langchain-classic (==1.0.7)
Requires-Dist: langchain-google-genai (>=4.2.3,<5.0.0)
Requires-Dist: langgraph (>=1.2.2,<2.0.0)
Requires-Dist: pandas (>=3.0.3,<4.0.0)
Requires-Dist: pydantic (>=2.13.4,<3.0.0)
Requires-Dist: python-dotenv (>=1.2.2,<2.0.0)
Requires-Dist: pyyaml (>=6.0.3)
Requires-Dist: snowflake-connector-python (>=4.6.0,<5.0.0)
Requires-Dist: sqlglot[c] (>=30.8.0,<31.0.0)
Requires-Dist: typer[all] (>=0.26.3,<0.27.0)
Requires-Dist: uvicorn (>=0.48.0,<0.49.0)
Project-URL: Homepage, https://github.com/skadel/mocksql
Project-URL: Repository, https://github.com/skadel/mocksql
Description-Content-Type: text/markdown

# MockSQL — Backend

> Pour l'installation, la configuration GCP et le CLI, voir le [README racine](../README.md).

**FastAPI · LangGraph · Python 3.12**

---

## Développement local

```bash
python -m venv .venv
source .venv/bin/activate   # Windows : .\.venv\Scripts\activate
pip install poetry && poetry install

cp .env.example .env        # compléter les variables (voir README racine §3)
uvicorn server:app --port 8080 --reload
```

---

## Commandes

```bash
make style    # ruff check + ruff format --check + vulture (code mort)
make format   # auto-format + auto-fix ruff
make test     # pytest
make check    # style + test
```

Type checking :

```bash
poetry run mypy build_query/ app/
```

---

## Packaging

MockSQL produit deux wheels :

| Wheel | Contenu |
|-------|---------|
| `mocksql-*.whl` | CLI + LangGraph core (sans UI) |
| `mocksql_ui-*.whl` | Serveur web + assets React bundlés |

```bash
make build-cli   # CLI uniquement
make build-ui    # CLI + UI (Node.js 18+ requis pour le build React)
```

Les wheels sont générés dans `dist/`.

---

## Licence

Propriétaire — © 2025 Adel Skhiri. Contact : [skhiriadel92@gmail.com](mailto:skhiriadel92@gmail.com)

