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.dev10

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.dev10
File Size Uploaded Provenance Actions
dig_client-0.1.0.dev10.tar.gz 4.6 kB Without provenance Details for dig_client-0.1.0.dev10.tar.gz

Built distribution (wheel)

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

Total release size: 8.3 kB

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

Download URL dig_client-0.1.0.dev10.tar.gz
Size 4.6 kB
Tags Source
SHA-256 checksum
How to use checksums
a62fd264652dc817da344e3cf0f1bc097b1d56c7aca9705633d16e0a03b7f949
BLAKE2b-256 checksum
How to use checksums
8afd5b3b4249cd8ebd04a40145607c9c44bb684b3bb443a7323d668893a60dfd
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.dev10-py3-none-any.whl

Download URL dig_client-0.1.0.dev10-py3-none-any.whl
Size 3.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
04cd5b46e36eda3ca4bc4b4fbf402223418d28828a6dec86f50550c2c360227d
BLAKE2b-256 checksum
How to use checksums
82d5e74e9e25a5f53e34c791653302fe6f91ddf6d8ca6eae9adc4b0d0ba4c4c9
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.dev10

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