Doctrail
| 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, OpenRouter, or a self-hosted OpenAI-compatible server), 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
Metadata
Release files for doctrail 0.3.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| doctrail-0.3.7.tar.gz | 6.0 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| doctrail-0.3.7-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.9 MB
Release files / doctrail-0.3.7.tar.gz
| Download URL | doctrail-0.3.7.tar.gz |
|---|---|
| Size | 6.0 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
936189c1df0739a43c469948e71dd9139f79539cd730124ff1fde062259959cb
|
|
BLAKE2b-256 checksum How to use checksums |
f782eb8baf1d2fc20b7ab5e6468c6b7783c0d5a2672539693634577c7719266f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.24 {"installer":{"name":"uv","version":"0.12.24","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}
|
Release files / doctrail-0.3.7-py3-none-any.whl
| Download URL | doctrail-0.3.7-py3-none-any.whl |
|---|---|
| Size | 830.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b988fe423c58656f0bfd8e2cf955e7e2831a8c70c1bfeb87d619b0c454911cbe
|
|
BLAKE2b-256 checksum How to use checksums |
80a5f09abe3b1250c56aa4ac4bbaf728f00ce5f7289f142c8dff55ca59b20047
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.24 {"installer":{"name":"uv","version":"0.12.24","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}
|