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

Uploaded Python 3

File details

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

File metadata

  • Download URL: json_file_split-0.0.263.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.14.0-1017-azure

File hashes

Hashes for json_file_split-0.0.263.tar.gz
Algorithm Hash digest
SHA256 39678cff3ca3e32aa7673877e15cf0232f70f2f4437105e73bdb8a62ae814a6a
MD5 7dbddbbeb362445fe7a99f3318f82b62
BLAKE2b-256 f9e83f3872db719211ed40ccc958e42c216ae4d6671448713438e1c007cb6f6b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: json_file_split-0.0.263-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.14.0-1017-azure

File hashes

Hashes for json_file_split-0.0.263-py3-none-any.whl
Algorithm Hash digest
SHA256 19b4b0d0d524764c36087c29a9217a730d2c7c0326a6f61db8d6d9ca53bf09fd
MD5 e2014f87961d9d88193e316ef4c6e10a
BLAKE2b-256 1b2f21b2919f44c331da1bdd8ea8fc51ce977dcb61d2b51e1508b36ec1c558bf

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