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.119-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 99a00e2233b4629306392156caa770932a453793f35b30a4fd3767b356d6a730 |
|
MD5 | 529e1a6ae800dba528bcae3d93284014 |
|
BLAKE2b-256 | 1c63052b4f0d7580a5646570edd003056ba7d9c72b964b9f9227ec4338fc950f |