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.174-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 572989bc51bf32e370cbaa7d3adfac7d2e9251fdef6fcc79665c01f8eb3b6894 |
|
MD5 | a0d6d70a7bf7c1f0175d51582ef2ff10 |
|
BLAKE2b-256 | 02235a7849f1af0b30c028fe7f204b09337b93017035323452c59d0cec33efb3 |