omlish 0.0.0.dev118__py3-none-any.whl → 0.0.0.dev120__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- omlish/__about__.py +2 -2
- omlish/lite/journald.py +163 -0
- omlish/lite/logs.py +6 -2
- omlish/logs/_abc.py +53 -0
- omlish/logs/handlers.py +1 -1
- omlish/specs/jmespath/__init__.py +5 -1
- omlish/specs/jmespath/ast.py +29 -3
- omlish/specs/jmespath/functions.py +8 -0
- omlish/specs/jmespath/parser.py +6 -3
- omlish/specs/jmespath/visitor.py +12 -9
- omlish/testing/pytest/plugins/pydevd.py +6 -6
- {omlish-0.0.0.dev118.dist-info → omlish-0.0.0.dev120.dist-info}/METADATA +1 -1
- {omlish-0.0.0.dev118.dist-info → omlish-0.0.0.dev120.dist-info}/RECORD +17 -16
- {omlish-0.0.0.dev118.dist-info → omlish-0.0.0.dev120.dist-info}/LICENSE +0 -0
- {omlish-0.0.0.dev118.dist-info → omlish-0.0.0.dev120.dist-info}/WHEEL +0 -0
- {omlish-0.0.0.dev118.dist-info → omlish-0.0.0.dev120.dist-info}/entry_points.txt +0 -0
- {omlish-0.0.0.dev118.dist-info → omlish-0.0.0.dev120.dist-info}/top_level.txt +0 -0
omlish/__about__.py
CHANGED
omlish/lite/journald.py
ADDED
@@ -0,0 +1,163 @@
|
|
1
|
+
# ruff: noqa: UP007 UP012
|
2
|
+
import ctypes as ct
|
3
|
+
import logging
|
4
|
+
import sys
|
5
|
+
import syslog
|
6
|
+
import threading
|
7
|
+
import typing as ta
|
8
|
+
|
9
|
+
from .cached import cached_nullary
|
10
|
+
|
11
|
+
|
12
|
+
##
|
13
|
+
|
14
|
+
|
15
|
+
class sd_iovec(ct.Structure): # noqa
|
16
|
+
pass
|
17
|
+
|
18
|
+
|
19
|
+
sd_iovec._fields_ = [
|
20
|
+
('iov_base', ct.c_void_p), # Pointer to data.
|
21
|
+
('iov_len', ct.c_size_t), # Length of data.
|
22
|
+
]
|
23
|
+
|
24
|
+
|
25
|
+
##
|
26
|
+
|
27
|
+
|
28
|
+
@cached_nullary
|
29
|
+
def sd_libsystemd() -> ta.Any:
|
30
|
+
lib = ct.CDLL('libsystemd.so.0')
|
31
|
+
|
32
|
+
lib.sd_journal_sendv = lib['sd_journal_sendv'] # type: ignore
|
33
|
+
lib.sd_journal_sendv.restype = ct.c_int
|
34
|
+
lib.sd_journal_sendv.argtypes = [ct.POINTER(sd_iovec), ct.c_int]
|
35
|
+
|
36
|
+
return lib
|
37
|
+
|
38
|
+
|
39
|
+
@cached_nullary
|
40
|
+
def sd_try_libsystemd() -> ta.Optional[ta.Any]:
|
41
|
+
try:
|
42
|
+
return sd_libsystemd()
|
43
|
+
except OSError: # noqa
|
44
|
+
return None
|
45
|
+
|
46
|
+
|
47
|
+
##
|
48
|
+
|
49
|
+
|
50
|
+
def sd_journald_send(**fields: str) -> int:
|
51
|
+
lib = sd_libsystemd()
|
52
|
+
|
53
|
+
msgs = [
|
54
|
+
f'{k.upper()}={v}\0'.encode('utf-8')
|
55
|
+
for k, v in fields.items()
|
56
|
+
]
|
57
|
+
|
58
|
+
vec = (sd_iovec * len(msgs))()
|
59
|
+
cl = (ct.c_char_p * len(msgs))() # noqa
|
60
|
+
for i in range(len(msgs)):
|
61
|
+
vec[i].iov_base = ct.cast(ct.c_char_p(msgs[i]), ct.c_void_p)
|
62
|
+
vec[i].iov_len = len(msgs[i]) - 1
|
63
|
+
|
64
|
+
return lib.sd_journal_sendv(vec, len(msgs))
|
65
|
+
|
66
|
+
|
67
|
+
##
|
68
|
+
|
69
|
+
|
70
|
+
SD_LOG_LEVEL_MAP: ta.Mapping[int, int] = {
|
71
|
+
logging.FATAL: syslog.LOG_EMERG, # system is unusable
|
72
|
+
# LOG_ALERT ? # action must be taken immediately
|
73
|
+
logging.CRITICAL: syslog.LOG_CRIT,
|
74
|
+
logging.ERROR: syslog.LOG_ERR,
|
75
|
+
logging.WARNING: syslog.LOG_WARNING,
|
76
|
+
# LOG_NOTICE ? # normal but significant condition
|
77
|
+
logging.INFO: syslog.LOG_INFO,
|
78
|
+
logging.DEBUG: syslog.LOG_DEBUG,
|
79
|
+
}
|
80
|
+
|
81
|
+
|
82
|
+
class JournaldLogHandler(logging.Handler):
|
83
|
+
"""
|
84
|
+
TODO:
|
85
|
+
- fallback handler for when this barfs
|
86
|
+
"""
|
87
|
+
|
88
|
+
def __init__(
|
89
|
+
self,
|
90
|
+
*,
|
91
|
+
use_formatter_output: bool = False,
|
92
|
+
) -> None:
|
93
|
+
super().__init__()
|
94
|
+
|
95
|
+
sd_libsystemd()
|
96
|
+
|
97
|
+
self._use_formatter_output = use_formatter_output
|
98
|
+
|
99
|
+
#
|
100
|
+
|
101
|
+
EXTRA_RECORD_ATTRS_BY_JOURNALD_FIELD: ta.ClassVar[ta.Mapping[str, str]] = {
|
102
|
+
'name': 'name',
|
103
|
+
'module': 'module',
|
104
|
+
'exception': 'exc_text',
|
105
|
+
'thread_name': 'threadName',
|
106
|
+
'task_name': 'taskName',
|
107
|
+
}
|
108
|
+
|
109
|
+
def make_fields(self, record: logging.LogRecord) -> ta.Mapping[str, str]:
|
110
|
+
formatter_message = self.format(record)
|
111
|
+
if self._use_formatter_output:
|
112
|
+
message = formatter_message
|
113
|
+
else:
|
114
|
+
message = record.message
|
115
|
+
|
116
|
+
fields: dict[str, str] = {
|
117
|
+
'message': message,
|
118
|
+
'priority': str(SD_LOG_LEVEL_MAP[record.levelno]),
|
119
|
+
'tid': str(threading.get_ident()),
|
120
|
+
}
|
121
|
+
|
122
|
+
if (pathname := record.pathname) is not None:
|
123
|
+
fields['code_file'] = pathname
|
124
|
+
if (lineno := record.lineno) is not None:
|
125
|
+
fields['code_lineno'] = str(lineno)
|
126
|
+
if (func_name := record.funcName) is not None:
|
127
|
+
fields['code_func'] = func_name
|
128
|
+
|
129
|
+
for f, a in self.EXTRA_RECORD_ATTRS_BY_JOURNALD_FIELD.items():
|
130
|
+
if (v := getattr(record, a, None)) is not None:
|
131
|
+
fields[f] = str(v)
|
132
|
+
|
133
|
+
return fields
|
134
|
+
|
135
|
+
#
|
136
|
+
|
137
|
+
def emit(self, record: logging.LogRecord) -> None:
|
138
|
+
try:
|
139
|
+
fields = self.make_fields(record)
|
140
|
+
|
141
|
+
if rc := sd_journald_send(**fields):
|
142
|
+
raise RuntimeError(f'{self.__class__.__name__}.emit failed: {rc=}') # noqa
|
143
|
+
|
144
|
+
except RecursionError: # See issue 36272
|
145
|
+
raise
|
146
|
+
|
147
|
+
except Exception: # noqa
|
148
|
+
self.handleError(record)
|
149
|
+
|
150
|
+
|
151
|
+
def journald_log_handler_factory(
|
152
|
+
*,
|
153
|
+
no_tty_check: bool = False,
|
154
|
+
no_fallback: bool = False,
|
155
|
+
) -> logging.Handler:
|
156
|
+
if (
|
157
|
+
sys.platform == 'linux' and
|
158
|
+
(no_tty_check or not sys.stderr.isatty()) and
|
159
|
+
(no_fallback or sd_try_libsystemd() is not None)
|
160
|
+
):
|
161
|
+
return JournaldLogHandler()
|
162
|
+
|
163
|
+
return logging.StreamHandler()
|
omlish/lite/logs.py
CHANGED
@@ -91,7 +91,7 @@ class StandardLogFormatter(logging.Formatter):
|
|
91
91
|
if datefmt:
|
92
92
|
return ct.strftime(datefmt) # noqa
|
93
93
|
else:
|
94
|
-
t = ct.strftime(
|
94
|
+
t = ct.strftime('%Y-%m-%d %H:%M:%S')
|
95
95
|
return '%s.%03d' % (t, record.msecs)
|
96
96
|
|
97
97
|
|
@@ -228,6 +228,7 @@ def configure_standard_logging(
|
|
228
228
|
json: bool = False,
|
229
229
|
target: ta.Optional[logging.Logger] = None,
|
230
230
|
force: bool = False,
|
231
|
+
handler_factory: ta.Optional[ta.Callable[[], logging.Handler]] = None,
|
231
232
|
) -> ta.Optional[StandardLogHandler]:
|
232
233
|
with _locking_logging_module_lock():
|
233
234
|
if target is None:
|
@@ -241,7 +242,10 @@ def configure_standard_logging(
|
|
241
242
|
|
242
243
|
#
|
243
244
|
|
244
|
-
|
245
|
+
if handler_factory is not None:
|
246
|
+
handler = handler_factory()
|
247
|
+
else:
|
248
|
+
handler = logging.StreamHandler()
|
245
249
|
|
246
250
|
#
|
247
251
|
|
omlish/logs/_abc.py
CHANGED
@@ -16,27 +16,80 @@ ExceptionInfo: ta.TypeAlias = tuple[type[BaseException], BaseException, types.Tr
|
|
16
16
|
|
17
17
|
|
18
18
|
class LogRecord:
|
19
|
+
"""https://docs.python.org/3/library/logging.html#logrecord-attributes"""
|
20
|
+
|
21
|
+
# Name of the logger used to log the call.
|
19
22
|
name: str
|
23
|
+
|
24
|
+
# Human-readable time when the LogRecord was created. By default this is of the form '2003-07-08 16:49:45,896' (the
|
25
|
+
# numbers after the comma are millisecond portion of the time).
|
26
|
+
asctime: str
|
27
|
+
|
28
|
+
# The logged message, computed as msg % args. This is set when Formatter.format() is invoked.
|
29
|
+
message: str
|
30
|
+
|
31
|
+
# The format string passed in the original logging call. Merged with args to produce message, or an arbitrary object
|
32
|
+
# (see Using arbitrary objects as messages).
|
20
33
|
msg: str
|
34
|
+
|
35
|
+
# The tuple of arguments merged into msg to produce message, or a dict whose values are used for the merge (when
|
36
|
+
# there is only one argument, and it is a dictionary).
|
21
37
|
args: tuple
|
38
|
+
|
39
|
+
# Text logging level for the message ('DEBUG', 'INFO', 'WARNING', 'ERROR', 'CRITICAL').
|
22
40
|
levelname: str
|
41
|
+
|
42
|
+
# # Numeric logging level for the message (DEBUG, INFO, WARNING, ERROR, CRITICAL).
|
23
43
|
levelno: Level
|
44
|
+
|
45
|
+
# Full pathname of the source file where the logging call was issued (if available).
|
24
46
|
pathname: str
|
47
|
+
|
48
|
+
# Filename portion of pathname.
|
25
49
|
filename: str
|
50
|
+
|
51
|
+
# Module (name portion of filename).
|
26
52
|
module: str
|
53
|
+
|
54
|
+
# Exception tuple (à la sys.exc_info) or, if no exception has occurred, None.
|
27
55
|
exc_info: ExceptionInfo | None
|
56
|
+
|
28
57
|
exc_text: str | None
|
58
|
+
|
59
|
+
# Stack frame information (where available) from the bottom of the stack in the current thread, up to and including
|
60
|
+
# the stack frame of the logging call which resulted in the creation of this record.
|
29
61
|
stack_info: str | None
|
62
|
+
|
63
|
+
# Source line number where the logging call was issued (if available).
|
30
64
|
lineno: int
|
65
|
+
|
66
|
+
# Name of function containing the logging call.
|
31
67
|
funcName: str
|
68
|
+
|
69
|
+
# Time when the LogRecord was created (as returned by time.time_ns() / 1e9).
|
32
70
|
created: float
|
71
|
+
|
72
|
+
# Millisecond portion of the time when the LogRecord was created.
|
33
73
|
msecs: float
|
74
|
+
|
75
|
+
# Time in milliseconds when the LogRecord was created, relative to the time the logging module was loaded.
|
34
76
|
relativeCreated: float
|
77
|
+
|
78
|
+
# Thread ID (if available).
|
35
79
|
thread: int
|
80
|
+
|
81
|
+
# Thread name (if available).
|
36
82
|
threadName: str
|
83
|
+
|
84
|
+
# Process name (if available).
|
37
85
|
processName: str
|
86
|
+
|
87
|
+
# Process ID (if available).
|
38
88
|
process: int
|
39
89
|
|
90
|
+
# asyncio.Task name (if available).
|
91
|
+
taskName: str
|
92
|
+
|
40
93
|
|
41
94
|
##
|
42
95
|
|
omlish/logs/handlers.py
CHANGED
@@ -1,6 +1,10 @@
|
|
1
1
|
"""
|
2
2
|
TODO:
|
3
|
-
- @omlish-lite
|
3
|
+
- @omlish-lite ?
|
4
|
+
- 'recipes'
|
5
|
+
- abstract runtime
|
6
|
+
- https://github.com/wrmsr/omnibus/blob/c2ff67b6c5c80aa03fe27a9b6f36212f3212c7ca/omnibus/jmespath/eval.py#L64
|
7
|
+
- pytest-ify
|
4
8
|
|
5
9
|
Applied:
|
6
10
|
https://github.com/jmespath-community/python-jmespath/compare/bbe7300c60056f52413603cf3e2bcd0b6afeda3d...aef45e9d665de662eee31b06aeb8261e2bc8b90a
|
omlish/specs/jmespath/ast.py
CHANGED
@@ -20,9 +20,15 @@ class LeafNode(Node, lang.Abstract):
|
|
20
20
|
return []
|
21
21
|
|
22
22
|
|
23
|
+
UnaryArithmeticOperator: ta.TypeAlias = ta.Literal[
|
24
|
+
'plus',
|
25
|
+
'minus',
|
26
|
+
]
|
27
|
+
|
28
|
+
|
23
29
|
@dc.dataclass(frozen=True)
|
24
30
|
class ArithmeticUnary(Node, lang.Final):
|
25
|
-
operator:
|
31
|
+
operator: UnaryArithmeticOperator
|
26
32
|
expression: Node
|
27
33
|
|
28
34
|
@property
|
@@ -30,9 +36,19 @@ class ArithmeticUnary(Node, lang.Final):
|
|
30
36
|
return [self.expression]
|
31
37
|
|
32
38
|
|
39
|
+
ArithmeticOperator: ta.TypeAlias = ta.Literal[
|
40
|
+
'div',
|
41
|
+
'divide',
|
42
|
+
'minus',
|
43
|
+
'modulo',
|
44
|
+
'multiply',
|
45
|
+
'plus',
|
46
|
+
]
|
47
|
+
|
48
|
+
|
33
49
|
@dc.dataclass(frozen=True)
|
34
50
|
class Arithmetic(Node, lang.Final):
|
35
|
-
operator:
|
51
|
+
operator: ArithmeticOperator
|
36
52
|
left: Node
|
37
53
|
right: Node
|
38
54
|
|
@@ -51,9 +67,19 @@ class Assign(Node, lang.Final):
|
|
51
67
|
return [self.expr]
|
52
68
|
|
53
69
|
|
70
|
+
ComparatorName: ta.TypeAlias = ta.Literal[
|
71
|
+
'eq',
|
72
|
+
'ne',
|
73
|
+
'lt',
|
74
|
+
'gt',
|
75
|
+
'lte',
|
76
|
+
'gte',
|
77
|
+
]
|
78
|
+
|
79
|
+
|
54
80
|
@dc.dataclass(frozen=True)
|
55
81
|
class Comparator(Node, lang.Final):
|
56
|
-
name:
|
82
|
+
name: ComparatorName
|
57
83
|
first: Node
|
58
84
|
second: Node
|
59
85
|
|
@@ -638,6 +638,14 @@ class ObjectFunctions(FunctionsClass):
|
|
638
638
|
def _func_values(self, arg):
|
639
639
|
return list(arg.values())
|
640
640
|
|
641
|
+
@signature({'types': ['expref']}, {'types': ['object']})
|
642
|
+
def _func_filter_keys(self, expref, arg):
|
643
|
+
return {k: v for k, v in arg.items() if expref.visit(expref.expression, k)}
|
644
|
+
|
645
|
+
@signature({'types': ['expref']}, {'types': ['object']})
|
646
|
+
def _func_filter_values(self, expref, arg):
|
647
|
+
return {k: v for k, v in arg.items() if expref.visit(expref.expression, v)}
|
648
|
+
|
641
649
|
|
642
650
|
class KeyedFunctions(FunctionsClass):
|
643
651
|
def _create_key_func(self, expref, allowed_types, function_name):
|
omlish/specs/jmespath/parser.py
CHANGED
@@ -27,9 +27,11 @@ import typing as ta
|
|
27
27
|
from ... import check
|
28
28
|
from .ast import AndExpression
|
29
29
|
from .ast import Arithmetic
|
30
|
+
from .ast import ArithmeticOperator
|
30
31
|
from .ast import ArithmeticUnary
|
31
32
|
from .ast import Assign
|
32
33
|
from .ast import Comparator
|
34
|
+
from .ast import ComparatorName
|
33
35
|
from .ast import CurrentNode
|
34
36
|
from .ast import Expref
|
35
37
|
from .ast import Field
|
@@ -52,6 +54,7 @@ from .ast import Projection
|
|
52
54
|
from .ast import RootNode
|
53
55
|
from .ast import Slice
|
54
56
|
from .ast import Subexpression
|
57
|
+
from .ast import UnaryArithmeticOperator
|
55
58
|
from .ast import ValueProjection
|
56
59
|
from .ast import VariableRef
|
57
60
|
from .exceptions import IncompleteExpressionError
|
@@ -491,15 +494,15 @@ class Parser:
|
|
491
494
|
|
492
495
|
def _parse_comparator(self, left: Node, comparator: str) -> Node:
|
493
496
|
right = self._expression(self.BINDING_POWER[comparator])
|
494
|
-
return Comparator(comparator, left, right)
|
497
|
+
return Comparator(ta.cast(ComparatorName, comparator), left, right)
|
495
498
|
|
496
499
|
def _parse_arithmetic_unary(self, token: Token) -> Node:
|
497
500
|
expression = self._expression(self.BINDING_POWER[token['type']])
|
498
|
-
return ArithmeticUnary(token['type'], expression)
|
501
|
+
return ArithmeticUnary(ta.cast(UnaryArithmeticOperator, token['type']), expression)
|
499
502
|
|
500
503
|
def _parse_arithmetic(self, left: Node, operator: str) -> Node:
|
501
504
|
right = self._expression(self.BINDING_POWER[operator])
|
502
|
-
return Arithmetic(operator, left, right)
|
505
|
+
return Arithmetic(ta.cast(ArithmeticOperator, operator), left, right)
|
503
506
|
|
504
507
|
def _parse_multi_select_list(self) -> Node:
|
505
508
|
expressions: list[Node] = []
|
omlish/specs/jmespath/visitor.py
CHANGED
@@ -6,9 +6,11 @@ from ... import check
|
|
6
6
|
from ... import lang
|
7
7
|
from .ast import AndExpression
|
8
8
|
from .ast import Arithmetic
|
9
|
+
from .ast import ArithmeticOperator
|
9
10
|
from .ast import ArithmeticUnary
|
10
11
|
from .ast import Assign
|
11
12
|
from .ast import Comparator
|
13
|
+
from .ast import ComparatorName
|
12
14
|
from .ast import CurrentNode
|
13
15
|
from .ast import Expref
|
14
16
|
from .ast import Field
|
@@ -31,6 +33,7 @@ from .ast import Projection
|
|
31
33
|
from .ast import RootNode
|
32
34
|
from .ast import Slice
|
33
35
|
from .ast import Subexpression
|
36
|
+
from .ast import UnaryArithmeticOperator
|
34
37
|
from .ast import ValueProjection
|
35
38
|
from .ast import VariableRef
|
36
39
|
from .exceptions import UndefinedVariableError
|
@@ -164,7 +167,7 @@ class _Expression:
|
|
164
167
|
|
165
168
|
|
166
169
|
class TreeInterpreter(Visitor):
|
167
|
-
|
170
|
+
_COMPARATOR_FUNC: ta.Mapping[ComparatorName, ta.Callable] = {
|
168
171
|
'eq': _equals,
|
169
172
|
'ne': lambda x, y: not _equals(x, y),
|
170
173
|
'lt': operator.lt,
|
@@ -173,17 +176,12 @@ class TreeInterpreter(Visitor):
|
|
173
176
|
'gte': operator.ge,
|
174
177
|
}
|
175
178
|
|
176
|
-
_EQUALITY_OPS: ta.AbstractSet[
|
179
|
+
_EQUALITY_OPS: ta.AbstractSet[ComparatorName] = {
|
177
180
|
'eq',
|
178
181
|
'ne',
|
179
182
|
}
|
180
183
|
|
181
|
-
|
182
|
-
'minus': operator.neg,
|
183
|
-
'plus': lambda x: x,
|
184
|
-
}
|
185
|
-
|
186
|
-
_ARITHMETIC_FUNC: ta.Mapping[str, ta.Callable] = {
|
184
|
+
_ARITHMETIC_FUNC: ta.Mapping[ArithmeticOperator, ta.Callable] = {
|
187
185
|
'div': operator.floordiv,
|
188
186
|
'divide': operator.truediv,
|
189
187
|
'minus': operator.sub,
|
@@ -192,6 +190,11 @@ class TreeInterpreter(Visitor):
|
|
192
190
|
'plus': operator.add,
|
193
191
|
}
|
194
192
|
|
193
|
+
_ARITHMETIC_UNARY_FUNC: ta.Mapping[UnaryArithmeticOperator, ta.Callable] = {
|
194
|
+
'minus': operator.neg,
|
195
|
+
'plus': lambda x: x,
|
196
|
+
}
|
197
|
+
|
195
198
|
def __init__(self, options: Options | None = None) -> None:
|
196
199
|
super().__init__()
|
197
200
|
|
@@ -235,7 +238,7 @@ class TreeInterpreter(Visitor):
|
|
235
238
|
|
236
239
|
def visit_comparator(self, node: Comparator, value: ta.Any) -> ta.Any:
|
237
240
|
# Common case: comparator is == or !=
|
238
|
-
comparator_func = self.
|
241
|
+
comparator_func = self._COMPARATOR_FUNC[node.name]
|
239
242
|
if node.name in self._EQUALITY_OPS:
|
240
243
|
return comparator_func(
|
241
244
|
self.visit(node.first, value),
|
@@ -16,9 +16,9 @@ class PydevdPlugin:
|
|
16
16
|
# if (dbg := opd.get_global_debugger()) is not None:
|
17
17
|
# dbg.set_unit_tests_debugging_mode()
|
18
18
|
|
19
|
-
def pytest_exception_interact(self, node, call, report):
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
19
|
+
# def pytest_exception_interact(self, node, call, report):
|
20
|
+
# if opd.get_setup() is not None:
|
21
|
+
# if not node.session.config.option.no_pydevd:
|
22
|
+
# opd.debug_unhandled_exception(call.excinfo._excinfo) # noqa
|
23
|
+
#
|
24
|
+
# return report
|
@@ -1,5 +1,5 @@
|
|
1
1
|
omlish/.manifests.json,sha256=CxGnj-UiRPlZgmgWoovDWrOnqpSEmBy_kqA7cdfSA3w,1431
|
2
|
-
omlish/__about__.py,sha256=
|
2
|
+
omlish/__about__.py,sha256=JGKddDla0hzssCiRfhxitgG_mY-VKslBVWxhzDUU-Fg,3352
|
3
3
|
omlish/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
4
4
|
omlish/argparse.py,sha256=cqKGAqcxuxv_s62z0gq29L9KAvg_3-_rFvXKjVpRJjo,8126
|
5
5
|
omlish/c3.py,sha256=4vogWgwPb8TbNS2KkZxpoWbwjj7MuHG2lQG-hdtkvjI,8062
|
@@ -303,8 +303,9 @@ omlish/lite/check.py,sha256=ouJme9tkzWXKymm_xZDK4mngdYSkxDrok6CSegvf-1w,1015
|
|
303
303
|
omlish/lite/contextmanagers.py,sha256=_n6a9xhn06BD8H6A_SDtcipMrSBpzBqcxI0Ob2juomM,1226
|
304
304
|
omlish/lite/docker.py,sha256=3IVZZtIm7-UdB2SwArmN_MosTva1_KifyYp3YWjODbE,337
|
305
305
|
omlish/lite/io.py,sha256=lcpI1cS_Kn90tvYMg8ZWkSlYloS4RFqXCk-rKyclhdg,3148
|
306
|
+
omlish/lite/journald.py,sha256=3nfahFbTrdrfp9txhtto6JYAyrus2kcAFtviqdm3qAo,3949
|
306
307
|
omlish/lite/json.py,sha256=7-02Ny4fq-6YAu5ynvqoijhuYXWpLmfCI19GUeZnb1c,740
|
307
|
-
omlish/lite/logs.py,sha256=
|
308
|
+
omlish/lite/logs.py,sha256=tw7mbQslkyo9LopfgQnj0tYiqJ9TDNiw7D07aF7Dm2g,6176
|
308
309
|
omlish/lite/marshal.py,sha256=SyYMsJ-TaGO9FX7LykBB0WtqsqetX9eLBotPiz3M_xg,9478
|
309
310
|
omlish/lite/pidfile.py,sha256=PRSDOAXmNkNwxh-Vwif0Nrs8RAmWroiNhLKIbdjwzBc,1723
|
310
311
|
omlish/lite/reflect.py,sha256=9QYJwdINraq1JNMEgvoqeSlVvRRgOXpxAkpgX8EgRXc,1307
|
@@ -313,10 +314,10 @@ omlish/lite/secrets.py,sha256=3Mz3V2jf__XU9qNHcH56sBSw95L3U2UPL24bjvobG0c,816
|
|
313
314
|
omlish/lite/strings.py,sha256=QURcE4-1pKVW8eT_5VCJpXaHDWR2dW2pYOChTJnZDiQ,1504
|
314
315
|
omlish/lite/subprocesses.py,sha256=_YwUpvfaC2pV5TMC9-Ivuw1Ao-YxteD3a1NQwGERft4,3380
|
315
316
|
omlish/logs/__init__.py,sha256=FbOyAW-lGH8gyBlSVArwljdYAU6RnwZLI5LwAfuNnrk,438
|
316
|
-
omlish/logs/_abc.py,sha256=
|
317
|
+
omlish/logs/_abc.py,sha256=rWySJcr1vatu-AR1EYtODRhi-TjFaixqUzXeWg1c0GA,8006
|
317
318
|
omlish/logs/configs.py,sha256=EE0jlNaXJbGnM7V-y4xS5VwyTBSTzFzc0BYaVjg0JmA,1283
|
318
319
|
omlish/logs/formatters.py,sha256=q79nMnR2mRIStPyGrydQHpYTXgC5HHptt8lH3W2Wwbs,671
|
319
|
-
omlish/logs/handlers.py,sha256=
|
320
|
+
omlish/logs/handlers.py,sha256=UpzUf3kWBBzWOnrtljoZsLjISw3Ix-ePz3Nsmp6lRgE,255
|
320
321
|
omlish/logs/noisy.py,sha256=Ubc-eTH6ZbGYsLfUUi69JAotwuUwzb-SJBeGo_0dIZI,348
|
321
322
|
omlish/logs/utils.py,sha256=MgGovbP0zUrZ3FGD3qYNQWn-l0jy0Y0bStcQvv5BOmQ,391
|
322
323
|
omlish/marshal/__init__.py,sha256=iVA7n31L08Bdub6HKPvYOXVvDhk2CMA6rPeKDL_u1to,2298
|
@@ -369,16 +370,16 @@ omlish/secrets/secrets.py,sha256=cnDGBoPknVxsCN04_gqcJT_7Ebk3iO3VPkRZ2oMjkMw,786
|
|
369
370
|
omlish/secrets/subprocesses.py,sha256=EcnKlHHtnUMHGrBWXDfu8tv28wlgZx4P4GOiuPW9Vo8,1105
|
370
371
|
omlish/specs/__init__.py,sha256=zZwF8yXTEkSstYtORkDhVLK-_hWU8WOJCuBpognb_NY,118
|
371
372
|
omlish/specs/jmespath/LICENSE,sha256=IH-ZZlZkS8XMkf_ubNVD1aYHQ2l_wd0tmHtXrCcYpRU,1113
|
372
|
-
omlish/specs/jmespath/__init__.py,sha256=
|
373
|
+
omlish/specs/jmespath/__init__.py,sha256=MfBlUXNSPq5pRyboMgBk8JoIj0lQo-2TQ6Re7IwGQK0,2079
|
373
374
|
omlish/specs/jmespath/__main__.py,sha256=wIXm6bs08etNG_GZlN2rBkADPb0rKfL2HSkm8spnpxw,200
|
374
|
-
omlish/specs/jmespath/ast.py,sha256=
|
375
|
+
omlish/specs/jmespath/ast.py,sha256=XhcUGodHIdsY3-hVZEfpeW6LBehRjLbxVFXkMfZhRdk,5386
|
375
376
|
omlish/specs/jmespath/cli.py,sha256=Lw57Eq5rmpwTwsvOzNmce_-XyoM84OIx5cuPgjUXNb0,2197
|
376
377
|
omlish/specs/jmespath/exceptions.py,sha256=Co1HiUBPFNwFgZY3FV_ayuZoSgZIAmDcImImxauYNxc,4435
|
377
|
-
omlish/specs/jmespath/functions.py,sha256=
|
378
|
+
omlish/specs/jmespath/functions.py,sha256=lE_MlW5rDQirDCE9HtcAG-17kuHhH36RaPaQfk97xDY,22595
|
378
379
|
omlish/specs/jmespath/lexer.py,sha256=hlPGCXPzGhd9ySj-z2cGTbyC9z3e0Io78IMYJZSEwNk,12647
|
379
|
-
omlish/specs/jmespath/parser.py,sha256=
|
380
|
+
omlish/specs/jmespath/parser.py,sha256=IPJ0fCv1Aj2MhsDx5XuddtM2LnnLrynuGs4g7PYCmf0,24453
|
380
381
|
omlish/specs/jmespath/scope.py,sha256=UyDsl9rv_c8DCjJBuVIA2ESu1jrgYvuwEKiaJDQKnT0,1590
|
381
|
-
omlish/specs/jmespath/visitor.py,sha256
|
382
|
+
omlish/specs/jmespath/visitor.py,sha256=yneRMO4qf3k2Mdcm2cPC0ozRgOaudzlxRVRGatztJzs,16569
|
382
383
|
omlish/specs/jsonrpc/__init__.py,sha256=E0EogYSKmbj1D-V57tBgPDTyVuD8HosHqVg0Vh1CVwM,416
|
383
384
|
omlish/specs/jsonrpc/errors.py,sha256=-Zgmlo6bV6J8w5f8h9axQgLquIFBHDgIwcpufEH5NsE,707
|
384
385
|
omlish/specs/jsonrpc/marshal.py,sha256=iXZNR7n0vfL_yiPFFYN-ZyGlzknNXExs2qC1HFChGPU,1913
|
@@ -457,7 +458,7 @@ omlish/testing/pytest/plugins/asyncs.py,sha256=SV6oKCy50CGkzLGYX-CT4MfWNqsrH8ONE
|
|
457
458
|
omlish/testing/pytest/plugins/depskip.py,sha256=xithY-OMtjwhv8mcRNkv-WI_PSQtHldQ8H1s60MIXkk,2673
|
458
459
|
omlish/testing/pytest/plugins/logging.py,sha256=1zs6Xe54wiaSjabCviaFXwKkoN97CKm3mA5mEoUeJGs,380
|
459
460
|
omlish/testing/pytest/plugins/managermarks.py,sha256=AP3ty-QB-8O5DkulwUOudBlUOvXMHhBfNyY-0yCmejk,1520
|
460
|
-
omlish/testing/pytest/plugins/pydevd.py,sha256=
|
461
|
+
omlish/testing/pytest/plugins/pydevd.py,sha256=AXtN83M39ZKJ4VH3MJEhvPnAmYzD5u1r8ehz-0om50Q,842
|
461
462
|
omlish/testing/pytest/plugins/repeat.py,sha256=flSQzE9GFOWksVKz-mUGnpxJpv3yRqn1G4K8pW7JHs0,498
|
462
463
|
omlish/testing/pytest/plugins/skips.py,sha256=EoZDg1uWccgbAegmzqI85c7RliycD1e2J4Y7vfDRhwM,1041
|
463
464
|
omlish/testing/pytest/plugins/spacing.py,sha256=JQQhi9q3c523Ro1a_K_9RGAb7HotiO74N8bYX2VESFE,707
|
@@ -470,9 +471,9 @@ omlish/text/glyphsplit.py,sha256=Ug-dPRO7x-OrNNr8g1y6DotSZ2KH0S-VcOmUobwa4B0,329
|
|
470
471
|
omlish/text/indent.py,sha256=6Jj6TFY9unaPa4xPzrnZemJ-fHsV53IamP93XGjSUHs,1274
|
471
472
|
omlish/text/parts.py,sha256=7vPF1aTZdvLVYJ4EwBZVzRSy8XB3YqPd7JwEnNGGAOo,6495
|
472
473
|
omlish/text/random.py,sha256=jNWpqiaKjKyTdMXC-pWAsSC10AAP-cmRRPVhm59ZWLk,194
|
473
|
-
omlish-0.0.0.
|
474
|
-
omlish-0.0.0.
|
475
|
-
omlish-0.0.0.
|
476
|
-
omlish-0.0.0.
|
477
|
-
omlish-0.0.0.
|
478
|
-
omlish-0.0.0.
|
474
|
+
omlish-0.0.0.dev120.dist-info/LICENSE,sha256=B_hVtavaA8zCYDW99DYdcpDLKz1n3BBRjZrcbv8uG8c,1451
|
475
|
+
omlish-0.0.0.dev120.dist-info/METADATA,sha256=9KUQ86p-Od1hMU_EibbqCHSW6pojpLGYyvZCxg935BE,4000
|
476
|
+
omlish-0.0.0.dev120.dist-info/WHEEL,sha256=R06PA3UVYHThwHvxuRWMqaGcr-PuniXahwjmQRFMEkY,91
|
477
|
+
omlish-0.0.0.dev120.dist-info/entry_points.txt,sha256=Lt84WvRZJskWCAS7xnQGZIeVWksprtUHj0llrvVmod8,35
|
478
|
+
omlish-0.0.0.dev120.dist-info/top_level.txt,sha256=pePsKdLu7DvtUiecdYXJ78iO80uDNmBlqe-8hOzOmfs,7
|
479
|
+
omlish-0.0.0.dev120.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|