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

Uploaded Source

Built Distribution

File details

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

File metadata

  • Download URL: cognite-transformations-cli-1.2.3.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.8.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.3.tar.gz
Algorithm Hash digest
SHA256 5c054feb66afe72106629ee679242adc16e901740501b634b2add16dfe139b3e
MD5 571e4a472eed0b72d66fc311c2a121e5
BLAKE2b-256 fad2c9d0e4c611dd67af84e4ff02c01287b77042ebc246d4c56faf32a47e7a80

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cognite_transformations_cli-1.2.3-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.8.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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 da789b469ee2fa97d1099174a65f88fbc94fd957d931887ccdab17630271eccb
MD5 03b1993098e63759b0c3846ad53a9b01
BLAKE2b-256 f7550f9c17ef63613cb38bbb3e29d0966603ba83978c4dfa61a772284a6b353f

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