Skip to main content

Signed usage receipts for AI systems. Cryptographic spend attestation.

Project description

proofmeter

Signed usage receipts for AI systems. Patent Pending.

from proofmeter import ProofMeterClient

client = ProofMeterClient(api_key="pm_live_...", namespace_id="ns_...")

receipt = client.record_spend(
    actor_id="my-agent",
    provider_id="anthropic",
    usage_unit="tokens",
    usage_quantity=3000,
    cost_cents=25,
)

print(receipt.receipt_id)  # rct_...
print(receipt.signature)   # Ed25519 signature

Install

pip install proofmeter

Docs

https://proofmeter.com/docs/python

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

proofmeter-0.1.0.tar.gz (8.3 kB view details)

Uploaded Source

Built Distribution

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

proofmeter-0.1.0-py3-none-any.whl (10.1 kB view details)

Uploaded Python 3

File details

Details for the file proofmeter-0.1.0.tar.gz.

File metadata

  • Download URL: proofmeter-0.1.0.tar.gz
  • Upload date:
  • Size: 8.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for proofmeter-0.1.0.tar.gz
Algorithm Hash digest
SHA256 c44855e4ebbe73692aac2f7b5d280e23d6e0294f536da18d96177b0c8af38e27
MD5 94af5fb463d35f0c25d19f70f378416f
BLAKE2b-256 88a359a03e29507bfb1b2dd2f5a84b9c680ee06ed0dbf73c6e54a19b5b4a98e0

See more details on using hashes here.

File details

Details for the file proofmeter-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: proofmeter-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 10.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for proofmeter-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ed3f80111b17019f63850009cbdabbe36a1e643d0063defe80b637e2aa648c34
MD5 a8de3f46cddb7b1e745c769414b3d721
BLAKE2b-256 b857a976f17eebd5fdf5355fcc5e013477fd84564ee7d61358c963b95a7678b7

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