{ "info": { "author": "MemCachier", "author_email": "support@memcachier.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: Apache Software License", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Database" ], "description": "# memcachier-django-ascii\n\nThis package provides a memcached cache backend for Django using\n[pymemcache](https://github.com/pinterest/pymemcache). We generally\nprefer [pylibmc](https://github.com/lericson/pylibmc) but it depends\non a [libmemcached](http://libmemcached.org) which can sometimes cause\nissues. Pymemcache is a pure python client.\n\nThis package only works with the ASCII protocol and a single memcache\nserver.\n\n*NOTE:* In general we recommend\n[django-pylibmc](https://github.com/jbalogh/django-pylibmc/), but in\nrare situations this package works better.\n\n## MemCachier & Authentication\n\nThis backend only supports the memcached ASCII protocol, which\nnormally doesn't support authentication. MemCachier requires\nauthentication, and adds it in very simply by requiring all new\nconnections issue a set:\n\n```\n$ set 0 0 \\r\\n\n$ \\r\\n\n```\n\nformatted as above to communicate credentials.\n\n## Requirements\n\nRequires Django 1.3+. It was written and tested on Python 2.7.\n\n## Installation\n\nGet it from pypi:\n\n```\n$ pip install memcachier-django-ascii\n```\n\nor github:\n\n```\n$ pip install -e git://github.com/memcachier/django-ascii.git\n```\n\n## Usage\n\nYour cache backend should look something like this:\n\n```\nCACHES = {\n 'default': {\n 'BACKEND': 'memcache_fix.backend.PyMemcacheCache',\n 'OPTIONS': {\n 'no_delay': True,\n 'connect_timeout': 2,\n 'timeout': 2,\n }\n }\n}\n```\n\n*NOTE*: The backend currently only supports connecting to one server.\n\n## Configuration with Environment Variables\n\nOptionally, the memcached connection can be configured with\nenvironment variables (on platforms like Heroku). To do so, declare\nthe following variables:\n\n```\nMEMCACHE_SERVERS\nMEMCACHE_USERNAME\nMEMCACHE_PASSWORD\n```\n\n## Author\n\nForked from [django-pymemcache](https://github.com/jsocol/django-pymemcache).\n\n## Get involved!\n\nWe are happy to receive bug reports, fixes, documentation enhancements,\nand other improvements.\n\nPlease report bugs via the\n[github issue tracker](http://github.com/memcachier/django-ascii/issues).\n\nMaster [git repository](http://github.com/memcachier/django-ascii):\n\n* `git clone git://github.com/memcachier/django-ascii.git`\n\n## Licensing\n\nThis library is licensed under the Apache Software License 2.0", "description_content_type": null, "docs_url": null, "download_url": null, "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/memcachier/django-ascii", "keywords": null, "license": "BSD", "maintainer": null, "maintainer_email": null, "name": "memcachier-django-ascii", "package_url": "https://pypi.org/project/memcachier-django-ascii/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/memcachier-django-ascii/", "project_urls": { "Homepage": "https://github.com/memcachier/django-ascii" }, "release_url": "https://pypi.org/project/memcachier-django-ascii/1.0.0/", "requires_dist": null, "requires_python": null, "summary": "Django cache backend supporting MemCachier service", "version": "1.0.0" }, "last_serial": 1385746, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "eb4bc1a589bd5c424b5b9ea1b1d4bba1", "sha256": "cd067aaae6e2b339a367eea077cd653b35d084dfc066b31a7d63af04e5f47698" }, "downloads": -1, "filename": "memcachier-django-ascii-1.0.0.tar.gz", "has_sig": false, "md5_digest": "eb4bc1a589bd5c424b5b9ea1b1d4bba1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7550, "upload_time": "2015-01-17T07:23:41", "url": "https://files.pythonhosted.org/packages/a6/db/f240409a6fc1ea01985322fbcf7f29a77975546b648e729ab57ce89fa4bf/memcachier-django-ascii-1.0.0.tar.gz" } ], "1.0.0.dev1": [ { "comment_text": "", "digests": { "md5": "f32478e0fb2fb28aa37478d09edca76f", "sha256": "b326e4015a502efc37f1a9624b11e54012302dd333ac39021cada1680ed4eaa4" }, "downloads": -1, "filename": "memcachier_django_ascii-1.0.0.dev1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "f32478e0fb2fb28aa37478d09edca76f", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 6404, "upload_time": "2015-01-17T03:20:06", "url": "https://files.pythonhosted.org/packages/89/8e/b9ee8a02508b9bbc0e7d6f6c83e3b97546501ad82ba73a4e9944f34cc1f1/memcachier_django_ascii-1.0.0.dev1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6763e134e44397baa0ed0dd2a8282204", "sha256": "ed922f694d39d61637f463a6eaa28173735966a766045803f228468a54434e34" }, "downloads": -1, "filename": "memcachier-django-ascii-1.0.0.dev1.tar.gz", "has_sig": false, "md5_digest": "6763e134e44397baa0ed0dd2a8282204", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7547, "upload_time": "2015-01-17T03:20:04", "url": "https://files.pythonhosted.org/packages/57/f9/7680b857231a3c1826269bd4ab057025e88a842e7dd1670aa81f4e99bef9/memcachier-django-ascii-1.0.0.dev1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "eb4bc1a589bd5c424b5b9ea1b1d4bba1", "sha256": "cd067aaae6e2b339a367eea077cd653b35d084dfc066b31a7d63af04e5f47698" }, "downloads": -1, "filename": "memcachier-django-ascii-1.0.0.tar.gz", "has_sig": false, "md5_digest": "eb4bc1a589bd5c424b5b9ea1b1d4bba1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7550, "upload_time": "2015-01-17T07:23:41", "url": "https://files.pythonhosted.org/packages/a6/db/f240409a6fc1ea01985322fbcf7f29a77975546b648e729ab57ce89fa4bf/memcachier-django-ascii-1.0.0.tar.gz" } ] }