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
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9b0bd43f717a3004bd37a07680918946450e484cea0fa9747eb0accd52e5b2ed
|
|
| MD5 |
ad848712e3dbd15ba0c257502d095e5c
|
|
| BLAKE2b-256 |
c8ca063a002aaf8ab31c6795a22af0abcbe1e6fdbf59bd3a3c7153674bff5b62
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7d698356c513e613f513033406a6b98d78731a75e5e306a56409ef30c03c85f7
|
|
| MD5 |
7b156fbdb8461c95c9f0e3f8fbe892c4
|
|
| BLAKE2b-256 |
ecf58523a2c4452ac485ce224d0442d09c3916aee722400b9e17bc83fda4276b
|