Package: python314-cymem (2.0.13-1.5)
Manage calls to calloc/free through Cython
cymem provides two small memory-management helpers for Cython. They make it easy to tie memory to a Python object's life-cycle, so that the memory is freed when the object is garbage collected. The most useful is `cymem.Pool`, which acts as a thin wrapper around the calloc function: ```python from cymem.cymem cimport Pool cdef Pool mem = Pool() data1 = <int*>mem.alloc(10, sizeof(int)) data2 = <float*>mem.alloc(12, sizeof(float)) ``` The `Pool` object saves the memory addresses internally, and frees them when the object is garbage collected. Typically you'll attach the `Pool` to some cdef'd class. This is particularly handy for deeply nested structs, which have complicated initialization functions. Just pass the `Pool` object into the initializer, and you don't have to worry about freeing your struct at all — all of the calls to `Pool.alloc` will be automatically freed when the `Pool` expires.
Package information
- Homepage
- [https://github.com/explosion/cymem]
- License
- MIT
- Downstream package maintainer
- Unknown: not reported in the indexed source
- Source package
- [python-cymem]
- Software project
- [python-cymem]
Versions and downloads for python314-cymem
| Version / release | Architecture / repository | Package size | Installed size | Files | Publisher repository artifact |
|---|---|---|---|---|---|
| 2.0.13-1.5tumbleweed / oss | x86_64openSUSE Tumbleweed · OSS · multi-architecture | 60 KiB | 150 KiB | list of files | python314-cymem-2.0.13-1.5.x86_64.rpm |
About these downloads
Each row is recorded package-index metadata for one version, architecture, suite, and repository. Names, URLs, and sizes are source-reported; a link is a potentially mutable retrieval location, not an OpenFactory redistribution claim or proof that OpenFactory retained the artifact bytes.
Other packages built from python-cymem
- python313-cymem
Manage calls to calloc/free through Cython
Dependencies and recommendations for python314-cymem
dep: python(abi) (= 3.14)
Package not available
dep: libc.so.6(GLIBC_2.14)(64bit)
Package not available
Package file paths (33)
Paths come from the repository package-file index for the observed builds. They describe archive/package associations, not every file that will exist on a running system after maintainer scripts, alternatives, generated state, diversions, or installation choices.
- /usr/lib64/python3.14/site-packages/cymem
- /usr/lib64/python3.14/site-packages/cymem-2.0.13.dist-info
- /usr/lib64/python3.14/site-packages/cymem-2.0.13.dist-info/INSTALLER
- /usr/lib64/python3.14/site-packages/cymem-2.0.13.dist-info/licenses
- /usr/lib64/python3.14/site-packages/cymem-2.0.13.dist-info/licenses/LICENSE
- /usr/lib64/python3.14/site-packages/cymem-2.0.13.dist-info/METADATA
- /usr/lib64/python3.14/site-packages/cymem-2.0.13.dist-info/RECORD
- /usr/lib64/python3.14/site-packages/cymem-2.0.13.dist-info/REQUESTED
- /usr/lib64/python3.14/site-packages/cymem-2.0.13.dist-info/top_level.txt
- /usr/lib64/python3.14/site-packages/cymem-2.0.13.dist-info/WHEEL
- /usr/lib64/python3.14/site-packages/cymem/about.py
- /usr/lib64/python3.14/site-packages/cymem/cymem.cpython-314-x86_64-linux-gnu.so
- /usr/lib64/python3.14/site-packages/cymem/cymem.pxd
- /usr/lib64/python3.14/site-packages/cymem/cymem.pyx
- /usr/lib64/python3.14/site-packages/cymem/__init__.pxd
- /usr/lib64/python3.14/site-packages/cymem/__init__.py
- /usr/lib64/python3.14/site-packages/cymem/__pycache__
- /usr/lib64/python3.14/site-packages/cymem/__pycache__/about.cpython-314.opt-1.pyc
- /usr/lib64/python3.14/site-packages/cymem/__pycache__/about.cpython-314.pyc
- /usr/lib64/python3.14/site-packages/cymem/__pycache__/__init__.cpython-314.opt-1.pyc
- /usr/lib64/python3.14/site-packages/cymem/__pycache__/__init__.cpython-314.pyc
- /usr/lib64/python3.14/site-packages/cymem/tests
- /usr/lib64/python3.14/site-packages/cymem/tests/__init__.py
- /usr/lib64/python3.14/site-packages/cymem/tests/__pycache__
- /usr/lib64/python3.14/site-packages/cymem/tests/__pycache__/__init__.cpython-314.opt-1.pyc
- /usr/lib64/python3.14/site-packages/cymem/tests/__pycache__/__init__.cpython-314.pyc
- /usr/lib64/python3.14/site-packages/cymem/tests/__pycache__/test_import.cpython-314.opt-1.pyc
- /usr/lib64/python3.14/site-packages/cymem/tests/__pycache__/test_import.cpython-314.pyc
- /usr/lib64/python3.14/site-packages/cymem/tests/test_import.py
- /usr/share/doc/packages/python314-cymem
- /usr/share/doc/packages/python314-cymem/README.md
- /usr/share/licenses/python314-cymem
- /usr/share/licenses/python314-cymem/LICENSE
Field source: openSUSE Tumbleweed OSS
