Skip to content

v1.0.0

Latest

Choose a tag to compare

@MaximeRivest MaximeRivest released this 11 Jun 12:07
· 5 commits to main since this release

🚰 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`! πŸš€