Skip to main content

A very micro http framework.

Project description

yhttp

PyPI Build Status Coverage Status

Quickstart

wsgi.py

app = Applicatin()

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

Contribution

cd path/to/yhttp
pip install -e .
pip install -r requirements-dev.txt

Running tests

pytest

Coverage

pytest --cov=yhtml

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

yhttp-2.3.4.tar.gz (8.3 kB view hashes)

Uploaded Source

Supported by

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