Skip to main content

Python SDK for the Immutable audit log API.

Project description

getimmutable

Python SDK for the Immutable audit log API. Tamper-evident audit logs for B2B SaaS.

Installation

pip install getimmutable

Requires Python 3.10+.

Quick Start

from getimmutable import ImmutableClient

client = ImmutableClient(
    api_key="imk_your_api_key",
    base_url="https://getimmutable.dev",
)

# Fluent builder
client.actor("user_123", name="Sarah Chen") \
    .track("document.created", "document", {"size": 1024})

# Query events
events = client.get_events(actor_id="user_123")

# Verify chain integrity
result = client.verify()
print(result["data"]["valid"])  # True

Documentation

Full documentation at docs.getimmutable.dev/sdks/python.

License

MIT

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

getimmutable-0.2.0.tar.gz (6.7 kB view details)

Uploaded Source

Built Distribution

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

getimmutable-0.2.0-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

Details for the file getimmutable-0.2.0.tar.gz.

File metadata

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

File hashes

Hashes for getimmutable-0.2.0.tar.gz
Algorithm Hash digest
SHA256 ae287715e00225e8789316d4a23e962d48d11b32ff50580cf9ea0ae84c18564b
MD5 f895ddc14734c9c6b4f5f0a1754d9df0
BLAKE2b-256 840c22de7fe31137b66bb826fdc8bd5c193e3bc96a0f394d4d98cbaebb2c2b47

See more details on using hashes here.

File details

Details for the file getimmutable-0.2.0-py3-none-any.whl.

File metadata

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

File hashes

Hashes for getimmutable-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 283cc78044fcd3202e3358f0d49930164f8c607ed29f6cdbc0a24c766b7dd45e
MD5 99da2222e8820292ae2566648e470746
BLAKE2b-256 532f3c7d34835f5c1175495179ba96698eed32f260201792e8a261476c39a459

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