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
json-file-split-0.0.59.tar.gz
(3.9 kB
view hashes)
Built Distribution
Close
Hashes for json_file_split-0.0.59-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 96736acd873eb6c150556f6ec4dcf8ec8a560ccd007445b4d5863d7f73fd50dc |
|
MD5 | 7eeb6eab3fc59e2f1cd7a9913d1df72c |
|
BLAKE2b-256 | 0cd8c2b3bc2440021ca435e99d29ec3bcebd74c7ebf56678b7d08551d4864611 |