python-memcached
Pure python memcached client
Decision gist · record as of 2026-08-14
Yes, if you need a stable, dependency-free memcached client and are comfortable with maintenance-mode software. The pure-Python implementation and low install friction make it easy to adopt. However, if you require active development or new features, consider alternatives. No known security vulnerabilities as of the query date.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- A memcached server must be running and accessible at the configured host and port.
- Low install friction with a pure-Python wheel.
- Maintenance status is aging—last release was 943 days ago—though the repository remains active with a recent commit on 2025-09-29.
License · maintenance · safety
permissive license (permissive) — Licensed under the Python Software Foundation License, which is permissive. No restrictions on commercial or private use.
last release 2024-01-14 (943 days) · last repo commit 2025-09-29 · 470 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,225,690 downloads/mo, #4,192 on PyPI
Alternatives
Verify before relying
pip install python-memcached
Import the client library and connect to a memcached server to store and retrieve cached values.- Whether the package works with all memcached protocol versions or only those tested in CI.
- Performance characteristics compared to other actively maintained alternatives.
- Whether all Python 3.6–3.12 versions listed in classifiers are actively tested or only declared.
- Exact module name and import syntax for basic usage.
What it is and what it does
python-memcached is a pure-Python client for the memcached memory cache daemon. It allows you to store and retrieve values from one or more memcached servers, typically running on remote machines, without any compiled dependencies. The library has been stable since its original release and is now in maintenance mode, meaning it receives bug fixes and compatibility updates but not active feature development.
The package is used in applications that need distributed, in-memory caching—such as session storage, query result caching, or temporary data buffering. It integrates directly into Python code with no system library requirements, making it straightforward to add to existing projects. The description acknowledges that another library is receiving more active development, so the choice depends on whether you need newer features or prefer a simpler, stable interface.
Use it for
- Cache database query results across multiple application servers to reduce database load.
- Store session data in a distributed cache for load-balanced web applications.
- Temporarily buffer computed results or API responses to avoid redundant processing.
- Implement a shared cache layer for microservices communicating over a network.
- Speed up web request handling by caching frequently accessed data in memory.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need a stable, dependency-free memcached client and are comfortable with maintenance-mode software.
The pure-Python implementation and low install friction make it easy to adopt. However, if you require active development or new features, consider alternatives. No known security vulnerabilities as of the query date.
Install
python-memcached on PyPI
Before you install
Low install friction with a pure-Python wheel. Maintenance status is aging—last release was 943 days ago—though the repository remains active with a recent commit on 2025-09-29. The package is stable and largely in maintenance mode; the description notes an alternative receiving more active enhancements.
A memcached server must be running and accessible at the configured host and port.
License in practice
Licensed under the Python Software Foundation License, which is permissive. No restrictions on commercial or private use.
Quickstart
pip install python-memcached
Import the client library and connect to a memcached server to store and retrieve cached values.
Verify before relying
- Whether the package works with all memcached protocol versions or only those tested in CI.
- Performance characteristics compared to other actively maintained alternatives.
- Whether all Python 3.6–3.12 versions listed in classifiers are actively tested or only declared.
- Exact module name and import syntax for basic usage.
Package facts
| License | permissive license permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Aging 943 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 1,225,690 / month, #4,192 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: Python Software Foundation LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: InternetTopic :: Software Development :: Libraries :: Python Modules |
Evidence: python_memcached-1.62-py2.py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “cache server connection”
- python-memcachedPure Python client library for connecting to and interacting with…
- aerospikePython client library for connecting to and querying Aerospike NoSQL…
- django-redisProvides a Redis cache and session backend for Django, supporting…
Give your agent the search over MCP, or paste the wish link into any chat.
More Python Modules packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.
Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…
Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.
See also pylibmc · pymemcache · python-binary-memcached · cachelib · aiocache · aiomcache · google-cloud-memcache · django-cache-url · Beaker · aws-secretsmanager-caching