Python QuantumFlow: Advanced type conversion for Python
This project has been archived.
The maintainers of this project have marked this project as archived. No new releases are expected.
Project description
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
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 python_quantumflow-2.0.3.tar.gz.
File metadata
- Download URL: python_quantumflow-2.0.3.tar.gz
- Upload date:
- Size: 19.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3516e5c8218754991ec81dafa445ca2a132a84db15870cbb580e457edfe81277
|
|
| MD5 |
13e28f027511c9f785da380b703239fe
|
|
| BLAKE2b-256 |
66c3939e571351d8947cf0a0bb6a64398fef0b4662e0ef559cf6c228a1abeb13
|
File details
Details for the file python_quantumflow-2.0.3-py3-none-any.whl.
File metadata
- Download URL: python_quantumflow-2.0.3-py3-none-any.whl
- Upload date:
- Size: 17.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
15d33aef42244f63405e96ea0b3c7610139ae31c28a38f6c3065ca1a177f382f
|
|
| MD5 |
66831386813f33b009c54165631c2b01
|
|
| BLAKE2b-256 |
2631e090ae09ab7b14ab0ff027f1a9dae0244f4b32d8a28feb46295c4a06fc49
|