Skip to main content

No project description provided

Project description

jj

License Drone Codecov PyPI Python Version

Installation

pip3 install jj==2.0.0-dev.1

Usage

No App

import jj

@jj.match("*")
async def handler(request: jj.Request) -> jj.Response:
    return jj.Response(body="200 OK")

jj.serve(port=8080)

App

import jj

class App(jj.App):
    @jj.match("*")
    async def handler(request: jj.Request) -> jj.Response:
        return jj.Response(body="200 OK")

jj.serve(App(), port=8080)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for jj, version 2.0.0.dev1
Filename, size File type Python version Upload date Hashes
Filename, size jj-2.0.0.dev1-py3.6.egg (191.0 kB) File type Egg Python version 3.6 Upload date Hashes View
Filename, size jj-2.0.0.dev1-py3-none-any.whl (72.2 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size jj-2.0.0.dev1.tar.gz (35.7 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page