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.142-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0a8f2e196409b3de13c1fd332bfc019bd78fce2b8bad6c0954a8d5fc7574dd6f |
|
MD5 | c33038bae22c76dfd3779e51f2d30d33 |
|
BLAKE2b-256 | 5c9f43736fc14b22b93736a17fb96ec35231b76959fc5eb4d47bf3ea74d5f0fd |