Filtering a Package
quilt3
provides a handful of functions for operating on the contents of a package in an entry-by-entry manner. These are helpful for performing more complicated parsing operations on the package:
Notice that these functions operate over (logical_key, entry)
tuples. Each logical_key
is a string. Each entry
is PackageEntry
object, as would be returned if you slice to a leaf node of the package (e.g. p['bar']
).
Last updated