lob-hlpr
Simple python based helpers for lobaro tools.
This package does not have any dependencies and should easily integrate into other packages.
Renaming a command line option
add_renamed_argument adds an option and keeps earlier spellings of it working,
so a rename does not break anyone's scripts:
import argparse
from lob_hlpr import add_renamed_argument
parser = argparse.ArgumentParser()
add_renamed_argument(parser, "--log-level", deprecated="--loglevel", default="WARNING")
parser.parse_args(["--loglevel", "DEBUG"]).log_level # "DEBUG", with a warning
The old spelling writes to the same destination as the current one, so the rest
of the program never learns it exists and no fixup step is needed after parsing.
It is hidden from --help and warns when used, both as a DeprecationWarning
and as a log record, so a user sees it even before logging is configured.
Pass a list to deprecated for an option that has been renamed more than once.
Options that take no value, such as action="store_true", work too.
Installation
This package should be available in pypi and can be installed with pip or
as a dependency.
Contributing
This package is really only meant for Lobaro, however, other may find it useful and can contribute to it. Before doing so read contributing guide to get started.
Metadata
Release files for lob-hlpr 0.0.12
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 |
|---|---|---|---|---|
| lob_hlpr-0.0.12.tar.gz | 29.9 kB | With provenance | Details for lob_hlpr-0.0.12.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| lob_hlpr-0.0.12-py3-none-any.whl | Python 3 | none | any | Details for lob_hlpr-0.0.12-py3-none-any.whl |
Total release size: 42.9 kB
Release files / lob_hlpr-0.0.12.tar.gz
| Download URL | lob_hlpr-0.0.12.tar.gz |
|---|---|
| Size | 29.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9a5c52166d69ac07c8813ab9a366fa5a6031b683d6dcd0446ea15a73983b16fe
|
|
BLAKE2b-256 checksum How to use checksums |
b72dd31c8b3d2bd5387b5a91287de5f253703c1ddfd5d27e55084fe6a9eb6ce0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 2, 2026.
Transparency logRelease files / lob_hlpr-0.0.12-py3-none-any.whl
| Download URL | lob_hlpr-0.0.12-py3-none-any.whl |
|---|---|
| Size | 13.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e65124f57a07edcbcaeb0f5d9876081ff9b37523ba435bf1fe39edbc4bc5d960
|
|
BLAKE2b-256 checksum How to use checksums |
6c01700e90c72d3e6fd5f882b13d8e523bc931e790efe2b1ecb502908a67e44f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 2, 2026.
Transparency logSecurity for lob-hlpr 0.0.12
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for lob_hlpr-0.0.12.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 2, 2026.
Transparency logA 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.