Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

Python module writing class-based route handlers in bottle.

Project description

Documentation Status Development documentation Status

This project is a collection of classes for writing complex, modullar, and/or reusable route handlers using bottle web framework.

Even though ‘complex route handlers’ may seem like an oximoron, there may be situations where support for multiple parameters are needed or where a simple branching in the route handler code may completely change the logic of your route handler. If you find yourself running into this type of situation and struggle to organize the code, you may find bottle-streamline is a good fit for your project.

Quick example

Example of a classic Hello world app:

import bottle
from streamline import RouteBase


class Hello(BaseRoute):
    def get(self):
        return 'Hello world!'


Hello.route('/')
bottle.run()

Documentation

You will find the complete documentation and tutorials on ReadTheDocs.

Project details


Release history Release notifications

This version
History Node

1.0.post3

History Node

1.0.post2

History Node

1.0.post1

History Node

1.0

History Node

1.0.dev3

History Node

1.0.dev2

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
bottle-streamline-1.0.post3.tar.gz (7.9 kB) Copy SHA256 hash SHA256 Source None Sep 1, 2016
bottle-streamline-1.0.post3.zip (12.6 kB) Copy SHA256 hash SHA256 Source None Sep 1, 2016

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page