pttree(1)
π pttree β like, the group-chat recap of your HDF5 file
okay bestie, so pttree(1) β that's a General Commands Manual page for the command pttree. Let's get into it β¨
πΈ NAME πΈ
pttree β prints a quick overview of the contents of PyTables HDF5 files. no cap, that's literally it.
π SYNOPSIS π
pttree [ OPTIONS ] filename[:nodepath]
yes queen, you give it a filename, and if you're feeling extra you can slap a :nodepath on the end too π«Ά
π¦ DESCRIPTION π¦
so pttree is designed to give you a quick overview of the contents of a PyTables HDF5 file β it prints a depth-indented list of nodes, basically the same energy as the output of the Unix tree function. iconic behaviour, honestly.
it can also show you the size</>, shape</> and compression states</> of individual nodes, plus summary info for the whole file. slay.
π real talk though β if you want something way more verbose (like, metadata and all that), you wantptdumpinstead.pttreeis the chill version.
β¨ OPTIONS β¨
here's the rundown, bestie. a summary of options is included below π
-L MAX_DEPTH,--max-level MAX_DEPTHβ the maximum branch depth of the tree to display. and listen:-1means no limit, so go feral π-S SORT_BY,--sort-by SORT_BYβ artificially orders the nodes for you. it can be either"size","name"or"none"β pick your vibe π--print-sizeβ prints the size of each node/branch. go off π--no-print-sizeβ the counterpart to that one π--print-shapeβ prints the shape of each node π·--no-print-shapeβ yep, the other side of it π«Ά--print-compressionβ prints the compression library(level) for each compressed node ποΈ--no-print-compressionβ the off switch for that π--print-percentβ prints the size of each node as a % of the total tree size on disk. percentages?? obsessed π--no-print-percentβ and the counterpart again π--use-si-unitsβ reports sizes in SI units, where1 MB == 10^6 Bβ¨--use-binary-unitsβ reports sizes in binary units, where1 MiB == 2^20 Bπ§-hβ print help on usage. when in doubt,-h, fr fr π
π SEE ALSO π
ptdump(1).- these utilities are documented fully by the PyTables user's manual. iykyk π
π AUTHOR π
this manual page was written by Antonio Valentino <antonio.valentino@tiscali.it>. giving credit where credit is due, as we should π
okay and for the cute lil sign-off: this page is from the General Commands Manual, and it's dated May 15, 2013 β and the command itself is pttree(1), in case you lost the plot somewhere in the middle bestie ππ go read your HDF5 files, you've got this. periodt. β¨π¦πΈ
π¦ where this page comes from
- debian bookworm: python3-tables 3.7.0-5 Β· BSD-3-Clause
- debian trixie: python3-tables 3.10.2-2 Β· BSD-3-Clause
- ubuntu jammy: python3-tables 3.7.0-2build1 Β· BSD-3-Clause
- ubuntu noble: python3-tables 3.9.2-1build3 Β· BSD-3-Clause
- ubuntu questing: python3-tables 3.10.2-3
- ubuntu resolute: python3-tables 3.10.2-3build3 Β· BSD-3-Clause
- ubuntu stonking: python3-tables 3.11.1-3 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms