Skip to main content

A software development kit (sdk) to support interaction with the DESTINY repository

Project description

DESTINY SDK

SDK for interaction with the DESTINY repository. For now this just contains data models for validation and structuring, but will be built out to include convenience functions etc.

Documentation

The documentation for destiny-sdk is hosted here

Installation from PyPI

pip install destiny-sdk
uv add destiny-sdk

Some labs functionality may require extra dependencies - these can be installed by:

pip install destiny-sdk[labs]
uv add destiny-sdk --extra labs

Development

Dependencies

uv install

Tests

The SDK itself does not require python 3.14, but the tests themselves do as they make use of uuid7. Run them as following.

uv run --python 3.14 pytest

Installing as an editable package of another project

Run the following command in the root folder of the other project (assuming uv as a packaging framework). Pip also has an --editable option that you can use.

uv add --editable ./PATH/TO/sdk/

or replace the dependency in pyproject.toml with

destiny-sdk = {path = "./PATH/TO/sdk/", develop = true}

Installing a local wheel

If you want to use a local build of the sdk z.whl, do

uv build
uv add ./PATH/TO/WHEEL.whl

Publishing

Once the package change is merged to main with an iterated libs/sdk/pyproject.toml version number, you can run the github action to publish to the test pypi and then production pypi registries.

Versioning

Follow the semver guidelines for versioning, tldr;

Given a version number MAJOR.MINOR.PATCH, increment the:

  • MAJOR version when you make incompatible API change
  • MINOR version when you add functionality in a backward compatible manner
  • PATCH version when you make backward compatible bug fixes

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

destiny_sdk-0.11.0.tar.gz (118.4 kB view details)

Uploaded Source

Built Distribution

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

destiny_sdk-0.11.0-py3-none-any.whl (39.0 kB view details)

Uploaded Python 3

File details

Details for the file destiny_sdk-0.11.0.tar.gz.

File metadata

  • Download URL: destiny_sdk-0.11.0.tar.gz
  • Upload date:
  • Size: 118.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.22 {"installer":{"name":"uv","version":"0.9.22","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for destiny_sdk-0.11.0.tar.gz
Algorithm Hash digest
SHA256 87584f3f6e12befd513bb46d7f8bbbdfcf9d552af3a55e724ed8cab778c34bc5
MD5 5d8a206e1401e3014109695b25cb6b4b
BLAKE2b-256 527190b3e9a2db9f58d40ba5b765a73b1c66345f05a8331c4cab71b2910fc728

See more details on using hashes here.

File details

Details for the file destiny_sdk-0.11.0-py3-none-any.whl.

File metadata

  • Download URL: destiny_sdk-0.11.0-py3-none-any.whl
  • Upload date:
  • Size: 39.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.22 {"installer":{"name":"uv","version":"0.9.22","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for destiny_sdk-0.11.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4dd6540d78d081d59ce72bed01f3f83c598d824a27985152f825c809900ea1d1
MD5 f836ba5039688cde291a62c7d4eead2e
BLAKE2b-256 40eb21407b5a1e4cb01c214130210883a79988918659d52ea4c53aef6932b526

See more details on using hashes here.

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