Python ChRIS Client
A Python ChRIS client library.
Installation
pip install -U caw
Example
from pathlib import Path
from chris.client import ChrisClient
client = ChrisClient.from_login(
address="https://cube.chrisproject.org/api/v1/",
username="chris",
password="chris1234"
)
client.upload(Path("example.txt"), "my_examples")
dircopy = client.get_plugin_by_name("pl-dircopy")
plinst = dircopy.create_instance({"dir": "chris/uploads/my_examples/example.txt"})
Async
Looking for an async ChRIS client? Let us know!
We have one implemented
here,
though it's not published to PyPI.
Command-Line Client
chrs is the next-generation ChRIS command-line client, please check it out.
caw previously included a command-line client for ChRIS, however
since v0.7.0 it was deprecated and removed.
To use the caw command:
pip install caw==0.6.1
Usage: https://github.com/FNNDSC/caw/blob/d5b05b28af312b97ac80bd96376d70626db737a5/README.md
Metadata
Release files for caw 0.8.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| caw-0.8.0.tar.gz | 12.5 kB | Without provenance | Details for caw-0.8.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| caw-0.8.0-py3-none-any.whl | Python 3 | none | any | Details for caw-0.8.0-py3-none-any.whl |
Total release size: 29.3 kB
Release files / caw-0.8.0.tar.gz
| Download URL | caw-0.8.0.tar.gz |
|---|---|
| Size | 12.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
49eedb1ab732b2769db29bccfef899914e300d082dbc63d8ec05a3f70aba86fb
|
|
BLAKE2b-256 checksum How to use checksums |
039be69899b61046ff29ac3cd2f0245d1527822c723d9ac2d710580b31a85110
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.13 CPython/3.8.2 Linux/5.13.0-1022-azure
|
Release files / caw-0.8.0-py3-none-any.whl
| Download URL | caw-0.8.0-py3-none-any.whl |
|---|---|
| Size | 16.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
80f233c957f100dada23be300b7dafd22a8e9be53e45ad80d6be27dfa93b8120
|
|
BLAKE2b-256 checksum How to use checksums |
7f6039ceb50fb2a192ed77eb49a374b2667bb299cb41f610f95506e17710b483
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.13 CPython/3.8.2 Linux/5.13.0-1022-azure
|
Security for caw 0.8.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.