Welcome to libs’s documentation!¶
iterlib¶
-
libs.iterlib.
chunks
(iterable, size=10)¶ Split list into multiple fixed size chunks
-
libs.iterlib.
isplit
(lst, count=10)¶ Split list into n list
-
libs.iterlib.
uniqify
(sequence, key=None) → iter¶ Return uniqify sequence
ndjson¶
-
libs.ndjson.
items_to_ndjsongz
(items, file_path)¶ Write items to ndjsongz
-
libs.ndjson.
ndjsongz_to_items
(file_path)¶ Read ndjsongz to items