Skip to content

feat: Pipelines - #26

Merged
AttAditya merged 6 commits into
mainfrom
feat/pipelines
May 16, 2026
Merged

feat: Pipelines#26
AttAditya merged 6 commits into
mainfrom
feat/pipelines

Conversation

@AttAditya

@AttAditya AttAditya commented May 16, 2026

Copy link
Copy Markdown
Owner

LangEx 0.3.14

Release Summary

  • Update Type: Minor
  • Update Version: 0.3.14
  • Breaking Changes: No
  • Backwards Compatibility: NA
  • Target Issue: None

Changelog

  • Update
    • Introduced lightweight pipeline construction utilities via langex.core.pipeline.Pipeline
    • Added README examples demonstrating simple pipeline usage and Pipeline.run()
    • Created new langex/pipelines/handler.py module implementing pipeline mechanics
  • File
    • Added langex/core/pipeline.py to expose the Pipeline class
    • Created langex/pipelines package and interface
  • Documentation
    • Updated README to reflect new pipeline features and examples

Updated Library Highlights

# Example usage of Pipeline
from langex.core.pipeline import Pipeline

process1 = lambda incoming: 1 if incoming is None else incoming
process2 = lambda incoming: incoming * 2
process3 = lambda incoming: incoming + 2

pipeline = (
  Pipeline
  | process1
  | process2
  | process3
)

print(pipeline.run())       # prints 4
print(pipeline.run(10))      # prints 22

@AttAditya

Copy link
Copy Markdown
Owner Author

/ci summary

@github-actions

Copy link
Copy Markdown

✅ PR summary updated using AI for commit 84404d851cc55bbc6bed9f2d6a922d65e2c7ec1c.

@AttAditya

Copy link
Copy Markdown
Owner Author

/ci tag

@github-actions github-actions Bot added FEAT New feature and functionality DOCS Documentation related labels May 16, 2026
@github-actions

Copy link
Copy Markdown

🏷️ Labels added: FEAT,DOCS (commit 84404d851cc55bbc6bed9f2d6a922d65e2c7ec1c)

@github-actions

Copy link
Copy Markdown

❌ Tests failed for commit ec52087c11b7d2c631ce03d5122f03124bacc086.

Tests completed for commit ec52087

Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/home/runner/work/langex/langex/tests/__main__.py", line 3, in <module>
    run_tests(__file__, __name__)
  File "/home/runner/work/langex/langex/langex/core/testing.py", line 19, in run_tests
    _test_helpers.run_tests(initial_file, module_name)
  File "/home/runner/work/langex/langex/langex/testing/helpers.py", line 74, in run_tests
    ExpectsData.run()
  File "/home/runner/work/langex/langex/langex/testing/data.py", line 76, in run
    assert len(passed) == len(self.data), message
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: 

Tests Results:
Passed: 41
Failed: 1
Errors: 0


Failed Tests:
- <lambda> test_pipeline.<locals>.<lambda> /home/runner/work/langex/langex/tests/pipeline/test_pipeline.py:17


Errors:

@github-actions

Copy link
Copy Markdown

❌ Tests failed for commit 61b881557b3175f6b97a584ad13459605cdeb718.

Tests completed for commit 61b8815

Tests Results:
Passed: 41
Failed: 1
Errors: 0


Failed Tests:
- <lambda> test_pipeline.<locals>.<lambda> /home/runner/work/langex/langex/tests/pipeline/test_pipeline.py:17


Errors:

@AttAditya

Copy link
Copy Markdown
Owner Author

/ci tag

@AttAditya AttAditya added the TESTS Related to code tests label May 16, 2026
@AttAditya
AttAditya merged commit b78222f into main May 16, 2026
1 check passed
@AttAditya
AttAditya deleted the feat/pipelines branch May 16, 2026 08:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

DOCS Documentation related FEAT New feature and functionality TESTS Related to code tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant