bottlecap

Extras for Bottle


Keywords
bottle, bottlecap
License
Other
Install
pip install bottlecap==0.8.0

Documentation

Bottle Cap

Travis CI Coverage Status Python Versions PyPI

WARNING: This library is still in development, not production ready

Collection of useful extras for Bottle, including;

  • Rich media types handling
  • Content Negotiation (done properly)
  • Class Based Views
  • Management CLI via Click

Getting started

pip install bottlecap

Testing

make clean
python setup.py test
python3 setup.py test
tox

Todo

XXX: Add support for decorators
XXX: Fix coverage report
XXX: Add tox support
XXX: Add PEP8 checks
XXX: Plugin for extracting IP from HTTP_X_FORWARDED_FOR?
XXX: Plugin for debug toolbar of some sort?
XXX: Plugin for werkzeug.DebuggedApplication?
XXX: Add support for Accept-Language
XXX: Add support for X-Real-Ip and accepted IPs
XXX: Add support for pylint
XXX: Add support for prospector
XXX: Clean up TempFile
XXX: Refactor into groups
XXX: Split media type handling into its own repo?