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()
Metadata
Release files for aboutcode.pipeline 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| aboutcode_pipeline-0.2.1.tar.gz | 8.9 kB | Without provenance | Details for aboutcode_pipeline-0.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| aboutcode_pipeline-0.2.1-py3-none-any.whl | Python 3 | none | any | Details for aboutcode_pipeline-0.2.1-py3-none-any.whl |
Total release size: 20.4 kB
Release files / aboutcode_pipeline-0.2.1.tar.gz
| Download URL | aboutcode_pipeline-0.2.1.tar.gz |
|---|---|
| Size | 8.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4b1a3e52aab321319d6c4c56070c74f2974fdf24bb5cef5dad4d24a7bbedd7ca
|
|
BLAKE2b-256 checksum How to use checksums |
3efc1e5aef90a9d722efac8c7e3d208cc6d4195d7c0d847603ce778229248933
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Release files / aboutcode_pipeline-0.2.1-py3-none-any.whl
| Download URL | aboutcode_pipeline-0.2.1-py3-none-any.whl |
|---|---|
| Size | 11.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
477ed53ea0065095d6b9512e07db351b9a7c85a722a6ceb57062b72ed6288d3b
|
|
BLAKE2b-256 checksum How to use checksums |
2f8d550094f0bcebfb429f7db36e67cf542097c69cae409ec3daaf66a4ac9b2e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Security for aboutcode.pipeline 0.2.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.