Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

lockss-pybasic

Latest release: 0.3.0-dev25 (NOT YET RELEASED)

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.

Unit Tests

Run python -m unittest discover tests at the root of the project tree (where there is a directory called tests).

Metadata

Release files for lockss-pybasic 0.3.0.dev25

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.3.0.dev25
File Size Uploaded Provenance
lockss_pybasic-0.3.0.dev25.tar.gz 12.2 kB Without provenance Details

Built distribution (wheel)

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

Total release size: 29.9 kB

Release files / lockss_pybasic-0.3.0.dev25.tar.gz

Download URL lockss_pybasic-0.3.0.dev25.tar.gz
Size 12.2 kB
Tags Source
SHA-256 checksum
How to use checksums
dd26b237d0322ef519f05c5d406f1878a59cecbd3f94095a2ffa5fd3d8f9d170
BLAKE2b-256 checksum
How to use checksums
8b55c6a44c1dd3457ac7e8a270847d0c816abbd80558bb15849e4aca92cb5213
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.5.1 CPython/3.14.8 Linux/7.2.11-arch1-1

Release files / lockss_pybasic-0.3.0.dev25-py3-none-any.whl

Download URL lockss_pybasic-0.3.0.dev25-py3-none-any.whl
Size 17.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
185d9591b461f80bb372507769cf151ff248997b96de3d00d6930e2bf155043b
BLAKE2b-256 checksum
How to use checksums
504344a233232abb1f11ce9e5c25c7c405bc42eced36a2b968573d23b8410230
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.5.1 CPython/3.14.8 Linux/7.2.11-arch1-1

Security for lockss-pybasic 0.3.0.dev25

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.

Release history Release notifications | RSS feed

This release
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