No project description provided
Project description
jj
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
Release history Release notifications | RSS feed
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)
Built Distributions
jj-2.0.0.dev1-py3.6.egg
(191.0 kB
view hashes)
jj-2.0.0.dev1-py3-none-any.whl
(72.2 kB
view hashes)