quez 0.0.1__tar.gz → 0.0.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.3
|
2
2
|
Name: quez
|
3
|
-
Version: 0.0.
|
3
|
+
Version: 0.0.2
|
4
4
|
Summary: Pluggable, compressed in-memory queues for both sync and asyncio applications.
|
5
5
|
License: MIT
|
6
6
|
Author: Chaiwat Suttipongsakul
|
@@ -16,15 +16,15 @@ Project-URL: Homepage, https://sr.ht/~cwt/qzq/
|
|
16
16
|
Project-URL: Repository, https://hg.sr.ht/~cwt/qzq
|
17
17
|
Description-Content-Type: text/markdown
|
18
18
|
|
19
|
-
# **
|
19
|
+
# **quez**
|
20
20
|
|
21
|
-
**
|
21
|
+
**quez** is a pluggable compressed queue for high-performance, memory-efficient buffering in both synchronous and asynchronous Python applications.
|
22
22
|
|
23
23
|
This library provides a solution for managing large volumes of in-memory data, such as in streaming data pipelines, logging systems, or high-throughput servers. It transparently compresses objects as they enter a queue and decompresses them upon retrieval, drastically reducing the memory footprint of in-flight data while preserving a simple, familiar queue interface.
|
24
24
|
|
25
25
|
### Key Features
|
26
26
|
|
27
|
-
* **Dual Sync and Async Interfaces**: Provides both a thread-safe `
|
27
|
+
* **Dual Sync and Async Interfaces**: Provides both a thread-safe `quez.CompressedQueue` for multi-threaded applications and an `quez.AsyncCompressedQueue` for `asyncio`, both sharing a consistent API.
|
28
28
|
* **Pluggable Compression Strategies**: Ships with built-in, interchangeable strategies for zlib (default), bz2, and lzma. The architecture allows you to easily provide your own custom compression, serialization, or encryption algorithms.
|
29
29
|
* **Built-in Stats for Observability**: Monitor the queue's state in real-time with the `.stats` property, which provides item count, total raw and compressed data sizes, and the live compression ratio.
|
30
30
|
* **Designed for Performance**: In the `asyncio` version, CPU-bound compression and decompression tasks are automatically run in a background thread pool to keep the event loop unblocked and your application responsive.
|
@@ -1,12 +1,12 @@
|
|
1
|
-
# **
|
1
|
+
# **quez**
|
2
2
|
|
3
|
-
**
|
3
|
+
**quez** is a pluggable compressed queue for high-performance, memory-efficient buffering in both synchronous and asynchronous Python applications.
|
4
4
|
|
5
5
|
This library provides a solution for managing large volumes of in-memory data, such as in streaming data pipelines, logging systems, or high-throughput servers. It transparently compresses objects as they enter a queue and decompresses them upon retrieval, drastically reducing the memory footprint of in-flight data while preserving a simple, familiar queue interface.
|
6
6
|
|
7
7
|
### Key Features
|
8
8
|
|
9
|
-
* **Dual Sync and Async Interfaces**: Provides both a thread-safe `
|
9
|
+
* **Dual Sync and Async Interfaces**: Provides both a thread-safe `quez.CompressedQueue` for multi-threaded applications and an `quez.AsyncCompressedQueue` for `asyncio`, both sharing a consistent API.
|
10
10
|
* **Pluggable Compression Strategies**: Ships with built-in, interchangeable strategies for zlib (default), bz2, and lzma. The architecture allows you to easily provide your own custom compression, serialization, or encryption algorithms.
|
11
11
|
* **Built-in Stats for Observability**: Monitor the queue's state in real-time with the `.stats` property, which provides item count, total raw and compressed data sizes, and the live compression ratio.
|
12
12
|
* **Designed for Performance**: In the `asyncio` version, CPU-bound compression and decompression tasks are automatically run in a background thread pool to keep the event loop unblocked and your application responsive.
|
quez-0.0.1/quez/__init__.py
DELETED
File without changes
|
File without changes
|