This release is a pre-release and may not be stable for production use.
lockss-pybasic
Latest release: 0.3.0-dev23 (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.dev23
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| lockss_pybasic-0.3.0.dev23.tar.gz | 12.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| lockss_pybasic-0.3.0.dev23-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 29.8 kB
Release files / lockss_pybasic-0.3.0.dev23.tar.gz
| Download URL | lockss_pybasic-0.3.0.dev23.tar.gz |
|---|---|
| Size | 12.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cefc5882127335adf1ee102f44df517d0f72f0c72e75bad47a7830026bb771e0
|
|
BLAKE2b-256 checksum How to use checksums |
320103ace54b49d49911af6ce2bff141a70dcae931eb9466f9ac06eff21e51fc
|
| 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.dev23-py3-none-any.whl
| Download URL | lockss_pybasic-0.3.0.dev23-py3-none-any.whl |
|---|---|
| Size | 17.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e634b3f10f63839bba0ce74444a5d8bc6afb675187bb687bc0b3291a990dec6f
|
|
BLAKE2b-256 checksum How to use checksums |
25b7c605e6e5373414822ce4535954f5400818f11b8ad024f30715c059687a2e
|
| 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
|