8000 GitHub - jbn/missingbuiltins: Code I write over and over for no good reason
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

jbn/missingbuiltins

Repository files navigation

What

Code I write over and over for no good reason.

Gonna see what happens by means of accretion.

Installation

pip install missingbuiltins

Usage

from missingbuiltins import jsonl_load, jsonl_dump, chunker

items = chunker(range(5), 2)
jsonl_dump("my_items.jsonl", items)  # => 5
got = list(jsonl_load("my_items.jsonl"))  # => [[1, 2], [3, 4], [5]]

About

Code I write over and over for no good reason

Resources

License

Stars

Watchers

Forks

Packages

No packages published
0