{"library":"cymem","type":"library","category":null,"description":"cymem is a Python library that provides efficient memory-management helpers for Cython. It simplifies tying C-level memory allocations (via `calloc`/`free`) to the lifecycle of Python objects, automatically freeing memory when the owning Python object is garbage collected. The core component is `cymem.Pool`, a thin wrapper around `calloc`. Currently at version 2.0.13, it maintains a regular release cadence, often aligning with new Python version support and performance enhancements like free-threading.","language":"python","status":"active","version":"2.0.13","tags":["Cython","memory management","low-level","C extensions","ffi"],"last_verified":"Tue Jun 09","install":[{"cmd":"pip install cymem","imports":["from cymem.cymem cimport Pool"]}],"homepage":null,"github":"https://github.com/explosion/cymem","docs":null,"changelog":null,"pypi":"https://pypi.org/project/cymem/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":50,"avg_install_s":1.6,"avg_import_s":null,"wheel_type":"wheel"},"url":"https://checklist.day/v1/registry/cymem/compatibility"}}