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.23.tar.gz
(3.9 kB
view hashes)
Built Distribution
Close
Hashes for json_file_split-0.0.23-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ce232c293e46142191f9a8fd76648a19807274e9967e2e18ca66f8cc6d28fd53 |
|
MD5 | fe42bedd1862c0c67df3915aabb819e7 |
|
BLAKE2b-256 | 1f14041f8f4adb1e0c4d7bdd22f8f6b9fa294fe072495b7907c9db2b098f3d58 |