Darr is a Python science library for storing numeric data arrays in a format that is open, simple, and self-explanatory
Project description
Darr is a Python science library for storing and sharing numeric data arrays in a way that is open, simple, and self-explanatory. It also enables fast memory-mapped read/write access to such disk-based data, the ability to append data, and the flexible use of metadata. It is primarily designed for scientific use cases. Save and use your numeric arrays and metadata with one line of code while long-term and tool-independent accessibility and easy shareability is ensured.
To avoid dependency on specific tools, Darr is based on a combination of flat binary and human-readable text files. It automatically saves a clear text description of how the data is stored, together with code for reading the specific data in a variety of current scientific data tools such as Python, R, Julia, Matlab and Mathematica (see [example array](https://github.com/gbeckers/Darr/tree/master/examplearray.da)).
Darr is currently pre-1.0, still undergoing significant development.
Features
Transparent data format based on flat binary and text files.
Supports very large data arrays through memory-mapped file access.
Data read/write access through NumPy indexing
Data is easily appendable.
Human-readable explanation of how the binary data is stored is saved in a README text file.
README also contains examples of how to read the array in popular analysis environments such as Python (without Darr), R, Julia, Octave/Matlab, GDL/IDL, and Mathematica.
Many numeric types are supported: (u)int8-(u)int64, float16-float64, complex64, complex128.
Easy use of metadata, stored in a separate JSON text file.
Minimal dependencies, only NumPy.
Integrates easily with the Dask or NumExpr libraries for numeric computation on very large Darr arrays.
See the [documentation](http://darr.readthedocs.io/) for more information.
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
Built Distribution
File details
Details for the file darr-0.1.9.tar.gz
.
File metadata
- Download URL: darr-0.1.9.tar.gz
- Upload date:
- Size: 43.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.10.0 pkginfo/1.2.1 requests/2.18.4 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.19.5 CPython/3.6.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ab3a997043f7d3e466d2e2c3efe083889d854cd257914f73f5b9251cd9fc226f |
|
MD5 | 03b81f4aeb0d595a9cfa4a47f64528e3 |
|
BLAKE2b-256 | 1c66e0e36c3b69dc58f884306e2ec9dea51a7720591d1f6a76302ea99eebf9af |
File details
Details for the file darr-0.1.9-py3-none-any.whl
.
File metadata
- Download URL: darr-0.1.9-py3-none-any.whl
- Upload date:
- Size: 53.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.10.0 pkginfo/1.2.1 requests/2.18.4 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.19.5 CPython/3.6.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e815db914f31f9001a2f4dacfb5543fea879513f240a4f8db0912e9e3e0d117c |
|
MD5 | 0c6e0730b330ed19fc9bc014d23e3da9 |
|
BLAKE2b-256 | b5c26f55afe4d212137e2d759b413b3f73c7e29282cbf3e1dcd01a62c7b28fe2 |