Skip to main content

peaq python sdk

Project description

peaq-sdk

Python implementation of peaq functions. Offers the following capabilities:

  • DID creation
  • peaq Storage utilization
  • RBAC capabilities

Development

Create virtual env

Unix/macOS

python3 -m venv working_env
source working_env/bin/activate

leave with cmd: deactivate

Install requirements

pip install -r requirements.txt

Build package

To build the package you can execute the cmd:

python -m build

This will create a .zip local instance of the package in the dist/ directory

Using the sdk

Link the reference to documentation

You clearly document how the SDK handles private keys.

Be Sure to Explain:

  • Private key is only ever used to create an account or keypair and it is never sent/logged.
    • Code is open sourced so customers can guarantee this fact.
  • All signing happens locally.
  • Never share the key with anyone.
  • Projects need to guarantee their local environments of the sdk are safe-guarded

NOTES

  • user needs to make sure the address who constructed the tx is the same one that sends it

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

peaq_sdk-0.0.1.tar.gz (19.0 kB view details)

Uploaded Source

Built Distribution

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

peaq_sdk-0.0.1-py3-none-any.whl (22.7 kB view details)

Uploaded Python 3

File details

Details for the file peaq_sdk-0.0.1.tar.gz.

File metadata

  • Download URL: peaq_sdk-0.0.1.tar.gz
  • Upload date:
  • Size: 19.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for peaq_sdk-0.0.1.tar.gz
Algorithm Hash digest
SHA256 d047ed41ec4046f5e751518f846314afbc3dcd86297402dcee6b5ee8d17f75af
MD5 47bea984feb67b67807666953f59a46c
BLAKE2b-256 7c69ef1d995d44f5a4e16bc9a2ec5e7360c4171d612b69be72750a3fcc5ecba2

See more details on using hashes here.

Provenance

The following attestation bundles were made for peaq_sdk-0.0.1.tar.gz:

Publisher: publish.yml on peaqnetwork/peaq-sdk-py

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

File details

Details for the file peaq_sdk-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: peaq_sdk-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 22.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for peaq_sdk-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b21074e74d56f8ac755085b5ed9f7471744c26c610172db663eb0f2f54dadfa9
MD5 83d3a934dc10f91c15fb9d618a81f159
BLAKE2b-256 67daf9dbfafb8bf3b8648be5692e5716d36e2941d238c525228c913e1c2fe560

See more details on using hashes here.

Provenance

The following attestation bundles were made for peaq_sdk-0.0.1-py3-none-any.whl:

Publisher: publish.yml on peaqnetwork/peaq-sdk-py

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