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

Uploaded Python 3

File details

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

File metadata

  • Download URL: doctrail-0.3.4.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.4.tar.gz
Algorithm Hash digest
SHA256 565b06b29fa8eddead795bfa1a9891d0903d135dc55295513c77b7edcedde76d
MD5 43158493f0e89c07fff94f2eb79eeae3
BLAKE2b-256 2e6d89d38cc8101b6498913b6151fad30d1c321f797d62f255289fe1cf560690

See more details on using hashes here.

File details

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

File metadata

  • Download URL: doctrail-0.3.4-py3-none-any.whl
  • Upload date:
  • Size: 799.8 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 f8378d8baa7f65c9d694a750ab0a6313ebd5bf1fffe0f9b9ba21a4eb306ec01c
MD5 241bca5f8957a5af085b706230b828c6
BLAKE2b-256 e8317dcab16b20a6d549c92ec39849d67e85335db0516752b2c7ab35b62e4c77

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