A collection of utilities for FastHTML projects
Project description
fh_utils
A collection of utilities for FastHTML projects
Features
- :sparkles: Hot reload mode :sparkles: Automatically reloads modified modules without restarting the entire application.
- CLI to easily run apps in both development and production modes.
- Seamless integration of Tailwind CSS / DaisyUI without any boilerplate.
- Jupyter notebook extension to run FastHTML apps.
- Icon packs support: Heroicons, Ionicons, Phosphor, Lucide, FontAwesome, Bootstrap, and Boxicons.
Installation
pip install fh_utils
uv add fh_utils
::: {.callout-tip} If you don’t like to pip install, feel free to copy and paste the code! The project is structured to make copying and pasting easy. :::
Dev
uv sync
uv run pytest
uv run examples/demo.py
rm -rf dist && uv build
uvx twine upload dist/*
quarto publish gh-pages docs
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
fh_utils-0.4.1.tar.gz
(83.6 kB
view hashes)
Built Distribution
fh_utils-0.4.1-py3-none-any.whl
(14.9 kB
view hashes)