Index index by Group index by Distribution index by Vendor index by creation date index by Name Mirrors Help Search

python312-cymem-2.0.8-1.5 RPM for armv6hl

From OpenSuSE Ports Tumbleweed for armv6hl

Name: python312-cymem Distribution: openSUSE Tumbleweed
Version: 2.0.8 Vendor: openSUSE
Release: 1.5 Build date: Mon Sep 18 11:22:35 2023
Group: Unspecified Build host: reproducible
Size: 117223 Source RPM: python-cymem-2.0.8-1.5.src.rpm
Packager: http://bugs.opensuse.org
Url: https://github.com/explosion/cymem
Summary: 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.

Provides

Requires

License

MIT

Changelog

* Mon Sep 18 2023 Dirk Müller <dmueller@suse.com>
  - update to 2.0.8:
    * Python 3.12 support
* Mon Aug 07 2023 Matej Cepl <mcepl@suse.com>
  - Clean up the SPEC file
* Mon May 22 2023 Greg Freemyer <Greg.Freemyer@gmail.com>
  - initial version v2.0.7

Files

/usr/lib/python3.12/site-packages/cymem
/usr/lib/python3.12/site-packages/cymem-2.0.8.dist-info
/usr/lib/python3.12/site-packages/cymem-2.0.8.dist-info/INSTALLER
/usr/lib/python3.12/site-packages/cymem-2.0.8.dist-info/LICENSE
/usr/lib/python3.12/site-packages/cymem-2.0.8.dist-info/METADATA
/usr/lib/python3.12/site-packages/cymem-2.0.8.dist-info/RECORD
/usr/lib/python3.12/site-packages/cymem-2.0.8.dist-info/REQUESTED
/usr/lib/python3.12/site-packages/cymem-2.0.8.dist-info/WHEEL
/usr/lib/python3.12/site-packages/cymem-2.0.8.dist-info/top_level.txt
/usr/lib/python3.12/site-packages/cymem/__init__.pxd
/usr/lib/python3.12/site-packages/cymem/__init__.py
/usr/lib/python3.12/site-packages/cymem/__pycache__
/usr/lib/python3.12/site-packages/cymem/__pycache__/__init__.cpython-312.opt-1.pyc
/usr/lib/python3.12/site-packages/cymem/__pycache__/__init__.cpython-312.pyc
/usr/lib/python3.12/site-packages/cymem/__pycache__/about.cpython-312.opt-1.pyc
/usr/lib/python3.12/site-packages/cymem/__pycache__/about.cpython-312.pyc
/usr/lib/python3.12/site-packages/cymem/about.py
/usr/lib/python3.12/site-packages/cymem/cymem.cpython-312-arm-linux-gnueabihf.so
/usr/lib/python3.12/site-packages/cymem/cymem.pxd
/usr/lib/python3.12/site-packages/cymem/cymem.pyx
/usr/lib/python3.12/site-packages/cymem/tests
/usr/lib/python3.12/site-packages/cymem/tests/__init__.py
/usr/lib/python3.12/site-packages/cymem/tests/__pycache__
/usr/lib/python3.12/site-packages/cymem/tests/__pycache__/__init__.cpython-312.opt-1.pyc
/usr/lib/python3.12/site-packages/cymem/tests/__pycache__/__init__.cpython-312.pyc
/usr/lib/python3.12/site-packages/cymem/tests/__pycache__/test_import.cpython-312.opt-1.pyc
/usr/lib/python3.12/site-packages/cymem/tests/__pycache__/test_import.cpython-312.pyc
/usr/lib/python3.12/site-packages/cymem/tests/test_import.py
/usr/share/doc/packages/python312-cymem
/usr/share/doc/packages/python312-cymem/README.md
/usr/share/licenses/python312-cymem
/usr/share/licenses/python312-cymem/LICENSE


Generated by rpm2html 1.8.1

Fabrice Bellet, Thu Dec 5 23:54:35 2024