Skip to main content

An ultra-lightweight data streaming library designed to prevent Out-of-Memory crashes on mobile IDEs like Pydroid 3.

Project description

PyLiteStream

An ultra-lightweight, memory-optimized streaming library engineered explicitly for resource-constrained environments like mobile IDEs (Pydroid 3, Termux).

The Problem

Loading large datasets (2GB+) into standard Python data structures causes immediate application crashes on mobile hardware due to extreme memory spikes.

The Solution

PyLiteStream utilizes custom stateful generators and forced garbage collection to parse massive data assets sequentially in strict, isolated memory packets, ensuring total memory stability.

How To Use

from pylitestream import PyLiteStreamer

# Open any massive database file safely in 10MB blocks
optimizer = PyLiteStreamer("giant_database.txt", chunk_size_mb=10)

for index, packet in optimizer.stream_packets():
    print(f"Processing packet {index}")

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

pylitestream-0.1.0.tar.gz (1.6 kB view details)

Uploaded Source

Built Distribution

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

pylitestream-0.1.0-py3-none-any.whl (2.1 kB view details)

Uploaded Python 3

File details

Details for the file pylitestream-0.1.0.tar.gz.

File metadata

  • Download URL: pylitestream-0.1.0.tar.gz
  • Upload date:
  • Size: 1.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.34.2

File hashes

Hashes for pylitestream-0.1.0.tar.gz
Algorithm Hash digest
SHA256 9b0bd43f717a3004bd37a07680918946450e484cea0fa9747eb0accd52e5b2ed
MD5 ad848712e3dbd15ba0c257502d095e5c
BLAKE2b-256 c8ca063a002aaf8ab31c6795a22af0abcbe1e6fdbf59bd3a3c7153674bff5b62

See more details on using hashes here.

File details

Details for the file pylitestream-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: pylitestream-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 2.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.34.2

File hashes

Hashes for pylitestream-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7d698356c513e613f513033406a6b98d78731a75e5e306a56409ef30c03c85f7
MD5 7b156fbdb8461c95c9f0e3f8fbe892c4
BLAKE2b-256 ecf58523a2c4452ac485ce224d0442d09c3916aee722400b9e17bc83fda4276b

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