Cloud implementation of array for Big Data
Project description
Cloud Array
cloud-array
is an open-source Python library for storing and streaming large Numpy Arrays on local file systems and major cloud providers CDNs. It automatically chunks a large array of data into arbitrary chunks sizes and uploads them into the targeted direcotry.
import numpy as np
from cloud_array import CloudArray
shape = (10000, 100, 100)
chunk_shape = (10, 10, 10)
f = np.memmap(
'memmapped.dat',
dtype=np.float32,
mode='w+',
shape=shape
)
array = CloudArray(
chunk_shape=chunk_shape,
array=f,
url="s3://example_bucket/dataset0"
)
array.save()
print(array[:100,:100,:100])
Links
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
cloud_array-0.0.4.tar.gz
(6.5 kB
view hashes)
Built Distribution
Close
Hashes for cloud_array-0.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | be0c379151f7c374f88ef01743c6713d2612aa145c75bb58c4f96338c744f719 |
|
MD5 | 33ec943a42eca6d7af815043a91d99aa |
|
BLAKE2b-256 | 585c15ac086a154e84011ac4246cc604c77cb48ff5a372b345f75380e0e54f05 |