~/talk

h5pydantic, from a Synchrotron through Python to HDF5

Talkat PyCon AU 2023 · 2023-08-18..08-22· [python, databases]
links:none on file
slides:none on file

h5pydantic maps Pydantic models to HDF5 so scientists declare group/dataset/attribute schemas in Python and then dump and load .hdf5 files without writing low‑level h5py code; it validates types, enforces required fields, encodes units, and embeds model versioning in files. It generates human‑readable layout docs (Sphinx → PDF) and exposes HDF5 features like per‑dataset compression. It is already used for synchrotron experiments to keep thousands of noisy measurements reproducible and to avoid late‑save failures via validators.

AI-written summary · about

  1. 0:00Start
  2. 2:17Lots of metadata
  3. 6:54What Users and Scientists want
  4. 8:11HDFS Core Concepts
  5. 10:05Hand written, hand wavy hdf5 contents
  6. 11:48Hand written calibration
  7. 14:10Defining the model with h5pydantic
  8. 16:31Using the Model
  9. 20:17Pydantic Fields example
  10. 24:22Design
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.