Full stack web framework
Project description
Full stack Python web framework to build websites and web apps with as little boilerplate as possible
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
- Deployments using docker-web-deploy
Project status
Hyperflask is being actively developed and is not yet ready to be used.
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.
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-Dramatiq | Background tasks powered by Dramatiq |
| 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-Talisman | HTTP security headers for Flask |
| Flask-WTF | WTForms integration |
Using without Hyperflask-Start
- Create your project directory:
mkdir example-project && cd example-project - Create and activate a virtualenv:
python -m venv .venv && source .venv/bin/activate pip install hyperflask- Create a pages directory:
mkdir pages - Create your index page:
echo "hello world" > pages/index.html - Start a development server using
hyperflask dev
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file hyperflask-0.2.2.tar.gz.
File metadata
- Download URL: hyperflask-0.2.2.tar.gz
- Upload date:
- Size: 28.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
155457fddeb40fc3154097a67533be4370f46442502d1028193fe18df52818c8
|
|
| MD5 |
276280550c8a1f94c0c11eb7ed024070
|
|
| BLAKE2b-256 |
a6e60f1b704a3e913af0cde172db17fe3496a13a529695d27ba59c20f4309e15
|
File details
Details for the file hyperflask-0.2.2-py3-none-any.whl.
File metadata
- Download URL: hyperflask-0.2.2-py3-none-any.whl
- Upload date:
- Size: 62.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d84e58ceab2d36602ab46a2db7f549e85eb9d682aa18755ca8bae050ceb53d44
|
|
| MD5 |
4242a3de090792589e155e1762443ce8
|
|
| BLAKE2b-256 |
f4733c4e00d464242a6affae92ac45798af9e81f2211fee07040dab53132b7ee
|