pipen-deprecated
Marking pipen processes as deprecated.
Installation
pip install -U pipen-deprecated
Enable/Disable
The plugin is enabled by default after installation. To disable it, either uninstall it or:
from pipen import Proc, Pipen
# process definition
class MyPipeline(Pipen):
plugins = ["-deprecated"]
Usage
To mark a process as deprecated, use the @mark(deprecated=...) decorator.
from pipen import Proc
from pipen.utils import mark
@mark(deprecated=True)
class ProcDeprecatedTrue(Proc):
...
@mark(deprecated="This process is deprecated.")
class ProcDeprecatedMessage(Proc):
...
When a deprecated process is run, a warning message will be logged.
If the process is marked with deprecated=True, the message will be:
[ProcDeprecatedTrue] is deprecated and will be removed in a future release.
If a custom message is provided, it will be used instead:
[ProcDeprecatedMessage] This process is deprecated.
You can use proc in the message as a placeholder for the process class. For example:
@mark(deprecated='"{proc.name}" is deprecated.')
class ProcDeprecatedMessage(Proc):
...
This will log:
"ProcDeprecatedMessage" is deprecated.
Metadata
Release files for pipen-deprecated 1.0.3
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 |
|---|---|---|---|---|
| pipen_deprecated-1.0.3.tar.gz | 92.0 kB | Without provenance | Details for pipen_deprecated-1.0.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pipen_deprecated-1.0.3-py3-none-any.whl | Python 3 | none | any | Details for pipen_deprecated-1.0.3-py3-none-any.whl |
Total release size: 94.5 kB
Release files / pipen_deprecated-1.0.3.tar.gz
| Download URL | pipen_deprecated-1.0.3.tar.gz |
|---|---|
| Size | 92.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
26060fadce2e952630c2b3e994be9ddc4d022f232da3d341d960e9174400937d
|
|
BLAKE2b-256 checksum How to use checksums |
9ae7f72feee1642cfabd1090107c9e16ce1dfa0145e8c79cc8e38356c70b213c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.2 {"installer":{"name":"uv","version":"0.12.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / pipen_deprecated-1.0.3-py3-none-any.whl
| Download URL | pipen_deprecated-1.0.3-py3-none-any.whl |
|---|---|
| Size | 2.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
25488fdc46f8bd9b2ade5dba7d2983e2740939dadf29dfad02af50f2c9727586
|
|
BLAKE2b-256 checksum How to use checksums |
ad33ff464fd1cf8905bd33d9f1e53572d2ccc68d5a174ae4817003ced77328dd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.2 {"installer":{"name":"uv","version":"0.12.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for pipen-deprecated 1.0.3
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.