Bottle-Tools
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})
@app.post('/calculate')
@bt.fill_args(coerce_types=True)
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'
Metadata
Release files for bottle-tools 2019.12.22
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| bottle_tools-2019.12.22.tar.gz | 5.1 kB | Without provenance | Details for bottle_tools-2019.12.22.tar.gz |
Release files / bottle_tools-2019.12.22.tar.gz
| Download URL | bottle_tools-2019.12.22.tar.gz |
|---|---|
| Size | 5.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
47bbbf1b90de8f97db80a13344c2bc9c2d733684d28af24d47feb2d4199f46e1
|
|
BLAKE2b-256 checksum How to use checksums |
31150fee245c88359e49e6bb4b541262e3822a202c729a0bc0a2c93e5e3526a8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.41.0 CPython/3.6.9
|
Security for bottle-tools 2019.12.22
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.