This release is a pre-release and may not be stable for production use.
lockss-pybasic
Latest release: 0.3.0-dev24 (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.dev24
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.dev24.tar.gz | 12.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| lockss_pybasic-0.3.0.dev24-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 29.9 kB
Release files / lockss_pybasic-0.3.0.dev24.tar.gz
| Download URL | lockss_pybasic-0.3.0.dev24.tar.gz |
|---|---|
| Size | 12.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9d672b67b6c96d4e79d8b5a911546c5f571ba6d78c2134893b90646af4e3d56f
|
|
BLAKE2b-256 checksum How to use checksums |
294528b620394b837980adc595b908c736850ed2215b15ee32807a9a6df07b9a
|
| 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.dev24-py3-none-any.whl
| Download URL | lockss_pybasic-0.3.0.dev24-py3-none-any.whl |
|---|---|
| Size | 17.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8a67cb88b674eec9e31ece42769e3d21126ccea907ccd339f13e912a809901c6
|
|
BLAKE2b-256 checksum How to use checksums |
7bf73cab16b50b384639135972193b938e23fb37dd978d6265035f4bcf1f0142
|
| 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
|