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.zip (8.3 kB view details)

Uploaded Source

bottle-utils-0.3.tar.gz (4.2 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for bottle-utils-0.3.zip
Algorithm Hash digest
SHA256 663f5f5bc7cf9305f18d60e87b3b043dc2f7c043a8008979b3f8501cd8b12131
MD5 3f069d82f55775635dc11b9b124295b9
BLAKE2b-256 470e9318bb7d4732721063e1f4eb50b5de6f11eb0476001c2cb903503d4fb901

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for bottle-utils-0.3.tar.gz
Algorithm Hash digest
SHA256 eb5e89f07a011a080711d21ccd3523c3f6826828394928d7f1f0e2afba425ba1
MD5 f332a205635b5b292f42949073a9eb8e
BLAKE2b-256 3226bdb906ef7cd6d41c440cce8a1be4dbaef54b4fa91b275285557a91475dcc

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