Miscellaneous utility code written in Python. Modules within this library include:
AccumulatorDict
- Adict
where keys are lists or sets andaccumulator_dict[key] = value
will addvalue
to 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
dirf
function a wrapper around the built-indir
function that adds filtering capabilities.
json_get
function for extracting data from within nested lists and dicts such as those returned from a JSON api.locate_key
function for searching through JSON for a dict key matching a regular expression
- Added
dirf
module
- Added
accumulator_dict
module.
- Added
data_structures
module
- Added
string
module with normalize_whitespace function
- Added
json.locate_key
function - Got
dirf.dirf
working.