Skip to main content

SQLite database enrichment tool using LLMs

Project description

Doctrail

A doctrail mascot, courtesy of DALL-E 3
A doctrail mascot,
courtesy of DALL-E 3

Doctrail turns document collections into auditable, structured research data with LLMs.

It ingests files into an SQLite database, applies structured codebooks and prompts to selected rows, runs them through an LLM (OpenAI, Gemini, Anthropic, or OpenRouter models), and returns ordinary tables and views for iteration and analysis.

Doctrail is meant to be driven by both researchers and coding agents.

Start here

For researchers and users, the documentation is at https://doctrail.dev.

For LLMs and coding agents, the complete operating manual is at https://doctrail.dev/llms.txt.

Install

Install the command line tool:

uv tool install doctrail
doctrail --help

Or run directly:

uvx doctrail

From source:

git clone https://github.com/mpr1255/doctrail
cd doctrail
uv run doctrail --help

Documentation

The full documentation is at https://doctrail.dev.

Inside the package, doctrail docs prints the reference documentation offline.

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

doctrail-0.3.1.tar.gz (6.0 MB view details)

Uploaded Source

Built Distribution

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

doctrail-0.3.1-py3-none-any.whl (809.6 kB view details)

Uploaded Python 3

File details

Details for the file doctrail-0.3.1.tar.gz.

File metadata

  • Download URL: doctrail-0.3.1.tar.gz
  • Upload date:
  • Size: 6.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.25 {"installer":{"name":"uv","version":"0.11.25","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for doctrail-0.3.1.tar.gz
Algorithm Hash digest
SHA256 264781134a016662739ce6c1e6c2f6bdef50cba8133dd35c12831051316a6afe
MD5 fd6b5be52099880cfbb360e4930431ad
BLAKE2b-256 5fb94f7b9b1a39ee91ae2501d2480670947419d2b9140b1f7bcbe07ea3a733c0

See more details on using hashes here.

File details

Details for the file doctrail-0.3.1-py3-none-any.whl.

File metadata

  • Download URL: doctrail-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 809.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.25 {"installer":{"name":"uv","version":"0.11.25","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for doctrail-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 cb28dcdea9099f7e84688fde45995f4a84702d1383ed3084e93358ed95ab3206
MD5 4c63f4c725198bbd3c54a47ce3ca920e
BLAKE2b-256 f1016b5e077cb8665c90840e2a97a01d083186ed737882e58ec9c79ce50b2850

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