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.

Source Distribution

jj-2.0.0.dev1.tar.gz (35.7 kB view hashes)

Uploaded Source

Built Distributions

jj-2.0.0.dev1-py3.6.egg (191.0 kB view hashes)

Uploaded Source

jj-2.0.0.dev1-py3-none-any.whl (72.2 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