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.81.tar.gz
(3.9 kB
view hashes)
Built Distribution
Close
Hashes for json_file_split-0.0.81-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2cd8ef3a3bb398dc3ac2d198c5406d091536adb6dc1f67852bb4955d91ecff18 |
|
MD5 | 7711ec28ffca19d92a2371b85681f71e |
|
BLAKE2b-256 | 1b2a1fa11deb78c17c1271244f7aef196a0efeaaac78dbd0e9a2d7187dea01d0 |