Current collected state Current
Observed since 20 Oct, 17:32 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
AboutCode Pipeline library. Execute code in steps.
aboutcode.pipelineDefine and run pipelines.
pip install aboutcode.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()
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()
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 0.2.1 | 25 Feb 2025 | 0 |
This describes our collected data; it is not a security assessment.
Observed since 20 Oct, 17:32 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:5e3d90135f512ef7ca5c0d32fb0bb6c43ae2d07cdd8237de75050cacea75c2dd