Repository navigation
π° Initial release of lapipe - A tiny value-first pipe operator for Python
β¨ Features
- Value-first pipe operator with
|syntax - Optional
_placeholder for precise argument positioning - Support for both positional and keyword arguments
- Zero dependencies, pure Python 3.8+
- Comprehensive documentation and examples
π¦ Installation
pip install lapipeπ Quick Example
from lapipe import pipe, _
result = (pipe(2)
| (lambda x, y: x + y, 3)
| (lambda x, y: x * y, 4, _))
print(result.value) # 20
6. **Click**: "Publish release"
This will automatically trigger the GitHub Action to publish `lapipe` to PyPI! π―
**Note**: You'll still need to either:
- Set up the PyPI API token as a GitHub secret, OR
- Configure trusted publishing on PyPI for the `lapipe` project
The tests should now pass, and everything is consistently named `lapipe`! π