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.3.tar.gz (21.1 kB view details)

Uploaded Source

Built Distribution

cqml-0.3.3-py3-none-any.whl (16.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cqml-0.3.3.tar.gz
  • Upload date:
  • Size: 21.1 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.3.tar.gz
Algorithm Hash digest
SHA256 57461e0d580125ad9e64564df4a4961f54d792bbd2196eaa8c8c1f04b5c4762e
MD5 4035e01f21b9ccd8a809898c7ad4fcad
BLAKE2b-256 6acaa52137f2d4cf0b395b3cd8e948c17aaa490d4581b1ec18ceaf35d69eceff

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cqml-0.3.3-py3-none-any.whl
  • Upload date:
  • Size: 16.0 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 7fb58fa57154646282fa3e495d686656c9c31001e19eb208407269d7a8876b3d
MD5 87ab8ab812992707c167cf2feaffee16
BLAKE2b-256 986d5188c5981acc72d9fa3a98835535421b912a449547fe8ffd1f5ae7af7a70

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