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

Uploaded Source

Built Distribution

File details

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

File metadata

  • Download URL: cognite-transformations-cli-1.2.0.tar.gz
  • Upload date:
  • Size: 18.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.5.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.12

File hashes

Hashes for cognite-transformations-cli-1.2.0.tar.gz
Algorithm Hash digest
SHA256 4c23a1e079040b72572924b9afe57a03f19b345b56a06ddec2d2f903dfb17566
MD5 bba13a956f32d3880802deac60551655
BLAKE2b-256 46c1fbc564b82db17daa5cac6e997f1b467b61655d9c03a959dfdf41fc8e6c9d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cognite_transformations_cli-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 24.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.5.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.12

File hashes

Hashes for cognite_transformations_cli-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d621aca8ca25371785e29e5d7abe40b6cde0245ff42c37f578e51921761faf23
MD5 a848158c30359cd15d4d82ff864c7490
BLAKE2b-256 bda20ff395c1ceeeaf17de700ce2048f5f74e73b37bebcba42a89af1fd4c4677

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