Cerberus plugin for bottle
Project description
Currently under development, unstable version!
Cerberus plugin
Cerberus plugin for bottle
installation
Via pip: pip install bottle-cerberus
Or clone: git clone https://github.com/kianxineki/bottle-cerberus.git
example:
from bottle import get, install, run
from cerberus_plugin import CerberusPlugin
@get("/example/<number>", schema={'url': {'number': {'coerce': int}}})
def example(number):
return "the best number %s!" % number
install(CerberusPlugin())
run(host="0.0.0.0", port="9988")
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
bottle-cerberus-0.0.1.tar.gz
(1.8 kB
view hashes)