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 Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page