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

Uploaded Source

Built Distribution

File details

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

File metadata

  • Download URL: cognite-transformations-cli-1.2.2.tar.gz
  • Upload date:
  • Size: 19.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 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.2.tar.gz
Algorithm Hash digest
SHA256 a30b18578b2d2a3e2cbbeb79cf5905c7f4370ee587a1eb6d42705cd394786a90
MD5 7387d8883ce61f4c3591cb72ca4025af
BLAKE2b-256 bfa6af34882017e0c375dd8736dd572666f2a7e78cd4a22b3f0a1d5e016cf5af

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cognite_transformations_cli-1.2.2-py3-none-any.whl
  • Upload date:
  • Size: 24.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c0b92af368ea30f3668b1e8d597e4b82ed37176472949528cb83bfa362b87d1f
MD5 2402bcb2ea88f06748364c8f7d9c827e
BLAKE2b-256 c73d47e76b3ffdcc629880a43344145360f45ae6865cf28ecc14b21e4ff144ec

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