Absolidix API client
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
Metadata
Release files for absolidix-client 0.8.4
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 |
|---|---|---|---|---|
| absolidix_client-0.8.4.tar.gz | 28.3 kB | Without provenance | Details for absolidix_client-0.8.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| absolidix_client-0.8.4-py3-none-any.whl | Python 3 | none | any | Details for absolidix_client-0.8.4-py3-none-any.whl |
Total release size: 60.4 kB
Release files / absolidix_client-0.8.4.tar.gz
| Download URL | absolidix_client-0.8.4.tar.gz |
|---|---|
| Size | 28.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d9ac0b4a15e2f380ebeee6ca436c5e0c5b4c6a10a112435b9068e26df7d5f679
|
|
BLAKE2b-256 checksum How to use checksums |
297080a24dac9c135f11e7040f08f0f34ef3f2ce262e7d663f83f0070a01d159
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.2
|
Release files / absolidix_client-0.8.4-py3-none-any.whl
| Download URL | absolidix_client-0.8.4-py3-none-any.whl |
|---|---|
| Size | 32.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fb0077e30710e94ccd40b15c33c7bd551f166ebb7810c39d66bed891967bac1f
|
|
BLAKE2b-256 checksum How to use checksums |
f559c51950d01b62bfd5ebe28f41e0f31834f8342077b0b0b940139547816b0e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.2
|
Security for absolidix-client 0.8.4
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.