Miscellaneous utility functions
Project description
jocassid-commons
Overview
Miscellaneous utility code written in Python. Modules within this library include:
accumulator_dict
AccumulatorDict
- Adict
where keys are lists or sets andaccumulator_dict[key] = value
will addvalue
to the list or set for that key
data_structures
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.
dirf
- Contains the
dirf
function a wrapper around the built-indir
function that adds filtering capabilities.
json
- Contains the
json_get
method for extracting data from within nested lists and dicts such as those returned from a JSON api.
Changelog
0.0.4
- Added
dirf
module
0.0.6
- Added
data_structures
module
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
jocassid_commons-0.0.6.tar.gz
(6.7 kB
view hashes)
Built Distribution
Close
Hashes for jocassid_commons-0.0.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f6b85f0c031979da7c25439d9aad799841c6d0aec55b21e9e78c790800ad6bc8 |
|
MD5 | c15626b562c99d393fb600072268b6cd |
|
BLAKE2b-256 | 5d13c96818abba93b8d9436d15ba7d0ff40bf69f2402f6317bed59b116af059e |