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.152-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e2ea11d85de0a62bb2b092e0415defb16254197671d044c37a1a424c447a9dcb |
|
MD5 | 435dd68ac8cd1ead42149ce5e81129b7 |
|
BLAKE2b-256 | 2d3d77cf555e69a19c465403ab929d29db033071fe53ec4938fc628b201616e1 |