PTREPACK(1)
π PTREPACK(1) π
okay so bestie, welcome to the General Commands Manual glow-up of ptrepack π this is the whole entire vibe, no cap.
β¨ NAME β¨
ptrepack β copy any PyTables Leaf, Group or complete subtree into another file π¦
β¨ SYNOPSIS β¨
ptrepack -h -v -o -R start,stop,step --non-recursive --dest-title=title
--dont-copyuser-attrs --overwrite-nodes --complevel=(0-9) --complib=lib
--shuffle=(0|1) --fletcher32=(0|1) --keep-source-filters
--upgrade-flavors --dont-regenerate-old-indexes sourcefile:sourcegroup
destfile:destgroup
β¨ DESCRIPTION β¨
So basically π
ptrepack copies any Leaf, Group or complete subtree out of a PyTables file and drops it into a whole other file. It's giving moving day, but for your data. Slay.
β¨ OPTIONS β¨
Here's the lil rundown of everything you can pass it, bestie β every single one, we're not skipping a thing π«Ά
-hβ prints a help text. ur friendly lil "what do I even type" button πΈ-vβ show more information. she's chatty and we love that for her β¨-oβ overwrite the destination file. bold move, iconic energy π-R RANGEβ pick a RANGE of rows, in the formstart,stop,step, while copying all the leaves. like a lil slice of the whole cake π--non-recursiveβ do NOT do a recursive copy. (default is that it does do the recursive copy, so this is the "actually, just the one level please" flag π)--dest-title=titleβ title for the new file. if u don't specify one, the source gets copied over instead π--dont-copy-userattrsβ do not copy the user attrs (default is to copy them, so this is the "leave my lil extras at home" option) π--overwrite-nodesβ overwrite destination nodes if they already exist. default is not to overwrite them, so heads up β οΈ--complevel=(0-9)β set a compression level.0means no compression, and that's the default π§--complib=libβ set the compression library to be used during the copy.libcan be"zlib","lzo","ucl"or"bzip2". defaults to"zlib"π--shuffle=(0|1)β activate or not the shuffling filter. default is active ifcomplevel>0π₯--fletcher32=(0|1)β whether to activate or not the fletcher32 filter. not active by default π--keep-source-filtersβ use the original filters from the source files. the default is not doing that if any of--complevel,--complib,--shuffleor--fletcher32is specified β--upgrade-flavorsβ when repacking PyTables 1.x files, the flavor of leaves gets unset. with this, such leaves get serialized as objects with the internal flavor ("numpy"for the 2.x series) π--dont-regenerate-old-indexesβ disable regenerating old indexes. the default is to regenerate old indexes as they're found π
β¨ SEE ALSO β¨
ptdump(1)π¦
These utilities are documented fully by the PyTables user's manual π
β¨ AUTHOR β¨
This manual page was written by Francesc Altet <faltet@carabos.com> π
and that's the whole page bestie, we ate and left no crumbs π β¨ this lil masterpiece is from July 7, 2007, and it lives under the PTREPACK(1) name in the General Commands Manual β periodt, bye ππ«Ά
π¦ 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