Catalog PyPI
PACKAGE EXPLORERView in registry

absolidix-client

PyPI

Absolidix infra API client in Python

absolidixclient
Versions collected1
Direct dependencies15From release 0.8.4
Last observed20 Oct, 17:37 UTC

README

Version 0.8.4 documentation

Absolidix API client

DOI PyPI

This library allows for programmatic interactions with the Absolidix infrastructure.

Installation

pip install absolidix_client

Usage

There are two client flavors: asyncronous asyncio client and simplified synchronous client.

Asynchronous client

An asynchronous client is AbsolidixAPIAsync. Example of usage:

from absolidix_client import AbsolidixAPIAsync, AbsolidixTokenAuth

async def main():
    async with AbsolidixAPIAsync(API_URL, auth=AbsolidixTokenAuth("VERY_SECRET_TOKEN")) as client:
        print(await client.v0.auth.whoami())
        data = await client.v0.datasources.create(content, name)
        results = await client.v0.calculations.create_get_results(data["id"])
        print(resuls)

See examples directory for more examples.

Synchronous client

A synchronous client is AbsolidixAPI. Example of usage:

from absolidix_client import AbsolidixAPI, AbsolidixTokenAuth

client = AbsolidixAPI(API_URL, auth=AbsolidixTokenAuth("VERY_SECRET_TOKEN"), timeout=5)
data = client.v0.datasources.create(content, name)
results = client.v0.calculations.create_get_results(data["id"], timeout=False)
print(results)

NB in development one can replace a VERY_SECRET_TOKEN string with the development user email, e.g. admin@test.com (refer to users_emails BFF table).

Contributing

Please give a minute to the contribution guide.

License

Author Sergey Korolev, Tilde Materials Informatics

Copyright 2024-2025 Tilde Materials Informatics

Copyright 2023-2024 BASF SE

BSD 3-Clause

Downloads & popularity

Awaiting observations

No metric observations yet

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

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
0.8.412 Aug 202515

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 17:37 UTC

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

Record identity

package:107650b859b77687e6e16e0c4bc26be19b8cb062d7517e64cb0b5ff1f274859b