Skip to main content

A CLI for the Transformations service in CDF

Project description

Cognite logo

Cognite Python transformations-cli

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

Transformations CLI

The Transormations CLI is a replacement for jetfire-cli rewritten on top of the new Python SDK for Transformations.

CLI Documentation

Documentation for CLI is hosted here.

GitHub Action

transformations-cli also provides a GitHub Action which can be used to deploy transformations. You can find the documentation for transformations-cli GitHub Action here.

GitHub Action Migration: jetfire-cli@v2 to transformations-cli@main

If you've already used the old jetfire-cli in a GitHub Action we recommend you migrate to the new GitHub Action. You can find the migration guide here.

Contributing

We use poetry to manage dependencies and to administrate virtual environments. To develop transformations-cli, follow the following 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 virtual environment and install dependencies:
    $ poetry install
    

All code must pass black and isort style checks to be merged. It is recommended to install pre-commit hooks to ensure this locally before commiting code:

$ poetry run pre-commit install

To publish a new version change the version in cognite/transformations_cli/__init__.py and pyproject.toml. Also, remember to add an entry to 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.2.1.tar.gz (18.6 kB view hashes)

Uploaded Source

Built Distribution

cognite_transformations_cli-1.2.1-py3-none-any.whl (24.5 kB view hashes)

Uploaded Python 3

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