omlish 0.0.0.dev87__py3-none-any.whl → 0.0.0.dev89__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
omlish/__about__.py CHANGED
@@ -1,5 +1,5 @@
1
- __version__ = '0.0.0.dev87'
2
- __revision__ = '116137c4ae1e4aaf7ffb66a2847d4a38d6cce73e'
1
+ __version__ = '0.0.0.dev89'
2
+ __revision__ = '0d88588896911954e58df3f8fcc4b10f17ac59d1'
3
3
 
4
4
 
5
5
  #
omlish/bootstrap/sys.py CHANGED
@@ -22,14 +22,14 @@ from .base import SimpleBootstrap
22
22
  if ta.TYPE_CHECKING:
23
23
  from .. import libc
24
24
  from .. import logs
25
- from .. import os as osu
26
25
  from ..formats import dotenv
26
+ from ..lite import pidfile
27
27
 
28
28
  else:
29
29
  libc = lang.proxy_import('..libc', __package__)
30
30
  logs = lang.proxy_import('..logs', __package__)
31
- osu = lang.proxy_import('..os', __package__)
32
31
  dotenv = lang.proxy_import('..formats.dotenv', __package__)
32
+ pidfile = lang.proxy_import('..lite.pidfile', __package__)
33
33
 
34
34
 
35
35
  ##
@@ -317,7 +317,7 @@ class PidfileBootstrap(ContextBootstrap['PidfileBootstrap.Config']):
317
317
  yield
318
318
  return
319
319
 
320
- with osu.Pidfile(self._config.path) as pf:
320
+ with pidfile.Pidfile(self._config.path) as pf:
321
321
  pf.write()
322
322
  yield
323
323
 
omlish/fnpairs.py CHANGED
@@ -3,11 +3,10 @@ TODO:
3
3
  - objects
4
4
  - csv
5
5
  - csvloader
6
- - cbor
7
- - alt json backends
8
6
  - wrapped (wait for usecase)
9
- - streams
7
+ - streams / incremental
10
8
  - fileobj -> fileobj?
9
+ - swap zstandard for zstd
11
10
 
12
11
  Compression choice:
13
12
  - lzma if-available minimal-space
@@ -1,3 +1,8 @@
1
+ """
2
+ TODO:
3
+ - -I/-Ogz, lz4, etc - fnpairs
4
+ - read from http
5
+ """
1
6
  import argparse
2
7
  import codecs
3
8
  import contextlib
@@ -11,6 +16,7 @@ import typing as ta
11
16
  from .... import check
12
17
  from .... import lang
13
18
  from .... import term
19
+ from ....lite.io import DelimitingBuffer
14
20
  from ..render import JsonRenderer
15
21
  from ..stream.build import JsonObjectBuilder
16
22
  from ..stream.lex import JsonStreamLexer
@@ -45,7 +51,10 @@ def _main() -> None:
45
51
 
46
52
  parser.add_argument('--stream', action='store_true')
47
53
  parser.add_argument('--stream-build', action='store_true')
48
- parser.add_argument('--stream-buffer-size', type=int, default=0x4000)
54
+
55
+ parser.add_argument('-l', '--lines', action='store_true')
56
+
57
+ parser.add_argument('--read-buffer-size', type=int, default=0x4000)
49
58
 
50
59
  parser.add_argument('-f', '--format')
51
60
 
@@ -58,7 +67,7 @@ def _main() -> None:
58
67
 
59
68
  parser.add_argument('-c', '--color', action='store_true')
60
69
 
61
- parser.add_argument('-l', '--less', action='store_true')
70
+ parser.add_argument('-L', '--less', action='store_true')
62
71
 
63
72
  args = parser.parse_args()
64
73
 
@@ -168,15 +177,14 @@ def _main() -> None:
168
177
  else:
169
178
  renderer = StreamJsonRenderer(
170
179
  out,
171
- StreamJsonRenderer.Options(
172
- **kw,
173
- style=term_color if args.color else None,
174
- ),
180
+ style=term_color if args.color else None,
181
+ delimiter='\n',
182
+ **kw,
175
183
  )
176
184
  build = None
177
185
 
178
186
  while True:
179
- buf = os.read(fd, args.stream_buffer_size)
187
+ buf = os.read(fd, args.read_buffer_size)
180
188
 
181
189
  for s in decoder.decode(buf, not buf):
182
190
  n = 0
@@ -198,7 +206,18 @@ def _main() -> None:
198
206
  if not buf:
199
207
  break
200
208
 
201
- out.write('\n')
209
+ if renderer is not None:
210
+ out.write('\n')
211
+
212
+ elif args.lines:
213
+ fd = in_file.fileno()
214
+ db = DelimitingBuffer()
215
+
216
+ while buf := os.read(fd, args.read_buffer_size):
217
+ for chunk in db.feed(buf):
218
+ s = check.isinstance(chunk, bytes).decode('utf-8')
219
+ v = fmt.load(io.StringIO(s))
220
+ print(render_one(v), file=out)
202
221
 
203
222
  else:
204
223
  with io.TextIOWrapper(in_file) as tw:
@@ -1,5 +1,4 @@
1
1
  import abc
2
- import dataclasses as dc
3
2
  import enum
4
3
  import io
5
4
  import json
@@ -20,35 +19,32 @@ class AbstractJsonRenderer(lang.Abstract, ta.Generic[I]):
20
19
  VALUE = enum.auto()
21
20
  KEY = enum.auto()
22
21
 
23
- @dc.dataclass(frozen=True, kw_only=True)
24
- class Options:
25
- indent: int | str | None = None
26
- separators: tuple[str, str] | None = None
27
- sort_keys: bool = False
28
- style: ta.Callable[[ta.Any, 'AbstractJsonRenderer.State'], tuple[str, str]] | None = None
29
-
30
22
  def __init__(
31
23
  self,
32
24
  out: JsonRendererOut,
33
- opts: Options = Options(),
25
+ *,
26
+ indent: int | str | None = None,
27
+ separators: tuple[str, str] | None = None,
28
+ sort_keys: bool = False,
29
+ style: ta.Callable[[ta.Any, State], tuple[str, str]] | None = None,
34
30
  ) -> None:
35
31
  super().__init__()
36
32
 
37
33
  self._out = out
38
- self._opts = opts
34
+ self._sort_keys = sort_keys
35
+ self._style = style
39
36
 
40
- separators = opts.separators
41
- if isinstance(opts.indent, (str, int)):
42
- self._indent = (' ' * opts.indent) if isinstance(opts.indent, int) else opts.indent
37
+ if isinstance(indent, (str, int)):
38
+ self._indent = (' ' * indent) if isinstance(indent, int) else indent
43
39
  self._endl = '\n'
44
40
  if separators is None:
45
41
  separators = (',', ': ')
46
- elif opts.indent is None:
42
+ elif indent is None:
47
43
  self._indent = self._endl = ''
48
44
  if separators is None:
49
45
  separators = (', ', ': ')
50
46
  else:
51
- raise TypeError(opts.indent)
47
+ raise TypeError(indent)
52
48
  self._comma, self._colon = separators
53
49
 
54
50
  self._level = 0
@@ -76,7 +72,7 @@ class AbstractJsonRenderer(lang.Abstract, ta.Generic[I]):
76
72
  @classmethod
77
73
  def render_str(cls, i: I, **kwargs: ta.Any) -> str:
78
74
  out = io.StringIO()
79
- cls(out, cls.Options(**kwargs)).render(i)
75
+ cls(out, **kwargs).render(i)
80
76
  return out.getvalue()
81
77
 
82
78
 
@@ -86,8 +82,8 @@ class JsonRenderer(AbstractJsonRenderer[ta.Any]):
86
82
  o: ta.Any,
87
83
  state: AbstractJsonRenderer.State = AbstractJsonRenderer.State.VALUE,
88
84
  ) -> None:
89
- if self._opts.style is not None:
90
- pre, post = self._opts.style(o, state)
85
+ if self._style is not None:
86
+ pre, post = self._style(o, state)
91
87
  self._write(pre)
92
88
  else:
93
89
  post = None
@@ -102,7 +98,7 @@ class JsonRenderer(AbstractJsonRenderer[ta.Any]):
102
98
  self._write('{')
103
99
  self._level += 1
104
100
  items = list(o.items())
105
- if self._opts.sort_keys:
101
+ if self._sort_keys:
106
102
  items.sort(key=lambda t: t[0])
107
103
  for i, (k, v) in enumerate(items):
108
104
  if i:
@@ -94,7 +94,7 @@ CONST_TOKENS: ta.Mapping[str, tuple[TokenKind, str | float | None]] = {
94
94
  ##
95
95
 
96
96
 
97
- @dc.dataclass(frozen=True)
97
+ @dc.dataclass()
98
98
  class JsonLexError(Exception):
99
99
  message: str
100
100
 
@@ -3,7 +3,6 @@ import typing as ta
3
3
 
4
4
  from ..render import AbstractJsonRenderer
5
5
  from ..render import JsonRendererOut
6
- from .build import JsonObjectBuilder
7
6
  from .parse import BeginArray
8
7
  from .parse import BeginObject
9
8
  from .parse import EndArray
@@ -19,23 +18,28 @@ class StreamJsonRenderer(AbstractJsonRenderer[ta.Iterable[JsonStreamParserEvent]
19
18
  def __init__(
20
19
  self,
21
20
  out: JsonRendererOut,
22
- opts: AbstractJsonRenderer.Options = AbstractJsonRenderer.Options(),
21
+ *,
22
+ delimiter: str = '',
23
+ sort_keys: bool = False,
24
+ **kwargs: ta.Any,
23
25
  ) -> None:
24
- if opts.sort_keys:
26
+ if sort_keys:
25
27
  raise TypeError('Not yet implemented')
26
28
 
27
- super().__init__(out, opts)
29
+ self._delimiter = delimiter
30
+
31
+ super().__init__(out, **kwargs)
28
32
 
29
33
  self._stack: list[tuple[ta.Literal['OBJECT', 'ARRAY'], int]] = []
30
- self._builder: JsonObjectBuilder | None = None
34
+ self._need_delimit = False
31
35
 
32
36
  def _render_value(
33
37
  self,
34
38
  o: ta.Any,
35
39
  state: AbstractJsonRenderer.State = AbstractJsonRenderer.State.VALUE,
36
40
  ) -> None:
37
- if self._opts.style is not None:
38
- pre, post = self._opts.style(o, state)
41
+ if self._style is not None:
42
+ pre, post = self._style(o, state)
39
43
  self._write(pre)
40
44
  else:
41
45
  post = None
@@ -53,6 +57,10 @@ class StreamJsonRenderer(AbstractJsonRenderer[ta.Iterable[JsonStreamParserEvent]
53
57
  self._write(post)
54
58
 
55
59
  def _render(self, e: JsonStreamParserEvent) -> None:
60
+ if self._need_delimit:
61
+ self._write(self._delimiter)
62
+ self._need_delimit = False
63
+
56
64
  if e != EndArray and self._stack and (tt := self._stack[-1])[0] == 'ARRAY':
57
65
  if tt[1]:
58
66
  self._write(self._comma)
@@ -64,6 +72,8 @@ class StreamJsonRenderer(AbstractJsonRenderer[ta.Iterable[JsonStreamParserEvent]
64
72
 
65
73
  if e is None or isinstance(e, (str, int, float, bool)):
66
74
  self._render_value(e)
75
+ if not self._stack:
76
+ self._need_delimit = True
67
77
 
68
78
  #
69
79
 
@@ -92,6 +102,8 @@ class StreamJsonRenderer(AbstractJsonRenderer[ta.Iterable[JsonStreamParserEvent]
92
102
  if tt[1]:
93
103
  self._write_indent()
94
104
  self._write('}')
105
+ if not self._stack:
106
+ self._need_delimit = True
95
107
 
96
108
  #
97
109
 
@@ -108,6 +120,8 @@ class StreamJsonRenderer(AbstractJsonRenderer[ta.Iterable[JsonStreamParserEvent]
108
120
  if tt[1]:
109
121
  self._write_indent()
110
122
  self._write(']')
123
+ if not self._stack:
124
+ self._need_delimit = True
111
125
 
112
126
  #
113
127
 
omlish/lite/pidfile.py ADDED
@@ -0,0 +1,68 @@
1
+ # ruff: noqa: UP007
2
+ import fcntl
3
+ import os
4
+ import signal
5
+ import typing as ta
6
+
7
+
8
+ class Pidfile:
9
+ def __init__(self, path: str) -> None:
10
+ super().__init__()
11
+ self._path = path
12
+
13
+ _f: ta.TextIO
14
+
15
+ def __repr__(self) -> str:
16
+ return f'{self.__class__.__name__}({self._path!r})'
17
+
18
+ def __enter__(self) -> 'Pidfile':
19
+ fd = os.open(self._path, os.O_RDWR | os.O_CREAT, 0o600)
20
+ try:
21
+ os.set_inheritable(fd, True)
22
+ f = os.fdopen(fd, 'r+')
23
+ except Exception:
24
+ try:
25
+ os.close(fd)
26
+ except Exception: # noqa
27
+ pass
28
+ raise
29
+ self._f = f
30
+ return self
31
+
32
+ def __exit__(self, exc_type, exc_val, exc_tb):
33
+ if self._f is not None:
34
+ self._f.close()
35
+ del self._f
36
+
37
+ def try_lock(self) -> bool:
38
+ try:
39
+ fcntl.flock(self._f, fcntl.LOCK_EX | fcntl.LOCK_NB)
40
+ return True
41
+ except OSError:
42
+ return False
43
+
44
+ def ensure_locked(self) -> None:
45
+ if not self.try_lock():
46
+ raise RuntimeError('Could not get lock')
47
+
48
+ def write(self, pid: ta.Optional[int] = None) -> None:
49
+ self.ensure_locked()
50
+ if pid is None:
51
+ pid = os.getpid()
52
+ self._f.write(f'{pid}\n')
53
+ self._f.flush()
54
+
55
+ def clear(self) -> None:
56
+ self.ensure_locked()
57
+ self._f.seek(0)
58
+ self._f.truncate()
59
+
60
+ def read(self) -> int:
61
+ if self.try_lock():
62
+ raise RuntimeError('Got lock')
63
+ self._f.seek(0)
64
+ return int(self._f.read())
65
+
66
+ def kill(self, sig: int = signal.SIGTERM) -> None:
67
+ pid = self.read()
68
+ os.kill(pid, sig) # FIXME: Still racy
omlish/os.py CHANGED
@@ -1,9 +1,7 @@
1
1
  import contextlib
2
- import fcntl
3
2
  import os
4
3
  import resource
5
4
  import shutil
6
- import signal
7
5
  import tempfile
8
6
  import typing as ta
9
7
 
@@ -44,67 +42,6 @@ def tmp_file(
44
42
  shutil.rmtree(f.name, ignore_errors=True)
45
43
 
46
44
 
47
- class Pidfile:
48
- def __init__(self, path: str) -> None:
49
- super().__init__()
50
- self._path = path
51
-
52
- _f: ta.TextIO
53
-
54
- def __repr__(self) -> str:
55
- return f'{self.__class__.__name__}({self._path!r})'
56
-
57
- def __enter__(self) -> ta.Self:
58
- fd = os.open(self._path, os.O_RDWR | os.O_CREAT, 0o600)
59
- try:
60
- os.set_inheritable(fd, True)
61
- f = os.fdopen(fd, 'r+')
62
- except Exception:
63
- try:
64
- os.close(fd)
65
- except Exception: # noqa
66
- pass
67
- raise
68
- self._f = f
69
- return self
70
-
71
- def __exit__(self, exc_type, exc_val, exc_tb):
72
- if self._f is not None:
73
- self._f.close()
74
- del self._f
75
-
76
- def try_lock(self) -> bool:
77
- try:
78
- fcntl.flock(self._f, fcntl.LOCK_EX | fcntl.LOCK_NB)
79
- return True
80
- except OSError:
81
- return False
82
-
83
- def write(self, pid: int | None = None) -> None:
84
- if not self.try_lock():
85
- raise RuntimeError('Could not get lock')
86
- if pid is None:
87
- pid = os.getpid()
88
- self._f.write(f'{pid}\n')
89
- self._f.flush()
90
-
91
- def clear(self) -> None:
92
- if not self.try_lock():
93
- raise RuntimeError('Could not get lock')
94
- self._f.seek(0)
95
- self._f.truncate()
96
-
97
- def read(self) -> int:
98
- if self.try_lock():
99
- raise RuntimeError('Got lock')
100
- self._f.seek(0)
101
- return int(self._f.read())
102
-
103
- def kill(self, sig: int = signal.SIGTERM) -> None:
104
- pid = self.read()
105
- os.kill(pid, sig) # Still racy
106
-
107
-
108
45
  def touch(self, mode: int = 0o666, exist_ok: bool = True) -> None:
109
46
  if exist_ok:
110
47
  # First try to bump modification time
omlish/sql/dbapi.py CHANGED
@@ -69,6 +69,10 @@ class DbapiDriver:
69
69
 
70
70
 
71
71
  class DbapiDrivers(lang.Namespace):
72
+
73
+ ##
74
+ # sqlite
75
+
72
76
  SQLITE3 = DbapiDriver(
73
77
  name='sqlite3',
74
78
  dialect=DbapiDialect.SQLITE,
@@ -88,7 +92,8 @@ class DbapiDrivers(lang.Namespace):
88
92
  param_style=ParamStyle.QMARK,
89
93
  )
90
94
 
91
- #
95
+ ##
96
+ # mysql
92
97
 
93
98
  PYMYSQL = DbapiDriver(
94
99
  name='pymysql',
@@ -112,7 +117,8 @@ class DbapiDrivers(lang.Namespace):
112
117
  module_name='MySQLdb',
113
118
  )
114
119
 
115
- #
120
+ ##
121
+ # postgres
116
122
 
117
123
  PG8000 = DbapiDriver(
118
124
  name='pg8000',
@@ -132,7 +138,8 @@ class DbapiDrivers(lang.Namespace):
132
138
  param_style=ParamStyle.PYFORMAT,
133
139
  )
134
140
 
135
- #
141
+ ##
142
+ # snowflake
136
143
 
137
144
  SNOWFLAKE = DbapiDriver(
138
145
  name='snowflake',
@@ -18,11 +18,11 @@ from .stmts import Stmt
18
18
 
19
19
 
20
20
  class Values(dc.Frozen, lang.Final):
21
- vs: ta.Sequence[Expr]
21
+ vs: ta.Sequence[Expr] = dc.xfield(coerce=tuple)
22
22
 
23
23
 
24
24
  class Insert(Stmt, lang.Final):
25
- columns: ta.Sequence[Ident]
25
+ columns: ta.Sequence[Ident] = dc.xfield(coerce=tuple)
26
26
  into: Relation
27
27
  data: Values | Select
28
28
 
@@ -44,7 +44,7 @@ class SelectBuilder(ExprBuilder, RelationBuilder):
44
44
  where: CanExpr | None = None,
45
45
  ) -> Select:
46
46
  return Select(
47
- [self.select_item(i) for i in items],
47
+ tuple(self.select_item(i) for i in items),
48
48
  from_=self.relation(from_) if from_ is not None else None,
49
49
  where=self.expr(where) if where is not None else None,
50
50
  )
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: omlish
3
- Version: 0.0.0.dev87
3
+ Version: 0.0.0.dev89
4
4
  Summary: omlish
5
5
  Author: wrmsr
6
6
  License: BSD-3-Clause
@@ -1,5 +1,5 @@
1
1
  omlish/.manifests.json,sha256=hTFp9tvE72BxKloIq1s1SS0LRQlIsvMtO69Sbc47rKg,1704
2
- omlish/__about__.py,sha256=Q99g7Qxo_-Dt6G8U5KsZ2FKuyTgYrxju6TU7S9xtiok,3345
2
+ omlish/__about__.py,sha256=Q9mDryV_qCQEGDjiz3WA4lC9VWXTq11Nhm_Gz3REKoY,3345
3
3
  omlish/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
4
  omlish/argparse.py,sha256=Dc73G8lyoQBLvXhMYUbzQUh4SJu_OTvKUXjSUxq_ang,7499
5
5
  omlish/c3.py,sha256=4vogWgwPb8TbNS2KkZxpoWbwjj7MuHG2lQG-hdtkvjI,8062
@@ -8,14 +8,14 @@ omlish/check.py,sha256=rZFEn6IHiMq4KGCYxlUGcUCJP12pPPUs_-AG0aouPM8,10540
8
8
  omlish/datetimes.py,sha256=HajeM1kBvwlTa-uR1TTZHmZ3zTPnnUr1uGGQhiO1XQ0,2152
9
9
  omlish/defs.py,sha256=T3bq_7h_tO3nDB5RAFBn7DkdeQgqheXzkFColbOHZko,4890
10
10
  omlish/dynamic.py,sha256=35C_cCX_Vq2HrHzGk5T-zbrMvmUdiIiwDzDNixczoDo,6541
11
- omlish/fnpairs.py,sha256=Sl8CMFNyDS-1JYAjSWqnT5FmUm9Lj6o7FxSRo7g4jww,10875
11
+ omlish/fnpairs.py,sha256=wHm1AUt-bwDCGnWrKrE2ppJav5OBm39lTyeHGaMTLBo,10885
12
12
  omlish/fnpipes.py,sha256=AJkgz9nvRRm7oqw7ZgYyz21klu276LWi54oYCLg-vOg,2196
13
13
  omlish/genmachine.py,sha256=RlU-y_dt2nRdvoo7Z3HsUELlBn3KuyI4qUnqLVbChRI,2450
14
14
  omlish/iterators.py,sha256=GGLC7RIT86uXMjhIIIqnff_Iu5SI_b9rXYywYGFyzmo,7292
15
15
  omlish/libc.py,sha256=8r7Ejyhttk9ruCfBkxNTrlzir5WPbDE2vmY7VPlceMA,15362
16
16
  omlish/matchfns.py,sha256=I1IlQGfEyk_AcFSy6ulVS3utC-uwyZM2YfUXYHc9Bw0,6152
17
17
  omlish/multiprocessing.py,sha256=QZT4C7I-uThCAjaEY3xgUYb-5GagUlnE4etN01LDyU4,5186
18
- omlish/os.py,sha256=vO1sZCzAhVxo46tDFLrD52q2KuMFWQwu5MPJgSsnliI,3107
18
+ omlish/os.py,sha256=5nJ-a9JKSMoaZVZ1eOa5BAbfL7o7CF7ue_PyJwufnwY,1460
19
19
  omlish/runmodule.py,sha256=PWvuAaJ9wQQn6bx9ftEL3_d04DyotNn8dR_twm2pgw0,700
20
20
  omlish/sync.py,sha256=AqwIfIuCMVHLwlJUa7dmaSjfA4sM5AYPCD5-nsz3XVQ,1516
21
21
  omlish/term.py,sha256=NEmxqAhicyInGtmFamZAizI2xdu819MzFYPEp0Fx97M,6111
@@ -93,7 +93,7 @@ omlish/bootstrap/diag.py,sha256=LADLhusbJ1tKxVD8-gmia1HShX1VeszRO1OApIQhSpI,5507
93
93
  omlish/bootstrap/harness.py,sha256=VW8YP-yENGyXIuJ8GL_xintArF13nafwpz-iAghPt34,1967
94
94
  omlish/bootstrap/main.py,sha256=yZhOHDDlj4xB5a89dRdT8z58FsqqnpoBg1-tvY2CJe4,5903
95
95
  omlish/bootstrap/marshal.py,sha256=ZxdAeMNd2qXRZ1HUK89HmEhz8tqlS9OduW34QBscKw0,516
96
- omlish/bootstrap/sys.py,sha256=i6veZeE83wO0HTl9b6ykj_pEN05fqu0enoAv4sw5Ayc,8742
96
+ omlish/bootstrap/sys.py,sha256=iLHUNIuIPv-k-Mc6aHj5sSET78olCVt7t0HquFDO4iQ,8762
97
97
  omlish/collections/__init__.py,sha256=tGUzvS_ZjiqALsLRy7JX3h4KZRQX2CmtdAfTRD7UwMk,1677
98
98
  omlish/collections/_abc.py,sha256=sP7BpTVhx6s6C59mTFeosBi4rHOWC6tbFBYbxdZmvh0,2365
99
99
  omlish/collections/_io_abc.py,sha256=Cxs8KB1B_69rxpUYxI-MTsilAmNooJJn3w07DKqYKkE,1255
@@ -187,7 +187,7 @@ omlish/formats/json/__init__.py,sha256=xqW2APLGvCTO9dVTOlroR_AdrA5bCkdmUnbTkYHhJ
187
187
  omlish/formats/json/consts.py,sha256=u-x-qXqZvK0tWk3l3TrCTjk4mSjKmZ_ATdmd1hwHNAY,263
188
188
  omlish/formats/json/encoding.py,sha256=O4iIWle7W_-RwpOvJNlqOfkbnDyiQHexV5Za4hlrFzw,497
189
189
  omlish/formats/json/json.py,sha256=Mdqv2vdMi7gp96eV0BIYH5UdWpjWfsh-tSMZeywG-08,331
190
- omlish/formats/json/render.py,sha256=H6q1R3gL6ULAnfEhQRKDOzDJjWizdsRDYxIerBSEbq8,3797
190
+ omlish/formats/json/render.py,sha256=CRAh-DhfOcyjqM1DVBvZ22xl_h3jPPd_Hn0WqDYT3bo,3623
191
191
  omlish/formats/json/backends/__init__.py,sha256=gnaNDCxy_KmmPUPDnjxO5_WjuWxLGbI9FYWx8ZJuQUU,97
192
192
  omlish/formats/json/backends/base.py,sha256=WqtyoM82pyM0NyqpPwndrebr1bUVU1QlpmVQNrcAO8c,1114
193
193
  omlish/formats/json/backends/default.py,sha256=a-eM-Y1IHdpYvZFjazwq_orRncjtYR7BKxP_2kpEXog,322
@@ -197,13 +197,13 @@ omlish/formats/json/backends/std.py,sha256=PM00Kh9ZR2XzollHMEvdo35Eml1N-zFfRW-LO
197
197
  omlish/formats/json/backends/ujson.py,sha256=BNJCU4kluGHdqTUKLJEuHhE2m2TmqR7HEN289S0Eokg,2278
198
198
  omlish/formats/json/cli/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
199
199
  omlish/formats/json/cli/__main__.py,sha256=1wxxKZVkj_u7HCcewwMIbGuZj_Wph95yrUbm474Op9M,188
200
- omlish/formats/json/cli/cli.py,sha256=GkdNokklRuDWiXAIai1wijSBFVJlpdlNLTQ3Lyucos0,5493
200
+ omlish/formats/json/cli/cli.py,sha256=Ka-S-_L79HjaqbIi1SbGDywbYtEtoo673_DIG9m14jM,6027
201
201
  omlish/formats/json/cli/formats.py,sha256=tqEZKby4HeafGcaUs-m8B-2ZV12dRo40rzL-V99cp00,1714
202
202
  omlish/formats/json/stream/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
203
203
  omlish/formats/json/stream/build.py,sha256=6deXBxTx1toFAPShz2Jo5OiXxH5Y4ppG8gDPRFoUgjA,2461
204
- omlish/formats/json/stream/lex.py,sha256=01K_M9na7-3xv0h3VDBobLXuTS-w4YesNJ6GhOaDtYA,6494
204
+ omlish/formats/json/stream/lex.py,sha256=_JYoWFRpo3_dQmT7xXCWGFNoBT4M8m97G9oGzwPZeo4,6483
205
205
  omlish/formats/json/stream/parse.py,sha256=WkbW7tvcdrTSluKhw70nPvjsq943eryVcjx8FSz78tM,5198
206
- omlish/formats/json/stream/render.py,sha256=B9ZNuBiDJOT25prhIsZu1ICKjxk4eMPwpgQF37NPufs,3212
206
+ omlish/formats/json/stream/render.py,sha256=EKQ9tstWgnVdSlzJWNpX3diaSZWzVGLgIzRaSZMVqKM,3549
207
207
  omlish/graphs/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
208
208
  omlish/graphs/dags.py,sha256=zp55lYgUdRCxmADwiGDHeehMJczZFA_tzdWqy77icOk,3047
209
209
  omlish/graphs/domination.py,sha256=oCGoWzWTxLwow0LDyGjjEf2AjFiOiDz4WaBtczwSbsQ,7576
@@ -296,6 +296,7 @@ omlish/lite/io.py,sha256=lcpI1cS_Kn90tvYMg8ZWkSlYloS4RFqXCk-rKyclhdg,3148
296
296
  omlish/lite/json.py,sha256=7-02Ny4fq-6YAu5ynvqoijhuYXWpLmfCI19GUeZnb1c,740
297
297
  omlish/lite/logs.py,sha256=vkFkSX0Izb2P-NNMqqNLSec0BzeLOtHoQWgdXwQuDPU,6007
298
298
  omlish/lite/marshal.py,sha256=kZtfIiFfmxEi8ZKne3fT0R8g8kLmJ-Q5nq4kOvwhiqk,8656
299
+ omlish/lite/pidfile.py,sha256=ymcr6JhEt33caZMsay_auQI0Ok-OTc6qpn49Zena5KQ,1723
299
300
  omlish/lite/reflect.py,sha256=9QYJwdINraq1JNMEgvoqeSlVvRRgOXpxAkpgX8EgRXc,1307
300
301
  omlish/lite/runtime.py,sha256=VUhmNQvwf8QzkWSKj4Q0ReieJA_PzHaJNRBivfTseow,452
301
302
  omlish/lite/secrets.py,sha256=3Mz3V2jf__XU9qNHcH56sBSw95L3U2UPL24bjvobG0c,816
@@ -397,7 +398,7 @@ omlish/specs/openapi/marshal.py,sha256=ob_qUbT9-de86KhPjFccl_NP0liQcXK7Ao-b5Hn0V
397
398
  omlish/specs/openapi/openapi.py,sha256=y4h04jeB7ORJSVrcy7apaBdpwLjIyscv1Ub5SderH2c,12682
398
399
  omlish/sql/__init__.py,sha256=TpZLsEJKJzvJ0eMzuV8hwOJJbkxBCV1RZPUMLAVB6io,173
399
400
  omlish/sql/_abc.py,sha256=kiOitW_ZhTXrJanJ582wD7o9K69v6HXqDPkxuHEAxrc,1606
400
- omlish/sql/dbapi.py,sha256=j7iTExICb5as82j3OaxQ4ZBqmz0mrpaPCYot2k9JxCc,3127
401
+ omlish/sql/dbapi.py,sha256=5ghJH-HexsmDlYdWlhf00nCGQX2IC98_gxIxMkucOas,3195
401
402
  omlish/sql/dbs.py,sha256=lpdFmm2vTwLoBiVYGj9yPsVcTEYYNCxlYZZpjfChzkY,1870
402
403
  omlish/sql/params.py,sha256=Z4VPet6GhNqD1T_MXSWSHkdy3cpUEhST-OplC4B_fYI,4433
403
404
  omlish/sql/qualifiedname.py,sha256=rlW3gVmyucJbqwcxj_7BfK4X2HoXrMroZT2H45zPgJQ,2264
@@ -413,14 +414,14 @@ omlish/sql/queries/binary.py,sha256=dcEzeEn104AMPuQ7QrJU2O-YCN3SUdxB5S4jaWKOUqY,
413
414
  omlish/sql/queries/building.py,sha256=dIQyEqNef2egKAf5qO_aZvXxlAEfxIGWS23qvJ-ozqQ,591
414
415
  omlish/sql/queries/exprs.py,sha256=kAI5PmvfJ-TqEzzc9H4_womFShT1eA0jWSZH2j2Wg-c,1802
415
416
  omlish/sql/queries/idents.py,sha256=erW6fE9UapuvW1ZeLfGFz7yuW6zzktWIWmOuAHeF8_g,496
416
- omlish/sql/queries/inserts.py,sha256=PS3oqGjDgnjUd4sxHVpfKDQnsjG4_6KTseRzWyiJQl0,1229
417
+ omlish/sql/queries/inserts.py,sha256=Uo0ewnLPEt43dnX5AJWOC9ioViou7xYes7sGT9lD_0k,1281
417
418
  omlish/sql/queries/marshal.py,sha256=uLN_gOqiYHBQioZEvg7OREycY0bzKwzBw5mnbg_0cio,2938
418
419
  omlish/sql/queries/multi.py,sha256=7x6x-4jnPzxA6ZasBjnjFuhHFpWt5rGCua3UvuTMIJ0,837
419
420
  omlish/sql/queries/names.py,sha256=YiIyS6ehYMYrdLlUxMawV_Xf2zdi7RwVO9Qsxr_W4_4,772
420
421
  omlish/sql/queries/ops.py,sha256=B7IDfjr2DW5LJhWoNaY1WW90BJhe5ZtmxIELhWXbW-0,129
421
422
  omlish/sql/queries/relations.py,sha256=-d3n-dN17c3TPMZmzSplhWawllUzdq12XPDAuzoeMEQ,838
422
423
  omlish/sql/queries/rendering.py,sha256=QegTkbSGlGKen4U4XB2lqjpkt1WGaZUmXmVR2gm8UiU,5944
423
- omlish/sql/queries/selects.py,sha256=EcHlyKl5kGSY1d3GVxnImhGCTB6WvwQnlSA9eZanBqU,1364
424
+ omlish/sql/queries/selects.py,sha256=8dqm4KyrJvOsW3KHSO7qLEfPlZa7sJDp8puuGxrfvoA,1369
424
425
  omlish/sql/queries/stmts.py,sha256=pBqwD7dRlqMu6uh6vR3xaWOEgbZCcFWbOQ9ryYd17T4,441
425
426
  omlish/sql/queries/unary.py,sha256=MEYBDZn_H0bexmUrJeONOv5-gIpYowUaXOsEHeQM4ks,1144
426
427
  omlish/sql/tabledefs/__init__.py,sha256=TvtQsp-jJu6_ZahyCOFAaElSSBcRftNyJpdiDPGYCDk,190
@@ -456,9 +457,9 @@ omlish/text/delimit.py,sha256=ubPXcXQmtbOVrUsNh5gH1mDq5H-n1y2R4cPL5_DQf68,4928
456
457
  omlish/text/glyphsplit.py,sha256=Ug-dPRO7x-OrNNr8g1y6DotSZ2KH0S-VcOmUobwa4B0,3296
457
458
  omlish/text/indent.py,sha256=6Jj6TFY9unaPa4xPzrnZemJ-fHsV53IamP93XGjSUHs,1274
458
459
  omlish/text/parts.py,sha256=7vPF1aTZdvLVYJ4EwBZVzRSy8XB3YqPd7JwEnNGGAOo,6495
459
- omlish-0.0.0.dev87.dist-info/LICENSE,sha256=B_hVtavaA8zCYDW99DYdcpDLKz1n3BBRjZrcbv8uG8c,1451
460
- omlish-0.0.0.dev87.dist-info/METADATA,sha256=qGRlUmzNWBRYtFD05J2YIWoeH_zcIAR6kKj3hBa6x9s,3987
461
- omlish-0.0.0.dev87.dist-info/WHEEL,sha256=OVMc5UfuAQiSplgO0_WdW7vXVGAt9Hdd6qtN4HotdyA,91
462
- omlish-0.0.0.dev87.dist-info/entry_points.txt,sha256=Lt84WvRZJskWCAS7xnQGZIeVWksprtUHj0llrvVmod8,35
463
- omlish-0.0.0.dev87.dist-info/top_level.txt,sha256=pePsKdLu7DvtUiecdYXJ78iO80uDNmBlqe-8hOzOmfs,7
464
- omlish-0.0.0.dev87.dist-info/RECORD,,
460
+ omlish-0.0.0.dev89.dist-info/LICENSE,sha256=B_hVtavaA8zCYDW99DYdcpDLKz1n3BBRjZrcbv8uG8c,1451
461
+ omlish-0.0.0.dev89.dist-info/METADATA,sha256=E-REh5OdeGYQIyX_OlzG4PETzDPS54hW-foOupBbXFc,3987
462
+ omlish-0.0.0.dev89.dist-info/WHEEL,sha256=P9jw-gEje8ByB7_hXoICnHtVCrEwMQh-630tKvQWehc,91
463
+ omlish-0.0.0.dev89.dist-info/entry_points.txt,sha256=Lt84WvRZJskWCAS7xnQGZIeVWksprtUHj0llrvVmod8,35
464
+ omlish-0.0.0.dev89.dist-info/top_level.txt,sha256=pePsKdLu7DvtUiecdYXJ78iO80uDNmBlqe-8hOzOmfs,7
465
+ omlish-0.0.0.dev89.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (75.2.0)
2
+ Generator: setuptools (75.3.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5