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
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.32.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
micropie-0.32-py3-none-any.whl
(16.8 kB
view details)
File details
Details for the file micropie-0.32.tar.gz.
File metadata
- Download URL: micropie-0.32.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 |
e49f00611c8894dcbc9f29668f18ed76f3ebce444a8bcbb8939dc53299b04bb7
|
|
| MD5 |
2b254b0138db4a068fe0cad025126a64
|
|
| BLAKE2b-256 |
73fe6e6bf2ddff53797393c86e04ca40fb5a9593c61268e734e6f941859124c6
|
File details
Details for the file micropie-0.32-py3-none-any.whl.
File metadata
- Download URL: micropie-0.32-py3-none-any.whl
- Upload date:
- Size: 16.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
python-requests/2.32.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1e3e4abc0d0b30a9bc4c03faec57fb17e5225266f853291c1b92f4047c6c6656
|
|
| MD5 |
57b6cb6646bdad2476b0e9f85802feec
|
|
| BLAKE2b-256 |
7befce1d24cd0ac2c80ab32587d9685252411d25ac0ce0d83c6591ada5f9ae2c
|