A package providing template applications for data services, and a python SDK to the Octue API.
Project description
Octue Python SDK 
The python SDK for running Octue data services, digital twins, and applications - get faster data groundwork so you have more time for the science!
Read the docs here.
Uses our twined library for data validation.
Installation and usage
To install, run one of:
pip install octue
poetry add octue
The command line interface (CLI) can then be accessed via:
octue --help
Usage: octue [OPTIONS] COMMAND [ARGS]...
The CLI for Octue SDKs and APIs, most notably Twined.
Read more in the docs: https://octue-python-sdk.readthedocs.io/en/latest/
Options:
--log-level [debug|info|warning|error]
Log level used for the analysis. [default:
info]
--version Show the version and exit.
-h, --help Show this message and exit.
Commands:
twined The Twined CLI.
Deprecated code
When code is deprecated, it will still work but a deprecation warning will be issued with a suggestion on how to update it. After an adjustment period, deprecations will be removed from the codebase according to the code removal schedule. This constitutes a breaking change.
Developer notes
Installation
We use Poetry as our package manager. For development, run the following from the repository root, which will editably install the package:
poetry install --all-extras
Then run the tests to check everything's working.
Testing
These environment variables need to be set to run the tests:
GOOGLE_APPLICATION_CREDENTIALS=/absolute/path/to/service/account/file.json
Then, from the repository root, run
python3 -m unittest
Contributing
Take a look at our contributing page.
Project details
Release history Release notifications | RSS feed
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 octue-0.69.0.tar.gz.
File metadata
- Download URL: octue-0.69.0.tar.gz
- Upload date:
- Size: 547.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6506cf14bd2b861fbbd7ec0d986ef6b7653c2568a354c6ea0e3df3671d4123c7
|
|
| MD5 |
70404437c60a7d9c8abe9e53e33bd2e8
|
|
| BLAKE2b-256 |
fa63b2f7a2a8ceb5b64f05ba1dee5d35f507924999e98f5719e35e65ee0ef06c
|
Provenance
The following attestation bundles were made for octue-0.69.0.tar.gz:
Publisher:
release.yml on octue/octue-sdk-python
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
octue-0.69.0.tar.gz -
Subject digest:
6506cf14bd2b861fbbd7ec0d986ef6b7653c2568a354c6ea0e3df3671d4123c7 - Sigstore transparency entry: 689381783
- Sigstore integration time:
-
Permalink:
octue/octue-sdk-python@ca9c9220b979d449e4ecd4a54f4f5e3c4d363676 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/octue
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@ca9c9220b979d449e4ecd4a54f4f5e3c4d363676 -
Trigger Event:
pull_request
-
Statement type:
File details
Details for the file octue-0.69.0-py3-none-any.whl.
File metadata
- Download URL: octue-0.69.0-py3-none-any.whl
- Upload date:
- Size: 618.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dd2d03a1d420cffde109476631a041c15bb0ca30d4667be1665ed2bfd0a8a29a
|
|
| MD5 |
fc5cbb422f1b2dfcc6e175dd688ca2ca
|
|
| BLAKE2b-256 |
83bb19400cb220da27e27ea914cf066fdb0e43620e45c54d3d1733bd862618a0
|
Provenance
The following attestation bundles were made for octue-0.69.0-py3-none-any.whl:
Publisher:
release.yml on octue/octue-sdk-python
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
octue-0.69.0-py3-none-any.whl -
Subject digest:
dd2d03a1d420cffde109476631a041c15bb0ca30d4667be1665ed2bfd0a8a29a - Sigstore transparency entry: 689381789
- Sigstore integration time:
-
Permalink:
octue/octue-sdk-python@ca9c9220b979d449e4ecd4a54f4f5e3c4d363676 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/octue
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@ca9c9220b979d449e4ecd4a54f4f5e3c4d363676 -
Trigger Event:
pull_request
-
Statement type: