Skip to main content

lockss-pybasic

Latest release: 0.2.0 (2026-03-18)

lockss-pybasic provides basic utilities for various LOCKSS projects written in Python.

Modules

lockss.pybasic.cliutil

Command line utilities based on Click Extra, Cloup and Click.

  • click_path(): a click.Path utility.

  • PositiveInt, NonNegativeInt, NegativeInt, NonPositiveInt, UInt16: click.ParamType integer types.

  • compose_decorators(): a decorator utility.

  • make_table_format_option(): a remix of click_extra.table_format_option that is not attached to the top-level command.

  • make_extra_context_settings(): a custom click_extra.ExtraContext.

lockss.pybasic.errorutil

Error and exception utilities.

  • InternalError is a no-arg subclass of RuntimeError.

lockss.pybasic.fileutil

File and path utilities.

  • file_lines returns the non-empty lines of a file stripped of comments that begin with # and run to the end of a line.

  • path takes a string or PurePath and returns a Path for which Path.expanduser() and Path.resolve() have been called.

Release Notes

See CHANGELOG.rst.

Metadata

Release files for lockss-pybasic 0.2.0

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

Source distribution (sdist)

Source distribution for lockss-pybasic 0.2.0
File Size Uploaded
lockss_pybasic-0.2.0.tar.gz 8.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for lockss-pybasic 0.2.0
File Interpreter ABI Platform
lockss_pybasic-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 22.2 kB

Release files / lockss_pybasic-0.2.0.tar.gz

Download URL lockss_pybasic-0.2.0.tar.gz
Size 8.8 kB
Tags Source
SHA-256 checksum
How to use checksums
1b864c7e7ce069a43d2880fa5c15aef2cc66ac1d51fc2118644ba2aa5e9b513b
BLAKE2b-256 checksum
How to use checksums
240102b3f1972a469867622c93d2d15692fee56d3ee57c396fe7699f6779f9ec
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.2.1 CPython/3.13.11 Linux/6.18.2-arch2-1

Release files / lockss_pybasic-0.2.0-py3-none-any.whl

Download URL lockss_pybasic-0.2.0-py3-none-any.whl
Size 13.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9268c01a481d11a0e65d1372fe9ad15e6a412d73d3035742b21eba71b0b54359
BLAKE2b-256 checksum
How to use checksums
7582805aa684e7ae001d32c83ef8d0f09a0661f4288b995e70223ceb4faf744d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.2.1 CPython/3.13.11 Linux/6.18.2-arch2-1

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

0.1.1

2 release files

0.1.0

2 release files

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