Skip to main content

Full stack Python web framework to build websites and web apps with as little boilerplate as possible

hyperflask.dev • Get started • Docs • Example app

A Flask-based (very) opiniated full-stack web framework where all the tech choices have been made. Hyperflask combines multiple Flask extensions and frontend libraries into a seamless experience.

Features and technologies:

  • Web framework built on top of Flask as a set of extensions
  • File-based and/or app-based routing
  • A new file format combining python code in frontmatter and html templates to define routes
  • SQL focused ORM with sqlorm, optimized for sqlite
  • Modern asset pipeline using esbuild and tailwindcss
  • Deep integration with htmx
  • Easily create reusable backend and frontend components
  • Build frontend components using Web Components, Alpine.js, React and more. Mix technologies at will.
  • Component library based on daisyUI with icons from Bootstrap Icons
  • Authentication and user management with social logins and MFA
  • Static content collections to easily create blogs and manage static content
  • File management with built-in image manipulation and S3 integration
  • Template based emails with mjml support
  • Background tasks using dramatiq with sqlite as the default broker
  • Push support for realtime pages using server-sent events
  • I18n using gettext
  • Static, hybrid or dynamic modes for content serving

Hyperflask-Start should be used to create new projects:

  • Dev environment based on Development Containers
  • Optimized for VScode with breakpoint debugging for frontend and backend
  • Mailpit for email testing

Project status

Hyperflask is in BETA and can start to be used for non-critical production apps

Checkout the list of all the projects developed as part of the Hyperflask stack and their current development status on the Hyperflask Github organization homepage.

Project status and roadmap

Flask extensions

Hyperflask itself is minimal and mostly a collection of Flask extensions seamlessly integrated together.

A good part of these extensions is developed as part of the Hyperflask project. Checkout the Hyperflask organization page for a list of all these projects.

Name Description
Flask-Assets-Pipeline Modern asset pipeline using esbuild
Flask-Babel-Hyper Flask-Babel fork with additional utilities
Flask-Collections Manage collections of static content
Flask-Configurator File based configuration
Flask-DebugToolbar Debug Toolbar
Flask-File-Routes File-based routing with a new file format combining python and jinja template in a single file
Flask-Files Fsspec based files management (upload, storage and image manipulation)
Frozen-Flask Generate a static website from your Flask app
Flask-Geo Geolocation using Maxmind
Htmx-Flask HTMX integration for Flask
Flask-Login User session management
Flask-Mailman Send emails
Flask-Mailman-Templates Email templates for Flask-Mailman
Flask-Mercure-SSE Push events via server-sent events using the Mercure protocol
Flask-SQLORM Flask integration of sqlorm
Flask-Super-Macros Better macro management for Jinja
Flask-Suspense Suspense for Flask
Flask-WTF WTForms integration

Using without Hyperflask-Start

  1. Create your project directory: mkdir example-project && cd example-project
  2. Create and activate a virtualenv: python -m venv .venv && source .venv/bin/activate
  3. pip install hyperflask
  4. Run npm install esbuild tailwindcss @tailwindcss/cli htmx.org htmx-ext-sse bootstrap-icons daisyui
  5. Run mkdir pages && echo "Hello world" > pages/index.jpy
  6. Start a development server using hyperflask dev

Metadata

Release files for hyperflask 0.6.0

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

Source distribution (sdist)

Source distribution for hyperflask 0.6.0
File Size Uploaded
hyperflask-0.6.0.tar.gz 39.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for hyperflask 0.6.0
File Interpreter ABI Platform
hyperflask-0.6.0-py3-none-any.whl Python 3 none any Details

Total release size: 116.7 kB

Release files / hyperflask-0.6.0.tar.gz

Download URL hyperflask-0.6.0.tar.gz
Size 39.8 kB
Tags Source
SHA-256 checksum
How to use checksums
00c172c89faf59c7b03e3b6e10fd49bb05e31f8b2ea3548f62eb30ae738d4df6
BLAKE2b-256 checksum
How to use checksums
f8f6dcf10f2ee5e737483d6d19155b27511c6becbfaf291c690602e56c6f574e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.9 {"installer":{"name":"uv","version":"0.9.9"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / hyperflask-0.6.0-py3-none-any.whl

Download URL hyperflask-0.6.0-py3-none-any.whl
Size 76.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bc78bc734c023967a8519c9f687ec405cfd4764ba199f72c6e64abfb65f03254
BLAKE2b-256 checksum
How to use checksums
dba580f4916a4cda03a99c2f47033b6f0c4b6e690141cfd76ec4418b8282fb61
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.9 {"installer":{"name":"uv","version":"0.9.9"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release history Release notifications | RSS feed

This release

0.6.0 This release

2 release files

0.5.2

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.4.4

2 release files

0.4.3

2 release files

0.4.2

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.4

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

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