django-elastipymemcache


Namedjango-elastipymemcache JSON
Version 2.0.5 PyPI version JSON
download
home_pagehttp://github.com/harikitech/django-elastipymemcache
SummaryDjango cache backend for Amazon ElastiCache (memcached)
upload_time2024-09-23 15:55:19
maintainerNone
docs_urlNone
authorHarikiTech
requires_pythonNone
licenseMIT
keywords elasticache amazon cache pymemcache memcached aws
VCS
bugtrack_url
requirements check-manifest coverage flake8 isort mock pymemcache pytest readme-renderer
Travis-CI No Travis.
coveralls test coverage No coveralls.
            =======================
django-elastipymemcache
=======================

.. index: README
.. image:: https://travis-ci.org/harikitech/django-elastipymemcache.svg?branch=master
    :target: https://travis-ci.org/harikitech/django-elastipymemcache
.. image:: https://codecov.io/gh/harikitech/django-elastipymemcache/branch/master/graph/badge.svg
    :target: https://codecov.io/gh/harikitech/django-elastipymemcache

Purpose
-------

Simple Django cache backend for Amazon ElastiCache (memcached based). It uses
`pymemcache <https://github.com/pinterest/pymemcache>`_ and sets up a connection to each
node in the cluster using
`auto discovery <http://docs.aws.amazon.com/AmazonElastiCache/latest/UserGuide/AutoDiscovery.html>`_.
Originally forked from `django-elasticache <https://github.com/gusdan/django-elasticache>`_.

Requirements
------------

* pymemcache
* Django>=2.2
* django-pymemcache>=1.0

Installation
------------

Get it from `pypi <http://pypi.python.org/pypi/django-elastipymemcache>`_::

    pip install django-elastipymemcache

Usage
-----

Your cache backend should look something like this::

    CACHES = {
        'default': {
            'BACKEND': 'django_elastipymemcache.backend.ElastiPymemcache',
            'LOCATION': '[configuration endpoint]:11211',
            'OPTIONS': {
              'ignore_exc': True, # pymemcache Client params
              'ignore_cluster_errors': True, # ignore get cluster info error
            }
        }
    }

Testing
-------

Run the tests like this::

    nosetests

            

Raw data

            {
    "_id": null,
    "home_page": "http://github.com/harikitech/django-elastipymemcache",
    "name": "django-elastipymemcache",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": "elasticache amazon cache pymemcache memcached aws",
    "author": "HarikiTech",
    "author_email": "harikitech+noreply@googlegroups.com",
    "download_url": "https://files.pythonhosted.org/packages/81/f2/6f0527e6041b802d69b360ad080afa0009339e9894c18b2c88d2a7416168/django_elastipymemcache-2.0.5.tar.gz",
    "platform": "any",
    "description": "=======================\ndjango-elastipymemcache\n=======================\n\n.. index: README\n.. image:: https://travis-ci.org/harikitech/django-elastipymemcache.svg?branch=master\n    :target: https://travis-ci.org/harikitech/django-elastipymemcache\n.. image:: https://codecov.io/gh/harikitech/django-elastipymemcache/branch/master/graph/badge.svg\n    :target: https://codecov.io/gh/harikitech/django-elastipymemcache\n\nPurpose\n-------\n\nSimple Django cache backend for Amazon ElastiCache (memcached based). It uses\n`pymemcache <https://github.com/pinterest/pymemcache>`_ and sets up a connection to each\nnode in the cluster using\n`auto discovery <http://docs.aws.amazon.com/AmazonElastiCache/latest/UserGuide/AutoDiscovery.html>`_.\nOriginally forked from `django-elasticache <https://github.com/gusdan/django-elasticache>`_.\n\nRequirements\n------------\n\n* pymemcache\n* Django>=2.2\n* django-pymemcache>=1.0\n\nInstallation\n------------\n\nGet it from `pypi <http://pypi.python.org/pypi/django-elastipymemcache>`_::\n\n    pip install django-elastipymemcache\n\nUsage\n-----\n\nYour cache backend should look something like this::\n\n    CACHES = {\n        'default': {\n            'BACKEND': 'django_elastipymemcache.backend.ElastiPymemcache',\n            'LOCATION': '[configuration endpoint]:11211',\n            'OPTIONS': {\n              'ignore_exc': True, # pymemcache Client params\n              'ignore_cluster_errors': True, # ignore get cluster info error\n            }\n        }\n    }\n\nTesting\n-------\n\nRun the tests like this::\n\n    nosetests\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Django cache backend for Amazon ElastiCache (memcached)",
    "version": "2.0.5",
    "project_urls": {
        "Homepage": "http://github.com/harikitech/django-elastipymemcache"
    },
    "split_keywords": [
        "elasticache",
        "amazon",
        "cache",
        "pymemcache",
        "memcached",
        "aws"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "88dc2fbf3004a16c42ad3147cda10a1b0b4cbb9c70eec5681031cebe966c3cdf",
                "md5": "98d160f05683b776aef2f6120077848b",
                "sha256": "14e722978ea9c80da95cc6004415f61a450beacca40487c7faab0f76e8545b68"
            },
            "downloads": -1,
            "filename": "django_elastipymemcache-2.0.5-py2.py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "98d160f05683b776aef2f6120077848b",
            "packagetype": "bdist_wheel",
            "python_version": "py2.py3",
            "requires_python": null,
            "size": 5573,
            "upload_time": "2024-09-23T15:55:18",
            "upload_time_iso_8601": "2024-09-23T15:55:18.075419Z",
            "url": "https://files.pythonhosted.org/packages/88/dc/2fbf3004a16c42ad3147cda10a1b0b4cbb9c70eec5681031cebe966c3cdf/django_elastipymemcache-2.0.5-py2.py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "81f26f0527e6041b802d69b360ad080afa0009339e9894c18b2c88d2a7416168",
                "md5": "4f47f05a8ccde89019859d970f35a533",
                "sha256": "e0427f5053c2658a6f0a2d85aebf02ed23f65c4edb6fb1ca5809d90dcab1aaa4"
            },
            "downloads": -1,
            "filename": "django_elastipymemcache-2.0.5.tar.gz",
            "has_sig": false,
            "md5_digest": "4f47f05a8ccde89019859d970f35a533",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 5050,
            "upload_time": "2024-09-23T15:55:19",
            "upload_time_iso_8601": "2024-09-23T15:55:19.641654Z",
            "url": "https://files.pythonhosted.org/packages/81/f2/6f0527e6041b802d69b360ad080afa0009339e9894c18b2c88d2a7416168/django_elastipymemcache-2.0.5.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-09-23 15:55:19",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "harikitech",
    "github_project": "django-elastipymemcache",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [
        {
            "name": "check-manifest",
            "specs": [
                [
                    "==",
                    "0.48"
                ]
            ]
        },
        {
            "name": "coverage",
            "specs": [
                [
                    "==",
                    "6.4.4"
                ]
            ]
        },
        {
            "name": "flake8",
            "specs": [
                [
                    "==",
                    "5.0.4"
                ]
            ]
        },
        {
            "name": "isort",
            "specs": [
                [
                    "==",
                    "5.10.1"
                ]
            ]
        },
        {
            "name": "mock",
            "specs": [
                [
                    "==",
                    "4.0.3"
                ]
            ]
        },
        {
            "name": "pymemcache",
            "specs": [
                [
                    "==",
                    "3.5.2"
                ]
            ]
        },
        {
            "name": "pytest",
            "specs": [
                [
                    "==",
                    "7.1.2"
                ]
            ]
        },
        {
            "name": "readme-renderer",
            "specs": [
                [
                    "==",
                    "37.0"
                ]
            ]
        }
    ],
    "tox": true,
    "lcname": "django-elastipymemcache"
}
        
Elapsed time: 0.55985s