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.3.0.tar.gz (131.3 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.3.0-py3-none-any.whl (140.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: trailhead_edu-0.3.0.tar.gz
  • Upload date:
  • Size: 131.3 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.3.0.tar.gz
Algorithm Hash digest
SHA256 68e2b45f3c792ebb93f71c5d0f57d94a0dc7db464f93d2ee6a71b010ff7f5ddd
MD5 b0c95e9ec66ec0efffe98126a6423d4f
BLAKE2b-256 f10c73a9759c3edbb165fd1b82c2bb2061f77f136c2110793a73532302654d56

See more details on using hashes here.

File details

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

File metadata

  • Download URL: trailhead_edu-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 140.8 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.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2bde8de02044246583edd67555fb58cc0264b9d54817fd3d4df7a0cbb21ee80f
MD5 b49106ca149fe04f21bfcad287233afd
BLAKE2b-256 472f7f8e4cce508a618ee748833101d20b2439041c2ab2fc2fec231a4490f10f

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