Current collected state Current
Observed since 21 Oct, 11:43 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
aiochris
ChRIS client built on aiohttp
ChRIS Python client library built on aiohttp (async HTTP client) and pyserde (dataclasses deserializer).
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
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())
Download counts and popularity will appear here as the collector receives them.
| Package / target | Requirement | Relationship |
|---|---|---|
aiohttpEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.11",
"evaluation": "NOT_EVALUATED"
} | aiohttp>=3.9.5 | runtime |
async-propertyEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.11",
"evaluation": "NOT_EVALUATED"
} | async-property>=0.2.2 | runtime |
pyserdeEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.11",
"evaluation": "NOT_EVALUATED"
} | pyserde>=0.19.3 | runtime |
yarlEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.11",
"evaluation": "NOT_EVALUATED"
} | yarl>=1.9.4 | runtime |
bdist_wheel · 32.78 KB · Python py3
Observed since 21 Oct, 11:43 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package_version:24bcb12e02d69968cac09e022472898da997c0bae8257d7ccfb0df2816edbf2a