Skip to main content

An ultra micro ASGI web framework

Project description

Logo

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

Project details


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.27.tar.gz (2.3 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

micropie-0.27-py2.py3-none-any.whl (11.9 kB view details)

Uploaded Python 2Python 3

File details

Details for the file micropie-0.27.tar.gz.

File metadata

  • Download URL: micropie-0.27.tar.gz
  • Upload date:
  • Size: 2.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.32.3

File hashes

Hashes for micropie-0.27.tar.gz
Algorithm Hash digest
SHA256 47b5f9d4fe6bec005d91fcfbb322038e3f85ebf711a03c43e8aed6f67bd99ed3
MD5 f06d85303cfa8dafef7c2c8634dbe538
BLAKE2b-256 55b450637a498d52fcd33d0bd7859a0ada7b5066e1bdffeb5b7ae97f5ac52e82

See more details on using hashes here.

File details

Details for the file micropie-0.27-py2.py3-none-any.whl.

File metadata

  • Download URL: micropie-0.27-py2.py3-none-any.whl
  • Upload date:
  • Size: 11.9 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.32.3

File hashes

Hashes for micropie-0.27-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 41b9df23fb097d7c2efafb97b9f7b6926b65092303b2d460cccb1707524dd7cf
MD5 49e7e217a9d85cc80f2c6faa0f7e7842
BLAKE2b-256 d262daa443592c2ecf5f2234a100943ac3d92f93f212b19d576d70ed5462cf93

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page