Split a json or jsonl file into equal chunks.
Project description
json-file-split
Split a json or jsonl file into different chunks.
Installation
pip install json-file-split
Usage
json-file-split \
--input_file_path ./tests/data/test.jsonl \
--save_to_dir /tmp/output/ \
--output_file_name test.jsonl \
--split_by number_of_buckets \
--chunk_size 10
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
json-file-split-0.0.19.tar.gz
(3.9 kB
view hashes)
Built Distribution
Close
Hashes for json_file_split-0.0.19-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 18c4040b1aae9ad38a53b2406ac9c29d444fd9a5dce9628e777051d8021782e1 |
|
MD5 | 91c90e59394a83136b5187ef87c832f4 |
|
BLAKE2b-256 | d74b34bec9b1e047b6e30889aa66a29665878e115bf91e8141d8820a6f573352 |