Skip to main content

prefect-cubejs

Welcome!

Prefect collection of tasks to interact with Cube.js

Getting Started

Python setup

Requires an installation of Python 3.7+.

We recommend using a Python virtual environment manager such as pipenv, conda or virtualenv.

These tasks are designed to work with Prefect 2.0. For more information about how to use Prefect, please refer to the Prefect documentation.

Installation

Install prefect-cubejs with pip:

pip install prefect-cubejs

Write and run a flow

from prefect import flow
from prefect_cubejs.tasks import (
    run_query
)


@flow
def example_flow():
    run_query(
        subdomain="<your Cube Cloud subdomain>",
        api_secret="<your Cube.js API secret>",
        query="<a Cube.js JSON formatted query>"
    )

example_flow()

Resources

If you encounter any bugs while using prefect-cubejs, feel free to open an issue in the prefect-cubejs repository.

If you have any questions or issues while using prefect-cubejs, you can find help in either the Prefect Discourse forum or the Prefect Slack community.

Development

If you'd like to install a version of prefect-cubejs for development, clone the repository and perform an editable install with pip:

git clone https://github.com/AlessandroLollo/prefect-cubejs.git

cd prefect-cubejs/

pip install -e ".[dev]"

# Install linting pre-commit hooks
pre-commit install

Metadata

Release files for prefect-cubejs 0.1.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for prefect-cubejs 0.1.8
File Size Uploaded Provenance Actions
prefect-cubejs-0.1.8.tar.gz 30.0 kB Without provenance Details for prefect-cubejs-0.1.8.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for prefect-cubejs 0.1.8
File Interpreter ABI Platform Actions
prefect_cubejs-0.1.8-py3-none-any.whl Python 3 none any Details for prefect_cubejs-0.1.8-py3-none-any.whl

Total release size: 42.0 kB

Release files / prefect-cubejs-0.1.8.tar.gz

Download URL prefect-cubejs-0.1.8.tar.gz
Size 30.0 kB
Tags Source
SHA-256 checksum
How to use checksums
493d6c8c29adc64ee59da6165b7dcd490e6b61ccb73019206acf79d7da10e533
BLAKE2b-256 checksum
How to use checksums
0001235ec4139eca3e9844444b83b09f3236fde922906811aee1232418043582
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.2

Release files / prefect_cubejs-0.1.8-py3-none-any.whl

Download URL prefect_cubejs-0.1.8-py3-none-any.whl
Size 12.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
98a739159ec20ca1a503cba1353201853a1da7cd018e4839f380fc4b9cd7aab7
BLAKE2b-256 checksum
How to use checksums
953c072ad7a64f7261227449a7ccf3eddab6a9e7697aaf7411844daaf8b921b8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.2

Security for prefect-cubejs 0.1.8

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page