Catalog PyPI
PACKAGE EXPLORERView in registry

aboutcode.pipeline

PyPI

AboutCode Pipeline library. Execute code in steps.

openpipelinescancodesource
Versions collected1
Direct dependencies0From release 0.2.1
Last observed20 Oct, 17:32 UTC

README

Version 0.2.1 documentation

aboutcode.pipeline

Define and run pipelines.

Install

pip install aboutcode.pipeline

Define and execute a pipeline

from aboutcode.pipeline import BasePipeline

class PrintMessages(BasePipeline):
    @classmethod
    def steps(cls):
        return (cls.step1,)

    def step1(self):
        print("Message from step1")

PrintMessages().execute()

Options and steps selection

from aboutcode.pipeline import BasePipeline
from aboutcode.pipeline import optional_step


class PrintMessages(BasePipeline):
    @classmethod
    def steps(cls):
        return (cls.step1, cls.step2)

    def step1(self):
        print("Message from step1")

    @optional_step("foo")
    def step2(self):
        print("Message from step2")


# Execute pipeline with group selection
run = PrintMessages(selected_groups=["foo"])
exitcode, error = run.execute()

# Execute pipeline with steps selection
run = PrintMessages(selected_steps=["step1"])
exitcode, error = run.execute()

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
0.2.125 Feb 20250

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
aboutcode-org/scancode.io

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 17:32 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:5e3d90135f512ef7ca5c0d32fb0bb6c43ae2d07cdd8237de75050cacea75c2dd