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 \
--chunk_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.28.tar.gz
(3.9 kB
view hashes)
Built Distribution
Close
Hashes for json_file_split-0.0.28-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9c4c38194a048c85b683361e86f2b2d842a5abcfa12d7d6364d42847af5473cc |
|
MD5 | e99ceeef25a3a58d1f63cd71156cdb81 |
|
BLAKE2b-256 | ab2de0c574c8463ef5e2a3e419c61a4643337133be765ac910c95c16ad14fb39 |