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.98.tar.gz
(3.9 kB
view hashes)
Built Distribution
Close
Hashes for json_file_split-0.0.98-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b61e8b5c92d01a8fb24ac035cbc412fc797d94b0aabeedc5ef3fda17f4236599 |
|
MD5 | a48d8ef0b369b427e259700ffaf4d07e |
|
BLAKE2b-256 | 12d64c3dde5131fcf19ffd0feb38d6a254e24b441697d5db0dd908e7a21038ab |