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.265.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.265-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: json_file_split-0.0.265.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.17.0-1008-azure

File hashes

Hashes for json_file_split-0.0.265.tar.gz
Algorithm Hash digest
SHA256 3787ca4af48ccf6f548a9a00ec5a424302a808d88da4ca15049e338eec6a27c8
MD5 9bb7498b3a3875052120eb2a8847f436
BLAKE2b-256 2a07016f5e83310d8f3b84c89350b8f448e5139f2ef7fbca5992f8ffa094a0eb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: json_file_split-0.0.265-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.17.0-1008-azure

File hashes

Hashes for json_file_split-0.0.265-py3-none-any.whl
Algorithm Hash digest
SHA256 800506235747059d7c7f8a86a6a800ec00b09df473a7d5a5d23813207139d558
MD5 083923f32877ce8694aaf959a9f687bf
BLAKE2b-256 63a096afc4e5f0ada0b449df0cf874f1e36419c7c95076296e568dcaae670b5a

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