Miscellaneous utility functions
Project description
jocassid-commons
Overview
Miscellaneous utility code written in Python. Modules within this library include:
accumulator_dict
- Contains AccumulatorDict, a dict object where values are sets or lists. Assigning a value to a key (i.e.accumulator_dict['key'] = value
) will automatically add/append the value to the list (creating a set or list if the key doesn't exist)dirf
- Contains thedirf
function a wrapper around the built-indir
function that adds filtering capabilities.json
- Contains thejson_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.5
- Added
accumulator_dict
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.5.tar.gz
(5.0 kB
view hashes)
Built Distribution
Close
Hashes for jocassid_commons-0.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 18dedeb57abc40d193bb1ffdc491f3f68f3d5d36a53367a7639ca9dac0c1ee8a |
|
MD5 | feaf0857423987cab8af94cc42a246e3 |
|
BLAKE2b-256 | 85d1c73dbeb7a3cd0c28f86830c41bf6229915b781d69b7e2aed7e92cdc1086f |