h5py
Read and write HDF5 scientific data files efficiently from Python.
ML and data science PyPI BSD-3-Clause
How h5py is used
h5py is a dependency in 13 of the 6,208 public GitHub projects set up for AI coding agents that we scanned, too few to describe it from them alone. Our scan also samples projects by dependency (Solana 2,661, Ethereum and EVM 1,496, 3D and games 2,818, agent frameworks and SDKs 10,983); counting those, it appears in 233 projects, and what it is used with below comes from all of them. Projects that use it most often also use NumPy (96.6%), Matplotlib (90.1%), SciPy (84.1%).
h5py popularity over time
Gid Score 60: downloads 83, use in agent projects 63, GitHub stars 25, downloads trend 59 (each 0-100). How it is calculated.
Often used with h5py
| NumPy | 96.6% of h5py projects · 16.6× more than average |
|---|---|
| Matplotlib | 90.1% of h5py projects · 33.5× more than average |
| SciPy | 84.1% of h5py projects · 46.2× more than average |
| NetworkX | 82.4% of h5py projects · 82.5× more than average |
| Requests | 82.4% of h5py projects · 12.1× more than average |
| scikit-learn | 82.0% of h5py projects · 38.3× more than average |
| Markdown | 81.5% of h5py projects · 110.1× more than average |
From all 233 projects in our scan that use h5py, including the dependency samples.
By coding agent
| Claude Code | 0.3% of projects set up for it |
|---|---|
| GitHub Copilot | 0.2% of projects set up for it |
| Cursor | 0.2% of projects set up for it |
Share of public repos configured for each agent that list h5py as a dependency.
Install
| Package | pip install h5py |
|---|---|
| Main stacks | Python (231), Next.js (2) |
| Example projects | BlackArbsCEO/Adv_Fin_ML_Exercises, rsanshierli/EasyBert, Luffy03/Large-Scale-Medical, pengyou200902/Doctor-Friende, fmcarlucci/JigenDG |
Alternatives to h5py
In our scan, none of the most used tools in ML and data science does the same job as h5py: they are add-ons, companions or tools for a different task.
More in ML and data science: NumPy pandas scikit-learn SciPy PyTorch Sentence Transformers Hugging Face Transformers NetworkX