hdf5

Version, currently main branch1 version
  • main branchlatestJun 23, 2026

github.com/kojix2/hdf5.cr

No description declared in shard.yml.

0 stars
0 dependents
License: MIT

Installation

# Add this to your shard.yml
dependencies:
  hdf5:
    github: kojix2/hdf5.cr
    branch: main

main is a branch, not a release, so this tracks it rather than pinning a version.

Then run:

shards install

shard.yml

Crystal
>= 1.20.0
License
MIT
Author
kojix2

Dependencies

This version declares no dependencies.

README

hdf5.cr

CI Lines of Code Static Badge

HDF5 bindings for Crystal.

Installation

dependencies:
  hdf5:
    github: kojix2/hdf5.cr

Usage

require "hdf5"

HDF5::File.open("data.h5", :w) do |file|
  file.write_dataset("values", [1.0, 2.0, 3.0])
  file.set_attribute("title", "example")
end

HDF5::File.open("data.h5", :r) do |file|
  p file.read_dataset("values", Float64)
  p file.get_attribute("title", String)
end

License

MIT