Bottle
Bottle uFramework
Bottle is a fast, simple and lightweight WSGI micro web-framework for Python. It is distributed as a single file module and has no dependencies other than the Python Standard Library.
- Routing: Requests to function-call mapping with support for clean and dynamic URLs.
- Templates: Fast and pythonic built-in template engine and support for mako, jinja2 and cheetah templates.
- Utilities: Convenient access to form data, file uploads, cookies, headers and other HTTP-related metadata.
- Server: Built-in HTTP development server and support for paste, fapws3, bjoern, gae, cherrypy or any other WSGI capable HTTP server.
Can Deploy as CGI
- authentication ?
Links
https://github.com/linsomniac/python-bottle-skeleton
It includes examples of things you need to create a web application using bottle:
Form processing.
SQLAlchemy for Database.
Testing.
WSGI interface to Apache and standalone test server.
Templating including standard site page template.
It does not include user session handling, as that varies widely by application.
http://bottle.readthedocs.org/en/latest/tutorial.html
https://realpython.com/blog/python/developing-with-bottle-part-1/
https://realpython.com/blog/python/developing-with-bottle-part-2-plot-ly-api/
http://bottlepy.org/docs/dev/tutorial_app.html
http://www.marginhound.com/bottle-py-resources/
- Decanter has some interesting ideas ( too many dependencies ).
Also See
Embedded Query from above
Package Weight* Description bottle 0.12.7 9 Fast and simple WSGI-framework for small web-applications. bottle-api-json-formatting 0.1.1 9 A bottle plugin to json format standard and error responses. Intended for REST APIs. bottle-logging 1.1.3 9 A simple bottle plugin for logging application events bottle-memcache-decorator 0.0.1 9 Adds a memcache decorator in your Bottle application. It automatically stores the route result to memcache for routes where the bottle-memcache plugin is enabled. bottle-pycassa 0.1 9 Bottle plugin for Cassandra/Pycassa bottle-servefiles 0.1.2dev 9 A reusable app that serves static files for bottle apps bottle-utils 0.1a4 9 Assortment of frequently used utilities for Bottle framework bottle-websocket 0.2.8 9 WebSockets for bottle bottle_pika 0.1.0 9 Pika plugin module for Bottle microframework BottleCBV 0.2 9 Class based views for Bottle apps bottle-beaker 0.1.1 7 Bottle plugin beaker, WSGI middleware for sessions and caching bottle-cork 0.10 7 Authentication/Authorization library for Bottle Bottle-DebugToolbar 0.5 7 A port of the Django Debug Toolbar to Bottle bottle-extras 0.1.0 7 Meta package to install the bottle plugin collection. bottle-flash 0.1 7 flash plugin for bottle bottle-hotqueue 0.2.5 7 FIFO Queue for Bottle built upon HotQueue bottle-i18n 0.1.5 7 I18N integration for Bottle. bottle-memcache 0.2.1 7 Memcache integration for Bottle. bottle-mongo 0.2.4 7 MongoDB integration for Bottle bottle-mysql 0.2.0 7 MySQL integration for Bottle. bottle-mysql-connector 0.0.3 7 MySQL integration for Bottle. bottle-pgsql 0.2 7 PgSQL integration for Bottle bottle-pystache 0.0.3 7 Bottle Pystache template wrappers bottle-renderer 0.1.1 7 Renderer plugin for bottle bottle-rest 0.3.1 7 Decorators to make REST easier in Bottle. bottle-session 0.4 7 Redis based sessions for bottle. bottle-sqlite 0.1.2 7 SQLite3 integration for Bottle. Bottle-SSLify 0.0.1 7 Force SSL on any Bottle app. bottle-tornado-websocket 0.13 7 WebSockets for bottle bottle-tornadosocket 0.13 7 WebSockets for bottle bottle-web2pydal 0.0.1 7 Web2py Dal integration for Bottle. bottle-werkzeug 0.1 7 Werkzeug integration for Bottle. BottleDaemon 0.1.1 7 A simple tool to help daemonize bottle applications. bottleutils 0.1 7 Reusable components for bottle CAS_bottle 1.0 7 CAS Authentification plugin for Bottle Py rbottle 0.2.0 7 Decorators to make REST easier in Bottle. aiobottle 0.1.1 6 Aiobottle, a warper bottle use aiohttp base on Asyncio (PEP-3156) bottle-agamemnon 0.1.0 6 Agamemnon integration for bottle bottle-cassandra-driver 0.0.2 6 Cassandra Driver plugin for Bottle. bottle-couchbase 0.1.2 6 Couchbase integration for Bottle. bottle-mongodb 0.2.1 6 MongoDB integration for Bottle bottle-mongoengine 0.0.1 6 MongoEngine integration for Bottle. bottle-redis 0.2.1 6 Redis integration for Bottle. bottle-request 0.2.0 6 Plugin to give bottle a 'stateless' request object bottle-sqlalchemy 0.4.1 6 SQLAlchemy integration for Bottle. bottle_cql 0.1 6 CQL integration for Bottle. bottle-api 0.0.2 5 Semantic Web Challenge 2014 bottle-auth 0.3.3 5 Bootle authentication, for Personal, Google, Twitter and facebook. bottle-haml 0.1.4 5 UNKNOWN Bottlechest 0.7.1 5 Fast NumPy array functions written in Cython Bottleneck 0.8.0 5 Fast NumPy array functions written in Cython bottlerocket 0.4.3 5 UNKNOWN decanter 0.1.9.2 5 A humble web framework based on bottle merkyl 1.0.2 5 Log file tailer with bottle pasttle 0.8 5 Simple pastebin on top of bottle. pymobile 0.1.0 5 Webframework using bottle, asyncio, websockets, jquery and jquery-mobile bottlenose 0.6.2 4 A Python hook into the Amazon.com Product Advertising API bn 0.1.5 3 Lightweight profiling tool to detect performance BottleNecks in Python code. chembl_beaker 0.5.34 3 RDKit in the Bottle on Tornado Laconic-MVC 1.0 3 The handy environment for developing GAE applications. macaron 0.3.1 3 Simple object-relational mapper for SQLite3, includes plugin for Bottle web framework meow 0.4 3 meow is an editor-agnostic markdown/reST live preview server. mimerender 0.5.4 3 RESTful HTTP Content Negotiation for Flask, Bottle, web.py and webapp2 (Google App Engine) webargs 0.8.1 3 A utility library for parsing HTTP request arguments, with built-in support for popular web frameworks, including Flask and Django. bonaparte 0.0.1 2 Of bays and bottles... btlroute 0.12.1 2 URL Route parser HEAVILY based on Bottle Web server