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.149.tar.gz
.
File metadata
- Download URL: json_file_split-0.0.149.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.10.6 Linux/5.15.0-1038-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8de11a59aec7543b25b9c47cd53c7e271b4b6228f12d1610f928e2ba27806f71 |
|
MD5 | 34c026058d8814d5390b8d3c9fe6903e |
|
BLAKE2b-256 | d0238f53dabc7bad085e416d9a57f0ec4ce7d07ab9e89a62659c4b1c66fb16a1 |
File details
Details for the file json_file_split-0.0.149-py3-none-any.whl
.
File metadata
- Download URL: json_file_split-0.0.149-py3-none-any.whl
- Upload date:
- Size: 5.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.10.6 Linux/5.15.0-1038-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c8357a9e53393ec835f84078ac1dff0cfae16d612b4d3e0245e270be4627265e |
|
MD5 | a27a281965708566e55378f64f162f05 |
|
BLAKE2b-256 | a58da887427a9287ee11ea72b94b91929e36d38ce6178c4ad46773748ddb688a |