Skip to main content

bottle-beaker

Bottle plugin to session and caching library with WSGI Middleware

Example

import bottle
from bottle.ext import beaker

session_opts = {
    'session.type': 'file',
    'session.cookie_expires': 300,
    'session.data_dir': './data',
    'session.auto': True
}

app = beaker.middleware.SessionMiddleware(bottle.app(), session_opts)

@bottle.route('/test')
def test():
    s = bottle.request.environ.get('beaker.session')
    s['test'] = s.get('test',0) + 1
    s.save()
    return 'Test counter: %d' % s['test']

bottle.run(app=app)

Metadata

Release files for bottle-beaker 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for bottle-beaker 0.1.3
File Size Uploaded Provenance Actions
bottle-beaker-0.1.3.tar.gz 2.8 kB Without provenance Details for bottle-beaker-0.1.3.tar.gz

Release files / bottle-beaker-0.1.3.tar.gz

Download URL bottle-beaker-0.1.3.tar.gz
Size 2.8 kB
Tags Source
SHA-256 checksum
How to use checksums
36aec120bab18ff902b23ae34fc593a125cb56b4182e5f1205f1ff628d2694aa
BLAKE2b-256 checksum
How to use checksums
4462f03fab8674fd7d256acd1d1cb1f15ae29e4134f6ec245b675834e62505ab
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for bottle-beaker 0.1.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.3 This release

1 release file No provenance

0.1.1

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page