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.5.tar.gz
(2.1 kB
view hashes)
Built Distribution
Close
Hashes for pyfileloader-0.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 47c61845c81999a591c27dfa569c7679872676a5291adbce4bc5bff7ac5589c9 |
|
MD5 | ab31b60d574b5f001916d6570b51c060 |
|
BLAKE2b-256 | 455154257eb411d4020dd69490a65baa218740f5e5462a05473137c16718a64a |