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.1.tar.gz (129.5 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.1-py3-none-any.whl (137.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: trailhead_edu-0.2.1.tar.gz
  • Upload date:
  • Size: 129.5 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.1.tar.gz
Algorithm Hash digest
SHA256 cb9ce016d9787c1e087cdd410f1208232cc9aaab49c3e85a1eb3e570a1436ba0
MD5 fa136699ccd28b283796cd2ad9b13226
BLAKE2b-256 f8bdcae4f49c306c142fd6a8a9a3e49f87a02bfcb53673b93c42d1a9cd88ce67

See more details on using hashes here.

File details

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

File metadata

  • Download URL: trailhead_edu-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 137.1 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3ace74bb1b2dc02e9520de1da65c4c28a6a5c6b009ac08406f6fa082c9547713
MD5 51a51ae2bd0b4c92ef3acdc7c216b520
BLAKE2b-256 995218fcb76bec25cff2bd68f0bc5aa1c2b97190342cdccf9e241717632ade00

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