aiochris
ChRIS Python client library built on aiohttp (async HTTP client) and pyserde (dataclasses deserializer).
Installation
Requires Python 3.11 or 3.12.
pip install aiochris
# or
rye add aiochris
For convenience, container images are also provided.
docker pull ghcr.io/fnndsc/aiochris:0.3.0
Quick Example
import asyncio
from aiochris import ChrisClient
async def readme_example():
chris = await ChrisClient.from_login(
username='chris',
password='chris1234',
url='https://cube.chrisproject.org/api/v1/'
)
dircopy = await chris.search_plugins(name_exact='pl-brainmgz', version='2.0.3').get_only()
plinst = await dircopy.create_instance(compute_resource_name='host')
feed = await plinst.get_feed()
await feed.set(name="hello, aiochris!")
await chris.close() # do not forget to clean up!
asyncio.run(readme_example())
Documentation Links
- Client documentation: https://fnndsc.github.io/aiochris
- Developer documentation: https://github.com/FNNDSC/aiochris/wiki
Metadata
Release files for aiochris 0.10.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| aiochris-0.10.0-py3-none-any.whl | Python 3 | none | any | Details |
Release files / aiochris-0.10.0-py3-none-any.whl
| Download URL | aiochris-0.10.0-py3-none-any.whl |
|---|---|
| Size | 33.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f1737306a43bb26779c04444db4a12097168ae250cb4a10f1bf728a0b3d5f23c
|
|
BLAKE2b-256 checksum How to use checksums |
629786d6e6a076004f9986065debedc74ca71f8361896873b3f85d4893a8e6cf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.11.9
|
Security for aiochris 0.10.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.