Skip to main content

Assortment of frequently used utilities for Bottle.

This package contains utilities for developing web sites and web applications using Bottle framework. It is divided into several modules of which the lazy module is not Bottle-specific.

The bottle-utils are created from a bunch of unrelated modules we frequently used at Outernet. Some of the modules have been tested fairly thoroughly, and some have been used only in a handful of projects. Therefore, not all modules are of high quality. You should conisder this package Alpha quality.

Each module is packaged in a separate package under the same bottle_utils namespace, and this package in particular is simply a placeholder that depends on all other packages for simpler installation.

The packages are:

  • bottle-utils-common - Common functionalities shared by other packages

  • bottle-utils-ajax - Decorators for AJAX-specific handlers

  • bottle-utils-csrf - Decorators for CSRF protection

  • bottle-utils-flash - Plugin and methods for flash messaging

  • bottle-utils-html - Functions for use in HTML templates

  • bottle-utils-http - Decorators for managing HTTP reponse headers

  • bottle-utils-i18n - Support for internationalization

  • bottle-utils-lazy - Provides functionality for lazy evaluation of callables

  • bottle-utils-meta - Classes for handling page/social metadata

Installation

Install using pip or easy_install:

pip install bottle-utils

easy_install bottle-utils

You can also install individual packages listed in the introduction.

Documentation

Detailed documentation is available online.

You can also generate offline documentation by cloning this repository and doing the following:

cd /path/to/repo
cd docs
make html

The docs/build/html directory should contain full HTML documentation. You can start from the index.html file.

Bugs

Please report all bugs to our GitHub issue tracker.

License

This package is licensed under BSD license. See LICENSE for more info.

Download files

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

Source Distributions

bottle-utils-0.3.1.zip (8.1 kB view details)

Uploaded Source

bottle-utils-0.3.1.tar.gz (4.1 kB view details)

Uploaded Source

File details

Details for the file bottle-utils-0.3.1.zip.

File metadata

  • Download URL: bottle-utils-0.3.1.zip
  • Upload date:
  • Size: 8.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for bottle-utils-0.3.1.zip
Algorithm Hash digest
SHA256 1e0d69a1497cd33735cafe97fe0424018505625451db7950147ecf9ba7c11dff
MD5 51c986029e46a60f1111d349e1ca64c3
BLAKE2b-256 db426d307fdf73fdc92c65d972d45808854e10a66f2e9c9a8c2ea745ff637ae0

See more details on using hashes here.

File details

Details for the file bottle-utils-0.3.1.tar.gz.

File metadata

  • Download URL: bottle-utils-0.3.1.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for bottle-utils-0.3.1.tar.gz
Algorithm Hash digest
SHA256 e86d182d4c270f51b8a3b9f99bc4263bdf3838dc69a2b6e3d38c8b52ecc86a54
MD5 9cdbd27d8c312d186278b3a9c7a47c69
BLAKE2b-256 d1e74b1c65e4d66a16acff1f0469f0123b9b388a5de912600b23341378b1c910

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page