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.77.tar.gz
(3.9 kB
view hashes)
Built Distribution
Close
Hashes for json_file_split-0.0.77-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5c9afb525c9a252fb2b8e5c9480edb39c48babfd9c50bb37247b965fe77b1087 |
|
MD5 | fef63aad8d2474ad9ecb6a8f45cece93 |
|
BLAKE2b-256 | 15b63e217df06d1e6651bbbe247dd491c4367ef4a96c71b75d81a09c6474d837 |