pypipr 1.0.114__py3-none-any.whl → 1.0.115__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.
- pypipr/__terminal__.py +21 -19
- pypipr/ivars.py +10 -7
- {pypipr-1.0.114.dist-info → pypipr-1.0.115.dist-info}/METADATA +125 -125
- {pypipr-1.0.114.dist-info → pypipr-1.0.115.dist-info}/RECORD +6 -6
- {pypipr-1.0.114.dist-info → pypipr-1.0.115.dist-info}/WHEEL +0 -0
- {pypipr-1.0.114.dist-info → pypipr-1.0.115.dist-info}/entry_points.txt +0 -0
pypipr/__terminal__.py
CHANGED
@@ -1,30 +1,32 @@
|
|
1
|
-
import
|
2
|
-
|
1
|
+
from pypipr import *
|
3
2
|
|
4
3
|
def main():
|
5
|
-
|
6
|
-
m =
|
4
|
+
ppp = __import__("pypipr")
|
5
|
+
m = ivars(ppp)
|
6
|
+
# m = m["module"] | m["variable"] | m["class"] | m["function"]
|
7
|
+
m = m["variable"] | m["function"]
|
7
8
|
m = [x for x in m]
|
8
|
-
|
9
|
+
|
10
|
+
a = iargv(1)
|
9
11
|
p = "Masukan Nomor Urut atau Nama Fungsi : "
|
10
|
-
m =
|
12
|
+
m = choices(daftar=m, contains=a, prompt=p)
|
11
13
|
|
12
|
-
f = getattr(
|
14
|
+
f = getattr(ppp, m)
|
13
15
|
|
14
|
-
if a
|
15
|
-
|
16
|
+
if a != m:
|
17
|
+
print_colorize(m)
|
16
18
|
print(f.__doc__)
|
17
19
|
|
18
|
-
if
|
19
|
-
|
20
|
-
elif
|
21
|
-
|
22
|
-
elif
|
23
|
-
s =
|
20
|
+
if inspect.isclass(f):
|
21
|
+
print_log("Class tidak dapat dijalankan.")
|
22
|
+
elif inspect.ismodule(f):
|
23
|
+
print_log("Module tidak dapat dijalankan.")
|
24
|
+
elif inspect.isfunction(f):
|
25
|
+
s = inspect.signature(f)
|
24
26
|
|
25
27
|
if not a:
|
26
28
|
print(m, end="")
|
27
|
-
|
29
|
+
print_colorize(s)
|
28
30
|
|
29
31
|
k = {}
|
30
32
|
for i, v in s.parameters.items():
|
@@ -34,9 +36,9 @@ def main():
|
|
34
36
|
try:
|
35
37
|
k[i] = eval(o)
|
36
38
|
except Exception:
|
37
|
-
|
39
|
+
print_colorize(
|
38
40
|
"Input harus dalam syntax python.",
|
39
|
-
color=
|
41
|
+
color=colorama.Fore.RED,
|
40
42
|
)
|
41
43
|
|
42
44
|
f = f(**k)
|
@@ -44,7 +46,7 @@ def main():
|
|
44
46
|
# variable
|
45
47
|
pass
|
46
48
|
|
47
|
-
|
49
|
+
iprint(f)
|
48
50
|
|
49
51
|
|
50
52
|
if __name__ == "__main__":
|
pypipr/ivars.py
CHANGED
@@ -25,20 +25,23 @@ def ivars(obj, skip_underscore=True):
|
|
25
25
|
if y(v):
|
26
26
|
z = x
|
27
27
|
break
|
28
|
-
|
29
|
-
if z is None:
|
28
|
+
else:
|
30
29
|
z = "variable"
|
30
|
+
# if z is None:
|
31
|
+
# z = "variable"
|
32
|
+
# z = z or "variable"
|
31
33
|
|
32
34
|
if i.startswith("__") or i.endswith("__"):
|
33
35
|
if skip_underscore:
|
34
36
|
continue
|
35
37
|
z = f"__{z}__"
|
36
38
|
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
39
|
+
r.setdefault(z, {})[i] = v
|
40
|
+
# try:
|
41
|
+
# r[z][i] = v
|
42
|
+
# except Exception:
|
43
|
+
# r[z] = {}
|
44
|
+
# r[z][i] = v
|
42
45
|
|
43
46
|
return r
|
44
47
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: pypipr
|
3
|
-
Version: 1.0.
|
3
|
+
Version: 1.0.115
|
4
4
|
Summary: The Python Package Index Project
|
5
5
|
Author: ufiapjj
|
6
6
|
Author-email: ufiapjj@gmail.com
|
@@ -245,8 +245,8 @@ print(list(irange(10, 5)))
|
|
245
245
|
|
246
246
|
Output:
|
247
247
|
```py
|
248
|
-
<generator object chr_range at
|
249
|
-
<generator object chr_range at
|
248
|
+
<generator object chr_range at 0x778b6fce10>
|
249
|
+
<generator object chr_range at 0x778b6fce10>
|
250
250
|
['a', 'k', 'u']
|
251
251
|
[1, 2, 3, 4, 5, 6]
|
252
252
|
[10, 9, 8, 7, 6]
|
@@ -273,7 +273,7 @@ print(list(batchmaker(s)))
|
|
273
273
|
|
274
274
|
Output:
|
275
275
|
```py
|
276
|
-
<generator object batchmaker at
|
276
|
+
<generator object batchmaker at 0x778b7283a0>
|
277
277
|
['Urutan 1 dan 10 dan j dan Z saja.', 'Urutan 1 dan 10 dan j dan K saja.', 'Urutan 4 dan 10 dan j dan Z saja.', 'Urutan 4 dan 10 dan j dan K saja.']
|
278
278
|
```
|
279
279
|
|
@@ -327,7 +327,7 @@ print(list(batch_calculate("{1 10} m ** {1 3}")))
|
|
327
327
|
|
328
328
|
Output:
|
329
329
|
```py
|
330
|
-
<generator object batch_calculate at
|
330
|
+
<generator object batch_calculate at 0x778b6af010>
|
331
331
|
[('1 m ** 1', <Quantity(1, 'meter')>), ('1 m ** 2', <Quantity(1, 'meter ** 2')>), ('2 m ** 1', <Quantity(2, 'meter')>), ('2 m ** 2', <Quantity(2, 'meter ** 2')>), ('3 m ** 1', <Quantity(3, 'meter')>), ('3 m ** 2', <Quantity(3, 'meter ** 2')>), ('4 m ** 1', <Quantity(4, 'meter')>), ('4 m ** 2', <Quantity(4, 'meter ** 2')>), ('5 m ** 1', <Quantity(5, 'meter')>), ('5 m ** 2', <Quantity(5, 'meter ** 2')>), ('6 m ** 1', <Quantity(6, 'meter')>), ('6 m ** 2', <Quantity(6, 'meter ** 2')>), ('7 m ** 1', <Quantity(7, 'meter')>), ('7 m ** 2', <Quantity(7, 'meter ** 2')>), ('8 m ** 1', <Quantity(8, 'meter')>), ('8 m ** 2', <Quantity(8, 'meter ** 2')>), ('9 m ** 1', <Quantity(9, 'meter')>), ('9 m ** 2', <Quantity(9, 'meter ** 2')>)]
|
332
332
|
```
|
333
333
|
|
@@ -439,7 +439,7 @@ print(list(chunk_array(arr, 5)))
|
|
439
439
|
|
440
440
|
Output:
|
441
441
|
```py
|
442
|
-
<generator object chunk_array at
|
442
|
+
<generator object chunk_array at 0x778b738440>
|
443
443
|
[[2, 3, 12, 3, 3], [42, 42, 1, 43, 2], [42, 41, 4, 24, 32], [42, 3, 12, 32, 42], [42]]
|
444
444
|
```
|
445
445
|
|
@@ -490,9 +490,9 @@ print(datetime_now("Etc/GMT+7"))
|
|
490
490
|
|
491
491
|
Output:
|
492
492
|
```py
|
493
|
-
2024-04-30 21:
|
494
|
-
2024-04-30 14:
|
495
|
-
2024-04-30 07:
|
493
|
+
2024-04-30 21:41:28.090395+07:00
|
494
|
+
2024-04-30 14:41:28.092197+00:00
|
495
|
+
2024-04-30 07:41:28.095386-07:00
|
496
496
|
```
|
497
497
|
|
498
498
|
## dict_first
|
@@ -597,7 +597,7 @@ print(filter_empty(var))
|
|
597
597
|
|
598
598
|
Output:
|
599
599
|
```py
|
600
|
-
<generator object filter_empty at
|
600
|
+
<generator object filter_empty at 0x778b6af010>
|
601
601
|
```
|
602
602
|
|
603
603
|
## get_class_method
|
@@ -626,8 +626,8 @@ print(list(get_class_method(ExampleGetClassMethod)))
|
|
626
626
|
|
627
627
|
Output:
|
628
628
|
```py
|
629
|
-
<generator object get_class_method at
|
630
|
-
[<function ExampleGetClassMethod.a at
|
629
|
+
<generator object get_class_method at 0x778b6af2e0>
|
630
|
+
[<function ExampleGetClassMethod.a at 0x778b74d3a0>, <function ExampleGetClassMethod.b at 0x778b74d1c0>, <function ExampleGetClassMethod.c at 0x778b74d4e0>, <function ExampleGetClassMethod.d at 0x778b74d580>]
|
631
631
|
```
|
632
632
|
|
633
633
|
## get_filesize
|
@@ -880,7 +880,7 @@ Output:
|
|
880
880
|
|
881
881
|
## ienumerate
|
882
882
|
|
883
|
-
`ienumerate(iterator, start=0, key=<function int_to_int at
|
883
|
+
`ienumerate(iterator, start=0, key=<function int_to_int at 0x778ddd1e40>)`
|
884
884
|
|
885
885
|
## ienv
|
886
886
|
|
@@ -945,7 +945,7 @@ print(ijoin(10, ' '))
|
|
945
945
|
|
946
946
|
Output:
|
947
947
|
```py
|
948
|
-
asd, dfs,
|
948
|
+
weq, asd, dfs, qweqw
|
949
949
|
,ini,path,seperti,url,
|
950
950
|
ini,path,seperti,url
|
951
951
|
<li>satu</li>
|
@@ -989,9 +989,9 @@ Output:
|
|
989
989
|
```py
|
990
990
|
(['Home', 'Emas 1 Gram', 'History', 'Trend', 'Perak 1 Gram', 'Pluang'],
|
991
991
|
[['Harga Emas Hari Ini - Selasa, 30 April 2024'],
|
992
|
-
['Spot Emas USD↓2.
|
992
|
+
['Spot Emas USD↓2.298,30 (-46,24) / oz',
|
993
993
|
'Kurs IDR↑16.249,00 (+27,00) / USD',
|
994
|
-
'Emas IDR↓1.
|
994
|
+
'Emas IDR↓1.200.672 (-22.121) / gr'],
|
995
995
|
['LM Antam (Jual)1.325.000 / gr', 'LM Antam (Beli)1.221.000 / gr']],
|
996
996
|
[['Harga Emas Hari Ini'],
|
997
997
|
['Gram', 'Gedung Antam Jakarta', 'Pegadaian'],
|
@@ -1029,10 +1029,10 @@ Output:
|
|
1029
1029
|
'Update harga LM Pegadaian :31 Agustus 2023']],
|
1030
1030
|
[['Spot Harga Emas Hari Ini (Market Open)'],
|
1031
1031
|
['Satuan', 'USD', 'Kurs\xa0Dollar', 'IDR'],
|
1032
|
-
['Ounce\xa0(oz)', '2.
|
1033
|
-
['Gram\xa0(gr)', '
|
1034
|
-
['Kilogram\xa0(kg)', '
|
1035
|
-
['Update harga emas :30 April 2024, pukul 21:
|
1032
|
+
['Ounce\xa0(oz)', '2.298,30 (-46,24)', '16.249,00 (+27,00)', '37.345.077'],
|
1033
|
+
['Gram\xa0(gr)', '73,89', '16.249,00', '1.200.672 (-22.121)'],
|
1034
|
+
['Kilogram\xa0(kg)', '73.892,06', '16.249,00', '1.200.672.098'],
|
1035
|
+
['Update harga emas :30 April 2024, pukul 21:41Update kurs :30 April 2024, '
|
1036
1036
|
'pukul 13:10']],
|
1037
1037
|
[['Gram', 'UBS Gold 99.99%'],
|
1038
1038
|
['Jual', 'Beli'],
|
@@ -1054,36 +1054,36 @@ Output:
|
|
1054
1054
|
['Unit', 'USD', 'IDR'],
|
1055
1055
|
['Angka', '+/-', 'Angka', '+/-'],
|
1056
1056
|
['Hari Ini', 'Kurs', '', '', '16.222', '+27+0,17%'],
|
1057
|
-
['oz', '2.344,54', '-
|
1058
|
-
['gr', '75,38', '-1,
|
1057
|
+
['oz', '2.344,54', '-46,24-1,97%', '38.033.128', '-688.051-1,81%'],
|
1058
|
+
['gr', '75,38', '-1,49-1,97%', '1.222.793', '-22.121-1,81%'],
|
1059
1059
|
['30 Hari', 'Kurs', '', '', '15.853', '+396+2,50%'],
|
1060
|
-
['oz', '2.232,75', '+
|
1061
|
-
['gr', '71,78', '+2,
|
1060
|
+
['oz', '2.232,75', '+65,55+2,94%', '35.395.786', '+1.949.291+5,51%'],
|
1061
|
+
['gr', '71,78', '+2,11+2,94%', '1.138.001', '+62.671+5,51%'],
|
1062
1062
|
['2 Bulan', 'Kurs', '', '', '15.715', '+534+3,40%'],
|
1063
|
-
['oz', '2.081,20', '+
|
1064
|
-
['gr', '66,91', '+
|
1063
|
+
['oz', '2.081,20', '+217,10+10,43%', '32.706.058', '+4.639.019+14,18%'],
|
1064
|
+
['gr', '66,91', '+6,98+10,43', '1.051.524', '+149.148+14,18%'],
|
1065
1065
|
['6 Bulan', 'Kurs', '', '', '15.946', '+303+1,90%'],
|
1066
|
-
['oz', '1.981,84', '+
|
1067
|
-
['gr', '63,72', '+10,
|
1066
|
+
['oz', '1.981,84', '+316,46+15,97%', '31.602.421', '+5.742.656+18,17%'],
|
1067
|
+
['gr', '63,72', '+10,17+15,97%', '1.016.041', '+184.631+18,17%'],
|
1068
1068
|
['1 Tahun', 'Kurs', '', '', '15.731', '+518+3,29%'],
|
1069
|
-
['oz', '1.823,86', '+
|
1070
|
-
['gr', '58,64', '+15,
|
1069
|
+
['oz', '1.823,86', '+474,44+26,01%', '28.691.142', '+8.653.935+30,16%'],
|
1070
|
+
['gr', '58,64', '+15,25+26,01%', '922.442', '+278.230+30,16%'],
|
1071
1071
|
['2 Tahun', 'Kurs', '', '', '14.418', '+1.831+12,70%'],
|
1072
|
-
['oz', '1.896,95', '+
|
1073
|
-
['gr', '60,99', '+
|
1072
|
+
['oz', '1.896,95', '+401,35+21,16%', '27.350.225', '+9.994.852+36,54%'],
|
1073
|
+
['gr', '60,99', '+12,90+21,16%', '879.330', '+321.342+36,54%'],
|
1074
1074
|
['3 Tahun', 'Kurs', '', '', '14.468', '+1.781+12,31%'],
|
1075
|
-
['oz', '1.768,91', '+
|
1076
|
-
['gr', '56,87', '+17,
|
1075
|
+
['oz', '1.768,91', '+529,39+29,93%', '25.592.590', '+11.752.487+45,92%'],
|
1076
|
+
['gr', '56,87', '+17,02+29,93%', '822.821', '+377.851+45,92%'],
|
1077
1077
|
['5 Tahun', 'Kurs', '', '', '14.245', '+2.004+14,07%'],
|
1078
|
-
['oz', '1.270,94', '+1.
|
1079
|
-
['gr', '40,86', '+33,
|
1078
|
+
['oz', '1.270,94', '+1.027,36+80,83%', '18.104.540', '+19.240.536+106,27%'],
|
1079
|
+
['gr', '40,86', '+33,03+80,83%', '582.074', '+618.598+106,27%']])
|
1080
1080
|
(['Home', 'Emas 1 Gram', 'History', 'Trend', 'Perak 1 Gram', 'Pluang'],
|
1081
1081
|
[[''],
|
1082
1082
|
['Emas 24 KaratHarga Emas 1 Gram', ''],
|
1083
|
-
['USD', '
|
1084
|
-
['KURS', '16.
|
1085
|
-
['IDR', '1.
|
1086
|
-
['Selasa, 30 April 2024 21:
|
1083
|
+
['USD', '73,89↓', '-1,49-1,98%'],
|
1084
|
+
['KURS', '16.252,20↑', '+38,70+0,24%'],
|
1085
|
+
['IDR', '1.200.908,55↓', '-21.244,19-1,74%'],
|
1086
|
+
['Selasa, 30 April 2024 21:41']],
|
1087
1087
|
[[''],
|
1088
1088
|
['Emas 1 Gram (IDR)Emas 1 Gram (USD)Kurs USD-IDR',
|
1089
1089
|
'Hari Ini',
|
@@ -1094,19 +1094,19 @@ Output:
|
|
1094
1094
|
'']],
|
1095
1095
|
[['Pergerakkan Harga Emas 1 Gram'],
|
1096
1096
|
['', 'Penutupan Kemarin', 'Pergerakkan Hari Ini', 'Rata-rata'],
|
1097
|
-
['USD', '75,38', '
|
1098
|
-
['KURS', '16.213,50', '16.213,50 - 16.
|
1099
|
-
['IDR', '1.222.152,74', '1.
|
1097
|
+
['USD', '75,38', '73,89 - 75,38', '74,64'],
|
1098
|
+
['KURS', '16.213,50', '16.213,50 - 16.252,20', '16.232,85'],
|
1099
|
+
['IDR', '1.222.152,74', '1.200.908,55 - 1.222.152,74', '1.211.530,65'],
|
1100
1100
|
[''],
|
1101
1101
|
['', 'Awal Tahun', 'Pergerakkan YTD', '+/- YTD'],
|
1102
|
-
['USD', '66,32', '64,07 - 77,14', '+7,
|
1103
|
-
['KURS', '15.390,10', '15.390,00 - 16.307,80', '+
|
1104
|
-
['IDR', '1.020.729,53', '997.660,12 - 1.256.829,06', '+
|
1102
|
+
['USD', '66,32', '64,07 - 77,14', '+7,57 (11,41%)'],
|
1103
|
+
['KURS', '15.390,10', '15.390,00 - 16.307,80', '+862,10 (5,60%)'],
|
1104
|
+
['IDR', '1.020.729,53', '997.660,12 - 1.256.829,06', '+180.179,02 (17,65%)'],
|
1105
1105
|
[''],
|
1106
1106
|
['', 'Tahun Lalu / 52 Minggu', 'Pergerakkan 52 Minggu', '+/- 52 Minggu'],
|
1107
|
-
['USD', '63,97', '58,43 - 77,14', '+
|
1108
|
-
['KURS', '14.673,55', '14.669,40 - 16.307,80', '+1.
|
1109
|
-
['IDR', '938.709,73', '912.925,68 - 1.256.829,06', '+
|
1107
|
+
['USD', '63,97', '58,43 - 77,14', '+9,92 (15,51%)'],
|
1108
|
+
['KURS', '14.673,55', '14.669,40 - 16.307,80', '+1.578,65 (10,76%)'],
|
1109
|
+
['IDR', '938.709,73', '912.925,68 - 1.256.829,06', '+262.198,82 (27,93%)']])
|
1110
1110
|
```
|
1111
1111
|
|
1112
1112
|
## iloads
|
@@ -1236,7 +1236,7 @@ Output:
|
|
1236
1236
|
```py
|
1237
1237
|
8
|
1238
1238
|
['mana', 'aja']
|
1239
|
-
[<Element a at
|
1239
|
+
[<Element a at 0x778b745db0>, <Element a at 0x778b780ff0>, <Element a at 0x778b781090>, <Element a at 0x778b7810e0>, <Element a at 0x778b781130>, <Element a at 0x778b781180>, <Element a at 0x778b7811d0>, <Element a at 0x778b781220>, <Element a at 0x778b781270>, <Element a at 0x778b7812c0>, <Element a at 0x778b781310>, <Element a at 0x778b781360>, <Element a at 0x778b7813b0>, <Element a at 0x778b781400>, <Element a at 0x778b781450>, <Element a at 0x778b7814a0>, <Element a at 0x778b7814f0>, <Element a at 0x778b781540>]
|
1240
1240
|
False
|
1241
1241
|
```
|
1242
1242
|
|
@@ -1298,7 +1298,7 @@ print(list(iscandir("./", recursive=False, scan_file=False)))
|
|
1298
1298
|
|
1299
1299
|
Output:
|
1300
1300
|
```py
|
1301
|
-
<generator object iscandir at
|
1301
|
+
<generator object iscandir at 0x778b738740>
|
1302
1302
|
[PosixPath('.git'), PosixPath('.vscode'), PosixPath('pypipr'), PosixPath('__pycache__'), PosixPath('dist')]
|
1303
1303
|
```
|
1304
1304
|
|
@@ -1335,73 +1335,73 @@ Output:
|
|
1335
1335
|
'ComparePerformance': <class 'pypipr.ComparePerformance.ComparePerformance'>,
|
1336
1336
|
'PintUregQuantity': <class 'pint.Quantity'>,
|
1337
1337
|
'RunParallel': <class 'pypipr.RunParallel.RunParallel'>},
|
1338
|
-
'function': {'avg': <function avg at
|
1339
|
-
'get_filemtime': <function get_filemtime at
|
1340
|
-
'print_colorize': <function print_colorize at
|
1341
|
-
'print_log': <function print_log at
|
1342
|
-
'console_run': <function console_run at
|
1343
|
-
'auto_reload': <function auto_reload at
|
1344
|
-
'basename': <function basename at
|
1345
|
-
'chr_to_int': <function chr_to_int at
|
1346
|
-
'int_to_chr': <function int_to_chr at
|
1347
|
-
'irange': <function irange at
|
1348
|
-
'batchmaker': <function batchmaker at
|
1349
|
-
'calculate': <function calculate at
|
1350
|
-
'batch_calculate': <function batch_calculate at
|
1351
|
-
'is_empty': <function is_empty at
|
1352
|
-
'exit_if_empty': <function exit_if_empty at
|
1353
|
-
'input_char': <function input_char at
|
1354
|
-
'get_by_index': <function get_by_index at
|
1355
|
-
'choices': <function choices at
|
1356
|
-
'chunk_array': <function chunk_array at
|
1357
|
-
'create_folder': <function create_folder at
|
1358
|
-
'datetime_from_string': <function datetime_from_string at
|
1359
|
-
'datetime_now': <function datetime_now at
|
1360
|
-
'dict_first': <function dict_first at
|
1361
|
-
'dirname': <function dirname at
|
1362
|
-
'is_iterable': <function is_iterable at
|
1363
|
-
'to_str': <function to_str at
|
1364
|
-
'filter_empty': <function filter_empty at
|
1365
|
-
'get_class_method': <function get_class_method at
|
1366
|
-
'get_filesize': <function get_filesize at
|
1367
|
-
'github_pull': <function github_pull at
|
1368
|
-
'github_push': <function github_push at
|
1369
|
-
'github_user': <function github_user at
|
1370
|
-
'iargv': <function iargv at
|
1371
|
-
'idumps_html': <function idumps_html at
|
1372
|
-
'idumps': <function idumps at
|
1373
|
-
'int_to_int': <function int_to_int at
|
1374
|
-
'ienumerate': <function ienumerate at
|
1375
|
-
'ienv': <function ienv at
|
1376
|
-
'iexec': <function iexec at
|
1377
|
-
'ijoin': <function ijoin at
|
1378
|
-
'iloads_html': <function iloads_html at
|
1379
|
-
'iloads': <function iloads at
|
1380
|
-
'int_to_bin': <function int_to_bin at
|
1381
|
-
'int_to_hex': <function int_to_hex at
|
1382
|
-
'int_to_oct': <function int_to_oct at
|
1383
|
-
'is_valid_url': <function is_valid_url at
|
1384
|
-
'iopen': <function iopen at
|
1385
|
-
'iprint': <function iprint at
|
1386
|
-
'ireplace': <function ireplace at
|
1387
|
-
'iscandir': <function iscandir at
|
1388
|
-
'isplit': <function isplit at
|
1389
|
-
'ivars': <function ivars at
|
1390
|
-
'log': <function log at
|
1391
|
-
'password_generator': <function password_generator at
|
1392
|
-
'pip_freeze_without_version': <function pip_freeze_without_version at
|
1393
|
-
'poetry_publish': <function poetry_publish at
|
1394
|
-
'poetry_update_version': <function poetry_update_version at
|
1395
|
-
'print_dir': <function print_dir at
|
1396
|
-
'print_to_last_line': <function print_to_last_line at
|
1397
|
-
'random_bool': <function random_bool at
|
1398
|
-
'restart': <function restart at
|
1399
|
-
'set_timeout': <function set_timeout at
|
1400
|
-
'sets_ordered': <function sets_ordered at
|
1401
|
-
'str_cmp': <function str_cmp at
|
1402
|
-
'text_colorize': <function text_colorize at
|
1338
|
+
'function': {'avg': <function avg at 0x779161e700>,
|
1339
|
+
'get_filemtime': <function get_filemtime at 0x778ded32e0>,
|
1340
|
+
'print_colorize': <function print_colorize at 0x778ded34c0>,
|
1341
|
+
'print_log': <function print_log at 0x778df8ab60>,
|
1342
|
+
'console_run': <function console_run at 0x778ded3380>,
|
1343
|
+
'auto_reload': <function auto_reload at 0x778debbec0>,
|
1344
|
+
'basename': <function basename at 0x778ded3240>,
|
1345
|
+
'chr_to_int': <function chr_to_int at 0x778ded3a60>,
|
1346
|
+
'int_to_chr': <function int_to_chr at 0x778ded3b00>,
|
1347
|
+
'irange': <function irange at 0x778ded3d80>,
|
1348
|
+
'batchmaker': <function batchmaker at 0x778ded3740>,
|
1349
|
+
'calculate': <function calculate at 0x778dcfc2c0>,
|
1350
|
+
'batch_calculate': <function batch_calculate at 0x778ded3600>,
|
1351
|
+
'is_empty': <function is_empty at 0x778dcfc540>,
|
1352
|
+
'exit_if_empty': <function exit_if_empty at 0x778dcfc400>,
|
1353
|
+
'input_char': <function input_char at 0x778dcfc4a0>,
|
1354
|
+
'get_by_index': <function get_by_index at 0x778dcfc5e0>,
|
1355
|
+
'choices': <function choices at 0x778dcfc7c0>,
|
1356
|
+
'chunk_array': <function chunk_array at 0x778dcfc860>,
|
1357
|
+
'create_folder': <function create_folder at 0x778dcfc900>,
|
1358
|
+
'datetime_from_string': <function datetime_from_string at 0x778dcfc9a0>,
|
1359
|
+
'datetime_now': <function datetime_now at 0x778dcfca40>,
|
1360
|
+
'dict_first': <function dict_first at 0x778dcfcae0>,
|
1361
|
+
'dirname': <function dirname at 0x778dcfcb80>,
|
1362
|
+
'is_iterable': <function is_iterable at 0x778dcfcd60>,
|
1363
|
+
'to_str': <function to_str at 0x778dcfce00>,
|
1364
|
+
'filter_empty': <function filter_empty at 0x778dcfcc20>,
|
1365
|
+
'get_class_method': <function get_class_method at 0x778dcfccc0>,
|
1366
|
+
'get_filesize': <function get_filesize at 0x778dcfcf40>,
|
1367
|
+
'github_pull': <function github_pull at 0x778dcfcfe0>,
|
1368
|
+
'github_push': <function github_push at 0x778dcfd1c0>,
|
1369
|
+
'github_user': <function github_user at 0x778dcfd260>,
|
1370
|
+
'iargv': <function iargv at 0x778dcfd080>,
|
1371
|
+
'idumps_html': <function idumps_html at 0x778dcfd4e0>,
|
1372
|
+
'idumps': <function idumps at 0x778dcfd3a0>,
|
1373
|
+
'int_to_int': <function int_to_int at 0x778ddd1e40>,
|
1374
|
+
'ienumerate': <function ienumerate at 0x778dcfd9e0>,
|
1375
|
+
'ienv': <function ienv at 0x778ddd1d00>,
|
1376
|
+
'iexec': <function iexec at 0x778ddd1ee0>,
|
1377
|
+
'ijoin': <function ijoin at 0x778ddd2020>,
|
1378
|
+
'iloads_html': <function iloads_html at 0x778ddd2200>,
|
1379
|
+
'iloads': <function iloads at 0x778ddd1f80>,
|
1380
|
+
'int_to_bin': <function int_to_bin at 0x778ddd2160>,
|
1381
|
+
'int_to_hex': <function int_to_hex at 0x778ddd22a0>,
|
1382
|
+
'int_to_oct': <function int_to_oct at 0x778ddd2340>,
|
1383
|
+
'is_valid_url': <function is_valid_url at 0x778ddd2520>,
|
1384
|
+
'iopen': <function iopen at 0x778dbd2980>,
|
1385
|
+
'iprint': <function iprint at 0x778ddd2480>,
|
1386
|
+
'ireplace': <function ireplace at 0x778ddd2840>,
|
1387
|
+
'iscandir': <function iscandir at 0x778dc860c0>,
|
1388
|
+
'isplit': <function isplit at 0x778dc86160>,
|
1389
|
+
'ivars': <function ivars at 0x778dc86200>,
|
1390
|
+
'log': <function log at 0x778dc862a0>,
|
1391
|
+
'password_generator': <function password_generator at 0x778dc86340>,
|
1392
|
+
'pip_freeze_without_version': <function pip_freeze_without_version at 0x778dc86480>,
|
1393
|
+
'poetry_publish': <function poetry_publish at 0x778dc86520>,
|
1394
|
+
'poetry_update_version': <function poetry_update_version at 0x778dc86660>,
|
1395
|
+
'print_dir': <function print_dir at 0x778dc86840>,
|
1396
|
+
'print_to_last_line': <function print_to_last_line at 0x778dc868e0>,
|
1397
|
+
'random_bool': <function random_bool at 0x778dc86980>,
|
1398
|
+
'restart': <function restart at 0x778dc86a20>,
|
1399
|
+
'set_timeout': <function set_timeout at 0x778dc86ac0>,
|
1400
|
+
'sets_ordered': <function sets_ordered at 0x778dc86b60>,
|
1401
|
+
'str_cmp': <function str_cmp at 0x778dc86c00>,
|
1402
|
+
'text_colorize': <function text_colorize at 0x778dc86ca0>},
|
1403
1403
|
'variable': {'LINUX': True,
|
1404
|
-
'PintUreg': <pint.registry.UnitRegistry object at
|
1404
|
+
'PintUreg': <pint.registry.UnitRegistry object at 0x7791624290>,
|
1405
1405
|
'WINDOWS': False},
|
1406
1406
|
'module': {'asyncio': <module 'asyncio' from '/data/data/com.termux/files/usr/lib/python3.11/asyncio/__init__.py'>,
|
1407
1407
|
'colorama': <module 'colorama' from '/data/data/com.termux/files/usr/lib/python3.11/site-packages/colorama/__init__.py'>,
|
@@ -1475,7 +1475,7 @@ print(password_generator())
|
|
1475
1475
|
|
1476
1476
|
Output:
|
1477
1477
|
```py
|
1478
|
-
|
1478
|
+
L:R/WICc
|
1479
1479
|
```
|
1480
1480
|
|
1481
1481
|
## pip_freeze_without_version
|
@@ -1533,7 +1533,7 @@ Output:
|
|
1533
1533
|
__enter__ : https:/www.google.com
|
1534
1534
|
__fspath__ : https:/www.google.com
|
1535
1535
|
__getstate__ : (None, {'_drv': '', '_root': '', '_parts': ['https:', 'www.google.com'], '_str': 'https:/www.google.com'})
|
1536
|
-
__hash__ :
|
1536
|
+
__hash__ : -1646439377113927840
|
1537
1537
|
__init__ : None
|
1538
1538
|
__init_subclass__ : None
|
1539
1539
|
__module__ : pathlib
|
@@ -1546,8 +1546,8 @@ Output:
|
|
1546
1546
|
_cached_cparts : ['https:', 'www.google.com']
|
1547
1547
|
_cparts : ['https:', 'www.google.com']
|
1548
1548
|
_drv :
|
1549
|
-
_flavour : <pathlib._PosixFlavour object at
|
1550
|
-
_hash :
|
1549
|
+
_flavour : <pathlib._PosixFlavour object at 0x7794d18a10>
|
1550
|
+
_hash : -1646439377113927840
|
1551
1551
|
_parts : ['https:', 'www.google.com']
|
1552
1552
|
_root :
|
1553
1553
|
_str : https:/www.google.com
|
@@ -1569,7 +1569,7 @@ Output:
|
|
1569
1569
|
is_reserved : False
|
1570
1570
|
is_socket : False
|
1571
1571
|
is_symlink : False
|
1572
|
-
iterdir : <generator object Path.iterdir at
|
1572
|
+
iterdir : <generator object Path.iterdir at 0x778b73e7a0>
|
1573
1573
|
joinpath : https:/www.google.com
|
1574
1574
|
name : www.google.com
|
1575
1575
|
parent : https:
|
@@ -1635,7 +1635,7 @@ x.cancel()
|
|
1635
1635
|
|
1636
1636
|
Output:
|
1637
1637
|
```py
|
1638
|
-
<Timer(Thread-2, started
|
1638
|
+
<Timer(Thread-2, started 513412152560)>
|
1639
1639
|
menghentikan timeout 7
|
1640
1640
|
```
|
1641
1641
|
|
@@ -1653,7 +1653,7 @@ print(list(sets_ordered(array)))
|
|
1653
1653
|
|
1654
1654
|
Output:
|
1655
1655
|
```py
|
1656
|
-
<generator object sets_ordered at
|
1656
|
+
<generator object sets_ordered at 0x778b75cd40>
|
1657
1657
|
[2, 3, 12, 42, 1, 43, 41, 4, 24, 32]
|
1658
1658
|
```
|
1659
1659
|
|
@@ -1739,7 +1739,7 @@ print(ExampleComparePerformance().compare_performance())
|
|
1739
1739
|
|
1740
1740
|
Output:
|
1741
1741
|
```py
|
1742
|
-
{'a': <generator object ExampleComparePerformance.a.<locals>.<genexpr> at
|
1742
|
+
{'a': <generator object ExampleComparePerformance.a.<locals>.<genexpr> at 0x778b75c860>,
|
1743
1743
|
'b': (0, 1, 2, 3, 4, 5, 6, 7, 8, 9),
|
1744
1744
|
'c': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
|
1745
1745
|
'd': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]}
|
@@ -6,7 +6,7 @@ pypipr/PintUregQuantity.py,sha256=ErSZKB-GHShi1zKac30XgFdBwAUrxMo80IQzIjQ2HVc,11
|
|
6
6
|
pypipr/RunParallel.py,sha256=BnMasZTnr2gUVVy9dOXePlL_-ud2rWkVPFL2i-sN7rg,7358
|
7
7
|
pypipr/WINDOWS.py,sha256=D-qiViq9LWTCaTefJhbxt-7Z2ty8ll7-DZ5NPFitT94,105
|
8
8
|
pypipr/__init__.py,sha256=YQuHPOQIeHGXzT_KNQlowCifuL4744t5hqtRfI7Ke8c,3002
|
9
|
-
pypipr/__terminal__.py,sha256=
|
9
|
+
pypipr/__terminal__.py,sha256=UdlGb8SIBYjIUHcqx-IQBGUS-Mex02jsVN04b6KdIL0,1253
|
10
10
|
pypipr/auto_reload.py,sha256=h31UvIzunCaPGvP1F5E-jvspk3K06P-EJuGfiN7WEtY,954
|
11
11
|
pypipr/avg.py,sha256=wUtX3x8dgLoODhQLyMB-HRMVo8Ha2yz3cp7lgcUNbr0,218
|
12
12
|
pypipr/basename.py,sha256=nypVfls6YL_7sY-MYHDcatm5flpBpGj2aMlIOKG9YqE,194
|
@@ -56,7 +56,7 @@ pypipr/is_iterable.py,sha256=VCzLfFZyQO5qF2wFTVbuZIxyf4BVkflWiRQaOjd9kFs,922
|
|
56
56
|
pypipr/is_valid_url.py,sha256=g72vv4_9Zy8dtT0i1JvToRX-mgCzojQCBVHdO1KDwqo,1008
|
57
57
|
pypipr/iscandir.py,sha256=U1zvRZrz--5Kge0JooQbY4kQN17bRt-8XR26ZFxUyoA,748
|
58
58
|
pypipr/isplit.py,sha256=N2BiA_wVnrENYwokSzvo0CAiQWk3g7AnwuWFIUgevNM,383
|
59
|
-
pypipr/ivars.py,sha256=
|
59
|
+
pypipr/ivars.py,sha256=9_DYkv5_X7d5W2PIzGYrQHv__bombI-fAFlr7JGiF-Q,1010
|
60
60
|
pypipr/log.py,sha256=aQ9DeFG03xIAUQYR4TiBdh80M6WvxDtNDTSjpKOSXHk,1041
|
61
61
|
pypipr/password_generator.py,sha256=NnFAYkAr6kZiED4JZIJ15_VeGWSpBCCy9rSA5Re_CW4,496
|
62
62
|
pypipr/pip_freeze_without_version.py,sha256=s-sJAtyI9Rdmsaw0dR8YB6cMkJ8bZRArqGrbajiaEJQ,794
|
@@ -73,7 +73,7 @@ pypipr/sets_ordered.py,sha256=ve2Nc1eNYD_7QaTf_4otEAvzL1XpZP2MjX0KHSXF5nA,325
|
|
73
73
|
pypipr/str_cmp.py,sha256=2kavWiT4VTddXcBotF1CxDOWSygk5rFrbllKxBjw9dc,377
|
74
74
|
pypipr/text_colorize.py,sha256=IVjaCnXBSBu4Rh8pTO3CxDvxpA265HVwyKX_-PRXCcI,396
|
75
75
|
pypipr/to_str.py,sha256=vSuspf-ZQldf4enkssa9XH0WMjkmWug51G9ia0K5occ,597
|
76
|
-
pypipr-1.0.
|
77
|
-
pypipr-1.0.
|
78
|
-
pypipr-1.0.
|
79
|
-
pypipr-1.0.
|
76
|
+
pypipr-1.0.115.dist-info/METADATA,sha256=D42tntM61pMtwThpitV5o5XSXD5-X9VbJc2Ngocd7Og,50779
|
77
|
+
pypipr-1.0.115.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
78
|
+
pypipr-1.0.115.dist-info/entry_points.txt,sha256=XEBtOa61BCVW4cVvoqYQnyTcenJ1tzFFB09YnuqlKBY,51
|
79
|
+
pypipr-1.0.115.dist-info/RECORD,,
|
File without changes
|
File without changes
|