Skip to main content

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


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)

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