Catalog PyPI
Back to packageRELEASE DETAILS

0.10.0

PyPI

aiochris

ChRIS client built on aiohttp

Published28 Jul 2024
Direct dependencies4
Transitive dependenciesNot calculated

README

Version 0.10.0 documentation

aiochris

Tests codecov PyPI License - MIT Code style: black

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())

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 4

Native requirements
4 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
aiohttp
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": ">=3.11",
  "evaluation": "NOT_EVALUATED"
}
aiohttp>=3.9.5runtime
async-property
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": ">=3.11",
  "evaluation": "NOT_EVALUATED"
}
async-property>=0.2.2runtime
pyserde
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": ">=3.11",
  "evaluation": "NOT_EVALUATED"
}
pyserde>=0.19.3runtime
yarl
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": ">=3.11",
  "evaluation": "NOT_EVALUATED"
}
yarl>=1.9.4runtime

Distribution files

1 collected
aiochris-0.10.0-py3-none-any.whl

bdist_wheel · 32.78 KB · Python py3

Source file

Metadata history

Meaningful changes
Current collected state Current

Observed since 21 Oct, 11:43 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:24bcb12e02d69968cac09e022472898da997c0bae8257d7ccfb0df2816edbf2a

Other collected versions

View all collected versions →