bottlepy /
bottle
bottle.py is a fast and simple micro-framework for python web-applications.
Loading repository data…
alexduroux / repository
bottle.py is a fast and simple micro-framework for python web-applications.
.. image:: http://bottlepy.org/docs/dev/_static/logo_nav.png :target: http://bottlepy.org/ :alt: Bottle Logo :align: right
.. image:: https://travis-ci.org/bottlepy/bottle.svg?branch=master :target: https://travis-ci.org/bottlepy/bottle :alt: Bottle Build
.. image:: https://circleci.com/gh/bottlepy/bottle.svg?style=svg :target: https://circleci.com/gh/bottlepy/bottle :alt: CI Bottle
.. image:: https://coveralls.io/repos/github/bottlepy/bottle/badge.svg?branch=master :target: https://coveralls.io/github/bottlepy/bottle?branch=master :alt: Coverage
.. image:: https://img.shields.io/pypi/v/bottle.svg :target: https://pypi.python.org/pypi/bottle/ :alt: Latest Version
.. image:: https://img.shields.io/pypi/l/bottle.svg :target: https://pypi.python.org/pypi/bottle/ :alt: License
.. _mako: http://www.makotemplates.org/ .. _cheetah: http://www.cheetahtemplate.org/ .. _jinja2: http://jinja.pocoo.org/ .. _paste: http://pythonpaste.org/ .. _fapws3: https://github.com/william-os4y/fapws3 .. _bjoern: https://github.com/jonashaag/bjoern .. _cherrypy: http://www.cherrypy.org/ .. _WSGI: http://www.wsgi.org/ .. _Python: http://python.org/
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 <http://docs.python.org/library/>_.
*built-in template engine* <http://bottlepy.org/docs/dev/tutorial.html#tutorial-templates>_ and support for mako_, jinja2_ and cheetah_ templates.Google App Engine <https://cloud.google.com/appengine/>, cherrypy or any other WSGI_ capable HTTP server.Homepage and documentation: http://bottlepy.org
.. code-block:: python
from bottle import route, run, template
@route('/hello/') def index(name): return template('Hello {{name}}!', name=name)
run(host='localhost', port=8080)
Run this script or paste it into a Python console, then point your browser to <http://localhost:8080/hello/world>_. That's it.
.. __: https://github.com/bottlepy/bottle/raw/master/bottle.py
Install the latest stable release with pip install bottle, easy_install -U bottle or download bottle.py__ (unstable) into your project directory. There are no hard dependencies other than the Python standard library. Bottle runs with Python 2.7 and 3.3+.
.. __: https://github.com/bottlepy/bottle/raw/master/LICENSE
Code and documentation are available according to the MIT License (see LICENSE__).
The Bottle logo however is NOT covered by that license. It is allowed to use the logo as a link to the bottle homepage or in direct context with the unmodified library. In all other cases, please ask first.
Selected from shared topics, language and repository description—not editorial ratings.
bottlepy /
bottle.py is a fast and simple micro-framework for python web-applications.
adampresley /
bottle.py is a fast and simple micro-framework for python web-applications.
topher515 /
Dinofacts is a python-wsgi prank Twilio App that uses `bottle.py` to respond to Twilio requests. WARNING: None of these dinosaur facts are true.
Satwik290896 /
The devil decides to send you 1000 bottles of wine, but one of them is poisoned. He also sent you 10 testing strips that can detect the poison. A single drop of poison will turn the test permanently positive. You can put any number of drops on a test strip at once, and you can re-use it until it comes in contact with the poison. Unfortunately, you can run a test once per day, and it takes 1 week to find out the result of the test. Write a code that finds the poisoned bottle in a minimal number of days
thamanchand /
This is a simple blog made using bottle.py python web developement framework and MongoDB as a backend.