Skip to main content

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.258.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

json_file_split-0.0.258-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

Details for the file json_file_split-0.0.258.tar.gz.

File metadata

  • Download URL: json_file_split-0.0.258.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

Hashes for json_file_split-0.0.258.tar.gz
Algorithm Hash digest
SHA256 20c9e9d7a5a1eaa28d78e19a9dd54f706ecc4306b9d3d6fc555c7996fbcd2d66
MD5 1396987b233ae161e0771db9eba7924c
BLAKE2b-256 bd4192e7c1aa675ad48fac4bb3ef7299355f311e3c21b9b572410690cb49eaa4

See more details on using hashes here.

File details

Details for the file json_file_split-0.0.258-py3-none-any.whl.

File metadata

  • Download URL: json_file_split-0.0.258-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

Hashes for json_file_split-0.0.258-py3-none-any.whl
Algorithm Hash digest
SHA256 ac3037e91c8703d8b3c69d08309602384c694053cf7648899893e337a941d615
MD5 73fbf4f59a508b5e19d2e2eae8a2f9c7
BLAKE2b-256 849827d8eb11622feb51ae33cc5872faaa82e5f15360ab5f8074e4e85c7d752f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page