Skip to main content

Analyze scientific literature with structured criteria to reveal the current state of research.

Project description

scitrail

scitrail builds an easy-to-read markdown report of the top voices in a field, including ORCID identifiers and a concise state-of-the-art executive summary.

The workflow is:

  1. Read a YAML config (institution, optional department/departments, topic/topics, and simple knobs).
  2. Resolve the institution in OpenAlex (with ROR when available).
  3. Scan topic-relevant literature in that institution.
  4. Rank the top voices (configurable count).
  5. Summarize each voice and produce an executive summary.
  6. Render a markdown report.

Install

uv sync

Optional local model support (for local LLM summarization with instructor):

uv sync --extra local-llm

Example config

institution: CU Anschutz
departments:
  - Department of Biomedical Informatics
topics:
  - Quantum
  - Artificial intelligence
max_people: 5
works_per_person: 8
lookback_years: 5
openalex_email: you@example.org
# openalex_api_key: <optional>
llm:
  enabled: false

CLI

Generate a markdown report file:

uv run scitrail generate --config examples/cu_quantum.yaml --output report.md

Preview markdown in terminal:

uv run scitrail preview --config examples/cu_quantum.yaml

Compare department-scoped vs all-departments runs:

uv run scitrail generate --config examples/cu_topics_dbmi.yaml --output examples/cu_topics_dbmi_report.md
uv run scitrail generate --config examples/cu_topics_all_departments.yaml --output examples/cu_topics_all_departments_report.md

Run the built-in example end-to-end and write examples/cu_quantum_report.md:

uv run scitrail example

Execute the docs notebook version (renders rich markdown output in the notebook):

uv run --group docs --group notebooks poe docs-notebook-cu-quantum

Notes

  • OpenAlex API keys are recommended for non-trivial usage.
  • If local LLM dependencies are unavailable, scitrail automatically falls back to deterministic summaries so reports still complete.

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

scitrail-0.0.1.tar.gz (183.1 kB view details)

Uploaded Source

Built Distribution

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

scitrail-0.0.1-py3-none-any.whl (18.3 kB view details)

Uploaded Python 3

File details

Details for the file scitrail-0.0.1.tar.gz.

File metadata

  • Download URL: scitrail-0.0.1.tar.gz
  • Upload date:
  • Size: 183.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for scitrail-0.0.1.tar.gz
Algorithm Hash digest
SHA256 58ed4343f8d6e9935e5e1f69ac243ba38bbb08bc1e50ec7ab737e41c7652d6f5
MD5 12a53bd72e60f24af3acae0fa0d35f98
BLAKE2b-256 6b25d844af45ec32aa19b44867eeeebb5234eb299f38e46556b017f702d7ff15

See more details on using hashes here.

Provenance

The following attestation bundles were made for scitrail-0.0.1.tar.gz:

Publisher: publish-pypi.yml on d33bs/scitrail

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file scitrail-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: scitrail-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 18.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for scitrail-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6b5c01dc416614e1b77c2693417a7d95ebd15186a5efe451f28fbfdd616b5af1
MD5 cb5a91d759820314e539399e9e8837a0
BLAKE2b-256 2e7237338d55f787fb9a51997a1af3b6eb8c0527aeb8127a9cf81ec7ddaa0a0c

See more details on using hashes here.

Provenance

The following attestation bundles were made for scitrail-0.0.1-py3-none-any.whl:

Publisher: publish-pypi.yml on d33bs/scitrail

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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