Skip to main content

an asynchronous restful web framework base on asyncio

Project description

travis status Documentation Status

sniper is a Python asynchronous restful web framework base on asyncio.


  • It is a very small framework

  • It supports non-blocking, asynchronous web application development (thanks to Python’s asyncio library) which has better performance in high concurrency situation

  • It has no dependencies except Python itself

Hello world

Here is a simple “Hello world” example web app for sniper:

from import Application
from sniper.responses import Response
from sniper.url import url

def hello_world(request):
    return Response('Hello world!\n')

if __name__ == '__main__':
    app = Application(
            url(r'^/$', hello_world),


see docs

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

sniper-0.0.5.tar.gz (12.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