Python SDK for interacting with Eratos platform and services
Project description
Python SDK to interact with the Eratos Platform.
Copyright (c) Eratos Group Pty Ltd 2019-2025.
Installation
Run the following to bring in the package dependencies and the SDK package.
pip install .
If you wish to develop locally, please install with the following command instead.
Note: Use the
[-e/--editable]flag to symlink local changes to the installed package.
pip install .[dev]
If you are using zsh...
pip install '.[dev]'
If you wish to make wheel or sdist build you can do so with the following with the hatchling backend:
hatch build
Tests
To run tests make sure you have the dev dependencies installed and run the following:
pytest tests/
pytest will run both the legacy python.unittest tests as well as the new pytest tests but not the other way so using pytest is preferred onwards from now.
The choice to adopt pytest has been made to make use of test fixtures to speed up development of future tests.
See latest pytest api reference for more info or the getting started docs.
Integration tests
Integration tests in tests/test_add_objects.py will be skipped if the environment variables ERATOS_ID and ERATOS_SECRET are unset.
Add these API key values in a .env file in the root of the project or export as an environment variable to run the tests.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file eratos_sdk-0.18.1.tar.gz.
File metadata
- Download URL: eratos_sdk-0.18.1.tar.gz
- Upload date:
- Size: 78.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
804aa51684d4b1b54a33f369f474a81c3c2eefc06bc19f938002b28dac00975f
|
|
| MD5 |
78d9919ecfa0913f9d7725e9c5d659d3
|
|
| BLAKE2b-256 |
1eec56ad568cf25335b80e1ca0c60e2cccb69744190514e3f5ecc298d5426914
|
Provenance
The following attestation bundles were made for eratos_sdk-0.18.1.tar.gz:
Publisher:
CD-Release-Prod.yml on eratosio/python-sdk
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
eratos_sdk-0.18.1.tar.gz -
Subject digest:
804aa51684d4b1b54a33f369f474a81c3c2eefc06bc19f938002b28dac00975f - Sigstore transparency entry: 269485147
- Sigstore integration time:
-
Permalink:
eratosio/python-sdk@938595959f08e059f71496abd5c2b098ccb0d5ca -
Branch / Tag:
refs/heads/master - Owner: https://github.com/eratosio
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
CD-Release-Prod.yml@938595959f08e059f71496abd5c2b098ccb0d5ca -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file eratos_sdk-0.18.1-py3-none-any.whl.
File metadata
- Download URL: eratos_sdk-0.18.1-py3-none-any.whl
- Upload date:
- Size: 120.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5f7814f019984ae669f40fde278261ee1c8fa9a4612ee234d312d4bbadbd9454
|
|
| MD5 |
b4bcd7b48035e5ef574d6fe4e2ad7649
|
|
| BLAKE2b-256 |
3d60dc87699d616e920b9920f17d5444d64050eeeaea7ecfab5ffc31009e4b49
|
Provenance
The following attestation bundles were made for eratos_sdk-0.18.1-py3-none-any.whl:
Publisher:
CD-Release-Prod.yml on eratosio/python-sdk
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
eratos_sdk-0.18.1-py3-none-any.whl -
Subject digest:
5f7814f019984ae669f40fde278261ee1c8fa9a4612ee234d312d4bbadbd9454 - Sigstore transparency entry: 269485161
- Sigstore integration time:
-
Permalink:
eratosio/python-sdk@938595959f08e059f71496abd5c2b098ccb0d5ca -
Branch / Tag:
refs/heads/master - Owner: https://github.com/eratosio
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
CD-Release-Prod.yml@938595959f08e059f71496abd5c2b098ccb0d5ca -
Trigger Event:
workflow_dispatch
-
Statement type: