Skip to main content

A command-line tool for managing database schemas and generating SQL queries using natural language.

Project description

Local Development

  1. Clone the repo
  2. Run pre-commit install to install pre-commit hooks and required tools
  3. Run pip install -r requirements.txt to install required Python packages
  4. Run python src/main.py init to initialize the project structure
  5. Run python src/main.py apply to 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:

  1. Install build tools: pip install build twine.
  2. Build the package: python -m build.
  3. Install locally: pip install dist/tabletalk-0.1.0-py3-none-any.whl.

To distribute on PyPI:

  1. Build: python -m build.
  2. 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 run or tabletalk test from 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tabletalk-0.1.0.tar.gz (13.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tabletalk-0.1.0-py3-none-any.whl (13.4 kB view details)

Uploaded Python 3

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

Hashes for tabletalk-0.1.0.tar.gz
Algorithm Hash digest
SHA256 d569f5a61026871e3707bee0d882a0a73595df91701a26ffd52ca090996be7a1
MD5 ac562b92d8c1528695971c20370c834c
BLAKE2b-256 492b40f42bdaca30a060921171209e932b2a200072ad49fd4d8fe2d4a35fec10

See more details on using hashes here.

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

Hashes for tabletalk-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b30330fec94a50851b7bb06738a5704cc7ac4cc0b483ec6a6269059c3b3fff71
MD5 6a1d6e509dca73e899e8e5d0025c3e74
BLAKE2b-256 83123527738bd4340d664ace6b68e814619b6de6c49c5e066bc671594128db26

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page