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 details)
Built Distribution
File details
Details for the file Arrays-0.0.5.tar.gz
.
File metadata
- Download URL: Arrays-0.0.5.tar.gz
- Upload date:
- Size: 1.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f67217ce631878a4aae2352a5d2d45045438c7f4fd15b37745a7793e0d8dbd02 |
|
MD5 | dd8821bd31cf1f1dfc3c721a870ca95a |
|
BLAKE2b-256 | 22313149c7e81efc363c3b2424ea9167bc41819e8f403d384406a8e92c8a24fb |
File details
Details for the file Arrays-0.0.5-py3-none-any.whl
.
File metadata
- Download URL: Arrays-0.0.5-py3-none-any.whl
- Upload date:
- Size: 2.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d1466210466a5bebbc64278b6db878b5691b6b1eff892ee2e544d88a14a34aec |
|
MD5 | ad78ee7f6804b1bdee214e36dc50a9b1 |
|
BLAKE2b-256 | d57c341042b57f2b4174e87065d87ceecfb64ef922ac24b7550f58bc914bb1e8 |