Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

memory-allocator

Package Overview
Dependencies
Maintainers
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

memory-allocator

An extension class to allocate memory easily with cython

  • 0.1.4
  • PyPI
  • Socket score

Maintainers
4

MemoryAllocator

An extension class to allocate memory easily with cython.

This extension class started as part of the Sage 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.4

  • Modernize Python metadata, require Python >= 3.8. #9 by @mkoeppe
  • Add missing noexcept clauses for Cython 3 #8 by @tornaria

0.1.3

  • Python 3.11 compatible.

0.1.2

  • Provide wheels build by github actions.

0.1.1

  • Fixed doctests on 32bit systems.

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc