Skip to main content

CLI ChRIS client

Project description

chrs

crates.io version codecov Publish

chrs is a command-line client for ChRIS.

Installation

There are four ways to install chrs.

Direct Download

You can download chrs from GitHub Releases. Get the latest version here:

https://github.com/FNNDSC/chrs/releases/latest

This is the easiest installation method, however there is no mechanism for automatic updates.

Using Pip

chrs is published to PyPi using PyO3/maturin. Installing chrs using pip will be preferable for users who are already setup with Python.

pip install --user chrs

If necessary, add the bin folder to $PATH:

echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.bashrc
source ~/.bashrc

cargo binstall

cargo binstall is a convenient solution for installing pre-compiled binaries using cargo as a package manager. First install rust-binstall, then run

cargo binstall chrs

Build from source from crates.io

Use cargo to get and build the package from source, from crates.io:

cargo install chrs

If necessary, add the bin folder to $PATH:

echo 'export PATH="$HOME/.cargo/bin:$PATH"' >> ~/.bashrc
source ~/.bashrc

Using chrs

Run chrs --help for usage information.

Note: when specifying URLs, they should be to the backend API, not the front-end. E.g. instead of https://app.chrisproject.org/feeds/1520, the correct URL would be https://cube.chrisproject.org/api/v1/1520/.

Overview

TODO TODO TODO

Feedback

Please report bugs and/or request features here: https://github.com/FNNDSC/chrs/issues

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

chrs-0.3.0a1.tar.gz (127.1 kB view hashes)

Uploaded Source

Built Distributions

chrs-0.3.0a1-py3-none-win_amd64.whl (3.1 MB view hashes)

Uploaded Python 3 Windows x86-64

chrs-0.3.0a1-py3-none-manylinux_2_28_x86_64.whl (4.0 MB view hashes)

Uploaded Python 3 manylinux: glibc 2.28+ x86-64

chrs-0.3.0a1-py3-none-manylinux_2_28_armv7l.whl (3.6 MB view hashes)

Uploaded Python 3 manylinux: glibc 2.28+ ARMv7l

chrs-0.3.0a1-py3-none-manylinux_2_28_aarch64.whl (3.8 MB view hashes)

Uploaded Python 3 manylinux: glibc 2.28+ ARM64

chrs-0.3.0a1-py3-none-macosx_11_0_arm64.whl (2.8 MB view hashes)

Uploaded Python 3 macOS 11.0+ ARM64

chrs-0.3.0a1-py3-none-macosx_10_12_x86_64.whl (3.0 MB view hashes)

Uploaded Python 3 macOS 10.12+ x86-64

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