Provncloud SDK (Python)
Official Python SDK for privacy-preserving digital signatures and data anchoring.
Provncloud SDK allows you to cryptographically sign data and anchor it to blockchain networks like Arweave AO and Solana without revealing the raw content. Built with a high-performance Rust core (via PyO3), it ensures strict cryptographic standards and cross-platform interoperability.
🚀 Installation
pip install provn-sdk
💻 Usage
from provn_sdk import ProvnSDK
import time
# 1. Initialize the SDK
sdk = ProvnSDK()
# 2. Generate a new Ed25519 keypair
keys = sdk.generate_keypair()
# 3. Create a claim with current timestamp
timestamp = int(time.time())
claim = sdk.create_claim("AI Model Metadata v2.4", timestamp)
# 4. Sign the claim
signed = sdk.sign_claim(claim, keys['private_key'])
# 5. Verify (Offline)
is_valid = sdk.verify_claim(signed)
print(f"Signature valid: {is_valid}")
🛠 Features
- Rust-Powered: High-performance cryptographic operations using native bindings.
- Deterministic: Implements JCS (RFC 8785) for cross-language signature compatibility.
- Payload Safety: Enforces 2KB limits on claim data to prevent broadcast bloat.
- Easy Integration: Simple object-oriented API for key management and anchoring.
📚 Resources
⚖️ License
MIT License. See LICENSE for details.
Metadata
Release files for provn-sdk 0.3.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| provn_sdk-0.3.2.tar.gz | 16.7 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| provn_sdk-0.3.2-cp312-cp312-manylinux_2_34_x86_64.whl | CPython 3.12 | CPython 3.12 | Linux glibc 2.34+ x86-64 | Details |
Total release size: 352.3 kB
Release files / provn_sdk-0.3.2.tar.gz
| Download URL | provn_sdk-0.3.2.tar.gz |
|---|---|
| Size | 16.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
33b70974ab22a2ebdd8c89f182c6c61a9803a964957a9e00aeccb52b8fc07683
|
|
BLAKE2b-256 checksum How to use checksums |
dcae3615bf2bb4d4ae17eee753c833838b97ced0b372f227c52bd6d943a9303d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.12.4
|
Release files / provn_sdk-0.3.2-cp312-cp312-manylinux_2_34_x86_64.whl
| Download URL | provn_sdk-0.3.2-cp312-cp312-manylinux_2_34_x86_64.whl |
|---|---|
| Size | 335.7 kB |
| Tags | CPython 3.12 Linux glibc 2.34+ x86-64 |
|
SHA-256 checksum How to use checksums |
06351f6a8c5d63b9068aab10ea7cffd8c0706f8c3013bf02858d1abeafb26928
|
|
BLAKE2b-256 checksum How to use checksums |
15d4b4a4d658de931a42a2941fa555c0986a5eb26f3262d61ef5ede1632f661e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.12.4
|
Security for provn-sdk 0.3.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.