[PR #2735] [CLOSED] Add MicroPie #8763

Closed
opened 2026-04-18 22:49:51 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/vinta/awesome-python/pull/2735
Author: @patx
Created: 7/14/2025
Status: ❌ Closed

Base: master ← Head: master


📝 Commits (2)

  • 5e38e93 Update README.md Add MicroPie ASGI framework
  • 72163e9 Update README.md - remove python keyword as it is assumed.

📊 Changes

1 file changed (+1 additions, -0 deletions)

View changed files

📝 README.md (+1 -0)

📄 Description

What is this Python project?

MicroPie is a fast, lightweight, modern Python web framework built on ASGI for asynchronous web applications. Designed for flexibility and simplicity, it enables high-concurrency web apps with built-in WebSockets, session management, middleware, lifecycle event handling, and optional template rendering. Extensible for integration with ASGI-compatible tools like python-socketio and ServeStatic, it’s inspired by CherryPy and licensed under the BSD 3-Clause License.

What's the difference between this Python project and similar ones?

Auto-routing via method names:

/hello/Alice → def hello(self, name), no decorators needed.

Inspired by CherryPy, but in an async-native ASGI context.

Unified HTTP & WebSocket support:

Routing for both is method-based (index, ws_chat) and supports middleware hooks.

No dependency lock-in:

Optional features (jinja2, multipart, orjson) are truly optional — no required external packages.

Built-in session system:

Cookie-based, backend-agnostic. Defaults to memory, but extensible via SessionBackend.

Streaming & SSE support:

Includes logic for client disconnect detection and async and sync streaming responses.

Ultra lightweight footprint:

One file (micropie.py) can be dropped into any project — great for embedded or microservices.

Explicit routing via middleware:

Like FastAPI’s routing decorators, but achieved using user-defined middleware for full control.


Anyone who agrees with this pull request could submit an Approve review to it.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/vinta/awesome-python/pull/2735 **Author:** [@patx](https://github.com/patx) **Created:** 7/14/2025 **Status:** ❌ Closed **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (2) - [`5e38e93`](https://github.com/vinta/awesome-python/commit/5e38e933f8125ab7782079f546797863ffd46829) Update `README.md` Add MicroPie ASGI framework - [`72163e9`](https://github.com/vinta/awesome-python/commit/72163e9cca54ecc5bad32809053cb64dcb10b000) Update README.md - remove python keyword as it is assumed. ### 📊 Changes **1 file changed** (+1 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+1 -0) </details> ### 📄 Description ## What is this Python project? [MicroPie](https://patx.github.io/micropie) is a fast, lightweight, modern Python web framework built on ASGI for asynchronous web applications. Designed for flexibility and simplicity, it enables high-concurrency web apps with built-in WebSockets, session management, middleware, lifecycle event handling, and optional template rendering. Extensible for integration with ASGI-compatible tools like [python-socketio](https://python-socketio.readthedocs.io/en/stable/server.html#running-as-an-asgi-application) and [ServeStatic](https://archmonger.github.io/ServeStatic/latest/quick-start/#using-with-asgi), it’s inspired by CherryPy and licensed under the BSD 3-Clause License. ## What's the difference between this Python project and similar ones? ### Auto-routing via method names: `/hello/Alice` → `def hello(self, name)`, no decorators needed. ### Inspired by CherryPy, but in an async-native ASGI context. ### Unified HTTP & WebSocket support: Routing for both is method-based (index, ws_chat) and supports middleware hooks. ### No dependency lock-in: Optional features (jinja2, multipart, orjson) are truly optional — no required external packages. ### Built-in session system: Cookie-based, backend-agnostic. Defaults to memory, but extensible via SessionBackend. ### Streaming & SSE support: Includes logic for client disconnect detection and async and sync streaming responses. ### Ultra lightweight footprint: One file (micropie.py) can be dropped into any project — great for embedded or microservices. ### Explicit routing via middleware: Like FastAPI’s routing decorators, but achieved using user-defined middleware for full control. --- Anyone who agrees with this pull request could submit an *Approve* review to it. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-18 22:49:51 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/awesome-python#8763