Skip to main content

ChunkifyPy is a Python package designed to simplify the process of breaking down sizable Python objects into smaller, manageable chunks. This package is an invaluable tool for applications requiring seamless streaming or transmission of data in controlled portions.

Project description

Usage

from ChunkifyPy.chunkify import chunkify
long_list = list(range(0, 10**6))  # 1 million elements list
# create a generator of elements where each chunk is of size 0.01 MB (10 KB) or less
result = chunkify(long_list, 0.01)
for chunk in result:
    print(chunk)

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

chunkifypy-0.0.1.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

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

chunkifypy-0.0.1-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

Details for the file chunkifypy-0.0.1.tar.gz.

File metadata

  • Download URL: chunkifypy-0.0.1.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.11.6 Darwin/23.0.0

File hashes

Hashes for chunkifypy-0.0.1.tar.gz
Algorithm Hash digest
SHA256 884cc3fe07be9cb8b031f27ead683770b1670b6ec678650b0c3f88b8018fb7b3
MD5 9bd198074976e0787e6c3919e058326c
BLAKE2b-256 6ae8c7ec56017bbfbffb05ce7608fe36aa1c235dbe43afb1f61a04dd040abb4b

See more details on using hashes here.

File details

Details for the file chunkifypy-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: chunkifypy-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.11.6 Darwin/23.0.0

File hashes

Hashes for chunkifypy-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 83397a2c07d18594e16e88d1428566b227b8b094b67db61962bfe13f9303ec67
MD5 bce68cd36202edbb334545ca0aa13943
BLAKE2b-256 55ff1c12f0da9d2534cf7df517ac99d363f103f5acc73b8dc17e820bd449af3a

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