lockss-pybasic 0.1.0.dev22__py3-none-any.whl → 0.1.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- lockss/pybasic/__init__.py +1 -1
- lockss/pybasic/cliutil.py +52 -29
- lockss/pybasic/errorutil.py +6 -3
- lockss/pybasic/fileutil.py +8 -4
- lockss/pybasic/outpututil.py +2 -4
- lockss_pybasic-0.1.1.dist-info/METADATA +99 -0
- lockss_pybasic-0.1.1.dist-info/RECORD +9 -0
- lockss_pybasic-0.1.0.dev22.dist-info/METADATA +0 -22
- lockss_pybasic-0.1.0.dev22.dist-info/RECORD +0 -9
- {lockss_pybasic-0.1.0.dev22.dist-info → lockss_pybasic-0.1.1.dist-info}/LICENSE +0 -0
- {lockss_pybasic-0.1.0.dev22.dist-info → lockss_pybasic-0.1.1.dist-info}/WHEEL +0 -0
lockss/pybasic/__init__.py
CHANGED
lockss/pybasic/cliutil.py
CHANGED
|
@@ -41,19 +41,33 @@ from pydantic_argparse import ArgumentParser
|
|
|
41
41
|
from pydantic_argparse.argparse.actions import SubParsersAction
|
|
42
42
|
from rich_argparse import RichHelpFormatter
|
|
43
43
|
|
|
44
|
+
|
|
44
45
|
class ActionCommand(Callable, BaseModel):
|
|
45
46
|
"""
|
|
46
|
-
Base class for a
|
|
47
|
+
Base class for a pydantic-argparse style command.
|
|
47
48
|
"""
|
|
48
49
|
pass
|
|
49
50
|
|
|
50
51
|
|
|
51
52
|
class StringCommand(ActionCommand):
|
|
53
|
+
"""
|
|
54
|
+
A pydantic-argparse style command that prints a string.
|
|
55
|
+
|
|
56
|
+
Example of use:
|
|
57
|
+
|
|
58
|
+
.. code-block:: python
|
|
59
|
+
|
|
60
|
+
class MyCliModel(BaseModel):
|
|
61
|
+
copyright: Optional[StringCommand.type(my_copyright_string)] = Field(description=COPYRIGHT_DESCRIPTION)
|
|
62
|
+
|
|
63
|
+
See also the convenience constants ``COPYRIGHT_DESCRIPTION``,
|
|
64
|
+
``LICENSE_DESCRIPTION``, and ``VERSION_DESCRIPTION``.
|
|
65
|
+
"""
|
|
52
66
|
|
|
53
67
|
@staticmethod
|
|
54
68
|
def type(display_str: str):
|
|
55
69
|
class _StringCommand(StringCommand):
|
|
56
|
-
def __call__(self, file=sys.stdout):
|
|
70
|
+
def __call__(self, file=sys.stdout, **kwargs):
|
|
57
71
|
print(display_str, file=file)
|
|
58
72
|
return _StringCommand
|
|
59
73
|
|
|
@@ -78,20 +92,21 @@ class BaseCli(Generic[BaseModelT]):
|
|
|
78
92
|
method named ``_x_y_z``.
|
|
79
93
|
"""
|
|
80
94
|
|
|
81
|
-
def __init__(self, **
|
|
95
|
+
def __init__(self, **kwargs):
|
|
82
96
|
"""
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
:param
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
97
|
+
Constructs a new ``BaseCli`` instance.
|
|
98
|
+
|
|
99
|
+
:param kwargs: Keyword arguments. Must include ``model``, the
|
|
100
|
+
``BaseModel`` type corresponding to ``BaseModelT``. Must
|
|
101
|
+
include ``prog``, the command-line name of the program.
|
|
102
|
+
Must include ``description``, the description string of
|
|
103
|
+
the program.
|
|
104
|
+
:type kwargs: Dict[str, Any]
|
|
90
105
|
"""
|
|
91
106
|
super().__init__()
|
|
92
107
|
self._args: Optional[BaseModelT] = None
|
|
93
108
|
self._parser: Optional[ArgumentParser] = None
|
|
94
|
-
self.extra: Dict[str, Any] = dict(**
|
|
109
|
+
self.extra: Dict[str, Any] = dict(**kwargs)
|
|
95
110
|
|
|
96
111
|
def run(self) -> None:
|
|
97
112
|
"""
|
|
@@ -104,8 +119,6 @@ class BaseCli(Generic[BaseModelT]):
|
|
|
104
119
|
* Stores the Pydantic-Argparse parsed arguments in ``self.args``.
|
|
105
120
|
|
|
106
121
|
* Calls ``dispatch()``.
|
|
107
|
-
|
|
108
|
-
:return: Nothing.
|
|
109
122
|
"""
|
|
110
123
|
self._parser: ArgumentParser = ArgumentParser(model=self.extra.get('model'),
|
|
111
124
|
prog=self.extra.get('prog'),
|
|
@@ -119,8 +132,6 @@ class BaseCli(Generic[BaseModelT]):
|
|
|
119
132
|
Dispatches from the first field ``x_y_z`` in ``self.args`` that is a
|
|
120
133
|
command (i.e. whose value derives from ``BaseModel``) to a method
|
|
121
134
|
called ``_x_y_z``.
|
|
122
|
-
|
|
123
|
-
:return: Nothing.
|
|
124
135
|
"""
|
|
125
136
|
field_names = self._args.__class__.__fields__.keys()
|
|
126
137
|
for field_name in field_names:
|
|
@@ -133,16 +144,14 @@ class BaseCli(Generic[BaseModelT]):
|
|
|
133
144
|
self._parser.exit(1, f'internal error: no _{field_name} callable for the {field_name} command')
|
|
134
145
|
break
|
|
135
146
|
else:
|
|
136
|
-
self._parser.error(f'unknown command; expected one of {
|
|
147
|
+
self._parser.error(f'unknown command; expected one of {", ".join(field_names)}')
|
|
137
148
|
|
|
138
149
|
def _initialize_rich_argparse(self) -> None:
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
'argparse.prog': f'bold {cls.styles["argparse.prog"]}',
|
|
145
|
-
})
|
|
150
|
+
"""
|
|
151
|
+
Initializes `rich-argparse <https://pypi.org/project/rich-argparse/>`_
|
|
152
|
+
for this instance.
|
|
153
|
+
"""
|
|
154
|
+
self._initialize_rich_argparse_styles()
|
|
146
155
|
def __add_formatter_class(container):
|
|
147
156
|
container.formatter_class = RichHelpFormatter
|
|
148
157
|
if hasattr(container, '_actions'):
|
|
@@ -152,6 +161,20 @@ class BaseCli(Generic[BaseModelT]):
|
|
|
152
161
|
__add_formatter_class(subaction)
|
|
153
162
|
__add_formatter_class(self._parser)
|
|
154
163
|
|
|
164
|
+
def _initialize_rich_argparse_styles(self) -> None:
|
|
165
|
+
# See https://github.com/hamdanal/rich-argparse#customize-the-colors
|
|
166
|
+
for cls in [RichHelpFormatter]:
|
|
167
|
+
cls.styles.update({
|
|
168
|
+
'argparse.args': 'bold cyan', # for positional-arguments and --options (e.g "--help")
|
|
169
|
+
'argparse.groups': 'underline dark_orange', # for group names (e.g. "positional arguments")
|
|
170
|
+
'argparse.help': 'default', # for argument's help text (e.g. "show this help message and exit")
|
|
171
|
+
'argparse.metavar': 'italic dark_cyan', # for metavariables (e.g. "FILE" in "--file FILE")
|
|
172
|
+
'argparse.prog': 'bold grey50', # for %(prog)s in the usage (e.g. "foo" in "Usage: foo [options]")
|
|
173
|
+
'argparse.syntax': 'bold', # for highlights of back-tick quoted text (e.g. "`some text`")
|
|
174
|
+
'argparse.text': 'default', # for descriptions, epilog, and --version (e.g. "A program to foo")
|
|
175
|
+
'argparse.default': 'italic', # for %(default)s in the help (e.g. "Value" in "(default: Value)")
|
|
176
|
+
})
|
|
177
|
+
|
|
155
178
|
|
|
156
179
|
def at_most_one_from_enum(model_cls, values: Dict[str, Any], enum_cls) -> Dict[str, Any]:
|
|
157
180
|
"""
|
|
@@ -169,7 +192,7 @@ def at_most_one_from_enum(model_cls, values: Dict[str, Any], enum_cls) -> Dict[s
|
|
|
169
192
|
enum_names = [field_name for field_name, model_field in model_cls.__fields__.items() if model_field.field_info.extra.get('enum') == enum_cls]
|
|
170
193
|
ret = [field_name for field_name in enum_names if values.get(field_name)]
|
|
171
194
|
if (length := len(ret)) > 1:
|
|
172
|
-
raise ValueError(f'at most one of {
|
|
195
|
+
raise ValueError(f'at most one of {", ".join([option_name(enum_name) for enum_name in enum_names])} is allowed, got {length} ({", ".join([option_name(enum_name) for enum_name in ret])})')
|
|
173
196
|
return values
|
|
174
197
|
|
|
175
198
|
|
|
@@ -195,24 +218,24 @@ def get_from_enum(model_inst, enum_cls, default=None):
|
|
|
195
218
|
|
|
196
219
|
def at_most_one(values: Dict[str, Any], *names: str):
|
|
197
220
|
if (length := _matchy_length(values, *names)) > 1:
|
|
198
|
-
raise ValueError(f'at most one of {
|
|
221
|
+
raise ValueError(f'at most one of {", ".join([option_name(name) for name in names])} is allowed, got {length}')
|
|
199
222
|
return values
|
|
200
223
|
|
|
201
224
|
|
|
202
225
|
def exactly_one(values: Dict[str, Any], *names: str):
|
|
203
226
|
if (length := _matchy_length(values, *names)) != 1:
|
|
204
|
-
raise ValueError(f'exactly one of {
|
|
227
|
+
raise ValueError(f'exactly one of {", ".join([option_name(name) for name in names])} is required, got {length}')
|
|
205
228
|
return values
|
|
206
229
|
|
|
207
230
|
|
|
208
231
|
def one_or_more(values: Dict[str, Any], *names: str):
|
|
209
232
|
if _matchy_length(values, *names) == 0:
|
|
210
|
-
raise ValueError(f'one or more of {
|
|
233
|
+
raise ValueError(f'one or more of {", ".join([option_name(name) for name in names])} is required')
|
|
211
234
|
return values
|
|
212
235
|
|
|
213
236
|
|
|
214
|
-
def option_name(name: str):
|
|
215
|
-
return f'{(
|
|
237
|
+
def option_name(name: str) -> str:
|
|
238
|
+
return f'{("-" if len(name) == 1 else "--")}{name.replace("_", "-")}'
|
|
216
239
|
|
|
217
240
|
|
|
218
241
|
def _matchy_length(values: Dict[str, Any], *names: str) -> int:
|
lockss/pybasic/errorutil.py
CHANGED
|
@@ -34,9 +34,12 @@ Error and exception utilities.
|
|
|
34
34
|
|
|
35
35
|
class InternalError(RuntimeError):
|
|
36
36
|
"""
|
|
37
|
-
A simple ``RuntimeError`` with the message ``internal error``,
|
|
38
|
-
situations that should never occur.
|
|
37
|
+
A simple no-arg ``RuntimeError`` with the message ``internal error``,
|
|
38
|
+
intended for situations that should never occur.
|
|
39
39
|
"""
|
|
40
40
|
|
|
41
|
-
def __init__(self
|
|
41
|
+
def __init__(self) -> None:
|
|
42
|
+
"""
|
|
43
|
+
Constructs a new ``InternalError`` instance.
|
|
44
|
+
"""
|
|
42
45
|
super().__init__('internal error')
|
lockss/pybasic/fileutil.py
CHANGED
|
@@ -40,10 +40,12 @@ from typing import List, Union
|
|
|
40
40
|
def file_lines(fpath: Path) -> List[str]:
|
|
41
41
|
"""
|
|
42
42
|
Returns a list of lines from the given file, with '#' comments and leading
|
|
43
|
-
trailing whitespace removed, ignoring empty lines.
|
|
43
|
+
and trailing whitespace removed, ignoring empty lines.
|
|
44
44
|
|
|
45
|
-
:param fpath: A ``Path`` to a file
|
|
46
|
-
:
|
|
45
|
+
:param fpath: A ``Path`` to a file, ``-`` for ``sys.stdin``.
|
|
46
|
+
:type fpath: Path
|
|
47
|
+
:return: A list of processed lines.
|
|
48
|
+
:rtype: List[str]
|
|
47
49
|
"""
|
|
48
50
|
f = None
|
|
49
51
|
try:
|
|
@@ -62,7 +64,9 @@ def path(purepath_or_string: Union[PurePath, str]) -> Path:
|
|
|
62
64
|
|
|
63
65
|
:param purepath_or_string: A ``PurePath`` (or a ``str`` from which to create
|
|
64
66
|
a ``Path``).
|
|
65
|
-
:
|
|
67
|
+
:type purepath_or_string: Union[PurePath, str]
|
|
68
|
+
:return: An expanded and resolved ``Path``.
|
|
69
|
+
:rtype: Path
|
|
66
70
|
"""
|
|
67
71
|
if not issubclass(type(purepath_or_string), PurePath):
|
|
68
72
|
purepath_or_string = Path(purepath_or_string)
|
lockss/pybasic/outpututil.py
CHANGED
|
@@ -32,10 +32,8 @@
|
|
|
32
32
|
Utilities to work with 'tabulate'.
|
|
33
33
|
"""
|
|
34
34
|
|
|
35
|
-
|
|
36
35
|
from enum import Enum
|
|
37
36
|
|
|
38
|
-
|
|
39
37
|
from pydantic.v1 import BaseModel, Field, validator
|
|
40
38
|
import tabulate
|
|
41
39
|
from typing import Optional
|
|
@@ -48,7 +46,7 @@ DEFAULT_OUTPUT_FORMAT = 'simple' # from tabulate
|
|
|
48
46
|
|
|
49
47
|
|
|
50
48
|
class OutputFormatOptions(BaseModel):
|
|
51
|
-
output_format: Optional[str] = Field(DEFAULT_OUTPUT_FORMAT, description=f'[output] set the output format; choices: {
|
|
49
|
+
output_format: Optional[str] = Field(DEFAULT_OUTPUT_FORMAT, description=f'[output] set the output format; choices: {", ".join(OutputFormat.__members__.keys())}')
|
|
52
50
|
|
|
53
51
|
@validator('output_format')
|
|
54
52
|
def _validate_output_format(cls, val: str):
|
|
@@ -56,4 +54,4 @@ class OutputFormatOptions(BaseModel):
|
|
|
56
54
|
_ = OutputFormat[val]
|
|
57
55
|
return val
|
|
58
56
|
except KeyError:
|
|
59
|
-
raise ValueError(f'must be one of {
|
|
57
|
+
raise ValueError(f'must be one of {", ".join(OutputFormat.__members__.keys())}; got {val}')
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
Metadata-Version: 2.3
|
|
2
|
+
Name: lockss-pybasic
|
|
3
|
+
Version: 0.1.1
|
|
4
|
+
Summary: Basic Python utilities
|
|
5
|
+
License: BSD-3-Clause
|
|
6
|
+
Author: Thib Guicherd-Callin
|
|
7
|
+
Author-email: thib@cs.stanford.edu
|
|
8
|
+
Maintainer: Thib Guicherd-Callin
|
|
9
|
+
Maintainer-email: thib@cs.stanford.edu
|
|
10
|
+
Requires-Python: >=3.9,<4.0
|
|
11
|
+
Classifier: Development Status :: 4 - Beta
|
|
12
|
+
Classifier: Environment :: Console
|
|
13
|
+
Classifier: Framework :: Pydantic :: 2
|
|
14
|
+
Classifier: Intended Audience :: Developers
|
|
15
|
+
Classifier: License :: OSI Approved :: BSD License
|
|
16
|
+
Classifier: Programming Language :: Python
|
|
17
|
+
Classifier: Topic :: Software Development :: Libraries
|
|
18
|
+
Requires-Dist: pydantic (>=2.11.0,<3.0.0)
|
|
19
|
+
Requires-Dist: pydantic-argparse (>=0.10.0,<0.11.0)
|
|
20
|
+
Requires-Dist: rich-argparse (>=1.7.0,<1.8.0)
|
|
21
|
+
Requires-Dist: tabulate (>=0.9.0,<0.10.0)
|
|
22
|
+
Project-URL: Repository, https://github.com/lockss/lockss-pybasic
|
|
23
|
+
Description-Content-Type: text/x-rst
|
|
24
|
+
|
|
25
|
+
==============
|
|
26
|
+
lockss-pybasic
|
|
27
|
+
==============
|
|
28
|
+
|
|
29
|
+
.. |RELEASE| replace:: 0.1.1
|
|
30
|
+
.. |RELEASE_DATE| replace:: 2025-10-02
|
|
31
|
+
|
|
32
|
+
**Latest release:** |RELEASE| (|RELEASE_DATE|)
|
|
33
|
+
|
|
34
|
+
``lockss-pybasic`` provides basic utilities for various LOCKSS projects written in Python.
|
|
35
|
+
|
|
36
|
+
-------
|
|
37
|
+
Modules
|
|
38
|
+
-------
|
|
39
|
+
|
|
40
|
+
``lockss.pybasic.cliutil``
|
|
41
|
+
Command line utilities.
|
|
42
|
+
|
|
43
|
+
* ``BaseCli`` is a base class for command line interfaces that uses `pydantic-argparse <https://pypi.org/project/pydantic-argparse/>`_ to define arguments and subcommands, and `rich-argparse <https://pypi.org/project/rich-argparse/>`_ to display help messages. For each command ``x-y-z`` induced by a ``pydantic-argparse`` field named ``x_y_z`` deriving from ``BaseModel`` , the ``dispatch()`` method expects a method named ``_x_y_z``.
|
|
44
|
+
|
|
45
|
+
* ``StringCommand`` provides a `pydantic-argparse <https://pypi.org/project/pydantic-argparse/>`_ way to define a subcommand whose only purpose is printing a string, with ``COPYRIGHT_DESCRIPTION``, ``LICENSE_DESCRIPTION`` and ``VERSION_DESCRIPTION`` constants provided for convenience. Example:
|
|
46
|
+
|
|
47
|
+
.. code-block:: python
|
|
48
|
+
|
|
49
|
+
class MyCliModel(BaseModel):
|
|
50
|
+
copyright: Optional[StringCommand.type(my_copyright_string)] = Field(description=COPYRIGHT_DESCRIPTION)
|
|
51
|
+
|
|
52
|
+
* ``at_most_one_from_enum`` and ``get_from_enum`` provide a facility for defining a `pydantic-argparse <https://pypi.org/project/pydantic-argparse/>`_ model that defines one command line option per constant of an ``Enum``, using an ``enum`` keyword argument in the ``Field`` definition. Example:
|
|
53
|
+
|
|
54
|
+
.. code-block:: python
|
|
55
|
+
|
|
56
|
+
class Orientation(Enum):
|
|
57
|
+
horizontal = 1
|
|
58
|
+
vertical = 2
|
|
59
|
+
diagonal = 3
|
|
60
|
+
|
|
61
|
+
DEFAULT_ORIENTATION = Orientation.horizontal
|
|
62
|
+
|
|
63
|
+
class MyCliModel(BaseModel):
|
|
64
|
+
diagonal: Optional[bool] = Field(False, description='display diagonally', enum=Orientation)
|
|
65
|
+
horizontal: Optional[bool] = Field(False, description='display horizontally', enum=Orientation)
|
|
66
|
+
unrelated: Optional[bool] = Field(...)
|
|
67
|
+
vertical: Optional[bool] = Field(False, description='display vertically', enum=Orientation)
|
|
68
|
+
|
|
69
|
+
@root_validator
|
|
70
|
+
def _at_most_one_orientation(cls, values):
|
|
71
|
+
return at_most_one_from_enum(cls, values, Orientation)
|
|
72
|
+
|
|
73
|
+
def get_orientation(self) -> Orientation:
|
|
74
|
+
return get_from_enum(self, Orientation, DEFAULT_ORIENTATION)
|
|
75
|
+
|
|
76
|
+
``lockss.pybasic.errorutil``
|
|
77
|
+
Error and exception utilities.
|
|
78
|
+
|
|
79
|
+
* ``InternalError`` is a no-arg subclass of ``RuntimeError``.
|
|
80
|
+
|
|
81
|
+
``lockss.pybasic.fileutil``
|
|
82
|
+
File and path utilities.
|
|
83
|
+
|
|
84
|
+
* ``file_lines`` returns the non-empty lines of a file stripped of comments that begin with ``#`` and run to the end of a line.
|
|
85
|
+
|
|
86
|
+
* ``path`` takes a string or ``PurePath`` and returns a ``Path`` for which ``Path.expanduser()`` and ``Path.resolve()`` have been called.
|
|
87
|
+
|
|
88
|
+
``lockss.pybasic.outpututil``
|
|
89
|
+
Utilities to work with `tabulate <https://pypi.org/project/tabulate/>`_.
|
|
90
|
+
|
|
91
|
+
* ``OutputFormat`` is an ``Enum`` of all the output formats from ``tabulate.tabulate_formats``.
|
|
92
|
+
|
|
93
|
+
* ``OutputFormatOptions`` defines a `pydantic-argparse <https://pypi.org/project/pydantic-argparse/>`_ model for setting an output format from ``OutputFormat``.
|
|
94
|
+
|
|
95
|
+
-------------
|
|
96
|
+
Release Notes
|
|
97
|
+
-------------
|
|
98
|
+
|
|
99
|
+
See `<CHANGELOG.rst>`_.
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
lockss/pybasic/__init__.py,sha256=5NRdbEb_7GIZas3_wlx8I8qoaWR2HaYAgLF-pKKi_nY,1673
|
|
2
|
+
lockss/pybasic/cliutil.py,sha256=zsIU_GJX31UM4XZbMhUxFMS2zVpA09_1q1GQAMW2HOc,10347
|
|
3
|
+
lockss/pybasic/errorutil.py,sha256=XI84PScZ851_-gfoazivJ8ceieMYWaxQr7qih5ltga0,1951
|
|
4
|
+
lockss/pybasic/fileutil.py,sha256=BpdoPWL70xYTuhyQRBEurScRVnPQg0mX-XW8yyKPGjw,2958
|
|
5
|
+
lockss/pybasic/outpututil.py,sha256=8naQEZ1rM6vOFNL-9mWoK4dMBWokHmzQ0FkHaz8dyuM,2345
|
|
6
|
+
lockss_pybasic-0.1.1.dist-info/LICENSE,sha256=O9ONND4uDxY_jucI4jZDf2liAk05ScEJaYu-Al7EOdQ,1506
|
|
7
|
+
lockss_pybasic-0.1.1.dist-info/METADATA,sha256=1FRG9Ulhphoea8-n_lUCnc8oczgxzzgfOutbttcoMQE,4242
|
|
8
|
+
lockss_pybasic-0.1.1.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
|
9
|
+
lockss_pybasic-0.1.1.dist-info/RECORD,,
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.3
|
|
2
|
-
Name: lockss-pybasic
|
|
3
|
-
Version: 0.1.0.dev22
|
|
4
|
-
Summary: Basic Python utilities
|
|
5
|
-
License: BSD-3-Clause
|
|
6
|
-
Author: Thib Guicherd-Callin
|
|
7
|
-
Author-email: thib@cs.stanford.edu
|
|
8
|
-
Requires-Python: >=3.9,<4.0
|
|
9
|
-
Classifier: License :: OSI Approved :: BSD License
|
|
10
|
-
Classifier: Programming Language :: Python :: 3
|
|
11
|
-
Classifier: Programming Language :: Python :: 3.9
|
|
12
|
-
Classifier: Programming Language :: Python :: 3.10
|
|
13
|
-
Classifier: Programming Language :: Python :: 3.11
|
|
14
|
-
Classifier: Programming Language :: Python :: 3.12
|
|
15
|
-
Classifier: Programming Language :: Python :: 3.13
|
|
16
|
-
Requires-Dist: pydantic (>=2.11.0,<3.0.0)
|
|
17
|
-
Requires-Dist: pydantic-argparse (>=0.10.0,<0.11.0)
|
|
18
|
-
Requires-Dist: rich-argparse (>=1.7.0,<1.8.0)
|
|
19
|
-
Requires-Dist: tabulate (>=0.9.0,<0.10.0)
|
|
20
|
-
Description-Content-Type: text/x-rst
|
|
21
|
-
|
|
22
|
-
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
lockss/pybasic/__init__.py,sha256=_J-oMvR7ECgXrb8v7tZOObxiHQ-m8qNjpSUbnebj1Bw,1679
|
|
2
|
-
lockss/pybasic/cliutil.py,sha256=aH401DqDLoiXX-Dqgt-tWMbO7N_HfRry0knWG2wZlm8,9024
|
|
3
|
-
lockss/pybasic/errorutil.py,sha256=OJqRGOjzKK8_OTJCq77u0_XZ5ti2BoVidk5jSTMB6xg,1882
|
|
4
|
-
lockss/pybasic/fileutil.py,sha256=O_EcxobrHPLeD7lAlvtYOkd0R2NOIvpGK6mZOZTxyG4,2856
|
|
5
|
-
lockss/pybasic/outpututil.py,sha256=S2Jpcj7IctXoA10OFGueNzcd7fMjj6RARpc6s15_xLY,2347
|
|
6
|
-
lockss_pybasic-0.1.0.dev22.dist-info/LICENSE,sha256=O9ONND4uDxY_jucI4jZDf2liAk05ScEJaYu-Al7EOdQ,1506
|
|
7
|
-
lockss_pybasic-0.1.0.dev22.dist-info/METADATA,sha256=9RUVx0yb9j5-0eoNOcGlphRIDSlaJePUx6dRfW3U3ng,784
|
|
8
|
-
lockss_pybasic-0.1.0.dev22.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
|
9
|
-
lockss_pybasic-0.1.0.dev22.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|