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
Built Distribution
Close
Hashes for json_file_split-0.0.140-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2efcd032a3c2c8612aac97bc71b1d093449e5b45bc53e285199d2800d73cdda1 |
|
MD5 | 54c1827e9b5b461901133557c64f33ac |
|
BLAKE2b-256 | 9eaa3be9fa3a58979b1a80836d00c321220754153aa0aa7ad06457bd5e8bb659 |