Skip to main content

Split a json or jsonl file into different chunks.

Project description

fsai-file-split

Split a json or jsonl file into different chunks.

Installation

pip install fsai-file-split

Usage

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fsai-file-split-0.1.2.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

fsai_file_split-0.1.2-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

Details for the file fsai-file-split-0.1.2.tar.gz.

File metadata

  • Download URL: fsai-file-split-0.1.2.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.10.4 Darwin/21.4.0

File hashes

Hashes for fsai-file-split-0.1.2.tar.gz
Algorithm Hash digest
SHA256 f92ab80d6a6ebb0f28cdf1178978931fcba6d5ac028fd24878b37d4016c661fc
MD5 f13a4759403a01f7730cba580b2ad693
BLAKE2b-256 c3713ccaacc1ba12813bdbc98b8a6640c287cf6019f2ee4d34c785f6906353fe

See more details on using hashes here.

File details

Details for the file fsai_file_split-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: fsai_file_split-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 5.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.10.4 Darwin/21.4.0

File hashes

Hashes for fsai_file_split-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 017af79a37600b7a98c6bde0d0ddad2c9f1d52e418bbe87114dd91793d7c94c6
MD5 c00e18e8b5e6ba51574eb6f9ed833500
BLAKE2b-256 ba4d5c45a257635fc23a19ba6a5a9fe85d126863ba2511409457863899e5cb58

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