$npx skillfedfor your agent

python-fasthtml

The fastest way to create an HTML app

With conditionsPyPI Application FrameworksReleased Jul 20261.1M downloads / moApache-2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — python_fasthtml-0.14.11-py3-none-any.whl
v0.14.11 · released 2026-07-31 · Python >=3.10 · 9 runtime deps: fastcore, python-dateutil, starlette, oauthlib, itsdangerous, uvicorn, httpx2, python-multipart

Yes, if you want to build interactive web apps in pure Python and are comfortable with Alpha-stage software. The low install friction, active maintenance, permissive license, and strong community signal make it a solid choice for prototyping or production use in teams that prefer Python over JavaScript. Not recommended if you need a stable, battle-tested framework or require a large ecosystem of third-party integrations.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.10 or later.
  • Low install friction with a pure-Python wheel and nine runtime dependencies.
  • The project is actively maintained with a recent release (14 days ago) and strong community engagement (7006 GitHub stars), though it remains in Alpha status, so expect API changes.

License · maintenance · safety

Apache-2.0 (permissive) — Apache-2.0 permissive license allows commercial use, modification, and distribution with minimal restrictions—suitable for most projects.

last release 2026-07-31 (14 days) · last repo commit 2026-08-12 · 7,006 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,108,486 downloads/mo, #4,360 on PyPI

Verify before relying

pip install python-fasthtml

from fasthtml.common import *

app, rt = fast_app()

@rt('/')
def get():
    return Div(P('Hello World!'))

serve()
  • Whether the nine runtime dependencies (including uvicorn, starlette, httpx2) are all required for minimal apps or if some are optional.
  • Performance characteristics and scalability limits compared to other Python web frameworks.
  • Maturity of the HTMX integration and stability of the API given the Alpha status.
Same gist for agents: .md · .json

What it is and what it does

FastHTML is a Python web framework designed to simplify building interactive web applications by using HTML-over-the-wire with HTMX instead of traditional JavaScript frontends. It maps Python functions directly to HTTP routes and HTML elements, letting you write full-stack applications in pure Python. The framework uses starlette and uvicorn under the hood and integrates with beautifulsoup4 for HTML manipulation and httpx2 for HTTP requests.

The core idea is that your Python functions return HTML fragments, and HTMX handles swapping them into the page on the client side—eliminating the need to write JavaScript or manage a separate frontend. It ships with fastcore for functional utilities and includes support for authentication (via oauthlib), file uploads (python-multipart), and date handling (python-dateutil). The framework is still in Alpha, so the API may change, but it has active development and a growing community.

Use it for

  • Build interactive web dashboards and admin panels without writing JavaScript or managing a frontend build process.
  • Create real-time collaborative applications where server-side HTML generation and HTMX swaps keep the UI in sync.
  • Prototype web applications quickly using Python's full ecosystem while keeping code minimal and readable.
  • Add interactivity to existing HTML pages by serving partial HTML fragments in response to user actions.
  • Build form-heavy applications where server-side validation and rendering logic can be expressed in pure Python.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you want to build interactive web apps in pure Python and are comfortable with Alpha-stage software.

The low install friction, active maintenance, permissive license, and strong community signal make it a solid choice for prototyping or production use in teams that prefer Python over JavaScript. Not recommended if you need a stable, battle-tested framework or require a large ecosystem of third-party integrations.

Install

python-fasthtml on PyPI

Before you install

Low install friction with a pure-Python wheel and nine runtime dependencies. The project is actively maintained with a recent release (14 days ago) and strong community engagement (7006 GitHub stars), though it remains in Alpha status, so expect API changes.

Requires Python 3.10 or later.

License in practice

Apache-2.0 permissive license allows commercial use, modification, and distribution with minimal restrictions—suitable for most projects.

Quickstart

pip install python-fasthtml

from fasthtml.common import *

app, rt = fast_app()

@rt('/')
def get():
    return Div(P('Hello World!'))

serve()

Verify before relying

  • Whether the nine runtime dependencies (including uvicorn, starlette, httpx2) are all required for minimal apps or if some are optional.
  • Performance characteristics and scalability limits compared to other Python web frameworks.
  • Maturity of the HTMX integration and stability of the API given the Alpha status.

Package facts

LicenseApache-2.0 permissive
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
9 packages
fastcorepython-dateutilstarletteoauthlibitsdangerousuvicornhttpx2python-multipartbeautifulsoup4
MaintenanceActively maintained 14 days since the last release
Last repo commit
First released
Downloads1,108,486 / month, #4,360 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 3 - AlphaIntended Audience :: DevelopersNatural Language :: EnglishProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: Only

Evidence: python_fasthtml-0.14.11-py3-none-any.whl

Tags

Capabilities
python web framework htmxhtml over the wire pythoninteractive web apps pythonminimal python web frameworkserver-side html renderinghtmx python frameworkno javascript web framework
Topics
web-frameworkhtmxhtml-over-wire
PyPI keywords
nbdevjupyternotebookpython

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “python web framework htmx”

  • python-fasthtmlFastHTML is a Python web framework that builds interactive web…
  • litestar-htmxIntegrates HTMX into Litestar web applications, enabling…
  • jinja2-fragmentsRenders individual Jinja2 template blocks as HTML fragments instead…

Give your agent the search over MCP, or paste the wish link into any chat.

More Application Frameworks packages

fastapi Worth it
PyPI · Software Development · released Jul 2026

FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.

MITpure Python · 3.10+
568.6Mdownloads / mo
annotated-doc With conditions
PyPI · Software Development · released Jul 2026

Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.

MITpure Python · 3.9+
456.2Mdownloads / mo
textual Worth it
PyPI · Application Frameworks · released Jun 2026

Textual is a Python framework for building cross-platform user interfaces that run in the terminal or web browser using a modern, component-based API.

Install it if you're developing CLI tools, dashboards, or interactive terminal applications.

MITpure Python
443.6Mdownloads / mo
typer Worth it
PyPI · Software Development · released Aug 2026

Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.

Install it if you are building CLIs in Python.

MITpure Python · 3.10+
369.3Mdownloads / mo
mcp Worth it
PyPI · Application Frameworks · released Jul 2026

Build and connect to Model Context Protocol servers that expose tools, resources, and prompts to LLM applications over stdio, HTTP, or SSE transports.

Install it if you need to build or connect to servers.

MITpure Python · 3.10+
319.3Mdownloads / mo
Werkzeug Worth it
PyPI · Application Frameworks · released Apr 2026

Werkzeug is a WSGI utility library providing request/response objects, URL routing, an interactive debugger, HTTP utilities, and a development server for building web applications.

BSD-3-Clausepure Python · 3.9+
268.1Mdownloads / mo

See also hyperscript · litestar-htmx · django-htmx · nicegui · htpy · html5tagger · fastui · branca · sphinxcontrib-jsmath · streamlit