Skip to main content

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 numeric data arrays in a way that is open, simple, and self-explanatory. It 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.

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 for more information.

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

darr-0.1.7.tar.gz (39.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

darr-0.1.7-py3-none-any.whl (26.3 kB view details)

Uploaded Python 3

File details

Details for the file darr-0.1.7.tar.gz.

File metadata

  • Download URL: darr-0.1.7.tar.gz
  • Upload date:
  • Size: 39.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.18.4 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.4

File hashes

Hashes for darr-0.1.7.tar.gz
Algorithm Hash digest
SHA256 e0cc09dff4d71297663ae412672405a6c3e43a0515ad866d57c546fb7385fa81
MD5 5adca119a4b38aa5163f3721dc83f239
BLAKE2b-256 f28e1facfa75082db07f4482f937343548b6a532a715635f48361c3299578aac

See more details on using hashes here.

File details

Details for the file darr-0.1.7-py3-none-any.whl.

File metadata

  • Download URL: darr-0.1.7-py3-none-any.whl
  • Upload date:
  • Size: 26.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.18.4 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.4

File hashes

Hashes for darr-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 8f00edb549d907351a8e8a55859a02ceb752bb695d7795287b47770d538bcc76
MD5 8ad0b6e08c19492b76ea3e368ab9cbbe
BLAKE2b-256 75830a4fdcfcdcb67b765f1982785da656a344370fd8a56cd53b2743e436f4c7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page