Skip to main content

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

eratos_sdk-0.20.0.tar.gz (84.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

eratos_sdk-0.20.0-py3-none-any.whl (125.3 kB view details)

Uploaded Python 3

File details

Details for the file eratos_sdk-0.20.0.tar.gz.

File metadata

  • Download URL: eratos_sdk-0.20.0.tar.gz
  • Upload date:
  • Size: 84.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for eratos_sdk-0.20.0.tar.gz
Algorithm Hash digest
SHA256 7a9c766705a2076052fbfe842792cd7c4a42d75f53935b3bca38d72c58a8cf4c
MD5 984e7fec9240705f0706ebfee618e242
BLAKE2b-256 7fcd7a2e7feb1210eb2f0e2f0b087269a5a9c9b09d20cec042425d2d01ca3bfe

See more details on using hashes here.

Provenance

The following attestation bundles were made for eratos_sdk-0.20.0.tar.gz:

Publisher: CD-Release-Prod.yml on eratosio/python-sdk

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file eratos_sdk-0.20.0-py3-none-any.whl.

File metadata

  • Download URL: eratos_sdk-0.20.0-py3-none-any.whl
  • Upload date:
  • Size: 125.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for eratos_sdk-0.20.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b371689f9c9a8b47a23b1ef7234be3810ea6e034eb933156c2d1a27d91a4ab8f
MD5 92e79200f296965eef09eb1ae1afd5bf
BLAKE2b-256 448131e5ad602cde3badbcaf2cdb1e1f844f5a82c0ebe2f587bdebfff210338e

See more details on using hashes here.

Provenance

The following attestation bundles were made for eratos_sdk-0.20.0-py3-none-any.whl:

Publisher: CD-Release-Prod.yml on eratosio/python-sdk

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page