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.28.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.28-py2.py3-none-any.whl (12.0 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: micropie-0.28.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.28.tar.gz
Algorithm Hash digest
SHA256 f4c79595b748ae52b2f3ccffa04d94b54d71974a10bfcc0588c27b26a9b0970a
MD5 b13f893de5cb697792fc93771098c6a8
BLAKE2b-256 7ce7828b8316caee8f8a27fec23e0aeaa7692217cb90d5718d2b4bf5382bd1ef

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for micropie-0.28-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 bd03110792329609f07242252ca3239cbe8d4dc726c020099253d95d9bb82139
MD5 00b18a297d6b8a22557370ddd3282baa
BLAKE2b-256 e329cd9d44289edd34c4977af6826780591885af539553c9ba47eeec8556151d

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