pypipr 1.0.119__tar.gz → 1.0.120__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.119 → pypipr-1.0.120}/PKG-INFO +122 -122
- {pypipr-1.0.119 → pypipr-1.0.120}/pypipr/__terminal__.py +1 -0
- {pypipr-1.0.119 → pypipr-1.0.120}/pyproject.toml +1 -1
- {pypipr-1.0.119 → pypipr-1.0.120}/readme.md +121 -121
- {pypipr-1.0.119 → pypipr-1.0.120}/pypipr/APIMixinView.py +0 -0
- {pypipr-1.0.119 → pypipr-1.0.120}/pypipr/ComparePerformance.py +0 -0
- {pypipr-1.0.119 → pypipr-1.0.120}/pypipr/LINUX.py +0 -0
- {pypipr-1.0.119 → pypipr-1.0.120}/pypipr/PintUreg.py +0 -0
- {pypipr-1.0.119 → pypipr-1.0.120}/pypipr/PintUregQuantity.py +0 -0
- {pypipr-1.0.119 → pypipr-1.0.120}/pypipr/RunParallel.py +0 -0
- {pypipr-1.0.119 → pypipr-1.0.120}/pypipr/WINDOWS.py +0 -0
- {pypipr-1.0.119 → pypipr-1.0.120}/pypipr/__init__.py +0 -0
- {pypipr-1.0.119 → pypipr-1.0.120}/pypipr/auto_reload.py +0 -0
- {pypipr-1.0.119 → pypipr-1.0.120}/pypipr/avg.py +0 -0
- {pypipr-1.0.119 → pypipr-1.0.120}/pypipr/basename.py +0 -0
- {pypipr-1.0.119 → pypipr-1.0.120}/pypipr/batch_calculate.py +0 -0
- {pypipr-1.0.119 → pypipr-1.0.120}/pypipr/batchmaker.py +0 -0
- {pypipr-1.0.119 → pypipr-1.0.120}/pypipr/bin_to_int.py +0 -0
- {pypipr-1.0.119 → pypipr-1.0.120}/pypipr/calculate.py +0 -0
- {pypipr-1.0.119 → pypipr-1.0.120}/pypipr/choices.py +0 -0
- {pypipr-1.0.119 → pypipr-1.0.120}/pypipr/choices.py.bak +0 -0
- {pypipr-1.0.119 → pypipr-1.0.120}/pypipr/chr_to_int.py +0 -0
- {pypipr-1.0.119 → pypipr-1.0.120}/pypipr/chunk_array.py +0 -0
- {pypipr-1.0.119 → pypipr-1.0.120}/pypipr/console_run.py +0 -0
- {pypipr-1.0.119 → pypipr-1.0.120}/pypipr/create_folder.py +0 -0
- {pypipr-1.0.119 → pypipr-1.0.120}/pypipr/datetime_from_string.py +0 -0
- {pypipr-1.0.119 → pypipr-1.0.120}/pypipr/datetime_now.py +0 -0
- {pypipr-1.0.119 → pypipr-1.0.120}/pypipr/dict_first.py +0 -0
- {pypipr-1.0.119 → pypipr-1.0.120}/pypipr/dirname.py +0 -0
- {pypipr-1.0.119 → pypipr-1.0.120}/pypipr/exit_if_empty.py +0 -0
- {pypipr-1.0.119 → pypipr-1.0.120}/pypipr/filter_empty.py +0 -0
- {pypipr-1.0.119 → pypipr-1.0.120}/pypipr/get_by_index.py +0 -0
- {pypipr-1.0.119 → pypipr-1.0.120}/pypipr/get_class_method.py +0 -0
- {pypipr-1.0.119 → pypipr-1.0.120}/pypipr/get_filemtime.py +0 -0
- {pypipr-1.0.119 → pypipr-1.0.120}/pypipr/get_filesize.py +0 -0
- {pypipr-1.0.119 → pypipr-1.0.120}/pypipr/github_pull.py +0 -0
- {pypipr-1.0.119 → pypipr-1.0.120}/pypipr/github_push.py +0 -0
- {pypipr-1.0.119 → pypipr-1.0.120}/pypipr/github_user.py +0 -0
- {pypipr-1.0.119 → pypipr-1.0.120}/pypipr/hex_to_int.py +0 -0
- {pypipr-1.0.119 → pypipr-1.0.120}/pypipr/iargv.py +0 -0
- {pypipr-1.0.119 → pypipr-1.0.120}/pypipr/idumps.py +0 -0
- {pypipr-1.0.119 → pypipr-1.0.120}/pypipr/idumps_html.py +0 -0
- {pypipr-1.0.119 → pypipr-1.0.120}/pypipr/ienumerate.py +0 -0
- {pypipr-1.0.119 → pypipr-1.0.120}/pypipr/ienv.py +0 -0
- {pypipr-1.0.119 → pypipr-1.0.120}/pypipr/iexec.py +0 -0
- {pypipr-1.0.119 → pypipr-1.0.120}/pypipr/ijoin.py +0 -0
- {pypipr-1.0.119 → pypipr-1.0.120}/pypipr/iloads.py +0 -0
- {pypipr-1.0.119 → pypipr-1.0.120}/pypipr/iloads_html.py +0 -0
- {pypipr-1.0.119 → pypipr-1.0.120}/pypipr/input_char.py +0 -0
- {pypipr-1.0.119 → pypipr-1.0.120}/pypipr/int_to_bin.py +0 -0
- {pypipr-1.0.119 → pypipr-1.0.120}/pypipr/int_to_chr.py +0 -0
- {pypipr-1.0.119 → pypipr-1.0.120}/pypipr/int_to_hex.py +0 -0
- {pypipr-1.0.119 → pypipr-1.0.120}/pypipr/int_to_int.py +0 -0
- {pypipr-1.0.119 → pypipr-1.0.120}/pypipr/int_to_oct.py +0 -0
- {pypipr-1.0.119 → pypipr-1.0.120}/pypipr/iopen.py +0 -0
- {pypipr-1.0.119 → pypipr-1.0.120}/pypipr/iprint.py +0 -0
- {pypipr-1.0.119 → pypipr-1.0.120}/pypipr/irange.py +0 -0
- {pypipr-1.0.119 → pypipr-1.0.120}/pypipr/ireplace.py +0 -0
- {pypipr-1.0.119 → pypipr-1.0.120}/pypipr/is_empty.py +0 -0
- {pypipr-1.0.119 → pypipr-1.0.120}/pypipr/is_iterable.py +0 -0
- {pypipr-1.0.119 → pypipr-1.0.120}/pypipr/is_valid_url.py +0 -0
- {pypipr-1.0.119 → pypipr-1.0.120}/pypipr/iscandir.py +0 -0
- {pypipr-1.0.119 → pypipr-1.0.120}/pypipr/isplit.py +0 -0
- {pypipr-1.0.119 → pypipr-1.0.120}/pypipr/ivars.py +0 -0
- {pypipr-1.0.119 → pypipr-1.0.120}/pypipr/log.py +0 -0
- {pypipr-1.0.119 → pypipr-1.0.120}/pypipr/oct_to_int.py +0 -0
- {pypipr-1.0.119 → pypipr-1.0.120}/pypipr/password_generator.py +0 -0
- {pypipr-1.0.119 → pypipr-1.0.120}/pypipr/pip_freeze_without_version.py +0 -0
- {pypipr-1.0.119 → pypipr-1.0.120}/pypipr/poetry_publish.py +0 -0
- {pypipr-1.0.119 → pypipr-1.0.120}/pypipr/poetry_update_version.py +0 -0
- {pypipr-1.0.119 → pypipr-1.0.120}/pypipr/print_colorize.py +0 -0
- {pypipr-1.0.119 → pypipr-1.0.120}/pypipr/print_dir.py +0 -0
- {pypipr-1.0.119 → pypipr-1.0.120}/pypipr/print_log.py +0 -0
- {pypipr-1.0.119 → pypipr-1.0.120}/pypipr/print_to_last_line.py +0 -0
- {pypipr-1.0.119 → pypipr-1.0.120}/pypipr/random_bool.py +0 -0
- {pypipr-1.0.119 → pypipr-1.0.120}/pypipr/restart.py +0 -0
- {pypipr-1.0.119 → pypipr-1.0.120}/pypipr/set_timeout.py +0 -0
- {pypipr-1.0.119 → pypipr-1.0.120}/pypipr/sets_ordered.py +0 -0
- {pypipr-1.0.119 → pypipr-1.0.120}/pypipr/str_cmp.py +0 -0
- {pypipr-1.0.119 → pypipr-1.0.120}/pypipr/text_colorize.py +0 -0
- {pypipr-1.0.119 → pypipr-1.0.120}/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.120
|
4
4
|
Summary: The Python Package Index Project
|
5
5
|
Author: ufiapjj
|
6
6
|
Author-email: ufiapjj@gmail.com
|
@@ -250,8 +250,8 @@ iprint(irange("z", "a", 4))
|
|
250
250
|
|
251
251
|
Output:
|
252
252
|
```py
|
253
|
-
<generator object int_range at
|
254
|
-
<generator object int_range at
|
253
|
+
<generator object int_range at 0x7d20bd4540>
|
254
|
+
<generator object int_range at 0x7d20bd4540>
|
255
255
|
[13, 12, 11, 10, 9, 8, 7, 6]
|
256
256
|
[2, 5, 8]
|
257
257
|
[2, 5, 8]
|
@@ -283,7 +283,7 @@ print(list(batchmaker(s)))
|
|
283
283
|
|
284
284
|
Output:
|
285
285
|
```py
|
286
|
-
<generator object batchmaker at
|
286
|
+
<generator object batchmaker at 0x7d20bc83a0>
|
287
287
|
['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.']
|
288
288
|
```
|
289
289
|
|
@@ -337,7 +337,7 @@ print(list(batch_calculate("{1 10} m ** {1 3}")))
|
|
337
337
|
|
338
338
|
Output:
|
339
339
|
```py
|
340
|
-
<generator object batch_calculate at
|
340
|
+
<generator object batch_calculate at 0x7d20b4b010>
|
341
341
|
[('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')>)]
|
342
342
|
```
|
343
343
|
|
@@ -465,7 +465,7 @@ print(list(chunk_array(arr, 5)))
|
|
465
465
|
|
466
466
|
Output:
|
467
467
|
```py
|
468
|
-
<generator object chunk_array at
|
468
|
+
<generator object chunk_array at 0x7d20bd4540>
|
469
469
|
[[2, 3, 12, 3, 3], [42, 42, 1, 43, 2], [42, 41, 4, 24, 32], [42, 3, 12, 32, 42], [42]]
|
470
470
|
```
|
471
471
|
|
@@ -516,9 +516,9 @@ print(datetime_now("Etc/GMT+7"))
|
|
516
516
|
|
517
517
|
Output:
|
518
518
|
```py
|
519
|
-
2024-05-01 09:
|
520
|
-
2024-05-01 02:
|
521
|
-
2024-04-30 19:
|
519
|
+
2024-05-01 09:55:07.182593+07:00
|
520
|
+
2024-05-01 02:55:07.184074+00:00
|
521
|
+
2024-04-30 19:55:07.188176-07:00
|
522
522
|
```
|
523
523
|
|
524
524
|
## dict_first
|
@@ -624,7 +624,7 @@ iprint(filter_empty(var))
|
|
624
624
|
|
625
625
|
Output:
|
626
626
|
```py
|
627
|
-
<generator object filter_empty at
|
627
|
+
<generator object filter_empty at 0x7d20b495d0>
|
628
628
|
[1, '0', True, {}, ['eee']]
|
629
629
|
```
|
630
630
|
|
@@ -654,8 +654,8 @@ print(list(get_class_method(ExampleGetClassMethod)))
|
|
654
654
|
|
655
655
|
Output:
|
656
656
|
```py
|
657
|
-
<generator object get_class_method at
|
658
|
-
[<function ExampleGetClassMethod.a at
|
657
|
+
<generator object get_class_method at 0x7d20b4b2e0>
|
658
|
+
[<function ExampleGetClassMethod.a at 0x7d20bed300>, <function ExampleGetClassMethod.b at 0x7d20bed620>, <function ExampleGetClassMethod.c at 0x7d20bed4e0>, <function ExampleGetClassMethod.d at 0x7d20bed6c0>]
|
659
659
|
```
|
660
660
|
|
661
661
|
## get_filesize
|
@@ -925,7 +925,7 @@ Output:
|
|
925
925
|
|
926
926
|
## ienumerate
|
927
927
|
|
928
|
-
`ienumerate(iterator, start=0, key=<function int_to_int at
|
928
|
+
`ienumerate(iterator, start=0, key=<function int_to_int at 0x7d289c9ee0>)`
|
929
929
|
|
930
930
|
meningkatkan fungsi enumerate() pada python
|
931
931
|
untuk key menggunakan huruf dan basis angka lainnya.
|
@@ -938,7 +938,7 @@ iprint(ienumerate(it, key=int_to_chr))
|
|
938
938
|
|
939
939
|
Output:
|
940
940
|
```py
|
941
|
-
<generator object ienumerate at
|
941
|
+
<generator object ienumerate at 0x7d20b4b3d0>
|
942
942
|
[('a', 'ini'), ('b', 'contoh'), ('c', 'enumerator')]
|
943
943
|
```
|
944
944
|
|
@@ -1005,7 +1005,7 @@ print(ijoin(10, ' '))
|
|
1005
1005
|
|
1006
1006
|
Output:
|
1007
1007
|
```py
|
1008
|
-
qweqw, dfs,
|
1008
|
+
qweqw, dfs, asd, weq
|
1009
1009
|
,ini,path,seperti,url,
|
1010
1010
|
ini,path,seperti,url
|
1011
1011
|
<li>satu</li>
|
@@ -1051,9 +1051,9 @@ Output:
|
|
1051
1051
|
```py
|
1052
1052
|
(['Home', 'Emas 1 Gram', 'History', 'Trend', 'Perak 1 Gram', 'Pluang'],
|
1053
1053
|
[['Harga Emas Hari Ini - Rabu, 01 Mei 2024'],
|
1054
|
-
['Spot Emas USD↓2.
|
1054
|
+
['Spot Emas USD↓2.287,98 (-8,04) / oz',
|
1055
1055
|
'Kurs IDR16.249,00 / USD',
|
1056
|
-
'Emas IDR↓1.195.
|
1056
|
+
'Emas IDR↓1.195.281 (-4.200) / gr'],
|
1057
1057
|
['LM Antam (Jual)↓1.310.000 (-15.000) / gr',
|
1058
1058
|
'LM Antam (Beli)↓1.204.000 (-17.000) / gr']],
|
1059
1059
|
[['Harga Emas Hari Ini'],
|
@@ -1124,10 +1124,10 @@ Output:
|
|
1124
1124
|
'Update harga LM Pegadaian :31 Agustus 2023']],
|
1125
1125
|
[['Spot Harga Emas Hari Ini (Market Open)'],
|
1126
1126
|
['Satuan', 'USD', 'Kurs\xa0Dollar', 'IDR'],
|
1127
|
-
['Ounce\xa0(oz)', '2.
|
1128
|
-
['Gram\xa0(gr)', '73,56', '16.249,00', '1.195.
|
1129
|
-
['Kilogram\xa0(kg)', '73.
|
1130
|
-
['Update harga emas :01 Mei 2024, pukul 09:
|
1127
|
+
['Ounce\xa0(oz)', '2.287,98 (-8,04)', '16.249,00', '37.177.387'],
|
1128
|
+
['Gram\xa0(gr)', '73,56', '16.249,00', '1.195.281 (-4.200)'],
|
1129
|
+
['Kilogram\xa0(kg)', '73.560,27', '16.249,00', '1.195.280.749'],
|
1130
|
+
['Update harga emas :01 Mei 2024, pukul 09:54Update kurs :30 April 2024, '
|
1131
1131
|
'pukul 13:10']],
|
1132
1132
|
[['Gram', 'UBS Gold 99.99%'],
|
1133
1133
|
['Jual', 'Beli'],
|
@@ -1149,36 +1149,36 @@ Output:
|
|
1149
1149
|
['Unit', 'USD', 'IDR'],
|
1150
1150
|
['Angka', '+/-', 'Angka', '+/-'],
|
1151
1151
|
['Hari Ini', 'Kurs', '', '', '16.249', '%'],
|
1152
|
-
['oz', '2.296,02', '-
|
1153
|
-
['gr', '73,82', '-0,26-0,35%', '1.199.481', '-4.
|
1152
|
+
['oz', '2.296,02', '-8,04-0,35%', '37.308.029', '-130.642-0,35%'],
|
1153
|
+
['gr', '73,82', '-0,26-0,35%', '1.199.481', '-4.200-0,35%'],
|
1154
1154
|
['30 Hari', 'Kurs', '', '', '15.873', '+376+2,37%'],
|
1155
|
-
['oz', '2.239,34', '+48,
|
1156
|
-
['gr', '72,00', '+1,
|
1155
|
+
['oz', '2.239,34', '+48,64+2,17%', '35.545.044', '+1.632.343+4,59%'],
|
1156
|
+
['gr', '72,00', '+1,56+2,17%', '1.142.800', '+52.481+4,59%'],
|
1157
1157
|
['2 Bulan', 'Kurs', '', '', '15.715', '+534+3,40%'],
|
1158
|
-
['oz', '2.082,55', '+205,
|
1159
|
-
['gr', '66,96', '+6,
|
1158
|
+
['oz', '2.082,55', '+205,43+9,86%', '32.727.273', '+4.450.114+13,60%'],
|
1159
|
+
['gr', '66,96', '+6,60+9,86', '1.052.206', '+143.074+13,60%'],
|
1160
1160
|
['6 Bulan', 'Kurs', '', '', '15.861', '+388+2,45%'],
|
1161
|
-
['oz', '1.990,54', '+297,
|
1162
|
-
['gr', '64,00', '+9,
|
1161
|
+
['oz', '1.990,54', '+297,44+14,94%', '31.571.955', '+5.605.432+17,75%'],
|
1162
|
+
['gr', '64,00', '+9,56+14,94%', '1.015.062', '+180.219+17,75%'],
|
1163
1163
|
['1 Tahun', 'Kurs', '', '', '15.731', '+518+3,29%'],
|
1164
|
-
['oz', '1.823,86', '+464,
|
1165
|
-
['gr', '58,64', '+14,92+25,45%', '922.442', '+272.
|
1164
|
+
['oz', '1.823,86', '+464,12+25,45%', '28.691.142', '+8.486.245+29,58%'],
|
1165
|
+
['gr', '58,64', '+14,92+25,45%', '922.442', '+272.839+29,58%'],
|
1166
1166
|
['2 Tahun', 'Kurs', '', '', '14.418', '+1.831+12,70%'],
|
1167
|
-
['oz', '1.867,23', '+420,
|
1168
|
-
['gr', '60,03', '+13,53+22,
|
1167
|
+
['oz', '1.867,23', '+420,75+22,53%', '26.921.722', '+10.255.665+38,09%'],
|
1168
|
+
['gr', '60,03', '+13,53+22,53%', '865.553', '+329.727+38,09%'],
|
1169
1169
|
['3 Tahun', 'Kurs', '', '', '14.468', '+1.781+12,31%'],
|
1170
|
-
['oz', '1.768,91', '+519,
|
1171
|
-
['gr', '56,87', '+16,69+29,
|
1170
|
+
['oz', '1.768,91', '+519,07+29,34%', '25.592.590', '+11.584.797+45,27%'],
|
1171
|
+
['gr', '56,87', '+16,69+29,34%', '822.821', '+372.460+45,27%'],
|
1172
1172
|
['5 Tahun', 'Kurs', '', '', '14.282', '+1.967+13,77%'],
|
1173
|
-
['oz', '1.280,82', '+1.007,
|
1174
|
-
['gr', '41,18', '+32,38+78,
|
1173
|
+
['oz', '1.280,82', '+1.007,16+78,63%', '18.292.671', '+18.884.716+103,24%'],
|
1174
|
+
['gr', '41,18', '+32,38+78,63%', '588.123', '+607.158+103,24%']])
|
1175
1175
|
(['Home', 'Emas 1 Gram', 'History', 'Trend', 'Perak 1 Gram', 'Pluang'],
|
1176
1176
|
[[''],
|
1177
1177
|
['Emas 24 KaratHarga Emas 1 Gram', ''],
|
1178
1178
|
['USD', '73,56↓', '-0,26-0,35%'],
|
1179
1179
|
['KURS', '16.265,05↑', '+4,05+0,02%'],
|
1180
|
-
['IDR', '1.196.
|
1181
|
-
['Rabu, 01 Mei 2024 09:
|
1180
|
+
['IDR', '1.196.456,16↓', '-3.910,65-0,33%'],
|
1181
|
+
['Rabu, 01 Mei 2024 09:55']],
|
1182
1182
|
[[''],
|
1183
1183
|
['Emas 1 Gram (IDR)Emas 1 Gram (USD)Kurs USD-IDR',
|
1184
1184
|
'Hari Ini',
|
@@ -1191,17 +1191,17 @@ Output:
|
|
1191
1191
|
['', 'Penutupan Kemarin', 'Pergerakkan Hari Ini', 'Rata-rata'],
|
1192
1192
|
['USD', '73,82', '73,56 - 73,82', '73,69'],
|
1193
1193
|
['KURS', '16.261,00', '16.261,00 - 16.265,05', '16.263,03'],
|
1194
|
-
['IDR', '1.200.366,81', '1.196.
|
1194
|
+
['IDR', '1.200.366,81', '1.196.456,16 - 1.200.366,81', '1.198.411,49'],
|
1195
1195
|
[''],
|
1196
1196
|
['', 'Awal Tahun', 'Pergerakkan YTD', '+/- YTD'],
|
1197
1197
|
['USD', '66,32', '64,07 - 77,14', '+7,24 (10,92%)'],
|
1198
1198
|
['KURS', '15.390,10', '15.390,00 - 16.307,80', '+874,95 (5,69%)'],
|
1199
|
-
['IDR', '1.020.729,53', '997.660,12 - 1.256.829,06', '+175.
|
1199
|
+
['IDR', '1.020.729,53', '997.660,12 - 1.256.829,06', '+175.726,63 (17,22%)'],
|
1200
1200
|
[''],
|
1201
1201
|
['', 'Tahun Lalu / 52 Minggu', 'Pergerakkan 52 Minggu', '+/- 52 Minggu'],
|
1202
1202
|
['USD', '63,97', '58,43 - 77,14', '+9,59 (14,99%)'],
|
1203
1203
|
['KURS', '14.673,55', '14.669,40 - 16.307,80', '+1.591,50 (10,85%)'],
|
1204
|
-
['IDR', '938.709,73', '912.925,68 - 1.256.829,06', '+257.
|
1204
|
+
['IDR', '938.709,73', '912.925,68 - 1.256.829,06', '+257.746,43 (27,46%)']])
|
1205
1205
|
```
|
1206
1206
|
|
1207
1207
|
## iloads
|
@@ -1331,7 +1331,7 @@ Output:
|
|
1331
1331
|
```py
|
1332
1332
|
8
|
1333
1333
|
['mana', 'aja']
|
1334
|
-
[<Element a at
|
1334
|
+
[<Element a at 0x7d20be59f0>, <Element a at 0x7d20c25310>, <Element a at 0x7d20c253b0>, <Element a at 0x7d20c25400>, <Element a at 0x7d20c25450>, <Element a at 0x7d20c254a0>, <Element a at 0x7d20c254f0>, <Element a at 0x7d20c25540>, <Element a at 0x7d20c25590>, <Element a at 0x7d20c255e0>, <Element a at 0x7d20c25630>, <Element a at 0x7d20c25680>, <Element a at 0x7d20c256d0>, <Element a at 0x7d20c25720>, <Element a at 0x7d20c25770>, <Element a at 0x7d20c257c0>, <Element a at 0x7d20c25810>, <Element a at 0x7d20c25860>]
|
1335
1335
|
False
|
1336
1336
|
```
|
1337
1337
|
|
@@ -1393,7 +1393,7 @@ print(list(iscandir("./", recursive=False, scan_file=False)))
|
|
1393
1393
|
|
1394
1394
|
Output:
|
1395
1395
|
```py
|
1396
|
-
<generator object iscandir at
|
1396
|
+
<generator object iscandir at 0x7d20bd4840>
|
1397
1397
|
[PosixPath('.git'), PosixPath('.vscode'), PosixPath('pypipr'), PosixPath('__pycache__'), PosixPath('dist')]
|
1398
1398
|
```
|
1399
1399
|
|
@@ -1430,76 +1430,76 @@ Output:
|
|
1430
1430
|
'ComparePerformance': <class 'pypipr.ComparePerformance.ComparePerformance'>,
|
1431
1431
|
'PintUregQuantity': <class 'pint.Quantity'>,
|
1432
1432
|
'RunParallel': <class 'pypipr.RunParallel.RunParallel'>},
|
1433
|
-
'function': {'avg': <function avg at
|
1434
|
-
'get_filemtime': <function get_filemtime at
|
1435
|
-
'print_colorize': <function print_colorize at
|
1436
|
-
'print_log': <function print_log at
|
1437
|
-
'console_run': <function console_run at
|
1438
|
-
'auto_reload': <function auto_reload at
|
1439
|
-
'basename': <function basename at
|
1440
|
-
'chr_to_int': <function chr_to_int at
|
1441
|
-
'int_to_chr': <function int_to_chr at
|
1442
|
-
'irange': <function irange at
|
1443
|
-
'batchmaker': <function batchmaker at
|
1444
|
-
'calculate': <function calculate at
|
1445
|
-
'batch_calculate': <function batch_calculate at
|
1446
|
-
'bin_to_int': <function bin_to_int at
|
1447
|
-
'is_empty': <function is_empty at
|
1448
|
-
'exit_if_empty': <function exit_if_empty at
|
1449
|
-
'input_char': <function input_char at
|
1450
|
-
'get_by_index': <function get_by_index at
|
1451
|
-
'choices': <function choices at
|
1452
|
-
'chunk_array': <function chunk_array at
|
1453
|
-
'create_folder': <function create_folder at
|
1454
|
-
'datetime_from_string': <function datetime_from_string at
|
1455
|
-
'datetime_now': <function datetime_now at
|
1456
|
-
'dict_first': <function dict_first at
|
1457
|
-
'dirname': <function dirname at
|
1458
|
-
'is_iterable': <function is_iterable at
|
1459
|
-
'to_str': <function to_str at
|
1460
|
-
'filter_empty': <function filter_empty at
|
1461
|
-
'get_class_method': <function get_class_method at
|
1462
|
-
'get_filesize': <function get_filesize at
|
1463
|
-
'github_pull': <function github_pull at
|
1464
|
-
'github_push': <function github_push at
|
1465
|
-
'github_user': <function github_user at
|
1466
|
-
'hex_to_int': <function hex_to_int at
|
1467
|
-
'iargv': <function iargv at
|
1468
|
-
'idumps_html': <function idumps_html at
|
1469
|
-
'idumps': <function idumps at
|
1470
|
-
'int_to_int': <function int_to_int at
|
1471
|
-
'ienumerate': <function ienumerate at
|
1472
|
-
'ienv': <function ienv at
|
1473
|
-
'iexec': <function iexec at
|
1474
|
-
'ijoin': <function ijoin at
|
1475
|
-
'iloads_html': <function iloads_html at
|
1476
|
-
'iloads': <function iloads at
|
1477
|
-
'int_to_bin': <function int_to_bin at
|
1478
|
-
'int_to_hex': <function int_to_hex at
|
1479
|
-
'int_to_oct': <function int_to_oct at
|
1480
|
-
'is_valid_url': <function is_valid_url at
|
1481
|
-
'iopen': <function iopen at
|
1482
|
-
'iprint': <function iprint at
|
1483
|
-
'ireplace': <function ireplace at
|
1484
|
-
'iscandir': <function iscandir at
|
1485
|
-
'isplit': <function isplit at
|
1486
|
-
'ivars': <function ivars at
|
1487
|
-
'log': <function log at
|
1488
|
-
'oct_to_int': <function oct_to_int at
|
1489
|
-
'password_generator': <function password_generator at
|
1490
|
-
'pip_freeze_without_version': <function pip_freeze_without_version at
|
1491
|
-
'poetry_publish': <function poetry_publish at
|
1492
|
-
'poetry_update_version': <function poetry_update_version at
|
1493
|
-
'print_dir': <function print_dir at
|
1494
|
-
'print_to_last_line': <function print_to_last_line at
|
1495
|
-
'random_bool': <function random_bool at
|
1496
|
-
'restart': <function restart at
|
1497
|
-
'set_timeout': <function set_timeout at
|
1498
|
-
'sets_ordered': <function sets_ordered at
|
1499
|
-
'str_cmp': <function str_cmp at
|
1500
|
-
'text_colorize': <function text_colorize at
|
1433
|
+
'function': {'avg': <function avg at 0x7d2ec4e700>,
|
1434
|
+
'get_filemtime': <function get_filemtime at 0x7d28ad72e0>,
|
1435
|
+
'print_colorize': <function print_colorize at 0x7d28ad74c0>,
|
1436
|
+
'print_log': <function print_log at 0x7d28b7ab60>,
|
1437
|
+
'console_run': <function console_run at 0x7d28ad7380>,
|
1438
|
+
'auto_reload': <function auto_reload at 0x7d28ab3ec0>,
|
1439
|
+
'basename': <function basename at 0x7d28ad7240>,
|
1440
|
+
'chr_to_int': <function chr_to_int at 0x7d28ad7a60>,
|
1441
|
+
'int_to_chr': <function int_to_chr at 0x7d28ad7b00>,
|
1442
|
+
'irange': <function irange at 0x7d28ad7d80>,
|
1443
|
+
'batchmaker': <function batchmaker at 0x7d28ad7740>,
|
1444
|
+
'calculate': <function calculate at 0x7d28ac82c0>,
|
1445
|
+
'batch_calculate': <function batch_calculate at 0x7d28ad7600>,
|
1446
|
+
'bin_to_int': <function bin_to_int at 0x7d28ad76a0>,
|
1447
|
+
'is_empty': <function is_empty at 0x7d28ac8540>,
|
1448
|
+
'exit_if_empty': <function exit_if_empty at 0x7d28ac8400>,
|
1449
|
+
'input_char': <function input_char at 0x7d28ac84a0>,
|
1450
|
+
'get_by_index': <function get_by_index at 0x7d28ac85e0>,
|
1451
|
+
'choices': <function choices at 0x7d28ac87c0>,
|
1452
|
+
'chunk_array': <function chunk_array at 0x7d28ac8860>,
|
1453
|
+
'create_folder': <function create_folder at 0x7d28ac8900>,
|
1454
|
+
'datetime_from_string': <function datetime_from_string at 0x7d28ac89a0>,
|
1455
|
+
'datetime_now': <function datetime_now at 0x7d28ac8a40>,
|
1456
|
+
'dict_first': <function dict_first at 0x7d28ac8ae0>,
|
1457
|
+
'dirname': <function dirname at 0x7d28ac8b80>,
|
1458
|
+
'is_iterable': <function is_iterable at 0x7d28ac8d60>,
|
1459
|
+
'to_str': <function to_str at 0x7d28ac8e00>,
|
1460
|
+
'filter_empty': <function filter_empty at 0x7d28ac8c20>,
|
1461
|
+
'get_class_method': <function get_class_method at 0x7d28ac8cc0>,
|
1462
|
+
'get_filesize': <function get_filesize at 0x7d28ac8f40>,
|
1463
|
+
'github_pull': <function github_pull at 0x7d28ac8fe0>,
|
1464
|
+
'github_push': <function github_push at 0x7d28ac91c0>,
|
1465
|
+
'github_user': <function github_user at 0x7d28ac9260>,
|
1466
|
+
'hex_to_int': <function hex_to_int at 0x7d28ac9080>,
|
1467
|
+
'iargv': <function iargv at 0x7d28ac9300>,
|
1468
|
+
'idumps_html': <function idumps_html at 0x7d28ac9580>,
|
1469
|
+
'idumps': <function idumps at 0x7d28ac9440>,
|
1470
|
+
'int_to_int': <function int_to_int at 0x7d289c9ee0>,
|
1471
|
+
'ienumerate': <function ienumerate at 0x7d28ac9a80>,
|
1472
|
+
'ienv': <function ienv at 0x7d289c9da0>,
|
1473
|
+
'iexec': <function iexec at 0x7d289c9f80>,
|
1474
|
+
'ijoin': <function ijoin at 0x7d289ca0c0>,
|
1475
|
+
'iloads_html': <function iloads_html at 0x7d289ca2a0>,
|
1476
|
+
'iloads': <function iloads at 0x7d289ca020>,
|
1477
|
+
'int_to_bin': <function int_to_bin at 0x7d289ca200>,
|
1478
|
+
'int_to_hex': <function int_to_hex at 0x7d289ca340>,
|
1479
|
+
'int_to_oct': <function int_to_oct at 0x7d289ca3e0>,
|
1480
|
+
'is_valid_url': <function is_valid_url at 0x7d289ca5c0>,
|
1481
|
+
'iopen': <function iopen at 0x7d287c6a20>,
|
1482
|
+
'iprint': <function iprint at 0x7d289ca520>,
|
1483
|
+
'ireplace': <function ireplace at 0x7d289ca8e0>,
|
1484
|
+
'iscandir': <function iscandir at 0x7d2887e160>,
|
1485
|
+
'isplit': <function isplit at 0x7d2887e200>,
|
1486
|
+
'ivars': <function ivars at 0x7d2887e2a0>,
|
1487
|
+
'log': <function log at 0x7d2887e340>,
|
1488
|
+
'oct_to_int': <function oct_to_int at 0x7d2887e3e0>,
|
1489
|
+
'password_generator': <function password_generator at 0x7d2887e480>,
|
1490
|
+
'pip_freeze_without_version': <function pip_freeze_without_version at 0x7d2887e5c0>,
|
1491
|
+
'poetry_publish': <function poetry_publish at 0x7d2887e660>,
|
1492
|
+
'poetry_update_version': <function poetry_update_version at 0x7d2887e7a0>,
|
1493
|
+
'print_dir': <function print_dir at 0x7d2887e980>,
|
1494
|
+
'print_to_last_line': <function print_to_last_line at 0x7d2887ea20>,
|
1495
|
+
'random_bool': <function random_bool at 0x7d2887eac0>,
|
1496
|
+
'restart': <function restart at 0x7d2887eb60>,
|
1497
|
+
'set_timeout': <function set_timeout at 0x7d2887ec00>,
|
1498
|
+
'sets_ordered': <function sets_ordered at 0x7d2887eca0>,
|
1499
|
+
'str_cmp': <function str_cmp at 0x7d2887ed40>,
|
1500
|
+
'text_colorize': <function text_colorize at 0x7d2887ede0>},
|
1501
1501
|
'variable': {'LINUX': True,
|
1502
|
-
'PintUreg': <pint.registry.UnitRegistry object at
|
1502
|
+
'PintUreg': <pint.registry.UnitRegistry object at 0x7d2ec54590>,
|
1503
1503
|
'WINDOWS': False},
|
1504
1504
|
'module': {'asyncio': <module 'asyncio' from '/data/data/com.termux/files/usr/lib/python3.11/asyncio/__init__.py'>,
|
1505
1505
|
'colorama': <module 'colorama' from '/data/data/com.termux/files/usr/lib/python3.11/site-packages/colorama/__init__.py'>,
|
@@ -1589,7 +1589,7 @@ print(password_generator())
|
|
1589
1589
|
|
1590
1590
|
Output:
|
1591
1591
|
```py
|
1592
|
-
|
1592
|
+
{`>\QTI8
|
1593
1593
|
```
|
1594
1594
|
|
1595
1595
|
## pip_freeze_without_version
|
@@ -1647,7 +1647,7 @@ Output:
|
|
1647
1647
|
__enter__ : https:/www.google.com
|
1648
1648
|
__fspath__ : https:/www.google.com
|
1649
1649
|
__getstate__ : (None, {'_drv': '', '_root': '', '_parts': ['https:', 'www.google.com'], '_str': 'https:/www.google.com'})
|
1650
|
-
__hash__ :
|
1650
|
+
__hash__ : 7734779578747066766
|
1651
1651
|
__init__ : None
|
1652
1652
|
__init_subclass__ : None
|
1653
1653
|
__module__ : pathlib
|
@@ -1660,8 +1660,8 @@ Output:
|
|
1660
1660
|
_cached_cparts : ['https:', 'www.google.com']
|
1661
1661
|
_cparts : ['https:', 'www.google.com']
|
1662
1662
|
_drv :
|
1663
|
-
_flavour : <pathlib._PosixFlavour object at
|
1664
|
-
_hash :
|
1663
|
+
_flavour : <pathlib._PosixFlavour object at 0x7d35864ad0>
|
1664
|
+
_hash : 7734779578747066766
|
1665
1665
|
_parts : ['https:', 'www.google.com']
|
1666
1666
|
_root :
|
1667
1667
|
_str : https:/www.google.com
|
@@ -1683,7 +1683,7 @@ Output:
|
|
1683
1683
|
is_reserved : False
|
1684
1684
|
is_socket : False
|
1685
1685
|
is_symlink : False
|
1686
|
-
iterdir : <generator object Path.iterdir at
|
1686
|
+
iterdir : <generator object Path.iterdir at 0x7d20bce960>
|
1687
1687
|
joinpath : https:/www.google.com
|
1688
1688
|
name : www.google.com
|
1689
1689
|
parent : https:
|
@@ -1723,7 +1723,7 @@ print(random_bool())
|
|
1723
1723
|
|
1724
1724
|
Output:
|
1725
1725
|
```py
|
1726
|
-
|
1726
|
+
True
|
1727
1727
|
```
|
1728
1728
|
|
1729
1729
|
## restart
|
@@ -1757,7 +1757,7 @@ x.cancel()
|
|
1757
1757
|
|
1758
1758
|
Output:
|
1759
1759
|
```py
|
1760
|
-
<Timer(Thread-2, started
|
1760
|
+
<Timer(Thread-2, started 537396501744)>
|
1761
1761
|
menghentikan timeout 7
|
1762
1762
|
```
|
1763
1763
|
|
@@ -1775,7 +1775,7 @@ print(list(sets_ordered(array)))
|
|
1775
1775
|
|
1776
1776
|
Output:
|
1777
1777
|
```py
|
1778
|
-
<generator object sets_ordered at
|
1778
|
+
<generator object sets_ordered at 0x7d20bfd150>
|
1779
1779
|
[2, 3, 12, 42, 1, 43, 41, 4, 24, 32]
|
1780
1780
|
```
|
1781
1781
|
|
@@ -1869,7 +1869,7 @@ print(ExampleComparePerformance().compare_performance())
|
|
1869
1869
|
|
1870
1870
|
Output:
|
1871
1871
|
```py
|
1872
|
-
{'a': <generator object ExampleComparePerformance.a.<locals>.<genexpr> at
|
1872
|
+
{'a': <generator object ExampleComparePerformance.a.<locals>.<genexpr> at 0x7d20bfcba0>,
|
1873
1873
|
'b': (0, 1, 2, 3, 4, 5, 6, 7, 8, 9),
|
1874
1874
|
'c': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
|
1875
1875
|
'd': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]}
|
@@ -227,8 +227,8 @@ iprint(irange("z", "a", 4))
|
|
227
227
|
|
228
228
|
Output:
|
229
229
|
```py
|
230
|
-
<generator object int_range at
|
231
|
-
<generator object int_range at
|
230
|
+
<generator object int_range at 0x7d20bd4540>
|
231
|
+
<generator object int_range at 0x7d20bd4540>
|
232
232
|
[13, 12, 11, 10, 9, 8, 7, 6]
|
233
233
|
[2, 5, 8]
|
234
234
|
[2, 5, 8]
|
@@ -260,7 +260,7 @@ print(list(batchmaker(s)))
|
|
260
260
|
|
261
261
|
Output:
|
262
262
|
```py
|
263
|
-
<generator object batchmaker at
|
263
|
+
<generator object batchmaker at 0x7d20bc83a0>
|
264
264
|
['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.']
|
265
265
|
```
|
266
266
|
|
@@ -314,7 +314,7 @@ print(list(batch_calculate("{1 10} m ** {1 3}")))
|
|
314
314
|
|
315
315
|
Output:
|
316
316
|
```py
|
317
|
-
<generator object batch_calculate at
|
317
|
+
<generator object batch_calculate at 0x7d20b4b010>
|
318
318
|
[('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')>)]
|
319
319
|
```
|
320
320
|
|
@@ -442,7 +442,7 @@ print(list(chunk_array(arr, 5)))
|
|
442
442
|
|
443
443
|
Output:
|
444
444
|
```py
|
445
|
-
<generator object chunk_array at
|
445
|
+
<generator object chunk_array at 0x7d20bd4540>
|
446
446
|
[[2, 3, 12, 3, 3], [42, 42, 1, 43, 2], [42, 41, 4, 24, 32], [42, 3, 12, 32, 42], [42]]
|
447
447
|
```
|
448
448
|
|
@@ -493,9 +493,9 @@ print(datetime_now("Etc/GMT+7"))
|
|
493
493
|
|
494
494
|
Output:
|
495
495
|
```py
|
496
|
-
2024-05-01 09:
|
497
|
-
2024-05-01 02:
|
498
|
-
2024-04-30 19:
|
496
|
+
2024-05-01 09:55:07.182593+07:00
|
497
|
+
2024-05-01 02:55:07.184074+00:00
|
498
|
+
2024-04-30 19:55:07.188176-07:00
|
499
499
|
```
|
500
500
|
|
501
501
|
## dict_first
|
@@ -601,7 +601,7 @@ iprint(filter_empty(var))
|
|
601
601
|
|
602
602
|
Output:
|
603
603
|
```py
|
604
|
-
<generator object filter_empty at
|
604
|
+
<generator object filter_empty at 0x7d20b495d0>
|
605
605
|
[1, '0', True, {}, ['eee']]
|
606
606
|
```
|
607
607
|
|
@@ -631,8 +631,8 @@ print(list(get_class_method(ExampleGetClassMethod)))
|
|
631
631
|
|
632
632
|
Output:
|
633
633
|
```py
|
634
|
-
<generator object get_class_method at
|
635
|
-
[<function ExampleGetClassMethod.a at
|
634
|
+
<generator object get_class_method at 0x7d20b4b2e0>
|
635
|
+
[<function ExampleGetClassMethod.a at 0x7d20bed300>, <function ExampleGetClassMethod.b at 0x7d20bed620>, <function ExampleGetClassMethod.c at 0x7d20bed4e0>, <function ExampleGetClassMethod.d at 0x7d20bed6c0>]
|
636
636
|
```
|
637
637
|
|
638
638
|
## get_filesize
|
@@ -902,7 +902,7 @@ Output:
|
|
902
902
|
|
903
903
|
## ienumerate
|
904
904
|
|
905
|
-
`ienumerate(iterator, start=0, key=<function int_to_int at
|
905
|
+
`ienumerate(iterator, start=0, key=<function int_to_int at 0x7d289c9ee0>)`
|
906
906
|
|
907
907
|
meningkatkan fungsi enumerate() pada python
|
908
908
|
untuk key menggunakan huruf dan basis angka lainnya.
|
@@ -915,7 +915,7 @@ iprint(ienumerate(it, key=int_to_chr))
|
|
915
915
|
|
916
916
|
Output:
|
917
917
|
```py
|
918
|
-
<generator object ienumerate at
|
918
|
+
<generator object ienumerate at 0x7d20b4b3d0>
|
919
919
|
[('a', 'ini'), ('b', 'contoh'), ('c', 'enumerator')]
|
920
920
|
```
|
921
921
|
|
@@ -982,7 +982,7 @@ print(ijoin(10, ' '))
|
|
982
982
|
|
983
983
|
Output:
|
984
984
|
```py
|
985
|
-
qweqw, dfs,
|
985
|
+
qweqw, dfs, asd, weq
|
986
986
|
,ini,path,seperti,url,
|
987
987
|
ini,path,seperti,url
|
988
988
|
<li>satu</li>
|
@@ -1028,9 +1028,9 @@ Output:
|
|
1028
1028
|
```py
|
1029
1029
|
(['Home', 'Emas 1 Gram', 'History', 'Trend', 'Perak 1 Gram', 'Pluang'],
|
1030
1030
|
[['Harga Emas Hari Ini - Rabu, 01 Mei 2024'],
|
1031
|
-
['Spot Emas USD↓2.
|
1031
|
+
['Spot Emas USD↓2.287,98 (-8,04) / oz',
|
1032
1032
|
'Kurs IDR16.249,00 / USD',
|
1033
|
-
'Emas IDR↓1.195.
|
1033
|
+
'Emas IDR↓1.195.281 (-4.200) / gr'],
|
1034
1034
|
['LM Antam (Jual)↓1.310.000 (-15.000) / gr',
|
1035
1035
|
'LM Antam (Beli)↓1.204.000 (-17.000) / gr']],
|
1036
1036
|
[['Harga Emas Hari Ini'],
|
@@ -1101,10 +1101,10 @@ Output:
|
|
1101
1101
|
'Update harga LM Pegadaian :31 Agustus 2023']],
|
1102
1102
|
[['Spot Harga Emas Hari Ini (Market Open)'],
|
1103
1103
|
['Satuan', 'USD', 'Kurs\xa0Dollar', 'IDR'],
|
1104
|
-
['Ounce\xa0(oz)', '2.
|
1105
|
-
['Gram\xa0(gr)', '73,56', '16.249,00', '1.195.
|
1106
|
-
['Kilogram\xa0(kg)', '73.
|
1107
|
-
['Update harga emas :01 Mei 2024, pukul 09:
|
1104
|
+
['Ounce\xa0(oz)', '2.287,98 (-8,04)', '16.249,00', '37.177.387'],
|
1105
|
+
['Gram\xa0(gr)', '73,56', '16.249,00', '1.195.281 (-4.200)'],
|
1106
|
+
['Kilogram\xa0(kg)', '73.560,27', '16.249,00', '1.195.280.749'],
|
1107
|
+
['Update harga emas :01 Mei 2024, pukul 09:54Update kurs :30 April 2024, '
|
1108
1108
|
'pukul 13:10']],
|
1109
1109
|
[['Gram', 'UBS Gold 99.99%'],
|
1110
1110
|
['Jual', 'Beli'],
|
@@ -1126,36 +1126,36 @@ Output:
|
|
1126
1126
|
['Unit', 'USD', 'IDR'],
|
1127
1127
|
['Angka', '+/-', 'Angka', '+/-'],
|
1128
1128
|
['Hari Ini', 'Kurs', '', '', '16.249', '%'],
|
1129
|
-
['oz', '2.296,02', '-
|
1130
|
-
['gr', '73,82', '-0,26-0,35%', '1.199.481', '-4.
|
1129
|
+
['oz', '2.296,02', '-8,04-0,35%', '37.308.029', '-130.642-0,35%'],
|
1130
|
+
['gr', '73,82', '-0,26-0,35%', '1.199.481', '-4.200-0,35%'],
|
1131
1131
|
['30 Hari', 'Kurs', '', '', '15.873', '+376+2,37%'],
|
1132
|
-
['oz', '2.239,34', '+48,
|
1133
|
-
['gr', '72,00', '+1,
|
1132
|
+
['oz', '2.239,34', '+48,64+2,17%', '35.545.044', '+1.632.343+4,59%'],
|
1133
|
+
['gr', '72,00', '+1,56+2,17%', '1.142.800', '+52.481+4,59%'],
|
1134
1134
|
['2 Bulan', 'Kurs', '', '', '15.715', '+534+3,40%'],
|
1135
|
-
['oz', '2.082,55', '+205,
|
1136
|
-
['gr', '66,96', '+6,
|
1135
|
+
['oz', '2.082,55', '+205,43+9,86%', '32.727.273', '+4.450.114+13,60%'],
|
1136
|
+
['gr', '66,96', '+6,60+9,86', '1.052.206', '+143.074+13,60%'],
|
1137
1137
|
['6 Bulan', 'Kurs', '', '', '15.861', '+388+2,45%'],
|
1138
|
-
['oz', '1.990,54', '+297,
|
1139
|
-
['gr', '64,00', '+9,
|
1138
|
+
['oz', '1.990,54', '+297,44+14,94%', '31.571.955', '+5.605.432+17,75%'],
|
1139
|
+
['gr', '64,00', '+9,56+14,94%', '1.015.062', '+180.219+17,75%'],
|
1140
1140
|
['1 Tahun', 'Kurs', '', '', '15.731', '+518+3,29%'],
|
1141
|
-
['oz', '1.823,86', '+464,
|
1142
|
-
['gr', '58,64', '+14,92+25,45%', '922.442', '+272.
|
1141
|
+
['oz', '1.823,86', '+464,12+25,45%', '28.691.142', '+8.486.245+29,58%'],
|
1142
|
+
['gr', '58,64', '+14,92+25,45%', '922.442', '+272.839+29,58%'],
|
1143
1143
|
['2 Tahun', 'Kurs', '', '', '14.418', '+1.831+12,70%'],
|
1144
|
-
['oz', '1.867,23', '+420,
|
1145
|
-
['gr', '60,03', '+13,53+22,
|
1144
|
+
['oz', '1.867,23', '+420,75+22,53%', '26.921.722', '+10.255.665+38,09%'],
|
1145
|
+
['gr', '60,03', '+13,53+22,53%', '865.553', '+329.727+38,09%'],
|
1146
1146
|
['3 Tahun', 'Kurs', '', '', '14.468', '+1.781+12,31%'],
|
1147
|
-
['oz', '1.768,91', '+519,
|
1148
|
-
['gr', '56,87', '+16,69+29,
|
1147
|
+
['oz', '1.768,91', '+519,07+29,34%', '25.592.590', '+11.584.797+45,27%'],
|
1148
|
+
['gr', '56,87', '+16,69+29,34%', '822.821', '+372.460+45,27%'],
|
1149
1149
|
['5 Tahun', 'Kurs', '', '', '14.282', '+1.967+13,77%'],
|
1150
|
-
['oz', '1.280,82', '+1.007,
|
1151
|
-
['gr', '41,18', '+32,38+78,
|
1150
|
+
['oz', '1.280,82', '+1.007,16+78,63%', '18.292.671', '+18.884.716+103,24%'],
|
1151
|
+
['gr', '41,18', '+32,38+78,63%', '588.123', '+607.158+103,24%']])
|
1152
1152
|
(['Home', 'Emas 1 Gram', 'History', 'Trend', 'Perak 1 Gram', 'Pluang'],
|
1153
1153
|
[[''],
|
1154
1154
|
['Emas 24 KaratHarga Emas 1 Gram', ''],
|
1155
1155
|
['USD', '73,56↓', '-0,26-0,35%'],
|
1156
1156
|
['KURS', '16.265,05↑', '+4,05+0,02%'],
|
1157
|
-
['IDR', '1.196.
|
1158
|
-
['Rabu, 01 Mei 2024 09:
|
1157
|
+
['IDR', '1.196.456,16↓', '-3.910,65-0,33%'],
|
1158
|
+
['Rabu, 01 Mei 2024 09:55']],
|
1159
1159
|
[[''],
|
1160
1160
|
['Emas 1 Gram (IDR)Emas 1 Gram (USD)Kurs USD-IDR',
|
1161
1161
|
'Hari Ini',
|
@@ -1168,17 +1168,17 @@ Output:
|
|
1168
1168
|
['', 'Penutupan Kemarin', 'Pergerakkan Hari Ini', 'Rata-rata'],
|
1169
1169
|
['USD', '73,82', '73,56 - 73,82', '73,69'],
|
1170
1170
|
['KURS', '16.261,00', '16.261,00 - 16.265,05', '16.263,03'],
|
1171
|
-
['IDR', '1.200.366,81', '1.196.
|
1171
|
+
['IDR', '1.200.366,81', '1.196.456,16 - 1.200.366,81', '1.198.411,49'],
|
1172
1172
|
[''],
|
1173
1173
|
['', 'Awal Tahun', 'Pergerakkan YTD', '+/- YTD'],
|
1174
1174
|
['USD', '66,32', '64,07 - 77,14', '+7,24 (10,92%)'],
|
1175
1175
|
['KURS', '15.390,10', '15.390,00 - 16.307,80', '+874,95 (5,69%)'],
|
1176
|
-
['IDR', '1.020.729,53', '997.660,12 - 1.256.829,06', '+175.
|
1176
|
+
['IDR', '1.020.729,53', '997.660,12 - 1.256.829,06', '+175.726,63 (17,22%)'],
|
1177
1177
|
[''],
|
1178
1178
|
['', 'Tahun Lalu / 52 Minggu', 'Pergerakkan 52 Minggu', '+/- 52 Minggu'],
|
1179
1179
|
['USD', '63,97', '58,43 - 77,14', '+9,59 (14,99%)'],
|
1180
1180
|
['KURS', '14.673,55', '14.669,40 - 16.307,80', '+1.591,50 (10,85%)'],
|
1181
|
-
['IDR', '938.709,73', '912.925,68 - 1.256.829,06', '+257.
|
1181
|
+
['IDR', '938.709,73', '912.925,68 - 1.256.829,06', '+257.746,43 (27,46%)']])
|
1182
1182
|
```
|
1183
1183
|
|
1184
1184
|
## iloads
|
@@ -1308,7 +1308,7 @@ Output:
|
|
1308
1308
|
```py
|
1309
1309
|
8
|
1310
1310
|
['mana', 'aja']
|
1311
|
-
[<Element a at
|
1311
|
+
[<Element a at 0x7d20be59f0>, <Element a at 0x7d20c25310>, <Element a at 0x7d20c253b0>, <Element a at 0x7d20c25400>, <Element a at 0x7d20c25450>, <Element a at 0x7d20c254a0>, <Element a at 0x7d20c254f0>, <Element a at 0x7d20c25540>, <Element a at 0x7d20c25590>, <Element a at 0x7d20c255e0>, <Element a at 0x7d20c25630>, <Element a at 0x7d20c25680>, <Element a at 0x7d20c256d0>, <Element a at 0x7d20c25720>, <Element a at 0x7d20c25770>, <Element a at 0x7d20c257c0>, <Element a at 0x7d20c25810>, <Element a at 0x7d20c25860>]
|
1312
1312
|
False
|
1313
1313
|
```
|
1314
1314
|
|
@@ -1370,7 +1370,7 @@ print(list(iscandir("./", recursive=False, scan_file=False)))
|
|
1370
1370
|
|
1371
1371
|
Output:
|
1372
1372
|
```py
|
1373
|
-
<generator object iscandir at
|
1373
|
+
<generator object iscandir at 0x7d20bd4840>
|
1374
1374
|
[PosixPath('.git'), PosixPath('.vscode'), PosixPath('pypipr'), PosixPath('__pycache__'), PosixPath('dist')]
|
1375
1375
|
```
|
1376
1376
|
|
@@ -1407,76 +1407,76 @@ Output:
|
|
1407
1407
|
'ComparePerformance': <class 'pypipr.ComparePerformance.ComparePerformance'>,
|
1408
1408
|
'PintUregQuantity': <class 'pint.Quantity'>,
|
1409
1409
|
'RunParallel': <class 'pypipr.RunParallel.RunParallel'>},
|
1410
|
-
'function': {'avg': <function avg at
|
1411
|
-
'get_filemtime': <function get_filemtime at
|
1412
|
-
'print_colorize': <function print_colorize at
|
1413
|
-
'print_log': <function print_log at
|
1414
|
-
'console_run': <function console_run at
|
1415
|
-
'auto_reload': <function auto_reload at
|
1416
|
-
'basename': <function basename at
|
1417
|
-
'chr_to_int': <function chr_to_int at
|
1418
|
-
'int_to_chr': <function int_to_chr at
|
1419
|
-
'irange': <function irange at
|
1420
|
-
'batchmaker': <function batchmaker at
|
1421
|
-
'calculate': <function calculate at
|
1422
|
-
'batch_calculate': <function batch_calculate at
|
1423
|
-
'bin_to_int': <function bin_to_int at
|
1424
|
-
'is_empty': <function is_empty at
|
1425
|
-
'exit_if_empty': <function exit_if_empty at
|
1426
|
-
'input_char': <function input_char at
|
1427
|
-
'get_by_index': <function get_by_index at
|
1428
|
-
'choices': <function choices at
|
1429
|
-
'chunk_array': <function chunk_array at
|
1430
|
-
'create_folder': <function create_folder at
|
1431
|
-
'datetime_from_string': <function datetime_from_string at
|
1432
|
-
'datetime_now': <function datetime_now at
|
1433
|
-
'dict_first': <function dict_first at
|
1434
|
-
'dirname': <function dirname at
|
1435
|
-
'is_iterable': <function is_iterable at
|
1436
|
-
'to_str': <function to_str at
|
1437
|
-
'filter_empty': <function filter_empty at
|
1438
|
-
'get_class_method': <function get_class_method at
|
1439
|
-
'get_filesize': <function get_filesize at
|
1440
|
-
'github_pull': <function github_pull at
|
1441
|
-
'github_push': <function github_push at
|
1442
|
-
'github_user': <function github_user at
|
1443
|
-
'hex_to_int': <function hex_to_int at
|
1444
|
-
'iargv': <function iargv at
|
1445
|
-
'idumps_html': <function idumps_html at
|
1446
|
-
'idumps': <function idumps at
|
1447
|
-
'int_to_int': <function int_to_int at
|
1448
|
-
'ienumerate': <function ienumerate at
|
1449
|
-
'ienv': <function ienv at
|
1450
|
-
'iexec': <function iexec at
|
1451
|
-
'ijoin': <function ijoin at
|
1452
|
-
'iloads_html': <function iloads_html at
|
1453
|
-
'iloads': <function iloads at
|
1454
|
-
'int_to_bin': <function int_to_bin at
|
1455
|
-
'int_to_hex': <function int_to_hex at
|
1456
|
-
'int_to_oct': <function int_to_oct at
|
1457
|
-
'is_valid_url': <function is_valid_url at
|
1458
|
-
'iopen': <function iopen at
|
1459
|
-
'iprint': <function iprint at
|
1460
|
-
'ireplace': <function ireplace at
|
1461
|
-
'iscandir': <function iscandir at
|
1462
|
-
'isplit': <function isplit at
|
1463
|
-
'ivars': <function ivars at
|
1464
|
-
'log': <function log at
|
1465
|
-
'oct_to_int': <function oct_to_int at
|
1466
|
-
'password_generator': <function password_generator at
|
1467
|
-
'pip_freeze_without_version': <function pip_freeze_without_version at
|
1468
|
-
'poetry_publish': <function poetry_publish at
|
1469
|
-
'poetry_update_version': <function poetry_update_version at
|
1470
|
-
'print_dir': <function print_dir at
|
1471
|
-
'print_to_last_line': <function print_to_last_line at
|
1472
|
-
'random_bool': <function random_bool at
|
1473
|
-
'restart': <function restart at
|
1474
|
-
'set_timeout': <function set_timeout at
|
1475
|
-
'sets_ordered': <function sets_ordered at
|
1476
|
-
'str_cmp': <function str_cmp at
|
1477
|
-
'text_colorize': <function text_colorize at
|
1410
|
+
'function': {'avg': <function avg at 0x7d2ec4e700>,
|
1411
|
+
'get_filemtime': <function get_filemtime at 0x7d28ad72e0>,
|
1412
|
+
'print_colorize': <function print_colorize at 0x7d28ad74c0>,
|
1413
|
+
'print_log': <function print_log at 0x7d28b7ab60>,
|
1414
|
+
'console_run': <function console_run at 0x7d28ad7380>,
|
1415
|
+
'auto_reload': <function auto_reload at 0x7d28ab3ec0>,
|
1416
|
+
'basename': <function basename at 0x7d28ad7240>,
|
1417
|
+
'chr_to_int': <function chr_to_int at 0x7d28ad7a60>,
|
1418
|
+
'int_to_chr': <function int_to_chr at 0x7d28ad7b00>,
|
1419
|
+
'irange': <function irange at 0x7d28ad7d80>,
|
1420
|
+
'batchmaker': <function batchmaker at 0x7d28ad7740>,
|
1421
|
+
'calculate': <function calculate at 0x7d28ac82c0>,
|
1422
|
+
'batch_calculate': <function batch_calculate at 0x7d28ad7600>,
|
1423
|
+
'bin_to_int': <function bin_to_int at 0x7d28ad76a0>,
|
1424
|
+
'is_empty': <function is_empty at 0x7d28ac8540>,
|
1425
|
+
'exit_if_empty': <function exit_if_empty at 0x7d28ac8400>,
|
1426
|
+
'input_char': <function input_char at 0x7d28ac84a0>,
|
1427
|
+
'get_by_index': <function get_by_index at 0x7d28ac85e0>,
|
1428
|
+
'choices': <function choices at 0x7d28ac87c0>,
|
1429
|
+
'chunk_array': <function chunk_array at 0x7d28ac8860>,
|
1430
|
+
'create_folder': <function create_folder at 0x7d28ac8900>,
|
1431
|
+
'datetime_from_string': <function datetime_from_string at 0x7d28ac89a0>,
|
1432
|
+
'datetime_now': <function datetime_now at 0x7d28ac8a40>,
|
1433
|
+
'dict_first': <function dict_first at 0x7d28ac8ae0>,
|
1434
|
+
'dirname': <function dirname at 0x7d28ac8b80>,
|
1435
|
+
'is_iterable': <function is_iterable at 0x7d28ac8d60>,
|
1436
|
+
'to_str': <function to_str at 0x7d28ac8e00>,
|
1437
|
+
'filter_empty': <function filter_empty at 0x7d28ac8c20>,
|
1438
|
+
'get_class_method': <function get_class_method at 0x7d28ac8cc0>,
|
1439
|
+
'get_filesize': <function get_filesize at 0x7d28ac8f40>,
|
1440
|
+
'github_pull': <function github_pull at 0x7d28ac8fe0>,
|
1441
|
+
'github_push': <function github_push at 0x7d28ac91c0>,
|
1442
|
+
'github_user': <function github_user at 0x7d28ac9260>,
|
1443
|
+
'hex_to_int': <function hex_to_int at 0x7d28ac9080>,
|
1444
|
+
'iargv': <function iargv at 0x7d28ac9300>,
|
1445
|
+
'idumps_html': <function idumps_html at 0x7d28ac9580>,
|
1446
|
+
'idumps': <function idumps at 0x7d28ac9440>,
|
1447
|
+
'int_to_int': <function int_to_int at 0x7d289c9ee0>,
|
1448
|
+
'ienumerate': <function ienumerate at 0x7d28ac9a80>,
|
1449
|
+
'ienv': <function ienv at 0x7d289c9da0>,
|
1450
|
+
'iexec': <function iexec at 0x7d289c9f80>,
|
1451
|
+
'ijoin': <function ijoin at 0x7d289ca0c0>,
|
1452
|
+
'iloads_html': <function iloads_html at 0x7d289ca2a0>,
|
1453
|
+
'iloads': <function iloads at 0x7d289ca020>,
|
1454
|
+
'int_to_bin': <function int_to_bin at 0x7d289ca200>,
|
1455
|
+
'int_to_hex': <function int_to_hex at 0x7d289ca340>,
|
1456
|
+
'int_to_oct': <function int_to_oct at 0x7d289ca3e0>,
|
1457
|
+
'is_valid_url': <function is_valid_url at 0x7d289ca5c0>,
|
1458
|
+
'iopen': <function iopen at 0x7d287c6a20>,
|
1459
|
+
'iprint': <function iprint at 0x7d289ca520>,
|
1460
|
+
'ireplace': <function ireplace at 0x7d289ca8e0>,
|
1461
|
+
'iscandir': <function iscandir at 0x7d2887e160>,
|
1462
|
+
'isplit': <function isplit at 0x7d2887e200>,
|
1463
|
+
'ivars': <function ivars at 0x7d2887e2a0>,
|
1464
|
+
'log': <function log at 0x7d2887e340>,
|
1465
|
+
'oct_to_int': <function oct_to_int at 0x7d2887e3e0>,
|
1466
|
+
'password_generator': <function password_generator at 0x7d2887e480>,
|
1467
|
+
'pip_freeze_without_version': <function pip_freeze_without_version at 0x7d2887e5c0>,
|
1468
|
+
'poetry_publish': <function poetry_publish at 0x7d2887e660>,
|
1469
|
+
'poetry_update_version': <function poetry_update_version at 0x7d2887e7a0>,
|
1470
|
+
'print_dir': <function print_dir at 0x7d2887e980>,
|
1471
|
+
'print_to_last_line': <function print_to_last_line at 0x7d2887ea20>,
|
1472
|
+
'random_bool': <function random_bool at 0x7d2887eac0>,
|
1473
|
+
'restart': <function restart at 0x7d2887eb60>,
|
1474
|
+
'set_timeout': <function set_timeout at 0x7d2887ec00>,
|
1475
|
+
'sets_ordered': <function sets_ordered at 0x7d2887eca0>,
|
1476
|
+
'str_cmp': <function str_cmp at 0x7d2887ed40>,
|
1477
|
+
'text_colorize': <function text_colorize at 0x7d2887ede0>},
|
1478
1478
|
'variable': {'LINUX': True,
|
1479
|
-
'PintUreg': <pint.registry.UnitRegistry object at
|
1479
|
+
'PintUreg': <pint.registry.UnitRegistry object at 0x7d2ec54590>,
|
1480
1480
|
'WINDOWS': False},
|
1481
1481
|
'module': {'asyncio': <module 'asyncio' from '/data/data/com.termux/files/usr/lib/python3.11/asyncio/__init__.py'>,
|
1482
1482
|
'colorama': <module 'colorama' from '/data/data/com.termux/files/usr/lib/python3.11/site-packages/colorama/__init__.py'>,
|
@@ -1566,7 +1566,7 @@ print(password_generator())
|
|
1566
1566
|
|
1567
1567
|
Output:
|
1568
1568
|
```py
|
1569
|
-
|
1569
|
+
{`>\QTI8
|
1570
1570
|
```
|
1571
1571
|
|
1572
1572
|
## pip_freeze_without_version
|
@@ -1624,7 +1624,7 @@ Output:
|
|
1624
1624
|
__enter__ : https:/www.google.com
|
1625
1625
|
__fspath__ : https:/www.google.com
|
1626
1626
|
__getstate__ : (None, {'_drv': '', '_root': '', '_parts': ['https:', 'www.google.com'], '_str': 'https:/www.google.com'})
|
1627
|
-
__hash__ :
|
1627
|
+
__hash__ : 7734779578747066766
|
1628
1628
|
__init__ : None
|
1629
1629
|
__init_subclass__ : None
|
1630
1630
|
__module__ : pathlib
|
@@ -1637,8 +1637,8 @@ Output:
|
|
1637
1637
|
_cached_cparts : ['https:', 'www.google.com']
|
1638
1638
|
_cparts : ['https:', 'www.google.com']
|
1639
1639
|
_drv :
|
1640
|
-
_flavour : <pathlib._PosixFlavour object at
|
1641
|
-
_hash :
|
1640
|
+
_flavour : <pathlib._PosixFlavour object at 0x7d35864ad0>
|
1641
|
+
_hash : 7734779578747066766
|
1642
1642
|
_parts : ['https:', 'www.google.com']
|
1643
1643
|
_root :
|
1644
1644
|
_str : https:/www.google.com
|
@@ -1660,7 +1660,7 @@ Output:
|
|
1660
1660
|
is_reserved : False
|
1661
1661
|
is_socket : False
|
1662
1662
|
is_symlink : False
|
1663
|
-
iterdir : <generator object Path.iterdir at
|
1663
|
+
iterdir : <generator object Path.iterdir at 0x7d20bce960>
|
1664
1664
|
joinpath : https:/www.google.com
|
1665
1665
|
name : www.google.com
|
1666
1666
|
parent : https:
|
@@ -1700,7 +1700,7 @@ print(random_bool())
|
|
1700
1700
|
|
1701
1701
|
Output:
|
1702
1702
|
```py
|
1703
|
-
|
1703
|
+
True
|
1704
1704
|
```
|
1705
1705
|
|
1706
1706
|
## restart
|
@@ -1734,7 +1734,7 @@ x.cancel()
|
|
1734
1734
|
|
1735
1735
|
Output:
|
1736
1736
|
```py
|
1737
|
-
<Timer(Thread-2, started
|
1737
|
+
<Timer(Thread-2, started 537396501744)>
|
1738
1738
|
menghentikan timeout 7
|
1739
1739
|
```
|
1740
1740
|
|
@@ -1752,7 +1752,7 @@ print(list(sets_ordered(array)))
|
|
1752
1752
|
|
1753
1753
|
Output:
|
1754
1754
|
```py
|
1755
|
-
<generator object sets_ordered at
|
1755
|
+
<generator object sets_ordered at 0x7d20bfd150>
|
1756
1756
|
[2, 3, 12, 42, 1, 43, 41, 4, 24, 32]
|
1757
1757
|
```
|
1758
1758
|
|
@@ -1846,7 +1846,7 @@ print(ExampleComparePerformance().compare_performance())
|
|
1846
1846
|
|
1847
1847
|
Output:
|
1848
1848
|
```py
|
1849
|
-
{'a': <generator object ExampleComparePerformance.a.<locals>.<genexpr> at
|
1849
|
+
{'a': <generator object ExampleComparePerformance.a.<locals>.<genexpr> at 0x7d20bfcba0>,
|
1850
1850
|
'b': (0, 1, 2, 3, 4, 5, 6, 7, 8, 9),
|
1851
1851
|
'c': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
|
1852
1852
|
'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
|
File without changes
|
File without changes
|
File without changes
|