Skip to main content

A client library to connect with the Trident API for Pontus-X or EDC.

Project description

Trident Client

This is an example client library creating and keeping a session for the trident webservice.

To configure the secrets, you have to create a file called .env containing the relevant parameters:

TRIDENT_SERVICE='https://iot.ift.tuwien.ac.at/trident'
TRIDENT_USERNAME=''
TRIDENT_PASSWORD=''

CLI

trident-cli publish \
  --bucket "ctd-data-storage" \
  --filename "algorithm.py" \
  --filepath "examples/algorithm.py" \
  --metafilepath "examples/algorithm_metadata.json" \
  --compute

trident-cli delete --did did:op:e1423...

Devel

python -m src.trident_api.cli delete --did did:op:e1423...

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

trident_api-0.0.3.tar.gz (7.8 kB view details)

Uploaded Source

Built Distribution

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

trident_api-0.0.3-py3-none-any.whl (7.0 kB view details)

Uploaded Python 3

File details

Details for the file trident_api-0.0.3.tar.gz.

File metadata

  • Download URL: trident_api-0.0.3.tar.gz
  • Upload date:
  • Size: 7.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for trident_api-0.0.3.tar.gz
Algorithm Hash digest
SHA256 84edc4f6d329a59660d16597c0122fa0b9e7f1fa52a9e53c7278b7c6817daea7
MD5 0aa1bf5b1174da539b7651ff81dff5c9
BLAKE2b-256 7983079081da67c0d06a0d2cc3bc57fcda131315f697d3bccc51ab9d0488bcdd

See more details on using hashes here.

File details

Details for the file trident_api-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: trident_api-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 7.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for trident_api-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 3cdd28dd61caba17763a9bd90b4f2ab26c8e4c472bf9b2ffe5f88775a99c854f
MD5 bf43bbf7a529670c6b5a340ff23992b4
BLAKE2b-256 816a049a4a1e17fa931b6f89fe8155d802bf6dc9a8ec796a7f70b7d57cccd4c5

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