This project has been archived by its maintainers, and is no longer receiving any updates.
Python QuantumFlow
A next-generation type-and-data-flow framework for Python with a lightweight footprint.
Overview
Python QuantumFlow is a powerful yet lightweight framework that enhances Python's data flow capabilities with:
- Automatic type conversion with
flow()andTypeFlowContext - Function decorators for creating intelligent flows with
@qflow - Asynchronous operations with
@async_flow - Robust error handling with retry logic
- Beautiful terminal output with color and styling
Installation
pip install python-quantumflow
Features Comparison
Version 1.x vs Version 2.x:
| Feature | python-typeflow V1 | Python QuantumFlow V2 |
|---|---|---|
| Type Conversion | Basic types only | Complex nested structures |
| Error Handling | Manual try/except | Automatic with @retry |
| Async Support | Limited | Full async/await with backpressure |
| Flow Composition | Manual chaining | Operator-based (>>, +, etc.) |
| Memory Usage | Moderate | Optimized with streaming support |
| Visualization | None | Interactive flow diagrams |
| CLI Tools | None | Complete development toolkit |
| Terminal Output | Plain text | Rich colors and animations |
| Testing Support | Minimal | Comprehensive mocking framework |
| Performance | Standard | Up to 3x faster |
Quick Start
from python_quantumflow.core import flow, qflow
# Simple type conversion
numbers = [1, 2, 3, 4, 5]
str_numbers = flow(str)(numbers)
print(str_numbers) # "[1, 2, 3, 4, 5]"
# Function decorator for automatic flow
@qflow
def process_data(items):
return [item * 2 for item in items]
result = process_data(numbers)
print(result) # [2, 4, 6, 8, 10]
Documentation
For detailed documentation and examples, visit:
Made by
Created with ❤️ by Magi Sharma
Metadata
Release files for python-quantumflow 2.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| python_quantumflow-2.0.3.tar.gz | 19.1 kB | Without provenance | Details for python_quantumflow-2.0.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| python_quantumflow-2.0.3-py3-none-any.whl | Python 3 | none | any | Details for python_quantumflow-2.0.3-py3-none-any.whl |
Total release size: 37.1 kB
Release files / python_quantumflow-2.0.3.tar.gz
| Download URL | python_quantumflow-2.0.3.tar.gz |
|---|---|
| Size | 19.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3516e5c8218754991ec81dafa445ca2a132a84db15870cbb580e457edfe81277
|
|
BLAKE2b-256 checksum How to use checksums |
66c3939e571351d8947cf0a0bb6a64398fef0b4662e0ef559cf6c228a1abeb13
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.3
|
Release files / python_quantumflow-2.0.3-py3-none-any.whl
| Download URL | python_quantumflow-2.0.3-py3-none-any.whl |
|---|---|
| Size | 17.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
15d33aef42244f63405e96ea0b3c7610139ae31c28a38f6c3065ca1a177f382f
|
|
BLAKE2b-256 checksum How to use checksums |
2631e090ae09ab7b14ab0ff027f1a9dae0244f4b32d8a28feb46295c4a06fc49
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.3
|
Security for python-quantumflow 2.0.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.