Documentation

Python

Description

Memcached is an in-memory key-value store for small chunks of arbitrary data (strings, objects) from results of database calls, API calls, or page rendering.

Examples

Dependency:
pip install testcontainers[memcached]
Usage:
with MemcachedContainer(image = "memcached:1.6.32") as memcached:
    host, port = memcached.get_host_and_port()