Skip to main content

Anchor any file to Bitcoin with one API call. Hash-in, proof-out. Zero dependencies.

Project description

umarise-core-sdk

Anchor any file to Bitcoin with one API call. Hash-in, proof-out.

artifact → artifact.proof

Zero dependencies. Python 3.8+.

Install

pip install umarise-core-sdk

Anchor a file

from umarise import UmariseCore, hash_buffer
import os

core = UmariseCore(api_key=os.environ["UMARISE_API_KEY"])

with open("release.tar.gz", "rb") as f:
    file_hash = hash_buffer(f.read())

origin = core.attest(file_hash)
print(origin.origin_id)  # done

Verify a file (no API key needed)

from umarise import UmariseCore, hash_buffer

core = UmariseCore()

with open("release.tar.gz", "rb") as f:
    file_hash = hash_buffer(f.read())

result = core.verify(file_hash)
if result:
    print(f"Existed since {result.captured_at}")

Verification is public. No account, no API key, no vendor dependency.

CLI

npx @umarise/cli anchor release.tar.gz
# → release.tar.gz.proof

Verify offline:

npx @umarise/cli verify release.tar.gz.proof
# Hash Match ✓ | Bitcoin Block #881234 | 2026-03-05 | VALID

API

Method Auth Description
health() Public API health check
resolve(origin_id=...) Public Lookup by origin ID
resolve(hash=...) Public Lookup by hash
verify(hash) Public Check if hash is anchored
proof(origin_id) Public Download .ots proof
attest(hash) API Key Create anchor
hash_buffer(bytes) SHA-256 hash, no network

CI/CD

Use the GitHub Action for automated anchoring:

- uses: AnchoringTrust/anchor-action@v1
  with:
    file: build.tar.gz
  env:
    UMARISE_API_KEY: ${{ secrets.UMARISE_API_KEY }}

Every build gets a .proof file. Verifiable offline, independent of Umarise.

Links

License

Unlicense (Public Domain)

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

umarise_core_sdk-1.1.4.tar.gz (4.7 kB view details)

Uploaded Source

Built Distribution

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

umarise_core_sdk-1.1.4-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

Details for the file umarise_core_sdk-1.1.4.tar.gz.

File metadata

  • Download URL: umarise_core_sdk-1.1.4.tar.gz
  • Upload date:
  • Size: 4.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for umarise_core_sdk-1.1.4.tar.gz
Algorithm Hash digest
SHA256 0e295c383df66eb3c5bdf08f7b60acd221f95a186f6a8c27a4dafb0c1d144196
MD5 3c4c546b9c411bc7fc82d7964e9d9749
BLAKE2b-256 4697a09fe5b6f19827493e98700726cd884a79af2a5a7d3a93df64adbdafe372

See more details on using hashes here.

Provenance

The following attestation bundles were made for umarise_core_sdk-1.1.4.tar.gz:

Publisher: publish-pypi.yml on Jonna1976/umarise

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file umarise_core_sdk-1.1.4-py3-none-any.whl.

File metadata

File hashes

Hashes for umarise_core_sdk-1.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 60b5daae38f7653c87430ecf2b61dd8621e31e1c1b086896e6c7f036a2f24f2b
MD5 9513f8643d04e975a0f4698cc528ddb8
BLAKE2b-256 19e6fd0fbe5ce6e52eabbfe394ab5a6a72ee3716693d818c0914cf7d736b7b69

See more details on using hashes here.

Provenance

The following attestation bundles were made for umarise_core_sdk-1.1.4-py3-none-any.whl:

Publisher: publish-pypi.yml on Jonna1976/umarise

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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