A very micro http framework.


Keywords
dispatcher, http, micro-framework, python-3, rest
License
MIT
Install
pip install nanohttp==1.11.7

Documentation

nanohttp

A very micro HTTP framework. documentation

WARNING

This is the version 2, unstable and under reconstruction, so please refer to branch release/1 for a stable release.

PyPI Build Status Coverage Status

Contribution

Quickstart

wsgi.py

app = Applicatin()


@app.route('/foos')
def get():
    return 'Hello world!'
gunicorn wsgi:app

Master branch

The master branch is an integration branch where bug fixes/features are gathered for compiling and functional testing. so it would be unstable.

Release branch

The release branch is where releases are maintained and hot fixes (with names like release/v2.x.x) are added. Please ensure that all your production-related work are tracked with the release branches.

With this new model, we can push out bug fixes more quickly and achieve simpler maintenance.