🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

function-pipe

Package Overview
Dependencies
Maintainers
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

function-pipe

Tools for extended function composition and pipelines

2.1.2
PyPI
Maintainers
2

.. image:: https://img.shields.io/pypi/pyversions/function-pipe.svg :target: https://pypi.org/project/function-pipe

.. image:: https://img.shields.io/pypi/v/function-pipe.svg :target: https://pypi.org/project/function-pipe

.. image:: https://img.shields.io/codecov/c/github/InvestmentSystems/function-pipe.svg :target: https://codecov.io/gh/InvestmentSystems/function-pipe

.. image:: https://img.shields.io/github/workflow/status/InvestmentSystems/function-pipe/Test?label=test&logo=Github :target: https://github.com/InvestmentSystems/function-pipe/actions?query=workflow%3ATest

.. image:: https://img.shields.io/github/workflow/status/InvestmentSystems/function-pipe/Quality?label=quality&logo=Github :target: https://github.com/InvestmentSystems/function-pipe/actions?query=workflow%3AQuality

.. image:: https://img.shields.io/readthedocs/function-pipe.svg :target: https://function-pipe.readthedocs.io/en/latest

.. image:: https://img.shields.io/pypi/status/function-pipe.svg :target: https://pypi.org/project/function-pipe

function-pipe

The function-pipe Python module defines the class FunctionNode (FN) and decorators to create the derived-class PipeNode (PN). FNs are wrappers of callables that permit returning new FNs after applying operators, composing callables, or partialing. This supports the flexible combination of functions in a lazy and declarative manner.

PipeNodes (PNs) are FNs prepared for extended function composition or dataflow programming. PNs, through a decorator-provided, two-stage calling mechanism, expose to wrapped functions both predecessor output and a common initial input. Rather than strictly linear pipelines, sequences of PNs can be stored and reused; PNs can be provided as arguments to other PNs; and results from PNs can be stored for later recall in the same pipeline.

Code: https://github.com/InvestmentSystems/function-pipe

Docs: http://function-pipe.readthedocs.io

Packages: https://pypi.python.org/pypi/function-pipe

Keywords

functionnode pipenode composition pipeline pipe

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts