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.7.tar.gz
(6.3 kB
view hashes)
Built Distribution
Close
Hashes for jocassid_commons-0.0.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 49178b409ca700553f0563235c664d67265fbb499f0d742cc34fd620f3ef5800 |
|
MD5 | c7d89007125a2f8e6ed50ccbe99e870b |
|
BLAKE2b-256 | 31fc823b70f42780194250610f824f1969ef799504d1bac09aa73ce5bcc06b95 |