pypipr 1.0.112__tar.gz → 1.0.113__tar.gz
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-1.0.112 → pypipr-1.0.113}/PKG-INFO +127 -127
- {pypipr-1.0.112 → pypipr-1.0.113}/pypipr/choices.py +1 -1
- {pypipr-1.0.112 → pypipr-1.0.113}/pyproject.toml +1 -1
- {pypipr-1.0.112 → pypipr-1.0.113}/readme.md +126 -126
- {pypipr-1.0.112 → pypipr-1.0.113}/pypipr/APIMixinView.py +0 -0
- {pypipr-1.0.112 → pypipr-1.0.113}/pypipr/ComparePerformance.py +0 -0
- {pypipr-1.0.112 → pypipr-1.0.113}/pypipr/LINUX.py +0 -0
- {pypipr-1.0.112 → pypipr-1.0.113}/pypipr/PintUreg.py +0 -0
- {pypipr-1.0.112 → pypipr-1.0.113}/pypipr/PintUregQuantity.py +0 -0
- {pypipr-1.0.112 → pypipr-1.0.113}/pypipr/RunParallel.py +0 -0
- {pypipr-1.0.112 → pypipr-1.0.113}/pypipr/WINDOWS.py +0 -0
- {pypipr-1.0.112 → pypipr-1.0.113}/pypipr/__init__.py +0 -0
- {pypipr-1.0.112 → pypipr-1.0.113}/pypipr/__terminal__.py +0 -0
- {pypipr-1.0.112 → pypipr-1.0.113}/pypipr/auto_reload.py +0 -0
- {pypipr-1.0.112 → pypipr-1.0.113}/pypipr/avg.py +0 -0
- {pypipr-1.0.112 → pypipr-1.0.113}/pypipr/basename.py +0 -0
- {pypipr-1.0.112 → pypipr-1.0.113}/pypipr/batch_calculate.py +0 -0
- {pypipr-1.0.112 → pypipr-1.0.113}/pypipr/batchmaker.py +0 -0
- {pypipr-1.0.112 → pypipr-1.0.113}/pypipr/calculate.py +0 -0
- {pypipr-1.0.112 → pypipr-1.0.113}/pypipr/choices.py.bak +0 -0
- {pypipr-1.0.112 → pypipr-1.0.113}/pypipr/chr_to_int.py +0 -0
- {pypipr-1.0.112 → pypipr-1.0.113}/pypipr/chunk_array.py +0 -0
- {pypipr-1.0.112 → pypipr-1.0.113}/pypipr/console_run.py +0 -0
- {pypipr-1.0.112 → pypipr-1.0.113}/pypipr/create_folder.py +0 -0
- {pypipr-1.0.112 → pypipr-1.0.113}/pypipr/datetime_from_string.py +0 -0
- {pypipr-1.0.112 → pypipr-1.0.113}/pypipr/datetime_now.py +0 -0
- {pypipr-1.0.112 → pypipr-1.0.113}/pypipr/dict_first.py +0 -0
- {pypipr-1.0.112 → pypipr-1.0.113}/pypipr/dirname.py +0 -0
- {pypipr-1.0.112 → pypipr-1.0.113}/pypipr/exit_if_empty.py +0 -0
- {pypipr-1.0.112 → pypipr-1.0.113}/pypipr/filter_empty.py +0 -0
- {pypipr-1.0.112 → pypipr-1.0.113}/pypipr/get_by_index.py +0 -0
- {pypipr-1.0.112 → pypipr-1.0.113}/pypipr/get_class_method.py +0 -0
- {pypipr-1.0.112 → pypipr-1.0.113}/pypipr/get_filemtime.py +0 -0
- {pypipr-1.0.112 → pypipr-1.0.113}/pypipr/get_filesize.py +0 -0
- {pypipr-1.0.112 → pypipr-1.0.113}/pypipr/github_pull.py +0 -0
- {pypipr-1.0.112 → pypipr-1.0.113}/pypipr/github_push.py +0 -0
- {pypipr-1.0.112 → pypipr-1.0.113}/pypipr/github_user.py +0 -0
- {pypipr-1.0.112 → pypipr-1.0.113}/pypipr/iargv.py +0 -0
- {pypipr-1.0.112 → pypipr-1.0.113}/pypipr/idumps.py +0 -0
- {pypipr-1.0.112 → pypipr-1.0.113}/pypipr/idumps_html.py +0 -0
- {pypipr-1.0.112 → pypipr-1.0.113}/pypipr/ienumerate.py +0 -0
- {pypipr-1.0.112 → pypipr-1.0.113}/pypipr/ienv.py +0 -0
- {pypipr-1.0.112 → pypipr-1.0.113}/pypipr/iexec.py +0 -0
- {pypipr-1.0.112 → pypipr-1.0.113}/pypipr/ijoin.py +0 -0
- {pypipr-1.0.112 → pypipr-1.0.113}/pypipr/iloads.py +0 -0
- {pypipr-1.0.112 → pypipr-1.0.113}/pypipr/iloads_html.py +0 -0
- {pypipr-1.0.112 → pypipr-1.0.113}/pypipr/input_char.py +0 -0
- {pypipr-1.0.112 → pypipr-1.0.113}/pypipr/int_to_bin.py +0 -0
- {pypipr-1.0.112 → pypipr-1.0.113}/pypipr/int_to_chr.py +0 -0
- {pypipr-1.0.112 → pypipr-1.0.113}/pypipr/int_to_hex.py +0 -0
- {pypipr-1.0.112 → pypipr-1.0.113}/pypipr/int_to_int.py +0 -0
- {pypipr-1.0.112 → pypipr-1.0.113}/pypipr/int_to_oct.py +0 -0
- {pypipr-1.0.112 → pypipr-1.0.113}/pypipr/iopen.py +0 -0
- {pypipr-1.0.112 → pypipr-1.0.113}/pypipr/iprint.py +0 -0
- {pypipr-1.0.112 → pypipr-1.0.113}/pypipr/irange.py +0 -0
- {pypipr-1.0.112 → pypipr-1.0.113}/pypipr/ireplace.py +0 -0
- {pypipr-1.0.112 → pypipr-1.0.113}/pypipr/is_empty.py +0 -0
- {pypipr-1.0.112 → pypipr-1.0.113}/pypipr/is_iterable.py +0 -0
- {pypipr-1.0.112 → pypipr-1.0.113}/pypipr/is_valid_url.py +0 -0
- {pypipr-1.0.112 → pypipr-1.0.113}/pypipr/iscandir.py +0 -0
- {pypipr-1.0.112 → pypipr-1.0.113}/pypipr/isplit.py +0 -0
- {pypipr-1.0.112 → pypipr-1.0.113}/pypipr/ivars.py +0 -0
- {pypipr-1.0.112 → pypipr-1.0.113}/pypipr/log.py +0 -0
- {pypipr-1.0.112 → pypipr-1.0.113}/pypipr/password_generator.py +0 -0
- {pypipr-1.0.112 → pypipr-1.0.113}/pypipr/pip_freeze_without_version.py +0 -0
- {pypipr-1.0.112 → pypipr-1.0.113}/pypipr/poetry_publish.py +0 -0
- {pypipr-1.0.112 → pypipr-1.0.113}/pypipr/poetry_update_version.py +0 -0
- {pypipr-1.0.112 → pypipr-1.0.113}/pypipr/print_colorize.py +0 -0
- {pypipr-1.0.112 → pypipr-1.0.113}/pypipr/print_dir.py +0 -0
- {pypipr-1.0.112 → pypipr-1.0.113}/pypipr/print_log.py +0 -0
- {pypipr-1.0.112 → pypipr-1.0.113}/pypipr/print_to_last_line.py +0 -0
- {pypipr-1.0.112 → pypipr-1.0.113}/pypipr/random_bool.py +0 -0
- {pypipr-1.0.112 → pypipr-1.0.113}/pypipr/restart.py +0 -0
- {pypipr-1.0.112 → pypipr-1.0.113}/pypipr/set_timeout.py +0 -0
- {pypipr-1.0.112 → pypipr-1.0.113}/pypipr/sets_ordered.py +0 -0
- {pypipr-1.0.112 → pypipr-1.0.113}/pypipr/str_cmp.py +0 -0
- {pypipr-1.0.112 → pypipr-1.0.113}/pypipr/text_colorize.py +0 -0
- {pypipr-1.0.112 → pypipr-1.0.113}/pypipr/to_str.py +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: pypipr
|
3
|
-
Version: 1.0.
|
3
|
+
Version: 1.0.113
|
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 0x72741289d0>
|
249
|
+
<generator object chr_range at 0x72741289d0>
|
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 0x7274158280>
|
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 0x72740d3100>
|
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
|
|
@@ -349,7 +349,7 @@ Output:
|
|
349
349
|
|
350
350
|
## ienumerate
|
351
351
|
|
352
|
-
`ienumerate(iterator, start=0, key=<function int_to_int at
|
352
|
+
`ienumerate(iterator, start=0, key=<function int_to_int at 0x727e2604a0>)`
|
353
353
|
|
354
354
|
## print_to_last_line
|
355
355
|
|
@@ -376,7 +376,7 @@ text_colorize("Print some text", color=colorama.Fore.RED)
|
|
376
376
|
|
377
377
|
## choices
|
378
378
|
|
379
|
-
`choices(iterator, title=None, prompt='', default=None, key=<function int_to_int at
|
379
|
+
`choices(iterator, title=None, prompt='', default=None, key=<function int_to_int at 0x727e2604a0>)`
|
380
380
|
|
381
381
|
Memudahkan dalam membuat pilihan untuk user dalam tampilan console
|
382
382
|
|
@@ -412,7 +412,7 @@ print(list(chunk_array(arr, 5)))
|
|
412
412
|
|
413
413
|
Output:
|
414
414
|
```py
|
415
|
-
<generator object chunk_array at
|
415
|
+
<generator object chunk_array at 0x727415c640>
|
416
416
|
[[2, 3, 12, 3, 3], [42, 42, 1, 43, 2], [42, 41, 4, 24, 32], [42, 3, 12, 32, 42], [42]]
|
417
417
|
```
|
418
418
|
|
@@ -463,9 +463,9 @@ print(datetime_now("Etc/GMT+7"))
|
|
463
463
|
|
464
464
|
Output:
|
465
465
|
```py
|
466
|
-
2024-04-30 19:
|
467
|
-
2024-04-30 12:
|
468
|
-
2024-04-30 05:
|
466
|
+
2024-04-30 19:20:17.402143+07:00
|
467
|
+
2024-04-30 12:20:17.402865+00:00
|
468
|
+
2024-04-30 05:20:17.404179-07:00
|
469
469
|
```
|
470
470
|
|
471
471
|
## dict_first
|
@@ -611,7 +611,7 @@ print(filter_empty(var))
|
|
611
611
|
|
612
612
|
Output:
|
613
613
|
```py
|
614
|
-
<generator object filter_empty at
|
614
|
+
<generator object filter_empty at 0x72740d16c0>
|
615
615
|
```
|
616
616
|
|
617
617
|
## get_by_index
|
@@ -657,8 +657,8 @@ print(list(get_class_method(ExampleGetClassMethod)))
|
|
657
657
|
|
658
658
|
Output:
|
659
659
|
```py
|
660
|
-
<generator object get_class_method at
|
661
|
-
[<function ExampleGetClassMethod.a at
|
660
|
+
<generator object get_class_method at 0x72740d33d0>
|
661
|
+
[<function ExampleGetClassMethod.a at 0x7274175080>, <function ExampleGetClassMethod.b at 0x7274175120>, <function ExampleGetClassMethod.c at 0x72741751c0>, <function ExampleGetClassMethod.d at 0x7274175260>]
|
662
662
|
```
|
663
663
|
|
664
664
|
## get_filesize
|
@@ -956,7 +956,7 @@ print(ijoin(10, ' '))
|
|
956
956
|
|
957
957
|
Output:
|
958
958
|
```py
|
959
|
-
asd,
|
959
|
+
weq, asd, qweqw, dfs
|
960
960
|
,ini,path,seperti,url,
|
961
961
|
ini,path,seperti,url
|
962
962
|
<li>satu</li>
|
@@ -1000,9 +1000,9 @@ Output:
|
|
1000
1000
|
```py
|
1001
1001
|
(['Home', 'Emas 1 Gram', 'History', 'Trend', 'Perak 1 Gram', 'Pluang'],
|
1002
1002
|
[['Harga Emas Hari Ini - Selasa, 30 April 2024'],
|
1003
|
-
['Spot Emas USD↓2.
|
1003
|
+
['Spot Emas USD↓2.312,87 (-31,67) / oz',
|
1004
1004
|
'Kurs IDR↑16.249,00 (+27,00) / USD',
|
1005
|
-
'Emas IDR↓1.
|
1005
|
+
'Emas IDR↓1.208.284 (-14.510) / gr'],
|
1006
1006
|
['LM Antam (Jual)1.325.000 / gr', 'LM Antam (Beli)1.221.000 / gr']],
|
1007
1007
|
[['Harga Emas Hari Ini'],
|
1008
1008
|
['Gram', 'Gedung Antam Jakarta', 'Pegadaian'],
|
@@ -1040,10 +1040,10 @@ Output:
|
|
1040
1040
|
'Update harga LM Pegadaian :31 Agustus 2023']],
|
1041
1041
|
[['Spot Harga Emas Hari Ini (Market Open)'],
|
1042
1042
|
['Satuan', 'USD', 'Kurs\xa0Dollar', 'IDR'],
|
1043
|
-
['Ounce\xa0(oz)', '2.
|
1044
|
-
['Gram\xa0(gr)', '74,
|
1045
|
-
['Kilogram\xa0(kg)', '74.
|
1046
|
-
['Update harga emas :30 April 2024, pukul 19:
|
1043
|
+
['Ounce\xa0(oz)', '2.312,87 (-31,67)', '16.249,00 (+27,00)', '37.581.825'],
|
1044
|
+
['Gram\xa0(gr)', '74,36', '16.249,00', '1.208.284 (-14.510)'],
|
1045
|
+
['Kilogram\xa0(kg)', '74.360,50', '16.249,00', '1.208.283.720'],
|
1046
|
+
['Update harga emas :30 April 2024, pukul 19:19Update kurs :30 April 2024, '
|
1047
1047
|
'pukul 13:10']],
|
1048
1048
|
[['Gram', 'UBS Gold 99.99%'],
|
1049
1049
|
['Jual', 'Beli'],
|
@@ -1065,36 +1065,36 @@ Output:
|
|
1065
1065
|
['Unit', 'USD', 'IDR'],
|
1066
1066
|
['Angka', '+/-', 'Angka', '+/-'],
|
1067
1067
|
['Hari Ini', 'Kurs', '', '', '16.222', '+27+0,17%'],
|
1068
|
-
['oz', '2.344,54', '-
|
1069
|
-
['gr', '75,38', '-1,
|
1068
|
+
['oz', '2.344,54', '-31,67-1,35%', '38.033.128', '-451.303-1,19%'],
|
1069
|
+
['gr', '75,38', '-1,02-1,35%', '1.222.793', '-14.510-1,19%'],
|
1070
1070
|
['30 Hari', 'Kurs', '', '', '15.853', '+396+2,50%'],
|
1071
|
-
['oz', '2.232,75', '+
|
1072
|
-
['gr', '71,78', '+2,
|
1071
|
+
['oz', '2.232,75', '+80,12+3,59%', '35.395.786', '+2.186.039+6,18%'],
|
1072
|
+
['gr', '71,78', '+2,58+3,59%', '1.138.001', '+70.283+6,18%'],
|
1073
1073
|
['2 Bulan', 'Kurs', '', '', '15.715', '+534+3,40%'],
|
1074
|
-
['oz', '2.081,20', '+
|
1075
|
-
['gr', '66,91', '+7,
|
1074
|
+
['oz', '2.081,20', '+231,67+11,13%', '32.706.058', '+4.875.767+14,91%'],
|
1075
|
+
['gr', '66,91', '+7,45+11,13', '1.051.524', '+156.760+14,91%'],
|
1076
1076
|
['6 Bulan', 'Kurs', '', '', '15.946', '+303+1,90%'],
|
1077
|
-
['oz', '1.981,84', '+
|
1078
|
-
['gr', '63,72', '+10,
|
1077
|
+
['oz', '1.981,84', '+331,03+16,70%', '31.602.421', '+5.979.404+18,92%'],
|
1078
|
+
['gr', '63,72', '+10,64+16,70%', '1.016.041', '+192.242+18,92%'],
|
1079
1079
|
['1 Tahun', 'Kurs', '', '', '15.731', '+518+3,29%'],
|
1080
|
-
['oz', '1.823,86', '+
|
1081
|
-
['gr', '58,64', '+15,
|
1080
|
+
['oz', '1.823,86', '+489,01+26,81%', '28.691.142', '+8.890.683+30,99%'],
|
1081
|
+
['gr', '58,64', '+15,72+26,81%', '922.442', '+285.842+30,99%'],
|
1082
1082
|
['2 Tahun', 'Kurs', '', '', '14.418', '+1.831+12,70%'],
|
1083
|
-
['oz', '1.896,95', '+
|
1084
|
-
['gr', '60,99', '+13,
|
1083
|
+
['oz', '1.896,95', '+415,92+21,93%', '27.350.225', '+10.231.600+37,41%'],
|
1084
|
+
['gr', '60,99', '+13,37+21,93%', '879.330', '+328.954+37,41%'],
|
1085
1085
|
['3 Tahun', 'Kurs', '', '', '14.468', '+1.781+12,31%'],
|
1086
|
-
['oz', '1.768,91', '+
|
1087
|
-
['gr', '56,87', '+17,
|
1086
|
+
['oz', '1.768,91', '+543,96+30,75%', '25.592.590', '+11.989.235+46,85%'],
|
1087
|
+
['gr', '56,87', '+17,49+30,75%', '822.821', '+385.463+46,85%'],
|
1088
1088
|
['5 Tahun', 'Kurs', '', '', '14.245', '+2.004+14,07%'],
|
1089
|
-
['oz', '1.270,94', '+1.
|
1090
|
-
['gr', '40,86', '+33,
|
1089
|
+
['oz', '1.270,94', '+1.041,93+81,98%', '18.104.540', '+19.477.284+107,58%'],
|
1090
|
+
['gr', '40,86', '+33,50+81,98%', '582.074', '+626.209+107,58%']])
|
1091
1091
|
(['Home', 'Emas 1 Gram', 'History', 'Trend', 'Perak 1 Gram', 'Pluang'],
|
1092
1092
|
[[''],
|
1093
1093
|
['Emas 24 KaratHarga Emas 1 Gram', ''],
|
1094
|
-
['USD', '74,
|
1095
|
-
['KURS', '16.
|
1096
|
-
['IDR', '1.
|
1097
|
-
['Selasa, 30 April 2024 19:
|
1094
|
+
['USD', '74,36↓', '-1,02-1,35%'],
|
1095
|
+
['KURS', '16.239,65↑', '+26,15+0,16%'],
|
1096
|
+
['IDR', '1.207.588,45↓', '-14.564,29-1,19%'],
|
1097
|
+
['Selasa, 30 April 2024 19:20']],
|
1098
1098
|
[[''],
|
1099
1099
|
['Emas 1 Gram (IDR)Emas 1 Gram (USD)Kurs USD-IDR',
|
1100
1100
|
'Hari Ini',
|
@@ -1105,19 +1105,19 @@ Output:
|
|
1105
1105
|
'']],
|
1106
1106
|
[['Pergerakkan Harga Emas 1 Gram'],
|
1107
1107
|
['', 'Penutupan Kemarin', 'Pergerakkan Hari Ini', 'Rata-rata'],
|
1108
|
-
['USD', '75,38', '74,
|
1109
|
-
['KURS', '16.213,50', '16.213,50 - 16.
|
1110
|
-
['IDR', '1.222.152,74', '1.
|
1108
|
+
['USD', '75,38', '74,36 - 75,38', '74,87'],
|
1109
|
+
['KURS', '16.213,50', '16.213,50 - 16.239,65', '16.226,58'],
|
1110
|
+
['IDR', '1.222.152,74', '1.207.588,45 - 1.222.152,74', '1.214.870,60'],
|
1111
1111
|
[''],
|
1112
1112
|
['', 'Awal Tahun', 'Pergerakkan YTD', '+/- YTD'],
|
1113
|
-
['USD', '66,32', '64,07 - 77,14', '+
|
1114
|
-
['KURS', '15.390,10', '15.390,00 - 16.307,80', '+
|
1115
|
-
['IDR', '1.020.729,53', '997.660,12 - 1.256.829,06', '+186.
|
1113
|
+
['USD', '66,32', '64,07 - 77,14', '+8,04 (12,12%)'],
|
1114
|
+
['KURS', '15.390,10', '15.390,00 - 16.307,80', '+849,55 (5,52%)'],
|
1115
|
+
['IDR', '1.020.729,53', '997.660,12 - 1.256.829,06', '+186.858,92 (18,31%)'],
|
1116
1116
|
[''],
|
1117
1117
|
['', 'Tahun Lalu / 52 Minggu', 'Pergerakkan 52 Minggu', '+/- 52 Minggu'],
|
1118
|
-
['USD', '63,97', '58,43 - 77,14', '+10,
|
1119
|
-
['KURS', '14.673,55', '14.669,40 - 16.307,80', '+1.
|
1120
|
-
['IDR', '938.709,73', '912.925,68 - 1.256.829,06', '+268.
|
1118
|
+
['USD', '63,97', '58,43 - 77,14', '+10,39 (16,24%)'],
|
1119
|
+
['KURS', '14.673,55', '14.669,40 - 16.307,80', '+1.566,10 (10,67%)'],
|
1120
|
+
['IDR', '938.709,73', '912.925,68 - 1.256.829,06', '+268.878,72 (28,64%)']])
|
1121
1121
|
```
|
1122
1122
|
|
1123
1123
|
## iloads
|
@@ -1259,7 +1259,7 @@ Output:
|
|
1259
1259
|
```py
|
1260
1260
|
8
|
1261
1261
|
['mana', 'aja']
|
1262
|
-
[<Element a at
|
1262
|
+
[<Element a at 0x727416ea80>, <Element a at 0x72741a9130>, <Element a at 0x72741a91d0>, <Element a at 0x72741a9220>, <Element a at 0x72741a9270>, <Element a at 0x72741a92c0>, <Element a at 0x72741a9310>, <Element a at 0x72741a9360>, <Element a at 0x72741a93b0>, <Element a at 0x72741a9400>, <Element a at 0x72741a9450>, <Element a at 0x72741a94a0>, <Element a at 0x72741a94f0>, <Element a at 0x72741a9540>, <Element a at 0x72741a9590>, <Element a at 0x72741a95e0>, <Element a at 0x72741a9630>, <Element a at 0x72741a9680>]
|
1263
1263
|
False
|
1264
1264
|
```
|
1265
1265
|
|
@@ -1321,7 +1321,7 @@ print(list(iscandir("./", recursive=False, scan_file=False)))
|
|
1321
1321
|
|
1322
1322
|
Output:
|
1323
1323
|
```py
|
1324
|
-
<generator object iscandir at
|
1324
|
+
<generator object iscandir at 0x727415c840>
|
1325
1325
|
[PosixPath('.git'), PosixPath('.vscode'), PosixPath('pypipr'), PosixPath('__pycache__'), PosixPath('dist')]
|
1326
1326
|
```
|
1327
1327
|
|
@@ -1358,73 +1358,73 @@ Output:
|
|
1358
1358
|
'ComparePerformance': <class 'pypipr.ComparePerformance.ComparePerformance'>,
|
1359
1359
|
'PintUregQuantity': <class 'pint.Quantity'>,
|
1360
1360
|
'RunParallel': <class 'pypipr.RunParallel.RunParallel'>},
|
1361
|
-
'function': {'avg': <function avg at
|
1362
|
-
'get_filemtime': <function get_filemtime at
|
1363
|
-
'print_colorize': <function print_colorize at
|
1364
|
-
'print_log': <function print_log at
|
1365
|
-
'console_run': <function console_run at
|
1366
|
-
'auto_reload': <function auto_reload at
|
1367
|
-
'basename': <function basename at
|
1368
|
-
'chr_to_int': <function chr_to_int at
|
1369
|
-
'int_to_chr': <function int_to_chr at
|
1370
|
-
'irange': <function irange at
|
1371
|
-
'batchmaker': <function batchmaker at
|
1372
|
-
'calculate': <function calculate at
|
1373
|
-
'batch_calculate': <function batch_calculate at
|
1374
|
-
'int_to_int': <function int_to_int at
|
1375
|
-
'ienumerate': <function ienumerate at
|
1376
|
-
'print_to_last_line': <function print_to_last_line at
|
1377
|
-
'text_colorize': <function text_colorize at
|
1378
|
-
'choices': <function choices at
|
1379
|
-
'chunk_array': <function chunk_array at
|
1380
|
-
'create_folder': <function create_folder at
|
1381
|
-
'datetime_from_string': <function datetime_from_string at
|
1382
|
-
'datetime_now': <function datetime_now at
|
1383
|
-
'dict_first': <function dict_first at
|
1384
|
-
'dirname': <function dirname at
|
1385
|
-
'is_empty': <function is_empty at
|
1386
|
-
'exit_if_empty': <function exit_if_empty at
|
1387
|
-
'is_iterable': <function is_iterable at
|
1388
|
-
'to_str': <function to_str at
|
1389
|
-
'filter_empty': <function filter_empty at
|
1390
|
-
'get_by_index': <function get_by_index at
|
1391
|
-
'get_class_method': <function get_class_method at
|
1392
|
-
'get_filesize': <function get_filesize at
|
1393
|
-
'github_pull': <function github_pull at
|
1394
|
-
'github_push': <function github_push at
|
1395
|
-
'github_user': <function github_user at
|
1396
|
-
'iargv': <function iargv at
|
1397
|
-
'idumps_html': <function idumps_html at
|
1398
|
-
'idumps': <function idumps at
|
1399
|
-
'ienv': <function ienv at
|
1400
|
-
'iexec': <function iexec at
|
1401
|
-
'ijoin': <function ijoin at
|
1402
|
-
'iloads_html': <function iloads_html at
|
1403
|
-
'iloads': <function iloads at
|
1404
|
-
'input_char': <function input_char at
|
1405
|
-
'int_to_bin': <function int_to_bin at
|
1406
|
-
'int_to_hex': <function int_to_hex at
|
1407
|
-
'int_to_oct': <function int_to_oct at
|
1408
|
-
'is_valid_url': <function is_valid_url at
|
1409
|
-
'iopen': <function iopen at
|
1410
|
-
'iprint': <function iprint at
|
1411
|
-
'ireplace': <function ireplace at
|
1412
|
-
'iscandir': <function iscandir at
|
1413
|
-
'isplit': <function isplit at
|
1414
|
-
'ivars': <function ivars at
|
1415
|
-
'log': <function log at
|
1416
|
-
'password_generator': <function password_generator at
|
1417
|
-
'pip_freeze_without_version': <function pip_freeze_without_version at
|
1418
|
-
'poetry_publish': <function poetry_publish at
|
1419
|
-
'poetry_update_version': <function poetry_update_version at
|
1420
|
-
'print_dir': <function print_dir at
|
1421
|
-
'random_bool': <function random_bool at
|
1422
|
-
'restart': <function restart at
|
1423
|
-
'set_timeout': <function set_timeout at
|
1424
|
-
'sets_ordered': <function sets_ordered at
|
1425
|
-
'str_cmp': <function str_cmp at
|
1361
|
+
'function': {'avg': <function avg at 0x7285dda700>,
|
1362
|
+
'get_filemtime': <function get_filemtime at 0x727e26b2e0>,
|
1363
|
+
'print_colorize': <function print_colorize at 0x727e26b4c0>,
|
1364
|
+
'print_log': <function print_log at 0x727e4f6b60>,
|
1365
|
+
'console_run': <function console_run at 0x727e26b380>,
|
1366
|
+
'auto_reload': <function auto_reload at 0x727e423ec0>,
|
1367
|
+
'basename': <function basename at 0x727e26b240>,
|
1368
|
+
'chr_to_int': <function chr_to_int at 0x727e26ba60>,
|
1369
|
+
'int_to_chr': <function int_to_chr at 0x727e26bb00>,
|
1370
|
+
'irange': <function irange at 0x727e26bd80>,
|
1371
|
+
'batchmaker': <function batchmaker at 0x727e26b740>,
|
1372
|
+
'calculate': <function calculate at 0x727e2602c0>,
|
1373
|
+
'batch_calculate': <function batch_calculate at 0x727e26b600>,
|
1374
|
+
'int_to_int': <function int_to_int at 0x727e2604a0>,
|
1375
|
+
'ienumerate': <function ienumerate at 0x727e260360>,
|
1376
|
+
'print_to_last_line': <function print_to_last_line at 0x727e260400>,
|
1377
|
+
'text_colorize': <function text_colorize at 0x727e260540>,
|
1378
|
+
'choices': <function choices at 0x727e26b6a0>,
|
1379
|
+
'chunk_array': <function chunk_array at 0x727e26b7e0>,
|
1380
|
+
'create_folder': <function create_folder at 0x727e2605e0>,
|
1381
|
+
'datetime_from_string': <function datetime_from_string at 0x727e260680>,
|
1382
|
+
'datetime_now': <function datetime_now at 0x727e260720>,
|
1383
|
+
'dict_first': <function dict_first at 0x727e2607c0>,
|
1384
|
+
'dirname': <function dirname at 0x727e260860>,
|
1385
|
+
'is_empty': <function is_empty at 0x727e260a40>,
|
1386
|
+
'exit_if_empty': <function exit_if_empty at 0x727e260900>,
|
1387
|
+
'is_iterable': <function is_iterable at 0x727e260b80>,
|
1388
|
+
'to_str': <function to_str at 0x727e260c20>,
|
1389
|
+
'filter_empty': <function filter_empty at 0x727e2609a0>,
|
1390
|
+
'get_by_index': <function get_by_index at 0x727e260ae0>,
|
1391
|
+
'get_class_method': <function get_class_method at 0x727e260cc0>,
|
1392
|
+
'get_filesize': <function get_filesize at 0x727e260e00>,
|
1393
|
+
'github_pull': <function github_pull at 0x727e260ea0>,
|
1394
|
+
'github_push': <function github_push at 0x727e261080>,
|
1395
|
+
'github_user': <function github_user at 0x727e261120>,
|
1396
|
+
'iargv': <function iargv at 0x727e260fe0>,
|
1397
|
+
'idumps_html': <function idumps_html at 0x727e2613a0>,
|
1398
|
+
'idumps': <function idumps at 0x727e261260>,
|
1399
|
+
'ienv': <function ienv at 0x727e2618a0>,
|
1400
|
+
'iexec': <function iexec at 0x727e339bc0>,
|
1401
|
+
'ijoin': <function ijoin at 0x727e339da0>,
|
1402
|
+
'iloads_html': <function iloads_html at 0x727e339f80>,
|
1403
|
+
'iloads': <function iloads at 0x727e339d00>,
|
1404
|
+
'input_char': <function input_char at 0x727e339ee0>,
|
1405
|
+
'int_to_bin': <function int_to_bin at 0x727e33a020>,
|
1406
|
+
'int_to_hex': <function int_to_hex at 0x727e33a0c0>,
|
1407
|
+
'int_to_oct': <function int_to_oct at 0x727e33a160>,
|
1408
|
+
'is_valid_url': <function is_valid_url at 0x727e33a340>,
|
1409
|
+
'iopen': <function iopen at 0x727e1767a0>,
|
1410
|
+
'iprint': <function iprint at 0x727e33a2a0>,
|
1411
|
+
'ireplace': <function ireplace at 0x727e33a660>,
|
1412
|
+
'iscandir': <function iscandir at 0x727e231ee0>,
|
1413
|
+
'isplit': <function isplit at 0x727e231f80>,
|
1414
|
+
'ivars': <function ivars at 0x727e232020>,
|
1415
|
+
'log': <function log at 0x727e2320c0>,
|
1416
|
+
'password_generator': <function password_generator at 0x727e232160>,
|
1417
|
+
'pip_freeze_without_version': <function pip_freeze_without_version at 0x727e2322a0>,
|
1418
|
+
'poetry_publish': <function poetry_publish at 0x727e232340>,
|
1419
|
+
'poetry_update_version': <function poetry_update_version at 0x727e232480>,
|
1420
|
+
'print_dir': <function print_dir at 0x727e232660>,
|
1421
|
+
'random_bool': <function random_bool at 0x727e232700>,
|
1422
|
+
'restart': <function restart at 0x727e2327a0>,
|
1423
|
+
'set_timeout': <function set_timeout at 0x727e232840>,
|
1424
|
+
'sets_ordered': <function sets_ordered at 0x727e2328e0>,
|
1425
|
+
'str_cmp': <function str_cmp at 0x727e232980>},
|
1426
1426
|
'variable': {'LINUX': True,
|
1427
|
-
'PintUreg': <pint.registry.UnitRegistry object at
|
1427
|
+
'PintUreg': <pint.registry.UnitRegistry object at 0x7285de0210>,
|
1428
1428
|
'WINDOWS': False},
|
1429
1429
|
'module': {'asyncio': <module 'asyncio' from '/data/data/com.termux/files/usr/lib/python3.11/asyncio/__init__.py'>,
|
1430
1430
|
'colorama': <module 'colorama' from '/data/data/com.termux/files/usr/lib/python3.11/site-packages/colorama/__init__.py'>,
|
@@ -1498,7 +1498,7 @@ print(password_generator())
|
|
1498
1498
|
|
1499
1499
|
Output:
|
1500
1500
|
```py
|
1501
|
-
|
1501
|
+
V91wm5rH
|
1502
1502
|
```
|
1503
1503
|
|
1504
1504
|
## pip_freeze_without_version
|
@@ -1556,7 +1556,7 @@ Output:
|
|
1556
1556
|
__enter__ : https:/www.google.com
|
1557
1557
|
__fspath__ : https:/www.google.com
|
1558
1558
|
__getstate__ : (None, {'_drv': '', '_root': '', '_parts': ['https:', 'www.google.com'], '_str': 'https:/www.google.com'})
|
1559
|
-
__hash__ :
|
1559
|
+
__hash__ : 8842715818035804474
|
1560
1560
|
__init__ : None
|
1561
1561
|
__init_subclass__ : None
|
1562
1562
|
__module__ : pathlib
|
@@ -1569,8 +1569,8 @@ Output:
|
|
1569
1569
|
_cached_cparts : ['https:', 'www.google.com']
|
1570
1570
|
_cparts : ['https:', 'www.google.com']
|
1571
1571
|
_drv :
|
1572
|
-
_flavour : <pathlib._PosixFlavour object at
|
1573
|
-
_hash :
|
1572
|
+
_flavour : <pathlib._PosixFlavour object at 0x7289f10950>
|
1573
|
+
_hash : 8842715818035804474
|
1574
1574
|
_parts : ['https:', 'www.google.com']
|
1575
1575
|
_root :
|
1576
1576
|
_str : https:/www.google.com
|
@@ -1592,7 +1592,7 @@ Output:
|
|
1592
1592
|
is_reserved : False
|
1593
1593
|
is_socket : False
|
1594
1594
|
is_symlink : False
|
1595
|
-
iterdir : <generator object Path.iterdir at
|
1595
|
+
iterdir : <generator object Path.iterdir at 0x72741666c0>
|
1596
1596
|
joinpath : https:/www.google.com
|
1597
1597
|
name : www.google.com
|
1598
1598
|
parent : https:
|
@@ -1620,7 +1620,7 @@ print(random_bool())
|
|
1620
1620
|
|
1621
1621
|
Output:
|
1622
1622
|
```py
|
1623
|
-
|
1623
|
+
True
|
1624
1624
|
```
|
1625
1625
|
|
1626
1626
|
## restart
|
@@ -1646,7 +1646,7 @@ x.cancel()
|
|
1646
1646
|
|
1647
1647
|
Output:
|
1648
1648
|
```py
|
1649
|
-
<Timer(Thread-2, started
|
1649
|
+
<Timer(Thread-2, started 491545148656)>
|
1650
1650
|
menghentikan timeout 7
|
1651
1651
|
```
|
1652
1652
|
|
@@ -1664,7 +1664,7 @@ print(list(sets_ordered(array)))
|
|
1664
1664
|
|
1665
1665
|
Output:
|
1666
1666
|
```py
|
1667
|
-
<generator object sets_ordered at
|
1667
|
+
<generator object sets_ordered at 0x7274184e10>
|
1668
1668
|
[2, 3, 12, 42, 1, 43, 41, 4, 24, 32]
|
1669
1669
|
```
|
1670
1670
|
|
@@ -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 0x7274184860>,
|
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]}
|
@@ -29,7 +29,7 @@ def choices(iterator, title=None, prompt="", default=None, key=int_to_int):
|
|
29
29
|
"""
|
30
30
|
|
31
31
|
def build_iterator(iterator):
|
32
|
-
return ienumerate(iterator, key=key)
|
32
|
+
return dict(ienumerate(iterator, key=key))
|
33
33
|
|
34
34
|
def print_choices(dictionary, title=None):
|
35
35
|
if title:
|
@@ -222,8 +222,8 @@ print(list(irange(10, 5)))
|
|
222
222
|
|
223
223
|
Output:
|
224
224
|
```py
|
225
|
-
<generator object chr_range at
|
226
|
-
<generator object chr_range at
|
225
|
+
<generator object chr_range at 0x72741289d0>
|
226
|
+
<generator object chr_range at 0x72741289d0>
|
227
227
|
['a', 'k', 'u']
|
228
228
|
[1, 2, 3, 4, 5, 6]
|
229
229
|
[10, 9, 8, 7, 6]
|
@@ -250,7 +250,7 @@ print(list(batchmaker(s)))
|
|
250
250
|
|
251
251
|
Output:
|
252
252
|
```py
|
253
|
-
<generator object batchmaker at
|
253
|
+
<generator object batchmaker at 0x7274158280>
|
254
254
|
['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.']
|
255
255
|
```
|
256
256
|
|
@@ -304,7 +304,7 @@ print(list(batch_calculate("{1 10} m ** {1 3}")))
|
|
304
304
|
|
305
305
|
Output:
|
306
306
|
```py
|
307
|
-
<generator object batch_calculate at
|
307
|
+
<generator object batch_calculate at 0x72740d3100>
|
308
308
|
[('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')>)]
|
309
309
|
```
|
310
310
|
|
@@ -326,7 +326,7 @@ Output:
|
|
326
326
|
|
327
327
|
## ienumerate
|
328
328
|
|
329
|
-
`ienumerate(iterator, start=0, key=<function int_to_int at
|
329
|
+
`ienumerate(iterator, start=0, key=<function int_to_int at 0x727e2604a0>)`
|
330
330
|
|
331
331
|
## print_to_last_line
|
332
332
|
|
@@ -353,7 +353,7 @@ text_colorize("Print some text", color=colorama.Fore.RED)
|
|
353
353
|
|
354
354
|
## choices
|
355
355
|
|
356
|
-
`choices(iterator, title=None, prompt='', default=None, key=<function int_to_int at
|
356
|
+
`choices(iterator, title=None, prompt='', default=None, key=<function int_to_int at 0x727e2604a0>)`
|
357
357
|
|
358
358
|
Memudahkan dalam membuat pilihan untuk user dalam tampilan console
|
359
359
|
|
@@ -389,7 +389,7 @@ print(list(chunk_array(arr, 5)))
|
|
389
389
|
|
390
390
|
Output:
|
391
391
|
```py
|
392
|
-
<generator object chunk_array at
|
392
|
+
<generator object chunk_array at 0x727415c640>
|
393
393
|
[[2, 3, 12, 3, 3], [42, 42, 1, 43, 2], [42, 41, 4, 24, 32], [42, 3, 12, 32, 42], [42]]
|
394
394
|
```
|
395
395
|
|
@@ -440,9 +440,9 @@ print(datetime_now("Etc/GMT+7"))
|
|
440
440
|
|
441
441
|
Output:
|
442
442
|
```py
|
443
|
-
2024-04-30 19:
|
444
|
-
2024-04-30 12:
|
445
|
-
2024-04-30 05:
|
443
|
+
2024-04-30 19:20:17.402143+07:00
|
444
|
+
2024-04-30 12:20:17.402865+00:00
|
445
|
+
2024-04-30 05:20:17.404179-07:00
|
446
446
|
```
|
447
447
|
|
448
448
|
## dict_first
|
@@ -588,7 +588,7 @@ print(filter_empty(var))
|
|
588
588
|
|
589
589
|
Output:
|
590
590
|
```py
|
591
|
-
<generator object filter_empty at
|
591
|
+
<generator object filter_empty at 0x72740d16c0>
|
592
592
|
```
|
593
593
|
|
594
594
|
## get_by_index
|
@@ -634,8 +634,8 @@ print(list(get_class_method(ExampleGetClassMethod)))
|
|
634
634
|
|
635
635
|
Output:
|
636
636
|
```py
|
637
|
-
<generator object get_class_method at
|
638
|
-
[<function ExampleGetClassMethod.a at
|
637
|
+
<generator object get_class_method at 0x72740d33d0>
|
638
|
+
[<function ExampleGetClassMethod.a at 0x7274175080>, <function ExampleGetClassMethod.b at 0x7274175120>, <function ExampleGetClassMethod.c at 0x72741751c0>, <function ExampleGetClassMethod.d at 0x7274175260>]
|
639
639
|
```
|
640
640
|
|
641
641
|
## get_filesize
|
@@ -933,7 +933,7 @@ print(ijoin(10, ' '))
|
|
933
933
|
|
934
934
|
Output:
|
935
935
|
```py
|
936
|
-
asd,
|
936
|
+
weq, asd, qweqw, dfs
|
937
937
|
,ini,path,seperti,url,
|
938
938
|
ini,path,seperti,url
|
939
939
|
<li>satu</li>
|
@@ -977,9 +977,9 @@ Output:
|
|
977
977
|
```py
|
978
978
|
(['Home', 'Emas 1 Gram', 'History', 'Trend', 'Perak 1 Gram', 'Pluang'],
|
979
979
|
[['Harga Emas Hari Ini - Selasa, 30 April 2024'],
|
980
|
-
['Spot Emas USD↓2.
|
980
|
+
['Spot Emas USD↓2.312,87 (-31,67) / oz',
|
981
981
|
'Kurs IDR↑16.249,00 (+27,00) / USD',
|
982
|
-
'Emas IDR↓1.
|
982
|
+
'Emas IDR↓1.208.284 (-14.510) / gr'],
|
983
983
|
['LM Antam (Jual)1.325.000 / gr', 'LM Antam (Beli)1.221.000 / gr']],
|
984
984
|
[['Harga Emas Hari Ini'],
|
985
985
|
['Gram', 'Gedung Antam Jakarta', 'Pegadaian'],
|
@@ -1017,10 +1017,10 @@ Output:
|
|
1017
1017
|
'Update harga LM Pegadaian :31 Agustus 2023']],
|
1018
1018
|
[['Spot Harga Emas Hari Ini (Market Open)'],
|
1019
1019
|
['Satuan', 'USD', 'Kurs\xa0Dollar', 'IDR'],
|
1020
|
-
['Ounce\xa0(oz)', '2.
|
1021
|
-
['Gram\xa0(gr)', '74,
|
1022
|
-
['Kilogram\xa0(kg)', '74.
|
1023
|
-
['Update harga emas :30 April 2024, pukul 19:
|
1020
|
+
['Ounce\xa0(oz)', '2.312,87 (-31,67)', '16.249,00 (+27,00)', '37.581.825'],
|
1021
|
+
['Gram\xa0(gr)', '74,36', '16.249,00', '1.208.284 (-14.510)'],
|
1022
|
+
['Kilogram\xa0(kg)', '74.360,50', '16.249,00', '1.208.283.720'],
|
1023
|
+
['Update harga emas :30 April 2024, pukul 19:19Update kurs :30 April 2024, '
|
1024
1024
|
'pukul 13:10']],
|
1025
1025
|
[['Gram', 'UBS Gold 99.99%'],
|
1026
1026
|
['Jual', 'Beli'],
|
@@ -1042,36 +1042,36 @@ Output:
|
|
1042
1042
|
['Unit', 'USD', 'IDR'],
|
1043
1043
|
['Angka', '+/-', 'Angka', '+/-'],
|
1044
1044
|
['Hari Ini', 'Kurs', '', '', '16.222', '+27+0,17%'],
|
1045
|
-
['oz', '2.344,54', '-
|
1046
|
-
['gr', '75,38', '-1,
|
1045
|
+
['oz', '2.344,54', '-31,67-1,35%', '38.033.128', '-451.303-1,19%'],
|
1046
|
+
['gr', '75,38', '-1,02-1,35%', '1.222.793', '-14.510-1,19%'],
|
1047
1047
|
['30 Hari', 'Kurs', '', '', '15.853', '+396+2,50%'],
|
1048
|
-
['oz', '2.232,75', '+
|
1049
|
-
['gr', '71,78', '+2,
|
1048
|
+
['oz', '2.232,75', '+80,12+3,59%', '35.395.786', '+2.186.039+6,18%'],
|
1049
|
+
['gr', '71,78', '+2,58+3,59%', '1.138.001', '+70.283+6,18%'],
|
1050
1050
|
['2 Bulan', 'Kurs', '', '', '15.715', '+534+3,40%'],
|
1051
|
-
['oz', '2.081,20', '+
|
1052
|
-
['gr', '66,91', '+7,
|
1051
|
+
['oz', '2.081,20', '+231,67+11,13%', '32.706.058', '+4.875.767+14,91%'],
|
1052
|
+
['gr', '66,91', '+7,45+11,13', '1.051.524', '+156.760+14,91%'],
|
1053
1053
|
['6 Bulan', 'Kurs', '', '', '15.946', '+303+1,90%'],
|
1054
|
-
['oz', '1.981,84', '+
|
1055
|
-
['gr', '63,72', '+10,
|
1054
|
+
['oz', '1.981,84', '+331,03+16,70%', '31.602.421', '+5.979.404+18,92%'],
|
1055
|
+
['gr', '63,72', '+10,64+16,70%', '1.016.041', '+192.242+18,92%'],
|
1056
1056
|
['1 Tahun', 'Kurs', '', '', '15.731', '+518+3,29%'],
|
1057
|
-
['oz', '1.823,86', '+
|
1058
|
-
['gr', '58,64', '+15,
|
1057
|
+
['oz', '1.823,86', '+489,01+26,81%', '28.691.142', '+8.890.683+30,99%'],
|
1058
|
+
['gr', '58,64', '+15,72+26,81%', '922.442', '+285.842+30,99%'],
|
1059
1059
|
['2 Tahun', 'Kurs', '', '', '14.418', '+1.831+12,70%'],
|
1060
|
-
['oz', '1.896,95', '+
|
1061
|
-
['gr', '60,99', '+13,
|
1060
|
+
['oz', '1.896,95', '+415,92+21,93%', '27.350.225', '+10.231.600+37,41%'],
|
1061
|
+
['gr', '60,99', '+13,37+21,93%', '879.330', '+328.954+37,41%'],
|
1062
1062
|
['3 Tahun', 'Kurs', '', '', '14.468', '+1.781+12,31%'],
|
1063
|
-
['oz', '1.768,91', '+
|
1064
|
-
['gr', '56,87', '+17,
|
1063
|
+
['oz', '1.768,91', '+543,96+30,75%', '25.592.590', '+11.989.235+46,85%'],
|
1064
|
+
['gr', '56,87', '+17,49+30,75%', '822.821', '+385.463+46,85%'],
|
1065
1065
|
['5 Tahun', 'Kurs', '', '', '14.245', '+2.004+14,07%'],
|
1066
|
-
['oz', '1.270,94', '+1.
|
1067
|
-
['gr', '40,86', '+33,
|
1066
|
+
['oz', '1.270,94', '+1.041,93+81,98%', '18.104.540', '+19.477.284+107,58%'],
|
1067
|
+
['gr', '40,86', '+33,50+81,98%', '582.074', '+626.209+107,58%']])
|
1068
1068
|
(['Home', 'Emas 1 Gram', 'History', 'Trend', 'Perak 1 Gram', 'Pluang'],
|
1069
1069
|
[[''],
|
1070
1070
|
['Emas 24 KaratHarga Emas 1 Gram', ''],
|
1071
|
-
['USD', '74,
|
1072
|
-
['KURS', '16.
|
1073
|
-
['IDR', '1.
|
1074
|
-
['Selasa, 30 April 2024 19:
|
1071
|
+
['USD', '74,36↓', '-1,02-1,35%'],
|
1072
|
+
['KURS', '16.239,65↑', '+26,15+0,16%'],
|
1073
|
+
['IDR', '1.207.588,45↓', '-14.564,29-1,19%'],
|
1074
|
+
['Selasa, 30 April 2024 19:20']],
|
1075
1075
|
[[''],
|
1076
1076
|
['Emas 1 Gram (IDR)Emas 1 Gram (USD)Kurs USD-IDR',
|
1077
1077
|
'Hari Ini',
|
@@ -1082,19 +1082,19 @@ Output:
|
|
1082
1082
|
'']],
|
1083
1083
|
[['Pergerakkan Harga Emas 1 Gram'],
|
1084
1084
|
['', 'Penutupan Kemarin', 'Pergerakkan Hari Ini', 'Rata-rata'],
|
1085
|
-
['USD', '75,38', '74,
|
1086
|
-
['KURS', '16.213,50', '16.213,50 - 16.
|
1087
|
-
['IDR', '1.222.152,74', '1.
|
1085
|
+
['USD', '75,38', '74,36 - 75,38', '74,87'],
|
1086
|
+
['KURS', '16.213,50', '16.213,50 - 16.239,65', '16.226,58'],
|
1087
|
+
['IDR', '1.222.152,74', '1.207.588,45 - 1.222.152,74', '1.214.870,60'],
|
1088
1088
|
[''],
|
1089
1089
|
['', 'Awal Tahun', 'Pergerakkan YTD', '+/- YTD'],
|
1090
|
-
['USD', '66,32', '64,07 - 77,14', '+
|
1091
|
-
['KURS', '15.390,10', '15.390,00 - 16.307,80', '+
|
1092
|
-
['IDR', '1.020.729,53', '997.660,12 - 1.256.829,06', '+186.
|
1090
|
+
['USD', '66,32', '64,07 - 77,14', '+8,04 (12,12%)'],
|
1091
|
+
['KURS', '15.390,10', '15.390,00 - 16.307,80', '+849,55 (5,52%)'],
|
1092
|
+
['IDR', '1.020.729,53', '997.660,12 - 1.256.829,06', '+186.858,92 (18,31%)'],
|
1093
1093
|
[''],
|
1094
1094
|
['', 'Tahun Lalu / 52 Minggu', 'Pergerakkan 52 Minggu', '+/- 52 Minggu'],
|
1095
|
-
['USD', '63,97', '58,43 - 77,14', '+10,
|
1096
|
-
['KURS', '14.673,55', '14.669,40 - 16.307,80', '+1.
|
1097
|
-
['IDR', '938.709,73', '912.925,68 - 1.256.829,06', '+268.
|
1095
|
+
['USD', '63,97', '58,43 - 77,14', '+10,39 (16,24%)'],
|
1096
|
+
['KURS', '14.673,55', '14.669,40 - 16.307,80', '+1.566,10 (10,67%)'],
|
1097
|
+
['IDR', '938.709,73', '912.925,68 - 1.256.829,06', '+268.878,72 (28,64%)']])
|
1098
1098
|
```
|
1099
1099
|
|
1100
1100
|
## iloads
|
@@ -1236,7 +1236,7 @@ Output:
|
|
1236
1236
|
```py
|
1237
1237
|
8
|
1238
1238
|
['mana', 'aja']
|
1239
|
-
[<Element a at
|
1239
|
+
[<Element a at 0x727416ea80>, <Element a at 0x72741a9130>, <Element a at 0x72741a91d0>, <Element a at 0x72741a9220>, <Element a at 0x72741a9270>, <Element a at 0x72741a92c0>, <Element a at 0x72741a9310>, <Element a at 0x72741a9360>, <Element a at 0x72741a93b0>, <Element a at 0x72741a9400>, <Element a at 0x72741a9450>, <Element a at 0x72741a94a0>, <Element a at 0x72741a94f0>, <Element a at 0x72741a9540>, <Element a at 0x72741a9590>, <Element a at 0x72741a95e0>, <Element a at 0x72741a9630>, <Element a at 0x72741a9680>]
|
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 0x727415c840>
|
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
|
-
'int_to_int': <function int_to_int at
|
1352
|
-
'ienumerate': <function ienumerate at
|
1353
|
-
'print_to_last_line': <function print_to_last_line at
|
1354
|
-
'text_colorize': <function text_colorize 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_empty': <function is_empty at
|
1363
|
-
'exit_if_empty': <function exit_if_empty at
|
1364
|
-
'is_iterable': <function is_iterable at
|
1365
|
-
'to_str': <function to_str at
|
1366
|
-
'filter_empty': <function filter_empty at
|
1367
|
-
'get_by_index': <function get_by_index at
|
1368
|
-
'get_class_method': <function get_class_method at
|
1369
|
-
'get_filesize': <function get_filesize at
|
1370
|
-
'github_pull': <function github_pull at
|
1371
|
-
'github_push': <function github_push at
|
1372
|
-
'github_user': <function github_user at
|
1373
|
-
'iargv': <function iargv at
|
1374
|
-
'idumps_html': <function idumps_html at
|
1375
|
-
'idumps': <function idumps at
|
1376
|
-
'ienv': <function ienv at
|
1377
|
-
'iexec': <function iexec at
|
1378
|
-
'ijoin': <function ijoin at
|
1379
|
-
'iloads_html': <function iloads_html at
|
1380
|
-
'iloads': <function iloads at
|
1381
|
-
'input_char': <function input_char at
|
1382
|
-
'int_to_bin': <function int_to_bin at
|
1383
|
-
'int_to_hex': <function int_to_hex at
|
1384
|
-
'int_to_oct': <function int_to_oct at
|
1385
|
-
'is_valid_url': <function is_valid_url at
|
1386
|
-
'iopen': <function iopen at
|
1387
|
-
'iprint': <function iprint at
|
1388
|
-
'ireplace': <function ireplace at
|
1389
|
-
'iscandir': <function iscandir at
|
1390
|
-
'isplit': <function isplit at
|
1391
|
-
'ivars': <function ivars at
|
1392
|
-
'log': <function log at
|
1393
|
-
'password_generator': <function password_generator at
|
1394
|
-
'pip_freeze_without_version': <function pip_freeze_without_version at
|
1395
|
-
'poetry_publish': <function poetry_publish at
|
1396
|
-
'poetry_update_version': <function poetry_update_version at
|
1397
|
-
'print_dir': <function print_dir at
|
1398
|
-
'random_bool': <function random_bool at
|
1399
|
-
'restart': <function restart at
|
1400
|
-
'set_timeout': <function set_timeout at
|
1401
|
-
'sets_ordered': <function sets_ordered at
|
1402
|
-
'str_cmp': <function str_cmp at
|
1338
|
+
'function': {'avg': <function avg at 0x7285dda700>,
|
1339
|
+
'get_filemtime': <function get_filemtime at 0x727e26b2e0>,
|
1340
|
+
'print_colorize': <function print_colorize at 0x727e26b4c0>,
|
1341
|
+
'print_log': <function print_log at 0x727e4f6b60>,
|
1342
|
+
'console_run': <function console_run at 0x727e26b380>,
|
1343
|
+
'auto_reload': <function auto_reload at 0x727e423ec0>,
|
1344
|
+
'basename': <function basename at 0x727e26b240>,
|
1345
|
+
'chr_to_int': <function chr_to_int at 0x727e26ba60>,
|
1346
|
+
'int_to_chr': <function int_to_chr at 0x727e26bb00>,
|
1347
|
+
'irange': <function irange at 0x727e26bd80>,
|
1348
|
+
'batchmaker': <function batchmaker at 0x727e26b740>,
|
1349
|
+
'calculate': <function calculate at 0x727e2602c0>,
|
1350
|
+
'batch_calculate': <function batch_calculate at 0x727e26b600>,
|
1351
|
+
'int_to_int': <function int_to_int at 0x727e2604a0>,
|
1352
|
+
'ienumerate': <function ienumerate at 0x727e260360>,
|
1353
|
+
'print_to_last_line': <function print_to_last_line at 0x727e260400>,
|
1354
|
+
'text_colorize': <function text_colorize at 0x727e260540>,
|
1355
|
+
'choices': <function choices at 0x727e26b6a0>,
|
1356
|
+
'chunk_array': <function chunk_array at 0x727e26b7e0>,
|
1357
|
+
'create_folder': <function create_folder at 0x727e2605e0>,
|
1358
|
+
'datetime_from_string': <function datetime_from_string at 0x727e260680>,
|
1359
|
+
'datetime_now': <function datetime_now at 0x727e260720>,
|
1360
|
+
'dict_first': <function dict_first at 0x727e2607c0>,
|
1361
|
+
'dirname': <function dirname at 0x727e260860>,
|
1362
|
+
'is_empty': <function is_empty at 0x727e260a40>,
|
1363
|
+
'exit_if_empty': <function exit_if_empty at 0x727e260900>,
|
1364
|
+
'is_iterable': <function is_iterable at 0x727e260b80>,
|
1365
|
+
'to_str': <function to_str at 0x727e260c20>,
|
1366
|
+
'filter_empty': <function filter_empty at 0x727e2609a0>,
|
1367
|
+
'get_by_index': <function get_by_index at 0x727e260ae0>,
|
1368
|
+
'get_class_method': <function get_class_method at 0x727e260cc0>,
|
1369
|
+
'get_filesize': <function get_filesize at 0x727e260e00>,
|
1370
|
+
'github_pull': <function github_pull at 0x727e260ea0>,
|
1371
|
+
'github_push': <function github_push at 0x727e261080>,
|
1372
|
+
'github_user': <function github_user at 0x727e261120>,
|
1373
|
+
'iargv': <function iargv at 0x727e260fe0>,
|
1374
|
+
'idumps_html': <function idumps_html at 0x727e2613a0>,
|
1375
|
+
'idumps': <function idumps at 0x727e261260>,
|
1376
|
+
'ienv': <function ienv at 0x727e2618a0>,
|
1377
|
+
'iexec': <function iexec at 0x727e339bc0>,
|
1378
|
+
'ijoin': <function ijoin at 0x727e339da0>,
|
1379
|
+
'iloads_html': <function iloads_html at 0x727e339f80>,
|
1380
|
+
'iloads': <function iloads at 0x727e339d00>,
|
1381
|
+
'input_char': <function input_char at 0x727e339ee0>,
|
1382
|
+
'int_to_bin': <function int_to_bin at 0x727e33a020>,
|
1383
|
+
'int_to_hex': <function int_to_hex at 0x727e33a0c0>,
|
1384
|
+
'int_to_oct': <function int_to_oct at 0x727e33a160>,
|
1385
|
+
'is_valid_url': <function is_valid_url at 0x727e33a340>,
|
1386
|
+
'iopen': <function iopen at 0x727e1767a0>,
|
1387
|
+
'iprint': <function iprint at 0x727e33a2a0>,
|
1388
|
+
'ireplace': <function ireplace at 0x727e33a660>,
|
1389
|
+
'iscandir': <function iscandir at 0x727e231ee0>,
|
1390
|
+
'isplit': <function isplit at 0x727e231f80>,
|
1391
|
+
'ivars': <function ivars at 0x727e232020>,
|
1392
|
+
'log': <function log at 0x727e2320c0>,
|
1393
|
+
'password_generator': <function password_generator at 0x727e232160>,
|
1394
|
+
'pip_freeze_without_version': <function pip_freeze_without_version at 0x727e2322a0>,
|
1395
|
+
'poetry_publish': <function poetry_publish at 0x727e232340>,
|
1396
|
+
'poetry_update_version': <function poetry_update_version at 0x727e232480>,
|
1397
|
+
'print_dir': <function print_dir at 0x727e232660>,
|
1398
|
+
'random_bool': <function random_bool at 0x727e232700>,
|
1399
|
+
'restart': <function restart at 0x727e2327a0>,
|
1400
|
+
'set_timeout': <function set_timeout at 0x727e232840>,
|
1401
|
+
'sets_ordered': <function sets_ordered at 0x727e2328e0>,
|
1402
|
+
'str_cmp': <function str_cmp at 0x727e232980>},
|
1403
1403
|
'variable': {'LINUX': True,
|
1404
|
-
'PintUreg': <pint.registry.UnitRegistry object at
|
1404
|
+
'PintUreg': <pint.registry.UnitRegistry object at 0x7285de0210>,
|
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
|
+
V91wm5rH
|
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__ : 8842715818035804474
|
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 0x7289f10950>
|
1550
|
+
_hash : 8842715818035804474
|
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 0x72741666c0>
|
1573
1573
|
joinpath : https:/www.google.com
|
1574
1574
|
name : www.google.com
|
1575
1575
|
parent : https:
|
@@ -1597,7 +1597,7 @@ print(random_bool())
|
|
1597
1597
|
|
1598
1598
|
Output:
|
1599
1599
|
```py
|
1600
|
-
|
1600
|
+
True
|
1601
1601
|
```
|
1602
1602
|
|
1603
1603
|
## restart
|
@@ -1623,7 +1623,7 @@ x.cancel()
|
|
1623
1623
|
|
1624
1624
|
Output:
|
1625
1625
|
```py
|
1626
|
-
<Timer(Thread-2, started
|
1626
|
+
<Timer(Thread-2, started 491545148656)>
|
1627
1627
|
menghentikan timeout 7
|
1628
1628
|
```
|
1629
1629
|
|
@@ -1641,7 +1641,7 @@ print(list(sets_ordered(array)))
|
|
1641
1641
|
|
1642
1642
|
Output:
|
1643
1643
|
```py
|
1644
|
-
<generator object sets_ordered at
|
1644
|
+
<generator object sets_ordered at 0x7274184e10>
|
1645
1645
|
[2, 3, 12, 42, 1, 43, 41, 4, 24, 32]
|
1646
1646
|
```
|
1647
1647
|
|
@@ -1716,7 +1716,7 @@ print(ExampleComparePerformance().compare_performance())
|
|
1716
1716
|
|
1717
1717
|
Output:
|
1718
1718
|
```py
|
1719
|
-
{'a': <generator object ExampleComparePerformance.a.<locals>.<genexpr> at
|
1719
|
+
{'a': <generator object ExampleComparePerformance.a.<locals>.<genexpr> at 0x7274184860>,
|
1720
1720
|
'b': (0, 1, 2, 3, 4, 5, 6, 7, 8, 9),
|
1721
1721
|
'c': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
|
1722
1722
|
'd': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]}
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|