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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file json_file_split-0.0.261.tar.gz.
File metadata
- Download URL: json_file_split-0.0.261.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.3 Linux/6.11.0-1018-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e9c3bf26445013397ed62e7dcdc1a7591af39dd0420578109b5bf11722fe06a9
|
|
| MD5 |
4856e8b9be8ed5f2e0d823c399fdfa12
|
|
| BLAKE2b-256 |
12ec4f8a237d60350439fbb985543e64b0fe526735d255b108dda98962ab8cd2
|
File details
Details for the file json_file_split-0.0.261-py3-none-any.whl.
File metadata
- Download URL: json_file_split-0.0.261-py3-none-any.whl
- Upload date:
- Size: 5.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.3 Linux/6.11.0-1018-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
264e9d00def41f88bccbd21321231a73b0a3cc913d5ede106d4e584b91f14601
|
|
| MD5 |
ae895ac33a9023335e0b971123c6aa3b
|
|
| BLAKE2b-256 |
8058d659e79bcdb73884580fb3985b000b736e9e701369ea521f32bd0a2ec307
|