pylibmc: A Fast Python Client for Memcached
This repository profile is provided by osrepos.com, an open source repository discovery platform.

Summary
pylibmc is a high-performance Python client for Memcached, implemented as a C wrapper around the libmemcached interface. It offers efficient data caching, Python 2.x and 3.x interoperability, and robust handling of various data types, making it a reliable choice for applications requiring fast memory caching.
Repository Information
Use at your own risk
OSRepos shares public repositories for knowledge and discovery only. Any installation, execution, configuration, or use of code from these repositories is the user's own responsibility. Always review the repository, source code, dependencies, licenses, and security implications before running or installing anything. OSRepos is not responsible for issues, damages, or losses resulting from third-party repositories.
Introduction
pylibmc is a high-performance Python client for memcached, implemented as a C wrapper around the libmemcached interface. This project provides a robust and efficient way for Python applications to interact with Memcached servers, leveraging the speed of C for critical operations. It has evolved to support modern Python versions, including Python 3.x, and includes significant improvements in stability and interoperability.
Installation
Installing pylibmc is straightforward, thanks to its pip package and the availability of ManyLinux wheels, which simplify installation on many Linux systems. As it's a C wrapper, it relies on underlying C libraries, but pip usually handles the dependencies.
To install pylibmc, simply run:
pip install pylibmc
Examples
For detailed usage examples and comprehensive guides on how to integrate pylibmc into your Python applications, please refer to the official documentation. The documentation provides practical code snippets and explanations for various caching scenarios.
Why Use pylibmc?
pylibmc stands out as a preferred Memcached client for several reasons:
- High Performance: Being a C wrapper,
pylibmcoffers superior performance compared to pure Python implementations, making it ideal for high-throughput applications. - Robustness and Stability: Recent versions have addressed critical memory leaks and bugs, ensuring a more stable and reliable caching experience.
- Python 2.x and 3.x Interoperability: With features like the
pickle_protocolbehavior,pylibmcfacilitates seamless data exchange between Python 2.x and 3.x environments. - Modern Data Handling: Unicode strings are now stored as UTF-8, potentially offering performance improvements and better compatibility.
- Ease of Installation: The introduction of ManyLinux wheels significantly simplifies the installation process on compatible systems.
Links
- GitHub Repository: https://github.com/lericson/pylibmc
- Official Documentation: http://sendapatch.se/projects/pylibmc/
- Maintainer Website: http://sendapatch.se/
Related repositories
Similar repositories that may be relevant next.

Meshtastic-MCP: AI Tooling for Meshtastic Device Control and Testing
September 27, 2026
Meshtastic-MCP provides an MCP server and agent skills designed for AI tooling to discover, drive, observe, and test Meshtastic devices and applications. It offers a comprehensive suite of capabilities, from portable device control to advanced hardware-free end-to-end testing and replay functionalities. This project aims to streamline the development and testing of Meshtastic ecosystems.
AutoResearch: AI/ML Research Agents from Idea to Paper-Ready Evidence
September 22, 2026
AutoResearch is an open-source agent workflow designed for AI and machine learning research. It automates the entire research process, from generating ideas and planning experiments to execution, analysis, and independent evaluation. This project helps researchers produce paper-ready evidence efficiently and with traceable provenance.
HarnessRouter: Unified Interface for AI Agent Harnesses
September 22, 2026
HarnessRouter Community Edition provides a self-hosted, Apache-2.0 licensed unified interface for various AI agent harnesses like Codex, Claude Code, and Hermes. It allows users to run multiple agents through a single API, offering features such as sessions, streaming, file handling, and cancellation. The project implements the open-standard Unified Harness Protocol (UHP), ensuring users maintain control over their keys and infrastructure.

AREX-Skill: A Skill Library for Automated Machine Learning and Auto-Research
September 21, 2026
AREX-Skill is a powerful skill library designed to advance automated machine learning and auto-research. It distills over 5,000 executable skills from more than 1,000 popular GitHub repositories, making complex ML knowledge directly usable by coding agents. This project significantly enhances agent performance in various research tasks by providing structured, validated operating knowledge.
Source repository
Open the original repository on GitHub.
23 counted GitHub visits