Skip to content

minicorn 0.1.0

Choose a tag to compare

@Shankar-105 Shankar-105 released this 16 Feb 12:25
· 9 commits to main since this release

minicorn 0.1.0 - The Foundation

The first release of minicorn - a lightweight, production-grade synchronous WSGI server built from scratch in pure Python.

Features

  • Full PEP 3333 WSGI Compliance - Works with any WSGI application (Flask, Django, Bottle, etc.)
  • Production-grade Robustness - Request timeouts, keep-alive connections, chunked transfer encoding, streaming response support
  • Simple CLI - Uvicorn/Gunicorn-like command interface (minicorn main:app)
  • Auto-reload - Watch for file changes and automatically restart the server (development mode via --reload)
  • Zero Dependencies - Core server requires only Python stdlib (watchdog optional for reload)
  • Structured Logging - Clear, colored log output with request/response details
  • Keep-Alive Support - Persistent connections with configurable timeouts and max requests per connection
  • Error Handling - Graceful handling of malformed requests, oversized headers/bodies, and timeouts (400, 408, 413, 431, 500)

Quick Start

pip install minicorn
minicorn main:app --host 0.0.0.0 --port 8000

Notes

  • Supports Python 3.10+
  • MIT Licensed
  • This release focuses entirely on the WSGI (synchronous) server