Trustplane SDK (Python) for generating request proof headers
Project description
Trustplane Python SDK (v0.1)
Minimal SDK to generate Trustplane proof headers.
Install
pip install trustplane-sdk
Usage
from trustplane_sdk import sign
out = sign(
tenant_id="mergematter.io",
api_id="api_demo",
client_id="client_demo",
private_key_b64url="<private_key_b64url>",
method="GET",
path="/orders",
body=""
)
print(out["headers"])
Config file
from trustplane_sdk import from_file
client = from_file("./trustplane.json")
out = client.sign(method="GET", path="/orders", body="", private_key_b64url="<private_key_b64url>")
Tests
python3 -m unittest sdk/python/tests/test_vector.py
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
trustplane_sdk-0.1.0.tar.gz
(3.1 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file trustplane_sdk-0.1.0.tar.gz.
File metadata
- Download URL: trustplane_sdk-0.1.0.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ab6e0117263fcdf764ba93bfbc478b677f14f5d9cc075a441efa73d7e3d56708
|
|
| MD5 |
be976c432fe0990be424d73773c8aa82
|
|
| BLAKE2b-256 |
03d358f20ef121d7df38b51cfed0fb76f50bcb991e3cf6146969fbb38d04afa7
|
File details
Details for the file trustplane_sdk-0.1.0-py3-none-any.whl.
File metadata
- Download URL: trustplane_sdk-0.1.0-py3-none-any.whl
- Upload date:
- Size: 2.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
09ed3e89595cc99f8389d2e777bb6d52ad731d49fb7e5e6dbda5a1f864dde0bf
|
|
| MD5 |
29dc537259b79749f8e948221310492a
|
|
| BLAKE2b-256 |
0267dda8304207d7223c107c4d98dc964e855311d6474b8da4e598f2cb277d23
|