Memory management in NumPy*
*NumPy is a trademark owned by NumFOCUS.
Customize Memory Allocators
Α metaclass is used to override the internal data memory routines. The metaclass has four optional fields:
>>> import ctypes
>>> import ctypes.util
>>> import numpy_allocator
>>> my = ctypes.CDLL(ctypes.util.find_library('my'))
>>> class my_allocator(metaclass=numpy_allocator.type):
... _calloc_ = ctypes.addressof(my.calloc_func)
... _free_ = ctypes.addressof(my.free_func)
... _malloc_ = ctypes.addressof(my.malloc_func)
... _realloc_ = ctypes.addressof(my.realloc_func)
...
An example using the allocator
>>> import numpy as np
>>> with my_allocator:
... a = np.array([1, 2, 3])
...
>>> my_allocator.handles(a)
True
Metadata
Release files for numpy-allocator 1.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| numpy_allocator-1.2.1.tar.gz | 11.0 kB | Without provenance | Details for numpy_allocator-1.2.1.tar.gz |
Built distributions (wheels)
Total release size: 851.5 kB
Release files / numpy_allocator-1.2.1.tar.gz
| Download URL | numpy_allocator-1.2.1.tar.gz |
|---|---|
| Size | 11.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1a7a634c3b82246dad522879a5d88340c8619219e7d24d34b3a655b89cf544fc
|
|
BLAKE2b-256 checksum How to use checksums |
fa72235e3170b1bed685eaab6bcb93c56461894f6b53b9401c07bd30118f9a0b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Release files / numpy_allocator-1.2.1-cp313-cp313-musllinux_1_2_x86_64.whl
| Download URL | numpy_allocator-1.2.1-cp313-cp313-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 36.8 kB |
| Tags | CPython 3.13 Linux musl 1.2+ x86-64 |
|
SHA-256 checksum How to use checksums |
ba8ab2d9705c7a0dcba53936585cca131d29709856a78373025e41da35703085
|
|
BLAKE2b-256 checksum How to use checksums |
de5d6ef604838764429586499f3c6a1420746e380cd41ed481b172854337c0af
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Release files / numpy_allocator-1.2.1-cp313-cp313-musllinux_1_2_i686.whl
| Download URL | numpy_allocator-1.2.1-cp313-cp313-musllinux_1_2_i686.whl |
|---|---|
| Size | 35.6 kB |
| Tags | CPython 3.13 Linux musl 1.2+ x86-32 |
|
SHA-256 checksum How to use checksums |
74651736de4d6a1446d13ca7661c65482008a71df4076865cea764c66b4bbd7d
|
|
BLAKE2b-256 checksum How to use checksums |
7fb9216ef902f77c21efc5febfb30690d7e672ea7d054e6b95cdb2ffe3933b3b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Release files / numpy_allocator-1.2.1-cp313-cp313-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | numpy_allocator-1.2.1-cp313-cp313-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 36.9 kB |
| Tags | CPython 3.13 Linux glibc 2.17+ x86-64 Linux glibc 2.5+ x86-64 |
|
SHA-256 checksum How to use checksums |
b855120f4542103685f04f77b60608e2001ba1dea0a13258a60e2cdeac9bd0ee
|
|
BLAKE2b-256 checksum How to use checksums |
ab95bb960f0cfa5917126c433e389f097431f51b5eb0c2536e90ee81051aa721
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Release files / numpy_allocator-1.2.1-cp313-cp313-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
| Download URL | numpy_allocator-1.2.1-cp313-cp313-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl |
|---|---|
| Size | 35.0 kB |
| Tags | CPython 3.13 Linux glibc 2.17+ x86-32 Linux glibc 2.5+ x86-32 |
|
SHA-256 checksum How to use checksums |
6ae5488fc081386aec3bebaf643be31ecca1be41c6b27bd840b3f1866e3a0ccf
|
|
BLAKE2b-256 checksum How to use checksums |
6a31ef8af48692d98657c57a16a18193f6b9e5b886d591d2b6cbb3e8645026e2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Release files / numpy_allocator-1.2.1-cp312-cp312-musllinux_1_2_x86_64.whl
| Download URL | numpy_allocator-1.2.1-cp312-cp312-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 36.8 kB |
| Tags | CPython 3.12 Linux musl 1.2+ x86-64 |
|
SHA-256 checksum How to use checksums |
11f0db0d2b3c1b9fd1db67f898301e468923454f1a100a3e9799e37f3517c4d2
|
|
BLAKE2b-256 checksum How to use checksums |
9834c3e06f64f8bc0c129f98f79a74609b6414604f82608b9b4980b070aaf751
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Release files / numpy_allocator-1.2.1-cp312-cp312-musllinux_1_2_i686.whl
| Download URL | numpy_allocator-1.2.1-cp312-cp312-musllinux_1_2_i686.whl |
|---|---|
| Size | 35.6 kB |
| Tags | CPython 3.12 Linux musl 1.2+ x86-32 |
|
SHA-256 checksum How to use checksums |
181c7820a502bef78aecd230373c54bdd687a9650a5fc0a36b37276ce802e8ec
|
|
BLAKE2b-256 checksum How to use checksums |
e9ef6c57919a1bcc7cb97798d0e8d7d9e889231332b7f49c0657220400014cc6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Release files / numpy_allocator-1.2.1-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | numpy_allocator-1.2.1-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 36.9 kB |
| Tags | CPython 3.12 Linux glibc 2.17+ x86-64 Linux glibc 2.5+ x86-64 |
|
SHA-256 checksum How to use checksums |
a9eac087b13115dc7cb330bc4b809eee1dfef27d42dc7ff9b43d23292d7b17e7
|
|
BLAKE2b-256 checksum How to use checksums |
05209c2621800a8dad555e18e5abf77ba207297c4e6519ee50dcd7d4bba1bf78
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Release files / numpy_allocator-1.2.1-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
| Download URL | numpy_allocator-1.2.1-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl |
|---|---|
| Size | 35.0 kB |
| Tags | CPython 3.12 Linux glibc 2.17+ x86-32 Linux glibc 2.5+ x86-32 |
|
SHA-256 checksum How to use checksums |
9ec3ae3592f91327b39b639047a2d88f2bc37b8c919a8e50afd8d65ba620d4d1
|
|
BLAKE2b-256 checksum How to use checksums |
e665c404761e519d344b2effcb75ef3f4c153fa86378c5086b4d5b2140b6acea
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Release files / numpy_allocator-1.2.1-cp311-cp311-musllinux_1_2_x86_64.whl
| Download URL | numpy_allocator-1.2.1-cp311-cp311-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 34.9 kB |
| Tags | CPython 3.11 Linux musl 1.2+ x86-64 |
|
SHA-256 checksum How to use checksums |
257eb19071efb3456908b039049e6dfd01d98df7afaa6b32acd52c48894044eb
|
|
BLAKE2b-256 checksum How to use checksums |
c3bcf21127b6f5e8419076e7c43eb9238200ae75986863e084ce42b93a9b0a2b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Release files / numpy_allocator-1.2.1-cp311-cp311-musllinux_1_2_i686.whl
| Download URL | numpy_allocator-1.2.1-cp311-cp311-musllinux_1_2_i686.whl |
|---|---|
| Size | 34.0 kB |
| Tags | CPython 3.11 Linux musl 1.2+ x86-32 |
|
SHA-256 checksum How to use checksums |
1952ee832eb27960ea5e091f3f1307e44235210f895cbb189b7b6edd094d9242
|
|
BLAKE2b-256 checksum How to use checksums |
ddb0da6cb3569d22208a0b6c4e91c6e8fbd30223ad110851308cefbaaf7cce93
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Release files / numpy_allocator-1.2.1-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | numpy_allocator-1.2.1-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 35.2 kB |
| Tags | CPython 3.11 Linux glibc 2.17+ x86-64 Linux glibc 2.5+ x86-64 |
|
SHA-256 checksum How to use checksums |
cfac2bc42f1c84b53d7d947c6c751ba1e9c64a7261a6027f16071ded2614c4d2
|
|
BLAKE2b-256 checksum How to use checksums |
fa4d7f217c8a4b7bb30c5bafd88bf7494eb11ee8519dc419a3b8275013c75f7c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Release files / numpy_allocator-1.2.1-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
| Download URL | numpy_allocator-1.2.1-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl |
|---|---|
| Size | 33.4 kB |
| Tags | CPython 3.11 Linux glibc 2.17+ x86-32 Linux glibc 2.5+ x86-32 |
|
SHA-256 checksum How to use checksums |
f0207b3a085f5b86de2e57c8b807816fb0a5e1bcbae6a61854a79a17fe43e10c
|
|
BLAKE2b-256 checksum How to use checksums |
467c8d06d1efdce9e4a81540e775dc680d4577a6b1a65cccbce31b05f15bea59
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Release files / numpy_allocator-1.2.1-cp310-cp310-musllinux_1_2_x86_64.whl
| Download URL | numpy_allocator-1.2.1-cp310-cp310-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 34.7 kB |
| Tags | CPython 3.10 Linux musl 1.2+ x86-64 |
|
SHA-256 checksum How to use checksums |
332c53eb6042669af5ab2ff29225bbea53549d816f2174b87e339aeff1861c48
|
|
BLAKE2b-256 checksum How to use checksums |
d46bdb504cf745fabd1b01fadcf4c00f472824ba154f2c81dd0521a7f8e9621c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Release files / numpy_allocator-1.2.1-cp310-cp310-musllinux_1_2_i686.whl
| Download URL | numpy_allocator-1.2.1-cp310-cp310-musllinux_1_2_i686.whl |
|---|---|
| Size | 33.7 kB |
| Tags | CPython 3.10 Linux musl 1.2+ x86-32 |
|
SHA-256 checksum How to use checksums |
49d4df037e8a5cf18a04b52483f97db029d75c852009a3fec848610a12d6f1ce
|
|
BLAKE2b-256 checksum How to use checksums |
3eef1bf73d4c3ab018854b167f5d305190b78204be6088e8e314844eec16f27b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Release files / numpy_allocator-1.2.1-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | numpy_allocator-1.2.1-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 34.9 kB |
| Tags | CPython 3.10 Linux glibc 2.17+ x86-64 Linux glibc 2.5+ x86-64 |
|
SHA-256 checksum How to use checksums |
d0c6bc5cc5eeed6d5efb60d2e822ba5422601009ecbaa86f8fefb76d4e79b06d
|
|
BLAKE2b-256 checksum How to use checksums |
9bcb16d10617c58271067718c8de561b44cf6cd9881f38dd01240f261829e35c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Release files / numpy_allocator-1.2.1-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
| Download URL | numpy_allocator-1.2.1-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl |
|---|---|
| Size | 33.1 kB |
| Tags | CPython 3.10 Linux glibc 2.17+ x86-32 Linux glibc 2.5+ x86-32 |
|
SHA-256 checksum How to use checksums |
24bcffd57a7ea459f83b5b83f2d547b277fca715e8d9f08d1682df287f18c9e8
|
|
BLAKE2b-256 checksum How to use checksums |
19532a4b16da1003d5f7d79450d2f17e9fc8eacd94274c651c56be7c79ad9ffe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Release files / numpy_allocator-1.2.1-cp39-cp39-musllinux_1_2_x86_64.whl
| Download URL | numpy_allocator-1.2.1-cp39-cp39-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 34.2 kB |
| Tags | CPython 3.9 Linux musl 1.2+ x86-64 |
|
SHA-256 checksum How to use checksums |
503be9e22f1f8cf791e37612e408ff4eec6cf545e0254b44b5d9724fde925c2d
|
|
BLAKE2b-256 checksum How to use checksums |
e2c361ac69d9a2f87b1677459777891e40b01faca09cad30e45332dabb0dfebc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Release files / numpy_allocator-1.2.1-cp39-cp39-musllinux_1_2_i686.whl
| Download URL | numpy_allocator-1.2.1-cp39-cp39-musllinux_1_2_i686.whl |
|---|---|
| Size | 33.2 kB |
| Tags | CPython 3.9 Linux musl 1.2+ x86-32 |
|
SHA-256 checksum How to use checksums |
9d155c51a99238741327ba914eef02f7c580d8edb5449d939ccbd7d7101e6867
|
|
BLAKE2b-256 checksum How to use checksums |
f239308bdce47d071bf395e6c45184834001a9369eb61d3501ea673808939a4e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Release files / numpy_allocator-1.2.1-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | numpy_allocator-1.2.1-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 34.4 kB |
| Tags | CPython 3.9 Linux glibc 2.17+ x86-64 Linux glibc 2.5+ x86-64 |
|
SHA-256 checksum How to use checksums |
9642b20aa517a798fef26b9e752d65c49968eafadbefe520fd69b054f5671a90
|
|
BLAKE2b-256 checksum How to use checksums |
5dcb742c6ba822356bb9421533b62965d4ee3721e51647b7f8be8109e233b32a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Release files / numpy_allocator-1.2.1-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
| Download URL | numpy_allocator-1.2.1-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl |
|---|---|
| Size | 32.6 kB |
| Tags | CPython 3.9 Linux glibc 2.17+ x86-32 Linux glibc 2.5+ x86-32 |
|
SHA-256 checksum How to use checksums |
942ef7cc3fb2ef0043c478f1cb76c065561a5059506b9a497e345d9a4f6a78ed
|
|
BLAKE2b-256 checksum How to use checksums |
28d443e4e9abfc193e81befd657a514bac27fef62556aa0de8c51019b6cd2199
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Release files / numpy_allocator-1.2.1-cp38-cp38-musllinux_1_2_x86_64.whl
| Download URL | numpy_allocator-1.2.1-cp38-cp38-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 36.2 kB |
| Tags | CPython 3.8 Linux musl 1.2+ x86-64 |
|
SHA-256 checksum How to use checksums |
5cfa3ac958f06ec5c0e5595c5aa0deac7c69fba45dd41eda9f521680f3888ead
|
|
BLAKE2b-256 checksum How to use checksums |
070b54596aa14375a13f29b091bd3d3784d5bf7b658ab5f99f47cb2465549a50
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Release files / numpy_allocator-1.2.1-cp38-cp38-musllinux_1_2_i686.whl
| Download URL | numpy_allocator-1.2.1-cp38-cp38-musllinux_1_2_i686.whl |
|---|---|
| Size | 35.2 kB |
| Tags | CPython 3.8 Linux musl 1.2+ x86-32 |
|
SHA-256 checksum How to use checksums |
00e1ea4de8dec39063a812275c6b01678a7b808720edb4b250abd4607ae77b67
|
|
BLAKE2b-256 checksum How to use checksums |
abd1b2d06d1ca0e0b13ac848caa83592b11f884e8a630df00d104d809d2d000f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Release files / numpy_allocator-1.2.1-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | numpy_allocator-1.2.1-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 37.1 kB |
| Tags | CPython 3.8 Linux glibc 2.17+ x86-64 Linux glibc 2.5+ x86-64 |
|
SHA-256 checksum How to use checksums |
c6eb7998bffa992f94a0ba36793fc37f60cca4180f5340a7dea282254d1daada
|
|
BLAKE2b-256 checksum How to use checksums |
aae7e987921f711449e605b259c1dcb44fe9aa1e0e597f8a104db1d39e5d6ef4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Release files / numpy_allocator-1.2.1-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
| Download URL | numpy_allocator-1.2.1-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl |
|---|---|
| Size | 35.2 kB |
| Tags | CPython 3.8 Linux glibc 2.17+ x86-32 Linux glibc 2.5+ x86-32 |
|
SHA-256 checksum How to use checksums |
043bdbcc2aad274b2df4cb3049cb4de078456bed48522de89239b7462c32c736
|
|
BLAKE2b-256 checksum How to use checksums |
d8d943be0cc974a9d20f567b11f443b7186a2838fdb418a5f60d35704b470224
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Security for numpy-allocator 1.2.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.