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.143-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f0bbf21dccbad165fc1144a13f248aef8c3b53f4cf2a778cfd1fcc81c21c3c66 |
|
MD5 | 3977489530ad0b66b814195324ae2da4 |
|
BLAKE2b-256 | 9accc7e3ca1fee110293f7830f0db66a99a8f743d8f3ac28b55adda0a1cd3244 |