A command-line tool for managing database schemas and generating SQL queries using natural language.
Project description
Local Development
- Clone the repo
- Run
pre-commit installto install pre-commit hooks and required tools - Run
pip install -r requirements.txtto install required Python packages - Run
python src/main.py initto initialize the project structure - Run
python src/main.py applyto generate contexts
BigQuery Schema Analysis
This project analyzes BigQuery schemas and organizes them into modules for easier analysis.
Step 4: Build and Distribute (Optional)
To test locally:
- Install build tools:
pip install build twine. - Build the package:
python -m build. - Install locally:
pip install dist/tabletalk-0.1.0-py3-none-any.whl.
To distribute on PyPI:
- Build:
python -m build. - Upload:
twine upload dist/*(after registering on PyPI).
Result
With this setup.py, users can:
- Install your package with
pip install tabletalk. - Run it as
tabletalk runortabletalk testfrom the command line, just like dbt.
This setup mirrors dbt’s approach, adapted to your simpler application and specific requirements, ensuring a seamless user experience without compilation. Adjust the author, author_email, url, and version as needed for your project.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tabletalk-0.1.0.tar.gz.
File metadata
- Download URL: tabletalk-0.1.0.tar.gz
- Upload date:
- Size: 13.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d569f5a61026871e3707bee0d882a0a73595df91701a26ffd52ca090996be7a1
|
|
| MD5 |
ac562b92d8c1528695971c20370c834c
|
|
| BLAKE2b-256 |
492b40f42bdaca30a060921171209e932b2a200072ad49fd4d8fe2d4a35fec10
|
File details
Details for the file tabletalk-0.1.0-py3-none-any.whl.
File metadata
- Download URL: tabletalk-0.1.0-py3-none-any.whl
- Upload date:
- Size: 13.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b30330fec94a50851b7bb06738a5704cc7ac4cc0b483ec6a6269059c3b3fff71
|
|
| MD5 |
6a1d6e509dca73e899e8e5d0025c3e74
|
|
| BLAKE2b-256 |
83123527738bd4340d664ace6b68e814619b6de6c49c5e066bc671594128db26
|