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.4.0.tar.gz (150.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.4.0-py3-none-any.whl (162.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: trailhead_edu-0.4.0.tar.gz
  • Upload date:
  • Size: 150.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.4.0.tar.gz
Algorithm Hash digest
SHA256 0a9f27d3bd821d8b1dfbfbdc5890ba3a95f6dc61e466014faa07392a85830cc0
MD5 225c1021d300408dde65e0602ed11573
BLAKE2b-256 80040e3ff18f2de83689f5221ac70c8da6229081143fea3d6b2daf54e7b8b69c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: trailhead_edu-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 162.6 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.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 02a61086a3ed432c71e9bc1b5b6f17277ecb8acdc6d71acd94a7b344e3c8ddf2
MD5 f134968709425ad4203076d7f956cb20
BLAKE2b-256 57a49203ad6150b1d5b67c6a83f813294d61c7e08bb79933c9df1f702c2fe196

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