numpy-serializer
Motivation
I couldn't find a nice high-level package that is fast enough to serialize and deserialize numpy arrays while preserving the type and shape informations.
Installation
pip install numpy-serializer
How to use
import numpy_serializer as ns
import numpy as np
a = np.random.normal(size=(50,120,150))
b = ns.to_bytes(a)
c = ns.from_bytes(b)
assert np.array_equal(a,c)
License
This project is licensed under the GPL-3 license.
Metadata
Release files for numpy-serializer 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| numpy-serializer-0.1.3.tar.gz | 1.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| numpy_serializer-0.1.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 16.5 kB
Release files / numpy-serializer-0.1.3.tar.gz
| Download URL | numpy-serializer-0.1.3.tar.gz |
|---|---|
| Size | 1.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a2261aa82a9c523e1193ee68c9abdf18f368c0f946924170f317357173172e17
|
|
BLAKE2b-256 checksum How to use checksums |
7f12a0fec1eed8dbb27046bc2d1b5212e160aefe1dabe3b3237256a2d7c8dd10
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.6.1 requests/2.25.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.4
|
Release files / numpy_serializer-0.1.3-py3-none-any.whl
| Download URL | numpy_serializer-0.1.3-py3-none-any.whl |
|---|---|
| Size | 14.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9df399ae5911c0ebcf9cf63512ea6c49373f66fb2374561c0001b94441735bc1
|
|
BLAKE2b-256 checksum How to use checksums |
d9d4407aee3092e37bbade8592890f789b5510d8581cb2e1e75abfff3a6a0a57
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.6.1 requests/2.25.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.4
|