Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

dig-client

Python client for a local dig daemon — search, organize, reconcile, and export a knowledge base over HTTP. Dependency-free (standard library only), local-first.

Install

pip install dig-client

Start a daemon next to your KB (dig binary from https://dig.vllnt.com):

dig serve            # binds 127.0.0.1:3978 (loopback only)

Use

from dig_client import DigClient

dig = DigClient()  # http://127.0.0.1:3978

# search — fts (default), vector, or hybrid (semantic)
hits = dig.find("invoice acme 2024", mode="hybrid", limit=5)

# agent memory — capture, then recall a token-budgeted pack
dig.retain(session_markdown, as_="memory/sessions/today.md")
pack = dig.recall("billing ledger decision", budget=1000)

# reorganize by policy — preview, then apply (reversible)
dig.org(apply=False)   # preview the plan
dig.org(apply=True)    # commit it
dig.undo()             # step back

# reproducible dataset export (JSONL text)
jsonl = dig.export(filter="label:finance")

# read-only inspection
dig.drift()
dig.log()

Target a specific KB with kb="/path/or/name" on any call; omit it to use the KB at the daemon's working directory. Errors raise DigError carrying the HTTP status.

The client speaks the same contract as dig serve, a thin adapter over the dig CLI — so it never drifts from the tool.

Metadata

Release files for dig-client 0.1.0.dev9

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dig-client 0.1.0.dev9
File Size Uploaded Provenance Actions
dig_client-0.1.0.dev9.tar.gz 4.6 kB Without provenance Details for dig_client-0.1.0.dev9.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for dig-client 0.1.0.dev9
File Interpreter ABI Platform Actions
dig_client-0.1.0.dev9-py3-none-any.whl Python 3 none any Details for dig_client-0.1.0.dev9-py3-none-any.whl

Total release size: 8.3 kB

Release files / dig_client-0.1.0.dev9.tar.gz

Download URL dig_client-0.1.0.dev9.tar.gz
Size 4.6 kB
Tags Source
SHA-256 checksum
How to use checksums
d85d058e159a6df1fae840815fddaf02a9059fe86cbf429011d32d0f6a5d51db
BLAKE2b-256 checksum
How to use checksums
cda52c092a3b581cf6b780d2cc7a83581cdfda2735b46bf40b1ab60922cc80f5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / dig_client-0.1.0.dev9-py3-none-any.whl

Download URL dig_client-0.1.0.dev9-py3-none-any.whl
Size 3.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
763ebcd76ca05bf2f0af4d5ac6e8dd19463a642b47143bf4e7f65b5ce1f2a8b5
BLAKE2b-256 checksum
How to use checksums
193cfbdfaee8b06b36b89b70c9e110658e6cff5b431f46273a367f2a6af729a5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Security for dig-client 0.1.0.dev9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page