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

Uploaded Source

Built Distribution

cqml-0.3.2-py3-none-any.whl (15.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cqml-0.3.2.tar.gz
  • Upload date:
  • Size: 20.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.2.tar.gz
Algorithm Hash digest
SHA256 2efc6289c62ebf08af9a6b339cf0693604cd63e4866b8078cff908abb3d2b3da
MD5 03f8a0ce25778f520dd02953fe691d53
BLAKE2b-256 4cd1d65f1359c9f339c1d84f7a3877a55d72e0a4875dd65b082037ed799b247f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cqml-0.3.2-py3-none-any.whl
  • Upload date:
  • Size: 15.9 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 0049f215fcd0af33f0be878e79f0559a40cc58adfab597674adb9a0171252f48
MD5 c89daea5cdf3522342755e1a2f762bfb
BLAKE2b-256 35460f2edc6cf7139cc81deba2a25cf374890fde4f52fa7489c8de8f2777c859

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