Skip to main content

StudyTrail

Learn a little. Practise with purpose. See your progress.

StudyTrail is a terminal AI study coach. Bring your own compatible provider API key, add study notes, practise with quizzes, and track progress locally.

Requires Python 3.10 through 3.14. Install the latest release in an activated environment with python -m pip install --upgrade studytrails, or install an isolated CLI with uv tool install --upgrade studytrails. Run studytrails to open the welcome menu.

Created by Yash Patil, a Python and AI learner. The project uses OpenAI's Python SDK for compatible chat APIs. OpenAI created the GPT-OSS model family; the API host may be another provider, such as Groq. Users may configure other model families.

Features

  • Interactive provider, model, and hidden API-key setup.
  • OpenAI-compatible Chat Completions endpoints with tool-calling models.
  • OpenAI and Groq address presets; custom compatible endpoints supported.
  • Multi-subject coaching and subject-specific note retrieval.
  • Paste notes or import UTF-8 .md and .txt files up to 200 KB.
  • Multiple-choice quizzes, explanations, and local SQLite progress.
  • A fixed offline Python quiz demo that needs no API key.
  • Keys stored in supported operating-system credential stores, without a plaintext fallback.

Commands

studytrails
studytrails config
studytrails chat --subject java
studytrails notes-add
studytrails notes "inheritance" --subject java
studytrails scores
studytrails pending
studytrails demo
studytrails doctor

Run studytrails doctor to see the personal storage location. Existing source checkouts retain their original data directories. Set STUDYTRAIL_HOME to choose a different root. Machines without a usable OS credential store can supply STUDYTRAIL_API_KEY through the environment.

The software is MIT-licensed. API costs and limits depend on your provider and plan; StudyTrail cannot guarantee free API usage. Your prompts, retrieved note passages, and score summaries may be sent to the configured provider. Notes are retrieved by keywords, not used to train a model. AI answers and quiz keys may contain mistakes. The app does not execute generated code. Native APIs with incompatible request formats are not supported. A provider preset does not guarantee every model works.

Metadata

Release files for studytrails 0.2.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for studytrails 0.2.2
File Size Uploaded Provenance Actions
studytrails-0.2.2.tar.gz 83.6 kB Without provenance Details for studytrails-0.2.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for studytrails 0.2.2
File Interpreter ABI Platform Actions
studytrails-0.2.2-py3-none-any.whl Python 3 none any Details for studytrails-0.2.2-py3-none-any.whl

Total release size: 107.2 kB

Release files / studytrails-0.2.2.tar.gz

Download URL studytrails-0.2.2.tar.gz
Size 83.6 kB
Tags Source
SHA-256 checksum
How to use checksums
06647d1d418e922fd6a39cfe97c059c14a1453813523ffb5cf363c04eac35f09
BLAKE2b-256 checksum
How to use checksums
cab322a0e1c9e51a00a110a8a81a7b0aa9a44960eb9aebc950362dae1dd55859
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.23 {"installer":{"name":"uv","version":"0.12.23","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / studytrails-0.2.2-py3-none-any.whl

Download URL studytrails-0.2.2-py3-none-any.whl
Size 23.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bac97544f7bca1049c61ddb7e436bd7dbb6f03a4f9b0dee5e3272c6853637e41
BLAKE2b-256 checksum
How to use checksums
2b3a5cdff7f43cde499a2906dc524ed22f090d40988a5567fcd63179c78e8549
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.23 {"installer":{"name":"uv","version":"0.12.23","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for studytrails 0.2.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page