aiomcache
Minimal pure python memcached client
Decision gist · record as of 2026-08-14
Yes. The package is actively maintained, has no security vulnerabilities, installs with minimal friction, and fills a clear niche for async Python applications needing memcached integration. The BSD license is permissive. Install it if your async application needs non-blocking cache access; skip it only if you don't use asyncio or don't need memcached.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires a running memcached server (default localhost:11211).
- Low friction: pure Python wheel with a single runtime dependency (typing-extensions).
- Actively maintained with recent commits and no known vulnerabilities.
License · maintenance · safety
BSD (permissive) — BSD permissive license allows commercial and private use with minimal restrictions.
last release 2024-05-07 (829 days) · last repo commit 2026-08-08 · 157 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 194,807 downloads/mo, #9,824 on PyPI
Alternatives
Verify before relying
import asyncio
import aiomcache
async def example():
mc = aiomcache.Client("127.0.0.1", 11211)
await mc.set(b"key", b"value")
value = await mc.get(b"key")
print(value)
asyncio.run(example())- Performance characteristics compared to synchronous memcache clients or other async alternatives.
- Whether FlagClient's callback mechanism is suitable for high-throughput scenarios.
- TLS support details and any additional conn_args configuration options available.
What it is and what it does
aiomcache is a pure Python memcached client built for asyncio, enabling non-blocking cache operations in async Python applications. It provides a familiar API for standard memcached commands—get, set, delete, multi_get—while supporting modern async/await syntax. The library includes a FlagClient variant for applications that need to register callbacks to process or set memcached flags, useful when cache values carry metadata.
The package targets Python 3.8 and later, depends only on typing-extensions, and is distributed as a wheel with low installation friction. It is actively maintained, has no known vulnerabilities, and works across Linux, macOS, and Windows. Most use cases involve integrating memcached caching into async web frameworks or services where blocking I/O would degrade performance.
Use it for
- Cache frequently accessed data in async web applications to reduce database queries.
- Implement session storage in async HTTP services using memcached as a distributed backend.
- Batch retrieve multiple cache keys in parallel within async request handlers.
- Use FlagClient to store and retrieve structured data with metadata flags in memcached.
- Build async task queues or rate-limiting systems backed by memcached counters.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
The package is actively maintained, has no security vulnerabilities, installs with minimal friction, and fills a clear niche for async Python applications needing memcached integration. The BSD license is permissive. Install it if your async application needs non-blocking cache access; skip it only if you don't use asyncio or don't need memcached.
Install
aiomcache on PyPI
Before you install
Low friction: pure Python wheel with a single runtime dependency (typing-extensions). Actively maintained with recent commits and no known vulnerabilities.
Requires a running memcached server (default localhost:11211).
License in practice
BSD permissive license allows commercial and private use with minimal restrictions.
Quickstart
import asyncio
import aiomcache
async def example():
mc = aiomcache.Client("127.0.0.1", 11211)
await mc.set(b"key", b"value")
value = await mc.get(b"key")
print(value)
asyncio.run(example())
Verify before relying
- Performance characteristics compared to synchronous memcache clients or other async alternatives.
- Whether FlagClient's callback mechanism is suitable for high-throughput scenarios.
- TLS support details and any additional conn_args configuration options available.
Package facts
| License | BSD permissive |
| Python support | Supports the current Python release >=3.8 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packagetyping-extensions |
| Maintenance | Actively maintained 829 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 194,807 / month, #9,824 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Environment :: Web EnvironmentFramework :: AsyncIOIntended Audience :: DevelopersLicense :: OSI Approved :: BSD LicenseOperating System :: MacOS :: MacOS XOperating System :: Microsoft :: WindowsOperating System :: POSIXProgramming Language :: PythonProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9 |
Evidence: aiomcache-0.8.2-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 › “asyncio memcached client”
- aiomcacheAsyncio-based memcached client providing non-blocking get, set,…
- aiocacheProvides asyncio-compatible caching with pluggable backends (memory,…
- python-binary-memcachedA pure Python client library for accessing memcached using the binary…
Give your agent the search over MCP, or paste the wish link into any chat.
More Database packages
psycopg2-binary is a PostgreSQL database adapter for Python that implements the DB API 2.0 specification, enabling Python applications to connect to and query PostgreSQL databases with thread-safe concurrent operations.
Python client library for connecting to and executing commands against Redis key-value stores, supporting both synchronous and asynchronous operations.
Install it if your application needs to interact with Redis; the only prerequisite is a running Redis server instance.
YDB Python SDK is the official client library for connecting to and querying YDB databases from Python applications.
Install it if you need to connect Python applications to YDB databases.
Connects Python applications to Snowflake data warehouses using the DB API 2.0 specification, enabling SQL queries, data transfers, and warehouse operations.
sqlparse tokenizes SQL text into a tree of statements, clauses, and expressions, and provides functions to split scripts, format queries, and inspect parsed tokens without validating dialect or syntax.
Install it if you need to manipulate, format, or analyze SQL text programmatically.
Provides base adapter protocols and shared functionality that database adapters use to integrate with dbt-core, handling connections, dialect translation, relation caching, and core interface management.
See also aiocache · python-binary-memcached · google-cloud-memcache · pymemcache · python-memcached · pylibmc · gcloud-aio-storage · aiotools · fastapi-cache2 · gcloud-aio-bigquery