Skip to main content

Tiny HTTP router

Project description


PyPI PyPI - Python Version Code style: black license

A tiny HTTP router like this:

from tiny_router import SimpleRouter

router = SimpleRouter()

def list_users():
def create_user():

another_router = SimpleRouter()

route = router.resolve("GET", "/users")


  • SimpleRouter: exact-match router
  • Abstract Router: user can implement their own routers
  • Support for type hints


See examples/ directory of repository.

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

tiny-router-0.0.3.tar.gz (3.5 kB view hashes)

Uploaded Source

Built Distribution

tiny_router-0.0.3-py3-none-any.whl (4.3 kB view hashes)

Uploaded Python 3

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