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.61.tar.gz
(3.9 kB
view hashes)
Built Distribution
Close
Hashes for json_file_split-0.0.61-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 387557fb4c6116b3e667ab242a880d156b2566cf7458307865b87dc4739d112d |
|
MD5 | 8b34bbbbc1d02d9bbd806196106082d6 |
|
BLAKE2b-256 | 9f68b58312690aa678739961c6dac33d7c9cb57380895ff653ba00fa97b1ef9c |