Skip to main content

CLI tool for scientiflow. This application runs on the client side, decodes pipelines, and executes them in the configured order!

Project description

Scientiflow

Setting the ENV variables

# When developing on Windows, run:
$env:API_BASE="SCIENTIFLOW_BACKEND_URL"     # Set the base URL of the Scientiflow backend
$env:AUTH_TOKEN="SOME_AUTH_TOKEN"           # Set the AUTH token that you get after logging in
$env:SCFLOW_DEBUG=1                         # Run in debug mode, using some dummy data

# on Linux, run:
export API_BASE="SCIENTIFLOW_BACKEND_URL"   # Set the base URL of the Scientiflow backend
export AUTH_TOKEN="SOME_AUTH_TOKEN"         # Set the AUTH token that you get after logging in
export SCFLOW_DEBUG=1                       # Run in debug mode, using some dummy data

Building and installing the python package

poetry build
pip install dist/scientiflow_cli-0.1.0-py3-none-any.whl --force-reinstall

# Now you can run it as:
python -m scientiflow_cli --help

Note: The --force-reinstall flag is used as a sage-guard, in case an already exising version of the package is installed.

For the devs

Note If you need to add a dependency, which this project depends on, use the command poetry add instead of doing a pip install. This will ensure that the pyproject.toml file is updated with the new dependency, and all the other devs have the same dependencies and dependencies versions.

# Activate a poetry shell, and install dependencies
poetry shell

# Install the dependencies if it's your first time working on the project, using:
# poetry install
# In order to run the package without building, you can do:
poetry run python -m scientiflow_cli.main --help

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

scientiflow_cli-0.4.2.tar.gz (19.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

scientiflow_cli-0.4.2-py3-none-any.whl (26.3 kB view details)

Uploaded Python 3

File details

Details for the file scientiflow_cli-0.4.2.tar.gz.

File metadata

  • Download URL: scientiflow_cli-0.4.2.tar.gz
  • Upload date:
  • Size: 19.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.12.3 Linux/6.14.0-29-generic

File hashes

Hashes for scientiflow_cli-0.4.2.tar.gz
Algorithm Hash digest
SHA256 856dcfbde61e9bb18d49b0dab8ff3a8d31537c58ad17b2110330b4908366de07
MD5 39bef8758a2b2406542dc54a00d036b5
BLAKE2b-256 cebc5d6d0b6a285c69fcff82cf07434449bb45665adfd7d7b42fca440a36409a

See more details on using hashes here.

File details

Details for the file scientiflow_cli-0.4.2-py3-none-any.whl.

File metadata

  • Download URL: scientiflow_cli-0.4.2-py3-none-any.whl
  • Upload date:
  • Size: 26.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.12.3 Linux/6.14.0-29-generic

File hashes

Hashes for scientiflow_cli-0.4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 6ed8ae836b2ecc168b299daadd0a89c9c7627676fdcbac7853de80ceaa9eef00
MD5 2af0230db24bc9e77c5ef19301b5136b
BLAKE2b-256 96a4c9ec4e4f1afc4df8f8ef2aeb94757dc0c530128983ab7c8b6174440be527

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page