hurray 1.1.1

Creator: bradpython12

Last updated:

Add to Cart

Description:

hurray 1.1.1

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.

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.