# Is there a Julia function that returns h5 group structures à la h5dump?

**URL:** <https://discourse.julialang.org/t/is-there-a-julia-function-that-returns-h5-group-structures-a-la-h5dump/102778>\
**Category:** Data\
**Tags:** hdf5\
**Created:** [August 13, 2023, 11:37pm UTC](https://discourse.julialang.org/t/is-there-a-julia-function-that-returns-h5-group-structures-a-la-h5dump/102778 "2023-08-13T23:37:08Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![mkitti](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mkitti/32/12459_2.png) [@mkitti](https://discourse.julialang.org/u/mkitti)\
**Post date:** [September 6, 2023, 8:18am UTC](https://discourse.julialang.org/t/is-there-a-julia-function-that-returns-h5-group-structures-a-la-h5dump/102778/11 "2023-09-06T08:18:21Z")

</div>

I’m guessing this issue is related:

> <https://github.com/JuliaIO/HDF5.jl/issues/1096#issue-1850329551>
>
> Is there a path to HDF5.jl supporting tab completion? It would be very powerful …for navigating opened h5 files but I'm guessing there is a good reason that it doesn't already exist.

which subsequently led to another forum thread:

> [@How does nested tab completion work in the REPL?](https://discourse.julialang.org/t/how-does-nested-tab-completion-work-in-the-repl/102953/4):
>
> Setup: begin using HDF5, Downloads url = "https://github.com/evetion/SpaceLiDAR-artifacts/releases/download/v0.3.0/ATL08\_20201121151145\_08920913\_006\_01.h5"; fn = Downloads.download(url, basename(url)) h5f = h5open(fn) end begin h5\_to\_tuple(h5o::Union{HDF5.File,HDF5.Group}) = NamedTuple(Symbol.(keys(h5o)) .=\> h5\_to\_tuple.(getindex.((h5o,), keys(h5o)))) h5\_to\_tuple(h5o) = h5o nt = h5\_to\_tuple(h5f) end This works in the REPL: julia\> nt.[TAB] METADATA …

---

_[View the full topic](https://discourse.julialang.org/t/is-there-a-julia-function-that-returns-h5-group-structures-a-la-h5dump/102778)._
