Skip to main content

A modular text-to-SQL toolkit.

Project description

🐷 piglets

A modular, pre-1.0 library of text-to-SQL planning tools.

Status

piglets is currently an alpha-stage package. The API is expected to evolve before 1.0.

Current scope

Planning

The first included primitive is a LogicalPlanner that turns a natural-language analytics question into an ordered list of abstract logical steps. The logical planner is an implementation of the planner found in the Apex-SQL paper here.

The LogicalPlanner has a plan method and a parallel_plan method.

Plan aggregation tools are coming soon.

Pruning

Pruning components are planned but not included yet.

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

piglets-0.1.2.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

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

piglets-0.1.2-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

Details for the file piglets-0.1.2.tar.gz.

File metadata

  • Download URL: piglets-0.1.2.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for piglets-0.1.2.tar.gz
Algorithm Hash digest
SHA256 fb3f86c760ad26b12d77005d48ccb4d81c5511d802115a6e32005d3d20ad57ad
MD5 645df624cda9fc95559085f2132101a3
BLAKE2b-256 80af7f2a63b3c298ef843f5e0cc8663278adec254f3ba4052606d70cd96cb17a

See more details on using hashes here.

Provenance

The following attestation bundles were made for piglets-0.1.2.tar.gz:

Publisher: publish.yml on mportdata/piglets

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file piglets-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: piglets-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 5.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for piglets-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f9d6e8e4054c7e6ff44f572a1eb8067a9cc5078334c0fc645b1f9e3751b93bba
MD5 073ff7aa1016481aeb14ee9c87ac67a2
BLAKE2b-256 eac859b305fe66274064ae7ccfbe78dbc9c0e44cdfee0eb9775ec4f84619dced

See more details on using hashes here.

Provenance

The following attestation bundles were made for piglets-0.1.2-py3-none-any.whl:

Publisher: publish.yml on mportdata/piglets

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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