Pipe/compose functions left-to-right
pip install pipe-funcfrom pipe_func import func
# Basic usage
result = func("your input here")
print(result)- Simple, clean API with type hints
- Zero dependencies (pure Python)
- Python 3.8+ compatible
- Fully tested
- Lightweight (< 5KB)
Main utility function.
Parameters:
input— The input data to process
Returns: Processed result
Process multiple inputs at once.
Parameters:
inputs— List of inputs
Returns: List of results
from pipe_func import func
# Example 1: Basic usage
result = func("Hello World")
# Example 2: Batch processing
from pipe_func import batch
results = batch(["item1", "item2", "item3"])pip install pytest
pytest tests/Contributions are welcome! Please feel free to submit a Pull Request.
MIT License - see LICENSE file for details.
Want to build tools like this? Check out the Python For Beginners course — it teaches you step-by-step how to create useful Python utilities from scratch, with real-world projects and best practices.
Built with skills from Python For Beginners