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.197-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f73d932ed81e95bdabaace3d08a2e7b3084848131c7a6e15428fee326cd328ff |
|
MD5 | eb4bba160edc72aadac1a24a37e195c3 |
|
BLAKE2b-256 | 6a01ed8818f6a4689185b2bb98457ba55d33fe2d373295df1f0e99a33752c14e |