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 details)
File details
Details for the file bottle-cerberus-0.0.1.tar.gz.
File metadata
- Download URL: bottle-cerberus-0.0.1.tar.gz
- Upload date:
- Size: 1.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
33089f4c89ddfb72bec2063a2ada6a38be62d6330c3c25ef0ccc49845ef0dcec
|
|
| MD5 |
90880b0316a00b50c922503ecef54b40
|
|
| BLAKE2b-256 |
cca75eb5ef8c73cbce368830d28ef7aa6e075b98517289127ebde8191790499e
|