Skip to main content

docimprint (Python)

Verifiable document memory for AI agents — evidence bundles, Merkle proofs, and signatures.

Install

pip install docimprint           # REST client only
pip install "docimprint[crewai]"  # + CrewAI tools & toolkit (Python 3.10–3.13)

Set DOCIMPRINT_API_KEY or pass api_key= to the client. Default API base URL is https://api.docimprint.com.

CrewAI quickstart

import os
from crewai import Agent, Crew, Task
from docimprint.crewai import DocImprintToolkit

toolkit = DocImprintToolkit(
    api_key=os.environ["DOCIMPRINT_API_KEY"],
    collection_id="col_your_collection",  # optional; enables collection search/ask tools
)
researcher = Agent(role="Researcher", goal="Extract verifiable evidence", tools=toolkit.research_tools())
task = Task(description="Extract evidence from https://example.com/contract", agent=researcher)
Crew(agents=[researcher], tasks=[task]).kickoff()

DocImprintToolkit groups tools for research (ExtractEvidenceTool, SummarizeTool, QATool, CheckClaimsTool), legal (VerifyBundleTool, NotarizeTool), and collection search. Use toolkit.all_tools() for the full set.

REST client

from docimprint import DocImprintClient

with DocImprintClient(api_key="...") as client:
    bundle = client.extract(url="https://example.com")
    print(bundle["bundle_id"])

Docs

License

MIT — see LICENSE.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

docimprint-0.2.1.tar.gz (21.5 kB view details)

Uploaded Source

Built Distribution

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

docimprint-0.2.1-py3-none-any.whl (20.9 kB view details)

Uploaded Python 3

File details

Details for the file docimprint-0.2.1.tar.gz.

File metadata

  • Download URL: docimprint-0.2.1.tar.gz
  • Upload date:
  • Size: 21.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.7

File hashes

Hashes for docimprint-0.2.1.tar.gz
Algorithm Hash digest
SHA256 5b972dd901d1367531c5caadd85d07645c0eb1c74d9f45bb511220ecfae03d62
MD5 aaf6485a0048cd0d74d7512a1456db0d
BLAKE2b-256 049b257ece4d1b5e8e525523e6e0aa10296bd9b164bf6784570141da4c2907d2

See more details on using hashes here.

File details

Details for the file docimprint-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: docimprint-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 20.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.7

File hashes

Hashes for docimprint-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7f0d845387500d03857c24bf1738174d90a3f9122cd5306a333559996de54eab
MD5 8d64eabd53b62fbc7d3f9ffd7bcd684f
BLAKE2b-256 d1d9df752485cd885a7b637a9af827a4c63c55b2baaf3dc54e709b0baffabda1

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.2.1 This release

2 files

0.2.0

2 files

0.1.1

2 files

0.1.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page