Skip to main content

Memcache Debug Toolbar

The Memcache Debug Toolbar is an add-on for Django Debug Toolbar for tracking memcached usage. It currently supports both the pylibmc and memcache libraries.

This is definitely beta software, but I’ve found it useful in work and personal projects. Feedback welcome, patches appreciated. - Ross McFarland

Installation

  1. Install and configure Django Debug Toolbar.

  2. Add the memcache_toolbar app to your INSTALLED_APPS.

  3. Import the panel corresponding to the library you’re using.

    The following must be imported in your settings.py file so that it has a chance to replace the caching library with one capable of tracking. You’ll probably want to import it in local_settings.py (if you use the pattern) or at least wrap the import line in if DEBUG:

    For memcache:

    import memcache_toolbar.panels.memcache

    For pylibmc:

    import memcache_toolbar.panels.pylibmc

Configuration

  1. Add the memcache or pylibmc panel to DEBUG_TOOLBAR_PANELS.

    You’ll need to add the panel corresponding to the library you’ll be using to the list of debug toolbar’s panels in the order in which you’d like it to appear:

    DEBUG_TOOLBAR_PANELS = (
        ...
        'memcache_toolbar.panels.memcache.MemcachePanel',
        # if you use pylibmc you'd include its panel instead
        # 'memcache_toolbar.panels.pylibmc.PylibmcPanel',
    )

Metadata

Release files for memcache_toolbar 0.5.6

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

Source distribution (sdist)

Source distribution for memcache_toolbar 0.5.6
File Size Uploaded Provenance Actions
memcache_toolbar-0.5.6.tar.gz 5.8 kB Without provenance Details for memcache_toolbar-0.5.6.tar.gz

Release files / memcache_toolbar-0.5.6.tar.gz

Download URL memcache_toolbar-0.5.6.tar.gz
Size 5.8 kB
Tags Source
SHA-256 checksum
How to use checksums
d4375e6d3f9fd4c4b3ec4775f88bb371087190f4a1447aeb17e6eeee89e61cfd
BLAKE2b-256 checksum
How to use checksums
d653ea3b879bb261e8baaee42b779f6e7090b55266a5d3d9c841184403240056
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for memcache_toolbar 0.5.6

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.

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