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.138-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0aacc1f38cfe6c5125ee67e835b95da14a327e6c49317fe270ea240a7f2f5d4b |
|
MD5 | 93e8287df1efc67433576abd1d11b5fd |
|
BLAKE2b-256 | da9ac89133ea667c4fa1b5a4f60515e980b7986b3238a0a9f44d2d90370f6bce |