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.198-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8d343603f9b1c6acc623157ac54136e16fc5de355e256d62d82e9f29415a2a93 |
|
MD5 | c8cd7939bc548072475890f77bf3ed68 |
|
BLAKE2b-256 | 803ce25a98d92949a54effb992208aa244d257a349e18e329ed89b477875020f |