Skip to main content

FastHTML CLI

PyPI License Sponsor

Fastest way to scaffold FastHTML apps!

Usage

To create a new FastHTML application, use the fh-init command. Make sure uv is installed before running uvx:

uvx fh-init [OPTIONS] NAME

Arguments

  • NAME: The name of your FastHTML application (required).

Options

  • --template, -p TEXT: The name of the FastHTML template to use (default: base).
  • --reload, -r: Enable live reload.
  • --pico, -p: Enable Pico CSS (default: True).
  • --uv / --no-uv: Use uv to manage project dependencies (default: uv).
  • --tailwind, -t: Enable Tailwind CSS.
  • --install-completion: Install completion for the current shell.
  • --show-completion: Show completion for the current shell.
  • --help: Show the help message and exit.

Example

uvx fh-init my_awesome_app --reload --tailwind

This command will create a new FastHTML application named my_awesome_app with live reload and Tailwind CSS enabled.

Then to run the FastHTML app:

cd my_awesome_app
uv run main.py

Metadata

Release files for fh-init 0.1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for fh-init 0.1.4
File Size Uploaded Provenance Actions
fh_init-0.1.4.tar.gz 5.8 kB Without provenance Details for fh_init-0.1.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for fh-init 0.1.4
File Interpreter ABI Platform Actions
fh_init-0.1.4-py3-none-any.whl Python 3 none any Details for fh_init-0.1.4-py3-none-any.whl

Total release size: 11.3 kB

Release files / fh_init-0.1.4.tar.gz

Download URL fh_init-0.1.4.tar.gz
Size 5.8 kB
Tags Source
SHA-256 checksum
How to use checksums
217c404ad7d019745b3aa93e9517e2df5e351376b1eb4b976c88487583c57fa4
BLAKE2b-256 checksum
How to use checksums
7ed5f8071dc6b8b5dd43b72d8f6f4bdfe47c455e0fa3bd563d0b59356bdd9c57
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.6.14

Release files / fh_init-0.1.4-py3-none-any.whl

Download URL fh_init-0.1.4-py3-none-any.whl
Size 5.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
30e09cfbce1e7730a29e13463595bc1a7bf9872e11023aef1fd2d0e96d47fcbf
BLAKE2b-256 checksum
How to use checksums
538381b26394123e039c6073cd6e139e844408c3e78b931108315d75c5d3d98b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.6.14

Security for fh-init 0.1.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page