Project Status: Active – The project has reached a stable, usable state and is being actively developed. Build status codecov Latest documentation

DataDrop.jl

Simple package for storing data to the disk:

  • Store and retrieve matrices, both dense and sparse, and number and string scalar values, using the HDF5 machine-independent binary format.

  • Store and retrieve dictionaries of values using the JSON format.

To store and retrieve data is as simple as

julia> using DataDrop
   
julia> using SparseArrays  
   
julia> c = sprand(4, 3, 0.5)     
4×3 SparseMatrixCSC{Float64, Int64} with 5 stored entries:     
  ⋅   ⋅   0.780225   
  ⋅  0.0612236   ⋅   
  ⋅   ⋅    ⋅   
 0.262007  0.778962   0.0651033  
   
julia> DataDrop.store_matrix("c.h5", c)   
   
julia> yac = DataDrop.retrieve_matrix("c.h5")   
4×3 SparseMatrixCSC{Float64, Int64} with 5 stored entries:     
  ⋅   ⋅   0.780225   
  ⋅  0.0612236   ⋅   
  ⋅   ⋅    ⋅   
 0.262007  0.778962   0.0651033