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
File details
Details for the file json_file_split-0.0.224.tar.gz
.
File metadata
- Download URL: json_file_split-0.0.224.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.4 CPython/3.10.12 Linux/6.5.0-1025-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c0cf9748e094471591dc55470e8744a623ea71b38eb40934a41400130c18046f |
|
MD5 | 8d87b4e89e223c6ba58152a510d84e9b |
|
BLAKE2b-256 | 4c0eec7c80c1932bd8ecd1bd0bdd3ef56fc58f19260a776af08dd36be45746c4 |
File details
Details for the file json_file_split-0.0.224-py3-none-any.whl
.
File metadata
- Download URL: json_file_split-0.0.224-py3-none-any.whl
- Upload date:
- Size: 5.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.4 CPython/3.10.12 Linux/6.5.0-1025-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c4eb6736b0df15a4fafd8504b9a9045e4dbb94ee06bf521550970f32905aa10c |
|
MD5 | 3c092437b6391b6112e8a0434c2021f3 |
|
BLAKE2b-256 | 2a07158135955094b4c1d870359626fffc9996cd81ee37e5286ae0edb0ef4d24 |