Skip to main content

A Python package for building fluent pipelines

Project description

FluentPipelines FluentPipelines is a Python package that simplifies the creation and execution of data processing pipelines.

Features

  • Pipeline Creation: Easily create processing pipelines by chaining together operations.
  • Flexible Operations: Define custom operations by subclassing PipelineOperation.
  • Convenient Interface: Intuitive send, through, then, and then_return methods for building and executing pipelines.
  • Error Handling: Robust error handling for smooth pipeline execution.
pip install fluentpipelines

Usage

Import PyPipeline

from fluentpipelines import pipeline

Define custom operations by subclassing PipelineOperation

class MyOperation(PipelineOperation):
    def process(self, data):
        # Define processing logic here
        return processed_data

Create a pipeline

pipeline = pipeline.send(initial_data).through([MyOperation, AnotherOperation]).then_return()

Custom Operations

class MyOperation(PipelineOperation):
    def process(self, data):
        # Define processing logic here
        return processed_data

Contributing

Contributions are welcome! Feel free to open issues or submit pull requests.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments

This package was inspired by the need for a simple and flexible data pipeline solution.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fluentpipelines-0.1.1.tar.gz (2.5 kB view details)

Uploaded Source

Built Distribution

fluentpipelines-0.1.1-py3-none-any.whl (3.0 kB view details)

Uploaded Python 3

File details

Details for the file fluentpipelines-0.1.1.tar.gz.

File metadata

  • Download URL: fluentpipelines-0.1.1.tar.gz
  • Upload date:
  • Size: 2.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for fluentpipelines-0.1.1.tar.gz
Algorithm Hash digest
SHA256 70baf777e983866fa1289e831fdfca67dc888d55ed08b8786debdf1fde00938a
MD5 b76b0222347857922a80c9ebb3993379
BLAKE2b-256 b8577c872106ea62af8038d23e146cad28babdb3b87f88f0431dcf58576a65bc

See more details on using hashes here.

File details

Details for the file fluentpipelines-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for fluentpipelines-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 34930a46f36b98df2f825a129adbe1b599f3fbecc3694ab37306d89b807dc731
MD5 96a27ea7bd5304892598990d6ef90e1b
BLAKE2b-256 e2c53ab57bf1aaf54139ca6bc1dd46e660f2a272f8f4ca90bb8fc1d1b25d7d31

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page