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

Uploaded Python 3

File details

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

File metadata

  • Download URL: doctrail-0.3.3.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.3.tar.gz
Algorithm Hash digest
SHA256 72dcaedd6b0d7de164be0f82203e4cd93571f640ba36b7272cf1984a98dbcfe0
MD5 9da3b4ac509d0243ff0ad2d1ebf73661
BLAKE2b-256 16c26d7569c81580e3ec215391342618084e344612a74e84556ca46a5847c843

See more details on using hashes here.

File details

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

File metadata

  • Download URL: doctrail-0.3.3-py3-none-any.whl
  • Upload date:
  • Size: 799.4 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 c4cbec72054a320bb873a3cf75bcb652a3c9b78899c0e466d5a2ec40b4c61add
MD5 7d591dc30b382762d002d312aa2c1db3
BLAKE2b-256 4f515a2449755234ccde3c659a049cbf530759452731ccaf5714deea16f2d94b

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