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

For LLMs and coding agents, the complete operating manual is at https://doctrail.org/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.org.

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.2.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.2-py3-none-any.whl (799.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: doctrail-0.3.2.tar.gz
  • Upload date:
  • Size: 6.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.26 {"installer":{"name":"uv","version":"0.11.26","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.2.tar.gz
Algorithm Hash digest
SHA256 33dd6f62438f004814f9ac6482d073ba8594c0d57dffd51fbc066963ff271e82
MD5 1970a958b66986c8b600fb21e4d7e641
BLAKE2b-256 2737c86ede95a9153a9a8f373c7365ca5f89f7a1cda1c6f9736eb4dfe16d7e8e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: doctrail-0.3.2-py3-none-any.whl
  • Upload date:
  • Size: 799.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.26 {"installer":{"name":"uv","version":"0.11.26","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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 9db528643f84a0fb93ac029f62c1a5c09ec84f229b41fc2fb28cdc5a1a9a2f5e
MD5 95c4d49f380ac257302ae46e46d3247d
BLAKE2b-256 d109f4571eb84d79468f8e053eb6c0c33be7bc05bed167ae94c4c0f36759c76a

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