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 \
--chunk_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.33.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file json-file-split-0.0.33.tar.gz.

File metadata

  • Download URL: json-file-split-0.0.33.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.0 CPython/3.8.10 Linux/5.15.0-1019-azure

File hashes

Hashes for json-file-split-0.0.33.tar.gz
Algorithm Hash digest
SHA256 22df0cf51f79701eecd0a22adc211db2053f74861b451aead24d36d4fcf74bd5
MD5 51d120232ccec756ad112d8ff429f46e
BLAKE2b-256 91f0dc0655d2bb1d1a1560e78644a372fccbb1cfc02ace5c8346164033cae2d9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: json_file_split-0.0.33-py3-none-any.whl
  • Upload date:
  • Size: 5.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.0 CPython/3.8.10 Linux/5.15.0-1019-azure

File hashes

Hashes for json_file_split-0.0.33-py3-none-any.whl
Algorithm Hash digest
SHA256 60fff6c74891793a9742dc3abee4b7789a009d9ffe67af9f779ef4940ef362f4
MD5 fd68bc6f1a32a267649e96272d22df37
BLAKE2b-256 65733bcf552904621f4ea357e09aafcd79e3b575cdeec2c4542e029829ff1cff

See more details on using hashes here.

Supported by

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