Skip to main content

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
alias tom="uv run tom"

# List commands
tom

# Run tests
tom test

# Publish pypi
tom publish

# Publish docs
tom publish-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.5.0.tar.gz (86.3 kB view details)

Uploaded Source

Built Distribution

fh_utils-0.5.0-py3-none-any.whl (14.9 kB view details)

Uploaded Python 3

File details

Details for the file fh_utils-0.5.0.tar.gz.

File metadata

  • Download URL: fh_utils-0.5.0.tar.gz
  • Upload date:
  • Size: 86.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.10

File hashes

Hashes for fh_utils-0.5.0.tar.gz
Algorithm Hash digest
SHA256 8e9812a0d7ff8c1e9e16f4181e0222293774c3d6138d5346da672560f05d3036
MD5 d61bfc2a86194ff49e81034d71860217
BLAKE2b-256 d99308fd66c77da7f039d2ee86d01698ded3032cbad1e03487a4c4d7610a51ae

See more details on using hashes here.

File details

Details for the file fh_utils-0.5.0-py3-none-any.whl.

File metadata

  • Download URL: fh_utils-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 14.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.10

File hashes

Hashes for fh_utils-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fd0207b4d3b066767d41e1dc798e98513f261d7c256d2dbbb49ed86b2aafe6fb
MD5 dcc818f0c94eedb1434853ac0b3810ef
BLAKE2b-256 38e95679d3a99383897bde2ccf20383e9ea67ddcd0ea6c0a08c4fc89f7aaad7b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page