Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Torneira is a lightweight web framework build on top of Tornado

Project Description
Torneira - Lightweight Web Framework
====================================

Torneira is a lightweight web framework build on top of Tornado_. It's name
came from the idea of getting rapid and fluid development ('torneira' is the
portuguese word for water tap).

.. image:: https://secure.travis-ci.org/marcelnicolay/torneira.png?branch=master
:alt: Build Status
:target: https://secure.travis-ci.org/marcelnicolay/torneira

Installation
------------

Torrneira is available under PyPI_. You can install using pip:

$ pip install torneira

Quick start
-----------

To build an app using torneira, you just need 3 files: one for your urls
definitions (normally urls.py), one for settings (settings.py) and another for
your handlers (handlers.py). The Application and HTTPServer stuff is already
setup to you.

To start the server on por 8888, just run the following command in the base
directory of your app:

$ torneira

In the directory `demos/simple_app/` there is a minimal app already configured.
If you want to see a more complex app that uses more available features, take a
look at `demos/more_complex_app`.

To see all options that `torneira` command support, run:

$ torneira --help

Contributing
------------

Send a pull request (preferred) or patches using ``git format-patch``. Also,
torneira comes with some tests in `tests/` directory. Make sure you don't break
anything accidentally and also write some tests for your fix/feature.

Issues
------

Please report any issues on `GitHub issues`_.

Dependencies
------------

* Tornado_ (tested with 2.3 and 2.4)

Optional dependencies:

* Mako_ (if you want to use Mako templates instead of built-in tornado.template)
* `SQL Alchemy`_ (only if using torneira.models)

On Python 2.5 we also need simplejson_ module.

.. _GitHub issues: https://github.com/marcelnicolay/torneira/issues
.. _Mako: http://www.makotemplates.org/
.. _PyPI: http://pypi.python.org/package/torneira/
.. _SQL Alchemy: http://www.sqlalchemy.org/
.. _simplejson: http://code.google.com/p/simplejson/
.. _Tornado: http://www.tornadoweb.org/
Release History

Release History

This version
History Node

0.3.3

History Node

0.3.2

History Node

0.3.1

History Node

0.2.8

History Node

0.2.5

History Node

0.2.1

History Node

0.1.6

History Node

0.1.5

History Node

0.1.4

History Node

0.1.3

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
torneira-0.3.3.macosx-10.4-x86_64.exe (98.6 kB) Copy SHA256 Checksum SHA256 any Windows Installer Feb 15, 2013
torneira-0.3.3.tar.gz (19.1 kB) Copy SHA256 Checksum SHA256 Source Feb 15, 2013

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting