A CLI for the Transformations service in CDF
Project description
Cognite Python transformations-cli
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:
- Install poetry: (add
--user
if desirable)$ pip install poetry
- Clone repository:
$ git clone git@github.com:cognitedata/transformations-cli.git
- Move into the newly created local repository:
$ cd transformations-cli
- 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file cognite-transformations-cli-1.2.5.tar.gz
.
File metadata
- Download URL: cognite-transformations-cli-1.2.5.tar.gz
- Upload date:
- Size: 18.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.0 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 58d6e60b23b9c6837053e0c923c1efaa2bdaf4c1fb7186c617fd3aaa20e07fff |
|
MD5 | 336fb9bae30eaf16b27b029d5057c776 |
|
BLAKE2b-256 | 47339b49d16436c92e8f6a13e81355c89962116c7058303c57d7d3542e8c2f67 |
File details
Details for the file cognite_transformations_cli-1.2.5-py3-none-any.whl
.
File metadata
- Download URL: cognite_transformations_cli-1.2.5-py3-none-any.whl
- Upload date:
- Size: 24.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.0 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 40481c0a48853fd58afd030a4c95272e60ac833faaef3774cfeed101a18a8d96 |
|
MD5 | 1ca2e0936c29dc99c75ec7112d550a18 |
|
BLAKE2b-256 | ab1acd77f82456a9ed550f41f1848b18b9dc88d7207143204bca5f1d88dde4b8 |