-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* first skeleton * added conversion to ndarray * first hdf5 export * fixed unique naming for hdf5 group * no default feature warnings fix * fixed bug with string parsing * adapted tests for hdf5 parsing * added metadata in hdf5 file * more file metadata * introduced most used compressions for hdf5 * added more inline for performance * put back C Api for parquet and hdf5 export * added possibility to compile for parallel HDF5 * come clippy improvement --------- Co-authored-by: «ratal» <«[email protected]»>
- Loading branch information
Showing
15 changed files
with
1,379 additions
and
234 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "mdfr" | ||
version = "0.6.1" | ||
version = "0.6.2" | ||
description = "A package for reading and writing MDF files" | ||
authors = ["ratal <[email protected]>"] | ||
edition = "2021" | ||
|
@@ -12,10 +12,13 @@ readme = "README.md" | |
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
[features] | ||
default = ["numpy", "parquet", "polars"] | ||
default = ["numpy", "parquet", "polars", "hdf5"] | ||
numpy = ["dep:numpy", "dep:pyo3"] | ||
polars = ["dep:polars", "dep:numpy", "dep:pyo3"] | ||
parquet = ["dep:parquet"] | ||
hdf5 = ["dep:hdf5", "ndarray"] | ||
ndarray = ["dep:ndarray"] | ||
hdf5-mpio = ["hdf5/mpio"] | ||
|
||
[dependencies] | ||
clap = "4" # for input arguments | ||
|
@@ -54,6 +57,10 @@ polars = { version = "0.39", features = [ | |
"fmt", | ||
], optional = true } # for python dataframe | ||
parquet = { version = "51.0.0", optional = true } # to write parquet file | ||
hdf5 = { version = "0.8", optional = true, features = [ | ||
"lzf", | ||
] } # to export into hdf5 file | ||
ndarray = { version = "0.15", optional = true } # to convert arraw data into ndarray, needed for hdf5 | ||
|
||
[dependencies.pyo3] | ||
version = "0.20" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.