ladyrick 0.5.3__py3-none-any.whl → 0.5.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.
- ladyrick/cli/calc.py +9 -9
- ladyrick/cli/multi_ssh.py +1 -1
- {ladyrick-0.5.3.dist-info → ladyrick-0.5.4.dist-info}/METADATA +1 -1
- {ladyrick-0.5.3.dist-info → ladyrick-0.5.4.dist-info}/RECORD +8 -8
- {ladyrick-0.5.3.dist-info → ladyrick-0.5.4.dist-info}/WHEEL +0 -0
- {ladyrick-0.5.3.dist-info → ladyrick-0.5.4.dist-info}/entry_points.txt +0 -0
- {ladyrick-0.5.3.dist-info → ladyrick-0.5.4.dist-info}/licenses/LICENSE +0 -0
- {ladyrick-0.5.3.dist-info → ladyrick-0.5.4.dist-info}/top_level.txt +0 -0
ladyrick/cli/calc.py
CHANGED
@@ -5,15 +5,15 @@ import sys
|
|
5
5
|
def initialize(interactive_mode: bool):
|
6
6
|
imports = {}
|
7
7
|
exec("import ladyrick.patch.rich_print")
|
8
|
-
exec("import math; from math import *",
|
9
|
-
exec("import itertools; from itertools import *",
|
10
|
-
exec("import functools; from functools import cache, lru_cache, partial, reduce",
|
11
|
-
exec("import os, sys, time, re, random",
|
12
|
-
exec("from pathlib import Path",
|
13
|
-
exec("from time import sleep",
|
14
|
-
exec("from subprocess import check_output",
|
15
|
-
exec("from random import randint, choice, random as rand",
|
16
|
-
exec("import ladyrick",
|
8
|
+
exec("import math; from math import *", None, imports)
|
9
|
+
exec("import itertools; from itertools import *", None, imports)
|
10
|
+
exec("import functools; from functools import cache, lru_cache, partial, reduce", None, imports)
|
11
|
+
exec("import os, sys, time, re, random", None, imports)
|
12
|
+
exec("from pathlib import Path", None, imports)
|
13
|
+
exec("from time import sleep", None, imports)
|
14
|
+
exec("from subprocess import check_output", None, imports)
|
15
|
+
exec("from random import randint, choice, random as rand", None, imports)
|
16
|
+
exec("import ladyrick", None, imports)
|
17
17
|
if interactive_mode:
|
18
18
|
imports["ladyrick"].pprint.reg_ipython_cmd()
|
19
19
|
globals().update(imports)
|
ladyrick/cli/multi_ssh.py
CHANGED
@@ -9,8 +9,8 @@ ladyrick/torch.py,sha256=CEdHYaOZ00StZettf4MoIB3tMF0fbzSIH-3pOqOMIZM,1977
|
|
9
9
|
ladyrick/typing.py,sha256=YQeApe63dk7yL4NS5ytlR6v3dLCii2-qsXNlUvjK-zw,203
|
10
10
|
ladyrick/utils.py,sha256=jRRaqC6kNbCJPGeE0YisFgis-wiuINLik1mcUQtytow,608
|
11
11
|
ladyrick/vars.py,sha256=VbFh2u7XybUaBuiYEXBa4sOmoS99vc2AIXdYLBh8vjk,3763
|
12
|
-
ladyrick/cli/calc.py,sha256=
|
13
|
-
ladyrick/cli/multi_ssh.py,sha256=
|
12
|
+
ladyrick/cli/calc.py,sha256=5_UhSSaL_K9FBCHg3zuCk41CHJXy3QAh__qCabbffQY,1438
|
13
|
+
ladyrick/cli/multi_ssh.py,sha256=wbO7woW0roAd6Q5LW861c8h5r7sfkCKW2qvCq-HssTY,9230
|
14
14
|
ladyrick/cli/psf.py,sha256=JLk3gbPn7E3uuPBbzGvLgJmFQlilA6zg_Xlg7xW5jik,1146
|
15
15
|
ladyrick/cli/tee.py,sha256=UMJxSJLOEfbV43auVKRTIJ5ZAMAkAfj8byiFLk5PUHE,3579
|
16
16
|
ladyrick/cli/test_args.py,sha256=f5sUPDlcf6nbNf6UfLwZQI5g5LN8wlFBQZ10GLw22cg,212
|
@@ -21,9 +21,9 @@ ladyrick/patch/rich_print.py,sha256=z3Ea1VCunXZvNvEDFHpoyWc8ydINmh-gOIJ1ssscs6s,
|
|
21
21
|
ladyrick/patch/python/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
22
22
|
ladyrick/patch/python/__main__.py,sha256=BAGy1phd26WWcGM9TKHbqIpeZliVofopBndtMIPtDQ0,651
|
23
23
|
ladyrick/patch/python/usercustomize.py,sha256=8mYpcZ8p-l41fiSJue727n8cAmcEmUktObDYZDdLJfs,218
|
24
|
-
ladyrick-0.5.
|
25
|
-
ladyrick-0.5.
|
26
|
-
ladyrick-0.5.
|
27
|
-
ladyrick-0.5.
|
28
|
-
ladyrick-0.5.
|
29
|
-
ladyrick-0.5.
|
24
|
+
ladyrick-0.5.4.dist-info/licenses/LICENSE,sha256=EeNAFxYAOYEmo2YEM7Zk5Oknq4RI0XMAbk4Rgoem6fs,1065
|
25
|
+
ladyrick-0.5.4.dist-info/METADATA,sha256=lAnPzvF3RUZk9942XC-UDUMZuiD77o_h6LFRZx2jj-c,883
|
26
|
+
ladyrick-0.5.4.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
27
|
+
ladyrick-0.5.4.dist-info/entry_points.txt,sha256=28kidI1OCOAi7S1aHBr8veak49VNZ0tWFvf-Ty8UmSU,225
|
28
|
+
ladyrick-0.5.4.dist-info/top_level.txt,sha256=RIC3-Jty2qzLYXSOr7fOu1loTwlMU9cF6MFeGIROxWU,9
|
29
|
+
ladyrick-0.5.4.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|