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-dev22 (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.dev22

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.dev22
File Size Uploaded
lockss_pybasic-0.3.0.dev22.tar.gz 12.1 kB Details

Built distribution (wheel)

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

Total release size: 29.7 kB

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

Download URL lockss_pybasic-0.3.0.dev22.tar.gz
Size 12.1 kB
Tags Source
SHA-256 checksum
How to use checksums
189b9c56d680075a8af38692532c94dcbc19f8ab43ac32f5295ec2200a96c7a9
BLAKE2b-256 checksum
How to use checksums
95b5f62d9c2b28cce5aebbf59ee0b7fa6abc3bd7551c72e72fececa8a6680a4f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.4.1 CPython/3.14.7 Linux/7.2.6-arch2-1

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

Download URL lockss_pybasic-0.3.0.dev22-py3-none-any.whl
Size 17.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4d2a9cdc380154b6e14422fd5fe0b8f5c5d1b5c6161d35fe7e7e099ebe94994a
BLAKE2b-256 checksum
How to use checksums
dfb1d1087c89f77359e4e2b51e3eae6132bc1619fd35202df7610735c8b74fa1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.4.1 CPython/3.14.7 Linux/7.2.6-arch2-1

Release history Release notifications | RSS feed

This release

0.3.0.dev22 This release

2 release files

0.2.0

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