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.0.tar.gz (128.6 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.0-py3-none-any.whl (136.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: trailhead_edu-0.2.0.tar.gz
  • Upload date:
  • Size: 128.6 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.0.tar.gz
Algorithm Hash digest
SHA256 2036ed72771a79a3329e53d7469b32b8d77a266414fbbcfb5de04b06f5fd529a
MD5 c5a5d2dc28fb14e643b42ac5bf888356
BLAKE2b-256 80800c46f3e9032c3175f47b6f0d60c7309ce5f9df065639dc2f78cf55643e87

See more details on using hashes here.

File details

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

File metadata

  • Download URL: trailhead_edu-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 136.2 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0c43d74d7dd4e39bec4cdec635bf388d20c14f306ba505dbf10c61247d8268b0
MD5 1a68452cac7231e6a5e59e8513d49ebd
BLAKE2b-256 f24c321ca2185ac75328fecdf3015dca558cd3f6a1ab57d2d0279bc526779c9e

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