Skip to main content

Collection of tasks to interact with Transform metrics catalog

Project description

prefect-transform

Welcome!

Collection of tasks to interact with Transform metrics catalog

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-transform with pip:

pip install prefect-transform

Write and run a flow

from prefect import flow
from prefect_transform.tasks import (
    create_materialization
)


@flow
def trigger_materialization_creation():
    create_materialization(
        api_key="<your Transform API key>",
        mql_server_url="<your MQL Serverl URL>",
        materialization_name="<name of the materialization>",
        wait_for_creation=False
    )

trigger_materialization_creation()

Resources

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

If you have any questions or issues while using prefect-transform, 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-transform for development, clone the repository and perform an editable install with pip:

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

cd prefect-transform/

pip install -e ".[dev]"

# Install linting pre-commit hooks
pre-commit install

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

prefect-transform-0.1.3.tar.gz (25.6 kB view details)

Uploaded Source

Built Distribution

prefect_transform-0.1.3-py3-none-any.whl (9.2 kB view details)

Uploaded Python 3

File details

Details for the file prefect-transform-0.1.3.tar.gz.

File metadata

  • Download URL: prefect-transform-0.1.3.tar.gz
  • Upload date:
  • Size: 25.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for prefect-transform-0.1.3.tar.gz
Algorithm Hash digest
SHA256 b5f3d12a2c4b202dd0f36c1b55948b03b2c2e22291d4c0e65d776f377fa20bec
MD5 a9004d5199a5a03a4b7bb3f6a7408d1c
BLAKE2b-256 d0c25dfecc60fdac5eed46db3538a86a18dc52208a3e3c43b9078e6f1bf62697

See more details on using hashes here.

File details

Details for the file prefect_transform-0.1.3-py3-none-any.whl.

File metadata

File hashes

Hashes for prefect_transform-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 12c1ebdaa3d11a5112e49b0010fe1b694572eb3762794c0fb84c4a9a4cf80487
MD5 3dfa976a6e82dacba0bae1055d08db02
BLAKE2b-256 08f31ed917c674b8ff781ac72a9afed2aa6ac65e560380869bd9e2df6316dd3a

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