Skip to main content

Official Python SDK for privacy-preserving digital signatures and data anchoring

Project description

Provncloud SDK (Python)

PyPI Python Version License: MIT

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.

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

provn_sdk-0.3.1.tar.gz (16.6 kB view details)

Uploaded Source

Built Distribution

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

provn_sdk-0.3.1-cp312-cp312-manylinux_2_34_x86_64.whl (335.6 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.34+ x86-64

File details

Details for the file provn_sdk-0.3.1.tar.gz.

File metadata

  • Download URL: provn_sdk-0.3.1.tar.gz
  • Upload date:
  • Size: 16.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/1.12.4

File hashes

Hashes for provn_sdk-0.3.1.tar.gz
Algorithm Hash digest
SHA256 8ae54884e0302279ada5a4af95c2c69bee377fa1f95d353a606e6bfec1ca5c01
MD5 5a011589905c033c0e2cbe490eee80e4
BLAKE2b-256 51c8dce1c4e36d3be974c26513d72f2a1dd80edde05174aee7ac83612a3ca15e

See more details on using hashes here.

File details

Details for the file provn_sdk-0.3.1-cp312-cp312-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for provn_sdk-0.3.1-cp312-cp312-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 05756f786a770a4de88cbfe4a0f4863c3f6dc0627cd9d1d861d01025a6ee2ef7
MD5 a90362b63fde69f8e52f58ea4e9d5351
BLAKE2b-256 09a0c0141f6f9629f516088c1e231d4775795e658356eaff1339f705a8168427

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