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.67.tar.gz
(3.9 kB
view hashes)
Built Distribution
Close
Hashes for json_file_split-0.0.67-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 05f0cc6889fec315b7593ac6dbecf4a2a2de70f4c9a0882f050e6745cec6087a |
|
MD5 | 361ede54c553117007540051886f96d8 |
|
BLAKE2b-256 | 4d4f8fe948606b2ea6eb785d48e379b4c0fc80fbf35ee210b5d9fb10aa4eb3e9 |