Skip to main content

Composable Query Meta Language

Project description

cqml

Composable Query Meta Language

CQML is declarative data format for specifying complete data analysis pipelines. It is most commonly implemented as YAML, but can trivially be transformed into JSON, CSON, or macOS and Java property lists.

The initial back-end is written for the DataBrick's flavor of PySpark and Spark SQL, but should be easy to extend to other databases and warehouses.

USAGE

#pip install git+https://github.com/TheSwanFactory/cqml.git@main #@v3-daily
pip install cqml #==0.3.0
import cqml

Testing

From top-level directory:

$ python3 -m pip install -r requirements.txt
$ pip install pytest
$ python3 -m pytest

Building the Packages

$ python3 -m pip install --upgrade build
$ python3 -m pip install --upgrade twine
$ prerelease && release && python3 -m build && python3 -m twine upload dist/* && postrelease

Development Build

awk -Fv '{printf("%sv%d\n",$1,v$2+1)}' version.txt > /tmp/version.txt && cp /tmp/version.txt version.txt && git commit -a && git push

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

cqml-0.3.5.tar.gz (21.3 kB view details)

Uploaded Source

Built Distribution

cqml-0.3.5-py3-none-any.whl (16.1 kB view details)

Uploaded Python 3

File details

Details for the file cqml-0.3.5.tar.gz.

File metadata

  • Download URL: cqml-0.3.5.tar.gz
  • Upload date:
  • Size: 21.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for cqml-0.3.5.tar.gz
Algorithm Hash digest
SHA256 b354fd9a32621598b365c08ea2ee28b06b6bed3f17ff11c50a10060236643fa8
MD5 ef1c3c723b7c568211795e8c35d94f5a
BLAKE2b-256 ddd79b3bfe047d9b4f713652b4fb143157037420eea35acba069389d7a13e395

See more details on using hashes here.

File details

Details for the file cqml-0.3.5-py3-none-any.whl.

File metadata

  • Download URL: cqml-0.3.5-py3-none-any.whl
  • Upload date:
  • Size: 16.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for cqml-0.3.5-py3-none-any.whl
Algorithm Hash digest
SHA256 5cc85ba7afb7df0e2994d67e254cb3846fb33454594f8d12a3628ccf305338c6
MD5 0de5e5bf4ceb3f54b0c8b3c746930ece
BLAKE2b-256 43ed4f76633bcd449e77916f271cf238bfdab6ddfbb329b2e2b03e0235f7e877

See more details on using hashes here.

Supported by

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