Skip to main content

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.11

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for lob-hlpr 0.0.11
File Size Uploaded Provenance Actions
lob_hlpr-0.0.11.tar.gz 27.9 kB With provenance Details for lob_hlpr-0.0.11.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for lob-hlpr 0.0.11
File Interpreter ABI Platform Actions
lob_hlpr-0.0.11-py3-none-any.whl Python 3 none any Details for lob_hlpr-0.0.11-py3-none-any.whl

Total release size: 39.3 kB

Release files / lob_hlpr-0.0.11.tar.gz

Download URL lob_hlpr-0.0.11.tar.gz
Size 27.9 kB
Tags Source
SHA-256 checksum
How to use checksums
ecf5ad74f9148aee6f75e8c5adfeac6c27158943b01244c12ae1e1a0d87e00b2
BLAKE2b-256 checksum
How to use checksums
36a564554f5a15fd73b20abc519c3147d9980627fc86d9facb6beacd862e7d3c
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 Aug 11, 2026.

Transparency log

Release files / lob_hlpr-0.0.11-py3-none-any.whl

Download URL lob_hlpr-0.0.11-py3-none-any.whl
Size 11.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7fd376c0d1018f328e329fa364807a2ee325da1c719e5683ab44f13fa4d795c5
BLAKE2b-256 checksum
How to use checksums
0f09fe7759fa73bc178628e636c006ad6dab781cc6554b1fadf64dad4740e712
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 Aug 11, 2026.

Transparency log

Security for lob-hlpr 0.0.11

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.

Select from 2 files

Attestation for lob_hlpr-0.0.11.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 Aug 11, 2026.

Transparency log

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page