Metadata-Version: 2.3
Name: fh_utils
Version: 0.5.0
Summary: A collection of utilities for FastHTML projects
Project-URL: Homepage, https://phihung.github.io/fh_utils/
Project-URL: Source, https://github.com/phihung/fh_utils
License-File: LICENSE
Requires-Python: >=3.10
Requires-Dist: diskcache>=5.6.3
Requires-Dist: python-fasthtml>=0.8.0
Requires-Dist: typer>=0.12.5
Description-Content-Type: text/markdown

# fh_utils

A collection of utilities for FastHTML projects

## Features

- :sparkles: **[Hot reload mode](/hot-reload.html)** :sparkles: Automatically reloads _modified modules_ without restarting the entire application.
- [CLI](/cli.html) to easily run apps in both development and production modes.
- Seamless [integration](/tailwind.html) of Tailwind CSS / DaisyUI without any boilerplate.
- Jupyter notebook [extension](/jupyter.html) to run FastHTML apps.
- [Icon packs](/icons.html) support: Heroicons, Ionicons, Phosphor, Lucide, FontAwesome, Bootstrap, and Boxicons.

## Installation

```bash
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

```bash
uv sync
alias tom="uv run tom"

# List commands
tom

# Run tests
tom test

# Publish pypi
tom publish

# Publish docs
tom publish-docs
```
