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.131-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1ec02590f083fd9c1c2b9720d6d6ce9c03d05b9e0d68c3fe04d0827f9cd9de69 |
|
MD5 | 2733c0724ae1d03fd7f5635eb253130e |
|
BLAKE2b-256 | 8648181abff8d2ec77512e655ff4d2537b34c5e89ff15204ed5b2160ffadec2f |