Load common JSON formats quickly, CSV too.
Project description
fileloader
fileloader
are functions for quickly loading files into lists. Supported types
are txt
, jsonl/ndjson
, and csv
.
Building
pip3 install build && python3 -m build
Installing
pip3 install pyfileloader
Usage
>>> from fileloader import load_jsonl
>>> items = load_jsonl('test-10.jsonl')
>>> len(items)
10
>>> comp_items = load_jsonl('compress-10.jsonl.gz')
>>> len(comp_items)
10
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
pyfileloader-0.0.7.tar.gz
(2.3 kB
view hashes)
Built Distribution
Close
Hashes for pyfileloader-0.0.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d2344ad03e0a3af50b32a24b247cf20b14964c94c072d434c4520beb72df3f1a |
|
MD5 | 5926bbb4484659b8906856d8859a64cf |
|
BLAKE2b-256 | d310b2bf5bef14f7a0647d842bd653f21854964de73c604b0d6f4028d5ec99c2 |