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 details)
Built Distribution
File details
Details for the file pyfileloader-0.0.7.tar.gz
.
File metadata
- Download URL: pyfileloader-0.0.7.tar.gz
- Upload date:
- Size: 2.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 38238d09495df42a3e555585cc12b9f84ffc27cb63fb840ade3d1d6192536a2f |
|
MD5 | fd096987d5f4badcf1230ddb6495e01c |
|
BLAKE2b-256 | 1225b84a7c2bac16cb37a4065e0965c36ae8d37de9ceedcccb906f13819dbd37 |
File details
Details for the file pyfileloader-0.0.7-py3-none-any.whl
.
File metadata
- Download URL: pyfileloader-0.0.7-py3-none-any.whl
- Upload date:
- Size: 2.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d2344ad03e0a3af50b32a24b247cf20b14964c94c072d434c4520beb72df3f1a |
|
MD5 | 5926bbb4484659b8906856d8859a64cf |
|
BLAKE2b-256 | d310b2bf5bef14f7a0647d842bd653f21854964de73c604b0d6f4028d5ec99c2 |