Miscellaneous utility code written in Python. Modules within this library include:
AccumulatorDict- Adictwhere keys are lists or sets andaccumulator_dict[key] = valuewill addvalueto the list or set for that key
MergeQueue- An Iterable that merges data from two or more iterables or iterators. It's original purpose was to merge two iterables of sorted data while retaining the sort order.
- Contains the
dirffunction a wrapper around the built-indirfunction that adds filtering capabilities.
json_getfunction for extracting data from within nested lists and dicts such as those returned from a JSON api.locate_keyfunction for searching through JSON for a dict key matching a regular expression
- Added
dirfmodule
- Added
accumulator_dictmodule.
- Added
data_structuresmodule
- Added
stringmodule with normalize_whitespace function
- Added
json.locate_keyfunction - Got
dirf.dirfworking.