Metadata-Version: 2.1
Name: memory-allocator
Version: 0.1.3
Summary: An extension class to allocate memory easily with cython
Home-page: https://github.com/sagemath/memory_allocator
Author: Jeroen Demeyer, Nathann Cohen, Jonathan Kliem
Author-email: sage-devel@googlegroups.com
License: GPLv3
Description: # MemoryAllocator
        An extension class to allocate memory easily with cython.
        
        This extension class started as part of the [Sage](https://sagemath.org) software.
        
        It provides a single extension class `MemoryAllocator` with `cdef` methods
        
        - `malloc`,
        - `calloc`,
        - `alloarray`,
        - `realloc`,
        - `reallocarray`,
        - `aligned_malloc`,
        - `aligned_calloc`,
        - `aligned_allocarray`.
        
        Memory is freed when the instance of `MemoryAllocator` is deallocated.
        On failure to allocate the memory, a proper error is raised.
        
        # Changelog
        
        ## 0.1.3
        
        - Python 3.11 compatible.
        
        ## 0.1.2
        
        - Provide wheels build by github actions.
        
        ## 0.1.1
        
        - Fixed doctests on 32bit systems.
        
Platform: UNKNOWN
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Cython
Classifier: Topic :: Scientific/Engineering :: Mathematics
Requires-Python: >=3.6
Description-Content-Type: text/markdown
