Simple collection of wrappers around Python's builtin 'array' module
Project description
hurray
hurray is a simple package containing a collection of wrappers around Python's builtin 'array' module.
from hurray import ShortArray, UIntArray, ULongArray
arr1 = ShortArray([-4, -3, -2, -1, 0, 1, 2, 3, 4])
arr2 = UIntArray([100_000, 100_001, 100_002, 100_003, 100_004])
empty = ULongArray()
print(arr1) # array('h', [-4, -3, -2, -1, 0, 1, 2, 3, 4])
print(arr2) # array('I', [100000, 100001, 100002, 100003, 100004])
print(empty.itemsize) # 4
Special thanks to trag1c, CircuitSacul, Micael Jarniac, bswck for helping to make this silly package.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
hurray-1.1.1.tar.gz
(3.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file hurray-1.1.1.tar.gz.
File metadata
- Download URL: hurray-1.1.1.tar.gz
- Upload date:
- Size: 3.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
09993b73cde5b2c9c6c9fa08a55492135f184aef019c154d8a48bb2bb11abf04
|
|
| MD5 |
944c2ee1caae063599b6d0bfc14a0139
|
|
| BLAKE2b-256 |
be6e30d4a3356434212fd5d556a15d50f3190733171118e0ac9a4bf30b885fd5
|
File details
Details for the file hurray-1.1.1-py3-none-any.whl.
File metadata
- Download URL: hurray-1.1.1-py3-none-any.whl
- Upload date:
- Size: 4.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5487f7449e681b731b78f0f170b8eee64a3db3d880326fc21ee034aff33ad6b6
|
|
| MD5 |
8244c540ba0711142337b064b4374ef6
|
|
| BLAKE2b-256 |
9ec5d9436cd1ef415daaa3e96db2a39d4e7cea41e81787ac38083042457a8059
|