Skip to main content

A local web environment for learning and exploring Python programs

Project description

Trailhead server

Trailhead is a local FastAPI server for exploring and running Python modules in a browser. It supports Python 3.11 or newer on macOS, Windows, and Linux. The PyPI distribution is named trailhead-edu; the import package and command remain trailhead.

Install the command from PyPI in an isolated tool environment with:

uv tool install trailhead-edu

For repository development, synchronize the locked environment from the repository root:

uv sync --project server --locked --extra student

The student extra supplies the optional data-science and teaching libraries; the base installation contains only Trailhead's server runtime. Run a project with:

trailhead --root demo

Use trailhead --help for host, port, reload, and log-level options. The web client must be built before creating a release wheel so that static/index.html and static/assets/ are included as package data.

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

trailhead_edu-0.2.2.tar.gz (129.8 kB view details)

Uploaded Source

Built Distribution

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

trailhead_edu-0.2.2-py3-none-any.whl (137.7 kB view details)

Uploaded Python 3

File details

Details for the file trailhead_edu-0.2.2.tar.gz.

File metadata

  • Download URL: trailhead_edu-0.2.2.tar.gz
  • Upload date:
  • Size: 129.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.10.6 {"installer":{"name":"uv","version":"0.10.6","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 trailhead_edu-0.2.2.tar.gz
Algorithm Hash digest
SHA256 9792878dfc58ee370da34dd2656f2bda482d4b7431fad7f67d5c6960c0c0b23b
MD5 e8d1d49e4ce544e449df7832dace7ab9
BLAKE2b-256 9295c18b81625e55ba4173e695dd3965e00c0dcba28d7a04585c89caecb7b30f

See more details on using hashes here.

File details

Details for the file trailhead_edu-0.2.2-py3-none-any.whl.

File metadata

  • Download URL: trailhead_edu-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 137.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.10.6 {"installer":{"name":"uv","version":"0.10.6","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 trailhead_edu-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 039a48dd04d0a9e2fa577487b7b35e3d650047bce5cd46143facad57a3b13067
MD5 718d2e4a2246f6408230319236e9c3fa
BLAKE2b-256 314ef01dcf549cb5a0b506764fdb937f481d25d630da92ed0efe4838a607907f

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