Skip to main content

A package providing template applications for data services, and a python SDK to the Octue API.

Project description

PyPI version Release codecov Documentation Status pre-commit black DOI

Octue Python SDK Purple Fruit Snake

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

octue-0.69.0.tar.gz (547.7 kB view details)

Uploaded Source

Built Distribution

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

octue-0.69.0-py3-none-any.whl (618.2 kB view details)

Uploaded Python 3

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

Hashes for octue-0.69.0.tar.gz
Algorithm Hash digest
SHA256 6506cf14bd2b861fbbd7ec0d986ef6b7653c2568a354c6ea0e3df3671d4123c7
MD5 70404437c60a7d9c8abe9e53e33bd2e8
BLAKE2b-256 fa63b2f7a2a8ceb5b64f05ba1dee5d35f507924999e98f5719e35e65ee0ef06c

See more details on using hashes here.

Provenance

The following attestation bundles were made for octue-0.69.0.tar.gz:

Publisher: release.yml on octue/octue-sdk-python

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

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

Hashes for octue-0.69.0-py3-none-any.whl
Algorithm Hash digest
SHA256 dd2d03a1d420cffde109476631a041c15bb0ca30d4667be1665ed2bfd0a8a29a
MD5 fc5cbb422f1b2dfcc6e175dd688ca2ca
BLAKE2b-256 83bb19400cb220da27e27ea914cf066fdb0e43620e45c54d3d1733bd862618a0

See more details on using hashes here.

Provenance

The following attestation bundles were made for octue-0.69.0-py3-none-any.whl:

Publisher: release.yml on octue/octue-sdk-python

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