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 \
--batch_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.95.tar.gz
(3.9 kB
view hashes)
Built Distribution
Close
Hashes for json_file_split-0.0.95-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 85b483a3965884952c9a745c26d2e670a0009e979a955b75ef151553b5e99dd2 |
|
MD5 | a3c3255cfd5b95a2af984958977b8f05 |
|
BLAKE2b-256 | de086aaff5d704bef4f0f13e1516832aaacbdfb047b1ef648cfb79aee67e3630 |