An ultra micro ASGI web framework
Project description
MicroPie is an ultra-micro ASGI Python web framework for building fast, async web apps with minimal boilerplate. It includes convention-based routing, sessions, middleware, WebSocket support, lifespan hooks, and optional template rendering.
Quick Start
from micropie import App
class MyApp(App):
async def index(self):
return "Hello, MicroPie!"
app = MyApp() # Run with `uvicorn app:app`
Run:
uvicorn app:app
Installation
$ pip install micropie[standard]
Other profiles:
$ pip install micropie # minimal
$ pip install micropie[all] # standard + orjson + uvicorn
Useful Links
- Homepage: patx.github.io/micropie
- Official Documentation: micropie.readthedocs.io
- PyPI Page: pypi.org/project/MicroPie
- GitHub Project (mirror): github.com/patx/micropie
- GitMan Project: gitman.io/patx/micropie
- Examples: github.com/patx/micropie/tree/main/examples
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
micropie-0.31.tar.gz
(2.3 MB
view details)
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 micropie-0.31.tar.gz.
File metadata
- Download URL: micropie-0.31.tar.gz
- Upload date:
- Size: 2.3 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.32.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
67bf1871b1c3890d712211abb03f31bed26f96f0d3a3c2bbf23b4777731b1e69
|
|
| MD5 |
370801d2876036dd143aa9327b7ebbaa
|
|
| BLAKE2b-256 |
0713cc50de2becb5f919dd75cc336afb986d9f28caa596c36a66393d05743b9f
|
File details
Details for the file micropie-0.31-py2.py3-none-any.whl.
File metadata
- Download URL: micropie-0.31-py2.py3-none-any.whl
- Upload date:
- Size: 13.1 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.32.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
03976f175c1f38380e6f5ea19c70cd15315a113c70c67671911cf7083ea86f73
|
|
| MD5 |
e2516f3d58583e4931d37d0297bdc012
|
|
| BLAKE2b-256 |
821808527cceeb2a1596f432e86949cd9a0e6a8df4b5386ff58a41e20ca40e2b
|