Skip to main content

No project description provided

Project description


A set of tools to make things easier to work with when using Bottle. Full Documentation

Autofill APIs with typed information

import bottle_tools as bt

bt.common_kwargs.update({"User": UserTable})'/calculate')
def login(usrname: str, pwd: str, User):
    user = User.get_or_404(usrname=usrname)
    if not user.password_is_correct(pwd):
        raise HttpNotFound()
    return 'ok'

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_tools-2019.12.22.tar.gz (5.1 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