Skip to main content

A CLI for the Transformations service in CDF

Project description

Cognite Transformations CLI

Build Status Documentation Status codecov PyPI version PyPI - Python Version License Code style: black

Transformations CLI

Use the Transformations command-line interface (Transformations CLI) to manage the lifecycle of your transformation jobs using the command line. With the Transformations CLI, you can process data from the CDF staging area (RAW) into the CDF data model. To learn more about how the Cognite Transformations CLI package works, see the documentation here

The Transformations CLI is based on Python and replaces the Jetfire CLI.

GitHub Action

The Transformations CLI provides a GitHub Action to deploy transformations. You'll find the documentation here.

We've also created a CI/CD template that uses GitHub Workflows. You'll find the documentation here.

Migrating from Jetfire CLI

Transformations CLI replaces the Jetfire CLI. If you've already used the Jetfire CLI in a GitHub Action, we recommend migrating to the Transformations CLI GitHub Action. You'll find the migration guide here.

Contributing

We use poetry to manage dependencies and to administrate virtual environments. To develop Transformations CLI, follow these steps to set up your local environment:

  1. Install poetry: (add --user if desirable)

    $ pip install poetry
    
  2. Clone repository:

    $ git clone git@github.com:cognitedata/transformations-cli.git
    
  3. Move into the newly created local repository:

    $ cd transformations-cli
    
  4. Create a virtual environment and install dependencies:

    $ poetry install
    
  5. All the code must pass black and isort style checks before it can be merged. We recommend installing pre-commit hooks to ensure this locally before you commit your code:

$ poetry run pre-commit install
  1. To publish a new version, change the version in cognite/transformations_cli/__init__.py and pyproject.toml. Make sure to update the CHANGELOG.

This project adheres to the Contributor Covenant v2.0 as a code of conduct.

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

cognite-transformations-cli-1.5.0.tar.gz (19.8 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file cognite-transformations-cli-1.5.0.tar.gz.

File metadata

  • Download URL: cognite-transformations-cli-1.5.0.tar.gz
  • Upload date:
  • Size: 19.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.12

File hashes

Hashes for cognite-transformations-cli-1.5.0.tar.gz
Algorithm Hash digest
SHA256 44beb3c7de5b19af4a68351be95ab7693fcad2c9c319aede418ff7918ace7776
MD5 2cc6d8d7f4244deb7c8beb0c04b74f02
BLAKE2b-256 41d296e03ee1afa2c40843dc694758b6268582fb2e7388b0744d2b6689201cd8

See more details on using hashes here.

File details

Details for the file cognite_transformations_cli-1.5.0-py3-none-any.whl.

File metadata

  • Download URL: cognite_transformations_cli-1.5.0-py3-none-any.whl
  • Upload date:
  • Size: 25.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.12

File hashes

Hashes for cognite_transformations_cli-1.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f98810cb8f0f8f82808b12515c8298918f195e3412d1f6e63c4ff5f6326633d0
MD5 4939e1d5f71ffbf5f9e7d681b9c4b7cb
BLAKE2b-256 1c6cbeda38d65bc07e930a3fded7f56bf607d9c2b4ead2bc766daf9c663e7e6b

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