Python library for storing and reading stored arrays.
Project description
Arrays is a project for storing arrays, and retrieving data from stored arrays.
To store data, try this:
from Arrays.arrays import Arrays
array = Arrays([10,20,30])
array.save_array("array.data")
To retrieve integers from stored array, use this:
from Arrays.arrays import Arrays
array = Arrays([])
custom_array = array.convert_stored_to_array("array.data")
For any other type, use this:
from Arrays.arrays import Arrays
array = Arrays([])
custom_array = array.convert_stored_to_array("array.data", _objects_type="int/str/float/tuple")
#_objects_type is the type the stored data is being converted to, and put into an array.
#Say you want the arrays to be an integer, use int.
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
Arrays-0.0.5.tar.gz
(1.7 kB
view hashes)
Built Distribution
Arrays-0.0.5-py3-none-any.whl
(2.2 kB
view hashes)