Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/niedbalski/debian-python-bottle
Mirror copy of the Debian packaging of python-bottle
https://github.com/niedbalski/debian-python-bottle
Last synced: about 1 month ago
JSON representation
Mirror copy of the Debian packaging of python-bottle
- Host: GitHub
- URL: https://github.com/niedbalski/debian-python-bottle
- Owner: niedbalski
- License: mit
- Created: 2015-07-30T14:22:17.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2014-10-18T11:26:03.000Z (about 10 years ago)
- Last Synced: 2024-10-15T08:33:07.506Z (3 months ago)
- Language: Python
- Size: 2.13 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
Bottle Web Framework
====================.. image:: http://bottlepy.org/docs/dev/_static/logo_nav.png
:alt: Bottle Logo
:align: rightBottle is a fast and simple micro-framework for small web applications. It
offers request dispatching (URL routing) with URL parameter support, templates,
a built-in HTTP Server and adapters for many third party WSGI/HTTP-server and
template engines - all in a single file and with no dependencies other than the
Python Standard Library.Homepage and documentation: http://bottlepy.org/
License: MIT (see LICENSE)Installation and Dependencies
-----------------------------Install bottle with ``pip install bottle`` or just `download bottle.py `_ and place it in your project directory. There are no (hard) dependencies other than the Python Standard Library.
Example
-------.. code-block:: python
from bottle import route, run
@route('/hello/')
def hello(name):
return 'Hello %s!
' % name.title()run(host='localhost', port=8080)