ygo 1.0.2__py3-none-any.whl → 1.0.4__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.
Potentially problematic release.
This version of ygo might be problematic. Click here for more details.
- qdf/__init__.py +529 -0
- qdf/errors.py +31 -0
- qdf/expr.py +301 -0
- qdf/qdf.py +158 -0
- qdf/udf/__init__.py +14 -0
- qdf/udf/base_udf.py +145 -0
- qdf/udf/cs_udf.py +97 -0
- qdf/udf/d_udf.py +176 -0
- qdf/udf/ind_udf.py +202 -0
- qdf/udf/ts_udf.py +175 -0
- ycat/client.py +6 -3
- {ygo-1.0.2.dist-info → ygo-1.0.4.dist-info}/METADATA +3 -1
- ygo-1.0.4.dist-info/RECORD +25 -0
- {ygo-1.0.2.dist-info → ygo-1.0.4.dist-info}/top_level.txt +1 -0
- ylog/core.py +17 -14
- ygo-1.0.2.dist-info/RECORD +0 -15
- {ygo-1.0.2.dist-info → ygo-1.0.4.dist-info}/WHEEL +0 -0
- {ygo-1.0.2.dist-info → ygo-1.0.4.dist-info}/licenses/LICENSE +0 -0
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
qdf/__init__.py,sha256=XwH17ae6kX5Grhb_odgDqkNf6N-ambTVi3LoGzq1Fmc,7519
|
|
2
|
+
qdf/errors.py,sha256=vSzX6S_72O1CA5xwzyC2hrVdPCqp6gfqV09Lh-TZ-ns,651
|
|
3
|
+
qdf/expr.py,sha256=qRksAdc9TFUy-_li3DBDuDqsy8iWYTqDdCW3TmtPsZ0,8268
|
|
4
|
+
qdf/qdf.py,sha256=zTFBLanMPTXfgW_lno8UI5Sg5TXUkw4Bnx6d3dnO2fw,5340
|
|
5
|
+
qdf/udf/__init__.py,sha256=DdrSGaCB__5C1YL0vd_5rjIB3KLrAKn3h3k9k50L0jA,313
|
|
6
|
+
qdf/udf/base_udf.py,sha256=6VDaCIGNLJxZ7UsoIDWtTH6PzUDj89b8FiwN-TEat2g,3437
|
|
7
|
+
qdf/udf/cs_udf.py,sha256=HT3EKBwAhOxOFDQnpfwb4YcMTT3-lqFXkdysdn5_FI4,3179
|
|
8
|
+
qdf/udf/d_udf.py,sha256=L9mkX6yDpQPwXvQTAebDepjEkirCqur1DfV2Fnl8KA0,5352
|
|
9
|
+
qdf/udf/ind_udf.py,sha256=hDCKfcLFCgIhdC9dQ5GYxLemZaOE6K7kQyAnjUrwePM,6482
|
|
10
|
+
qdf/udf/ts_udf.py,sha256=uUuZnKMY-V_uInP0nsBMblDpxY3ld3EwvrXTwWMqeig,5410
|
|
11
|
+
ycat/__init__.py,sha256=zBMOFStzKSt_5jw4af6YFtPD5Svr8fJlZkP_AdUjCoA,554
|
|
12
|
+
ycat/client.py,sha256=0zD9BP1TH0f0D_N7sgQ8bgYVKb9hZZRxDU0dkun-G9w,3933
|
|
13
|
+
ycat/dtype.py,sha256=mRGLDe_Ho6-tDsoj5wwrAzozEoIYCAHGKdpRqgBfUcI,12577
|
|
14
|
+
ycat/parse.py,sha256=9Kgr33nHYC96TGpZs98PAu0cbK-FrR0pfuf8lfD647I,2289
|
|
15
|
+
ycat/yck.py,sha256=FlGMBuKEngB4TwFXMp4P3dLg9IfFmUg3eDqXzQ0kQoI,2738
|
|
16
|
+
ygo/__init__.py,sha256=FMN06Tfa8_oV26eklBZCtGTyHZ6MghHxHj4PS_FSXCA,222
|
|
17
|
+
ygo/exceptions.py,sha256=4Kd92kpwpsXHJJkSv4OqcN--PEEvIGGvDDgOOsk68gg,385
|
|
18
|
+
ygo/ygo.py,sha256=vCMUur_41yY0QB4gj8K5wBZHql_cbmANhI8QwPRCTmo,11613
|
|
19
|
+
ygo-1.0.4.dist-info/licenses/LICENSE,sha256=6AKUWQ1xe-jwPSFv_H6FMQLNNWb7AYqzuEUTwlP2S8M,1067
|
|
20
|
+
ylog/__init__.py,sha256=2sIp4PHNoQMCi0QtIarTI4raACd7SdRHNY7fY5hKYwc,397
|
|
21
|
+
ylog/core.py,sha256=To9kTRVUy5tpg299h0psDov3MFsBUhOHplqT2S_B4w4,7920
|
|
22
|
+
ygo-1.0.4.dist-info/METADATA,sha256=CZ9z6Gzgyn_8bMqIyyRLOjPiVG3UyyI8xVirXc6cePk,2035
|
|
23
|
+
ygo-1.0.4.dist-info/WHEEL,sha256=Nw36Djuh_5VDukK0H78QzOX-_FQEo6V37m3nkm96gtU,91
|
|
24
|
+
ygo-1.0.4.dist-info/top_level.txt,sha256=FGbsOtsHgqWzZ9mGRSTCg0pLZEErR1lq5TFQSy2TL1w,18
|
|
25
|
+
ygo-1.0.4.dist-info/RECORD,,
|
ylog/core.py
CHANGED
|
@@ -144,35 +144,38 @@ class _Logger:
|
|
|
144
144
|
|
|
145
145
|
sys.excepthook = handle_exception
|
|
146
146
|
|
|
147
|
-
def
|
|
147
|
+
def _msgs_to_str(self, *msg: str) -> str:
|
|
148
|
+
return " ".join([str(m) for m in msg])
|
|
149
|
+
|
|
150
|
+
def trace(self, *msg: str, **kwargs) -> None:
|
|
148
151
|
"""TRACE级别日志"""
|
|
149
|
-
logger.opt(depth=1).trace(
|
|
152
|
+
logger.opt(depth=1).trace(self._msgs_to_str(*msg), **kwargs)
|
|
150
153
|
|
|
151
|
-
def debug(self,
|
|
154
|
+
def debug(self, *msg: str, **kwargs) -> None:
|
|
152
155
|
"""DEBUG级别日志"""
|
|
153
|
-
logger.opt(depth=1).debug(
|
|
156
|
+
logger.opt(depth=1).debug(self._msgs_to_str(*msg), **kwargs)
|
|
154
157
|
|
|
155
|
-
def info(self,
|
|
158
|
+
def info(self, *msg: str, **kwargs) -> None:
|
|
156
159
|
"""INFO级别日志"""
|
|
157
|
-
logger.opt(depth=1).info(
|
|
160
|
+
logger.opt(depth=1).info(self._msgs_to_str(*msg), **kwargs)
|
|
158
161
|
|
|
159
|
-
def warning(self,
|
|
162
|
+
def warning(self, *msg: str, **kwargs) -> None:
|
|
160
163
|
"""WARNING级别日志"""
|
|
161
|
-
logger.opt(depth=1).warning(
|
|
164
|
+
logger.opt(depth=1).warning(self._msgs_to_str(*msg), **kwargs)
|
|
162
165
|
|
|
163
|
-
def error(self,
|
|
166
|
+
def error(self, *msg: str, exc_info: Optional[BaseException] = None, **kwargs) -> None:
|
|
164
167
|
"""ERROR级别日志"""
|
|
165
168
|
if exc_info:
|
|
166
|
-
logger.opt(depth=1, exception=exc_info).error(
|
|
169
|
+
logger.opt(depth=1, exception=exc_info).error(self._msgs_to_str(*msg), **kwargs)
|
|
167
170
|
else:
|
|
168
|
-
logger.opt(depth=1).error(
|
|
171
|
+
logger.opt(depth=1).error(self._msgs_to_str(*msg), **kwargs)
|
|
169
172
|
|
|
170
|
-
def critical(self,
|
|
173
|
+
def critical(self, *msg: str, exc_info: Optional[BaseException] = None, **kwargs) -> None:
|
|
171
174
|
"""CRITICAL级别日志"""
|
|
172
175
|
if exc_info:
|
|
173
|
-
logger.opt(depth=1, exception=exc_info).critical(
|
|
176
|
+
logger.opt(depth=1, exception=exc_info).critical(self._msgs_to_str(*msg), **kwargs)
|
|
174
177
|
else:
|
|
175
|
-
logger.opt(depth=1).critical(
|
|
178
|
+
logger.opt(depth=1).critical(self._msgs_to_str(*msg), **kwargs)
|
|
176
179
|
|
|
177
180
|
def update_config(
|
|
178
181
|
self,
|
ygo-1.0.2.dist-info/RECORD
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
ycat/__init__.py,sha256=zBMOFStzKSt_5jw4af6YFtPD5Svr8fJlZkP_AdUjCoA,554
|
|
2
|
-
ycat/client.py,sha256=tsrJUeoy_cFiHjX7hnh0dtnO_3njhtMLrQcAfi0TYgQ,3796
|
|
3
|
-
ycat/dtype.py,sha256=mRGLDe_Ho6-tDsoj5wwrAzozEoIYCAHGKdpRqgBfUcI,12577
|
|
4
|
-
ycat/parse.py,sha256=9Kgr33nHYC96TGpZs98PAu0cbK-FrR0pfuf8lfD647I,2289
|
|
5
|
-
ycat/yck.py,sha256=FlGMBuKEngB4TwFXMp4P3dLg9IfFmUg3eDqXzQ0kQoI,2738
|
|
6
|
-
ygo/__init__.py,sha256=FMN06Tfa8_oV26eklBZCtGTyHZ6MghHxHj4PS_FSXCA,222
|
|
7
|
-
ygo/exceptions.py,sha256=4Kd92kpwpsXHJJkSv4OqcN--PEEvIGGvDDgOOsk68gg,385
|
|
8
|
-
ygo/ygo.py,sha256=vCMUur_41yY0QB4gj8K5wBZHql_cbmANhI8QwPRCTmo,11613
|
|
9
|
-
ygo-1.0.2.dist-info/licenses/LICENSE,sha256=6AKUWQ1xe-jwPSFv_H6FMQLNNWb7AYqzuEUTwlP2S8M,1067
|
|
10
|
-
ylog/__init__.py,sha256=2sIp4PHNoQMCi0QtIarTI4raACd7SdRHNY7fY5hKYwc,397
|
|
11
|
-
ylog/core.py,sha256=uO_r5wDrBN5edV_TDHUNzcqRs6DMDDrrjfyqYZhak4w,7716
|
|
12
|
-
ygo-1.0.2.dist-info/METADATA,sha256=fpdhSXCKLch-zfRbgYMasR5HsPaF--CBMsPtSKzN9ss,1980
|
|
13
|
-
ygo-1.0.2.dist-info/WHEEL,sha256=Nw36Djuh_5VDukK0H78QzOX-_FQEo6V37m3nkm96gtU,91
|
|
14
|
-
ygo-1.0.2.dist-info/top_level.txt,sha256=jEbfiz5fX4iSzDg8_Npdv5SIC_Kphmb1m3vuyD9ZC1E,14
|
|
15
|
-
ygo-1.0.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|