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.dev61.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.dev61-py3-none-any.whl (22.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: peaq_sdk-0.0.1.dev61.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.dev61.tar.gz
Algorithm Hash digest
SHA256 ddf508a10b2ea9db4f4f2907f5c43dcb75d10006b5db0bee2473f2450e00c158
MD5 2b423eea6f05116b95dd8bbc762f197b
BLAKE2b-256 4c57fbe2a8b8a5124d6dec828accde8a316008abba25f09ea210c40736615575

See more details on using hashes here.

Provenance

The following attestation bundles were made for peaq_sdk-0.0.1.dev61.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.dev61-py3-none-any.whl.

File metadata

  • Download URL: peaq_sdk-0.0.1.dev61-py3-none-any.whl
  • Upload date:
  • Size: 22.8 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.dev61-py3-none-any.whl
Algorithm Hash digest
SHA256 2af426d78bfb3af1e9f8a24388ebe6b58130133b2266b188ce89e4e1372ecd03
MD5 de610b3b8b376dd94d4e9975089b1068
BLAKE2b-256 d5b3ee6c78b662809f1c958b3167c6475d1eac62cb4b5d4da467816d269de1d7

See more details on using hashes here.

Provenance

The following attestation bundles were made for peaq_sdk-0.0.1.dev61-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