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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for json_file_split-0.0.141-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 178dab6a78c449ed72887655aab5512fbfd48417fed059d27172a19df2c2d111 |
|
MD5 | ca3f9870523e5ce5ae1c995c20b11b79 |
|
BLAKE2b-256 | 3a85ea31b34312f93dd77c4f703616e8f3a638fdb64450502953334afb05825d |