pypipr 1.0.116__tar.gz → 1.0.117__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.116 → pypipr-1.0.117}/PKG-INFO +125 -119
- {pypipr-1.0.116 → pypipr-1.0.117}/pypipr/ienumerate.py +1 -1
- {pypipr-1.0.116 → pypipr-1.0.117}/pyproject.toml +1 -1
- {pypipr-1.0.116 → pypipr-1.0.117}/readme.md +124 -118
- {pypipr-1.0.116 → pypipr-1.0.117}/pypipr/APIMixinView.py +0 -0
- {pypipr-1.0.116 → pypipr-1.0.117}/pypipr/ComparePerformance.py +0 -0
- {pypipr-1.0.116 → pypipr-1.0.117}/pypipr/LINUX.py +0 -0
- {pypipr-1.0.116 → pypipr-1.0.117}/pypipr/PintUreg.py +0 -0
- {pypipr-1.0.116 → pypipr-1.0.117}/pypipr/PintUregQuantity.py +0 -0
- {pypipr-1.0.116 → pypipr-1.0.117}/pypipr/RunParallel.py +0 -0
- {pypipr-1.0.116 → pypipr-1.0.117}/pypipr/WINDOWS.py +0 -0
- {pypipr-1.0.116 → pypipr-1.0.117}/pypipr/__init__.py +0 -0
- {pypipr-1.0.116 → pypipr-1.0.117}/pypipr/__terminal__.py +0 -0
- {pypipr-1.0.116 → pypipr-1.0.117}/pypipr/auto_reload.py +0 -0
- {pypipr-1.0.116 → pypipr-1.0.117}/pypipr/avg.py +0 -0
- {pypipr-1.0.116 → pypipr-1.0.117}/pypipr/basename.py +0 -0
- {pypipr-1.0.116 → pypipr-1.0.117}/pypipr/batch_calculate.py +0 -0
- {pypipr-1.0.116 → pypipr-1.0.117}/pypipr/batchmaker.py +0 -0
- {pypipr-1.0.116 → pypipr-1.0.117}/pypipr/calculate.py +0 -0
- {pypipr-1.0.116 → pypipr-1.0.117}/pypipr/choices.py +0 -0
- {pypipr-1.0.116 → pypipr-1.0.117}/pypipr/choices.py.bak +0 -0
- {pypipr-1.0.116 → pypipr-1.0.117}/pypipr/chr_to_int.py +0 -0
- {pypipr-1.0.116 → pypipr-1.0.117}/pypipr/chunk_array.py +0 -0
- {pypipr-1.0.116 → pypipr-1.0.117}/pypipr/console_run.py +0 -0
- {pypipr-1.0.116 → pypipr-1.0.117}/pypipr/create_folder.py +0 -0
- {pypipr-1.0.116 → pypipr-1.0.117}/pypipr/datetime_from_string.py +0 -0
- {pypipr-1.0.116 → pypipr-1.0.117}/pypipr/datetime_now.py +0 -0
- {pypipr-1.0.116 → pypipr-1.0.117}/pypipr/dict_first.py +0 -0
- {pypipr-1.0.116 → pypipr-1.0.117}/pypipr/dirname.py +0 -0
- {pypipr-1.0.116 → pypipr-1.0.117}/pypipr/exit_if_empty.py +0 -0
- {pypipr-1.0.116 → pypipr-1.0.117}/pypipr/filter_empty.py +0 -0
- {pypipr-1.0.116 → pypipr-1.0.117}/pypipr/get_by_index.py +0 -0
- {pypipr-1.0.116 → pypipr-1.0.117}/pypipr/get_class_method.py +0 -0
- {pypipr-1.0.116 → pypipr-1.0.117}/pypipr/get_filemtime.py +0 -0
- {pypipr-1.0.116 → pypipr-1.0.117}/pypipr/get_filesize.py +0 -0
- {pypipr-1.0.116 → pypipr-1.0.117}/pypipr/github_pull.py +0 -0
- {pypipr-1.0.116 → pypipr-1.0.117}/pypipr/github_push.py +0 -0
- {pypipr-1.0.116 → pypipr-1.0.117}/pypipr/github_user.py +0 -0
- {pypipr-1.0.116 → pypipr-1.0.117}/pypipr/iargv.py +0 -0
- {pypipr-1.0.116 → pypipr-1.0.117}/pypipr/idumps.py +0 -0
- {pypipr-1.0.116 → pypipr-1.0.117}/pypipr/idumps_html.py +0 -0
- {pypipr-1.0.116 → pypipr-1.0.117}/pypipr/ienv.py +0 -0
- {pypipr-1.0.116 → pypipr-1.0.117}/pypipr/iexec.py +0 -0
- {pypipr-1.0.116 → pypipr-1.0.117}/pypipr/ijoin.py +0 -0
- {pypipr-1.0.116 → pypipr-1.0.117}/pypipr/iloads.py +0 -0
- {pypipr-1.0.116 → pypipr-1.0.117}/pypipr/iloads_html.py +0 -0
- {pypipr-1.0.116 → pypipr-1.0.117}/pypipr/input_char.py +0 -0
- {pypipr-1.0.116 → pypipr-1.0.117}/pypipr/int_to_bin.py +0 -0
- {pypipr-1.0.116 → pypipr-1.0.117}/pypipr/int_to_chr.py +0 -0
- {pypipr-1.0.116 → pypipr-1.0.117}/pypipr/int_to_hex.py +0 -0
- {pypipr-1.0.116 → pypipr-1.0.117}/pypipr/int_to_int.py +0 -0
- {pypipr-1.0.116 → pypipr-1.0.117}/pypipr/int_to_oct.py +0 -0
- {pypipr-1.0.116 → pypipr-1.0.117}/pypipr/iopen.py +0 -0
- {pypipr-1.0.116 → pypipr-1.0.117}/pypipr/iprint.py +0 -0
- {pypipr-1.0.116 → pypipr-1.0.117}/pypipr/irange.py +0 -0
- {pypipr-1.0.116 → pypipr-1.0.117}/pypipr/ireplace.py +0 -0
- {pypipr-1.0.116 → pypipr-1.0.117}/pypipr/is_empty.py +0 -0
- {pypipr-1.0.116 → pypipr-1.0.117}/pypipr/is_iterable.py +0 -0
- {pypipr-1.0.116 → pypipr-1.0.117}/pypipr/is_valid_url.py +0 -0
- {pypipr-1.0.116 → pypipr-1.0.117}/pypipr/iscandir.py +0 -0
- {pypipr-1.0.116 → pypipr-1.0.117}/pypipr/isplit.py +0 -0
- {pypipr-1.0.116 → pypipr-1.0.117}/pypipr/ivars.py +0 -0
- {pypipr-1.0.116 → pypipr-1.0.117}/pypipr/log.py +0 -0
- {pypipr-1.0.116 → pypipr-1.0.117}/pypipr/password_generator.py +0 -0
- {pypipr-1.0.116 → pypipr-1.0.117}/pypipr/pip_freeze_without_version.py +0 -0
- {pypipr-1.0.116 → pypipr-1.0.117}/pypipr/poetry_publish.py +0 -0
- {pypipr-1.0.116 → pypipr-1.0.117}/pypipr/poetry_update_version.py +0 -0
- {pypipr-1.0.116 → pypipr-1.0.117}/pypipr/print_colorize.py +0 -0
- {pypipr-1.0.116 → pypipr-1.0.117}/pypipr/print_dir.py +0 -0
- {pypipr-1.0.116 → pypipr-1.0.117}/pypipr/print_log.py +0 -0
- {pypipr-1.0.116 → pypipr-1.0.117}/pypipr/print_to_last_line.py +0 -0
- {pypipr-1.0.116 → pypipr-1.0.117}/pypipr/random_bool.py +0 -0
- {pypipr-1.0.116 → pypipr-1.0.117}/pypipr/restart.py +0 -0
- {pypipr-1.0.116 → pypipr-1.0.117}/pypipr/set_timeout.py +0 -0
- {pypipr-1.0.116 → pypipr-1.0.117}/pypipr/sets_ordered.py +0 -0
- {pypipr-1.0.116 → pypipr-1.0.117}/pypipr/str_cmp.py +0 -0
- {pypipr-1.0.116 → pypipr-1.0.117}/pypipr/text_colorize.py +0 -0
- {pypipr-1.0.116 → pypipr-1.0.117}/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.117
|
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 0x764f2f0540>
|
254
|
+
<generator object int_range at 0x764f2f0540>
|
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 0x764f2e43a0>
|
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 0x764f26b010>
|
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
|
|
@@ -449,7 +449,7 @@ print(list(chunk_array(arr, 5)))
|
|
449
449
|
|
450
450
|
Output:
|
451
451
|
```py
|
452
|
-
<generator object chunk_array at
|
452
|
+
<generator object chunk_array at 0x764f2f0540>
|
453
453
|
[[2, 3, 12, 3, 3], [42, 42, 1, 43, 2], [42, 41, 4, 24, 32], [42, 3, 12, 32, 42], [42]]
|
454
454
|
```
|
455
455
|
|
@@ -500,9 +500,9 @@ print(datetime_now("Etc/GMT+7"))
|
|
500
500
|
|
501
501
|
Output:
|
502
502
|
```py
|
503
|
-
2024-05-01 07:
|
504
|
-
2024-05-01 00:
|
505
|
-
2024-04-30 17:
|
503
|
+
2024-05-01 07:46:29.835163+07:00
|
504
|
+
2024-05-01 00:46:29.836024+00:00
|
505
|
+
2024-04-30 17:46:29.837421-07:00
|
506
506
|
```
|
507
507
|
|
508
508
|
## dict_first
|
@@ -608,7 +608,7 @@ iprint(filter_empty(var))
|
|
608
608
|
|
609
609
|
Output:
|
610
610
|
```py
|
611
|
-
<generator object filter_empty at
|
611
|
+
<generator object filter_empty at 0x764f26b010>
|
612
612
|
[1, '0', True, {}, ['eee']]
|
613
613
|
```
|
614
614
|
|
@@ -638,8 +638,8 @@ print(list(get_class_method(ExampleGetClassMethod)))
|
|
638
638
|
|
639
639
|
Output:
|
640
640
|
```py
|
641
|
-
<generator object get_class_method at
|
642
|
-
[<function ExampleGetClassMethod.a at
|
641
|
+
<generator object get_class_method at 0x764f26b2e0>
|
642
|
+
[<function ExampleGetClassMethod.a at 0x764f3091c0>, <function ExampleGetClassMethod.b at 0x764f3093a0>, <function ExampleGetClassMethod.c at 0x764f3094e0>, <function ExampleGetClassMethod.d at 0x764f309580>]
|
643
643
|
```
|
644
644
|
|
645
645
|
## get_filesize
|
@@ -893,17 +893,23 @@ Output:
|
|
893
893
|
|
894
894
|
## ienumerate
|
895
895
|
|
896
|
-
`ienumerate(iterator, start=0, key=<function int_to_int at
|
896
|
+
`ienumerate(iterator, start=0, key=<function int_to_int at 0x7653195e40>)`
|
897
897
|
|
898
898
|
meningkatkan fungsi enumerate() pada python
|
899
899
|
untuk key menggunakan huruf dan basis angka lainnya.
|
900
900
|
|
901
901
|
```python
|
902
902
|
it = ["ini", "contoh", "enumerator"]
|
903
|
-
print(ienumerate(
|
903
|
+
print(ienumerate(it))
|
904
904
|
iprint(ienumerate(it, key=int_to_chr))
|
905
905
|
```
|
906
906
|
|
907
|
+
Output:
|
908
|
+
```py
|
909
|
+
<generator object ienumerate at 0x764f26b2e0>
|
910
|
+
[('a', 'ini'), ('b', 'contoh'), ('c', 'enumerator')]
|
911
|
+
```
|
912
|
+
|
907
913
|
## ienv
|
908
914
|
|
909
915
|
`ienv(on_windows=None, on_linux=None)`
|
@@ -967,7 +973,7 @@ print(ijoin(10, ' '))
|
|
967
973
|
|
968
974
|
Output:
|
969
975
|
```py
|
970
|
-
|
976
|
+
dfs, qweqw, asd, weq
|
971
977
|
,ini,path,seperti,url,
|
972
978
|
ini,path,seperti,url
|
973
979
|
<li>satu</li>
|
@@ -1013,9 +1019,9 @@ Output:
|
|
1013
1019
|
```py
|
1014
1020
|
(['Home', 'Emas 1 Gram', 'History', 'Trend', 'Perak 1 Gram', 'Pluang'],
|
1015
1021
|
[['Harga Emas Hari Ini - Rabu, 01 Mei 2024'],
|
1016
|
-
['Spot Emas USD↓2.288,
|
1022
|
+
['Spot Emas USD↓2.288,71 (-7,31) / oz',
|
1017
1023
|
'Kurs IDR16.249,00 / USD',
|
1018
|
-
'Emas IDR↓1.195.
|
1024
|
+
'Emas IDR↓1.195.662 (-3.819) / gr'],
|
1019
1025
|
['LM Antam (Jual)1.325.000 / gr', 'LM Antam (Beli)1.221.000 / gr']],
|
1020
1026
|
[['Harga Emas Hari Ini'],
|
1021
1027
|
['Gram', 'Gedung Antam Jakarta', 'Pegadaian'],
|
@@ -1053,10 +1059,10 @@ Output:
|
|
1053
1059
|
'Update harga LM Pegadaian :31 Agustus 2023']],
|
1054
1060
|
[['Spot Harga Emas Hari Ini (Market Open)'],
|
1055
1061
|
['Satuan', 'USD', 'Kurs\xa0Dollar', 'IDR'],
|
1056
|
-
['Ounce\xa0(oz)', '2.288,
|
1057
|
-
['Gram\xa0(gr)', '73,58', '16.249,00', '1.195.
|
1058
|
-
['Kilogram\xa0(kg)', '73.
|
1059
|
-
['Update harga emas :01 Mei 2024, pukul 07:
|
1062
|
+
['Ounce\xa0(oz)', '2.288,71 (-7,31)', '16.249,00', '37.189.249'],
|
1063
|
+
['Gram\xa0(gr)', '73,58', '16.249,00', '1.195.662 (-3.819)'],
|
1064
|
+
['Kilogram\xa0(kg)', '73.583,74', '16.249,00', '1.195.662.114'],
|
1065
|
+
['Update harga emas :01 Mei 2024, pukul 07:46Update kurs :30 April 2024, '
|
1060
1066
|
'pukul 13:10']],
|
1061
1067
|
[['Gram', 'UBS Gold 99.99%'],
|
1062
1068
|
['Jual', 'Beli'],
|
@@ -1078,36 +1084,36 @@ Output:
|
|
1078
1084
|
['Unit', 'USD', 'IDR'],
|
1079
1085
|
['Angka', '+/-', 'Angka', '+/-'],
|
1080
1086
|
['Hari Ini', 'Kurs', '', '', '16.249', '%'],
|
1081
|
-
['oz', '2.296,02', '-7,
|
1082
|
-
['gr', '73,82', '-0,
|
1087
|
+
['oz', '2.296,02', '-7,31-0,32%', '37.308.029', '-118.780-0,32%'],
|
1088
|
+
['gr', '73,82', '-0,24-0,32%', '1.199.481', '-3.819-0,32%'],
|
1083
1089
|
['30 Hari', 'Kurs', '', '', '15.873', '+376+2,37%'],
|
1084
|
-
['oz', '2.239,34', '+49,
|
1085
|
-
['gr', '72,00', '+1,59+2,
|
1090
|
+
['oz', '2.239,34', '+49,37+2,20%', '35.545.044', '+1.644.205+4,63%'],
|
1091
|
+
['gr', '72,00', '+1,59+2,20%', '1.142.800', '+52.862+4,63%'],
|
1086
1092
|
['2 Bulan', 'Kurs', '', '', '15.715', '+534+3,40%'],
|
1087
|
-
['oz', '2.082,55', '+206,
|
1088
|
-
['gr', '66,96', '+6,63+9,90', '1.052.206', '+143.
|
1093
|
+
['oz', '2.082,55', '+206,16+9,90%', '32.727.273', '+4.461.976+13,63%'],
|
1094
|
+
['gr', '66,96', '+6,63+9,90', '1.052.206', '+143.456+13,63%'],
|
1089
1095
|
['6 Bulan', 'Kurs', '', '', '15.861', '+388+2,45%'],
|
1090
|
-
['oz', '1.990,54', '+298,
|
1091
|
-
['gr', '64,00', '+9,59+14,98%', '1.015.062', '+180.
|
1096
|
+
['oz', '1.990,54', '+298,17+14,98%', '31.571.955', '+5.617.294+17,79%'],
|
1097
|
+
['gr', '64,00', '+9,59+14,98%', '1.015.062', '+180.600+17,79%'],
|
1092
1098
|
['1 Tahun', 'Kurs', '', '', '15.731', '+518+3,29%'],
|
1093
|
-
['oz', '1.823,86', '+464,
|
1094
|
-
['gr', '58,64', '+14,95+25,49%', '922.442', '+273.
|
1099
|
+
['oz', '1.823,86', '+464,85+25,49%', '28.691.142', '+8.498.107+29,62%'],
|
1100
|
+
['gr', '58,64', '+14,95+25,49%', '922.442', '+273.220+29,62%'],
|
1095
1101
|
['2 Tahun', 'Kurs', '', '', '14.418', '+1.831+12,70%'],
|
1096
|
-
['oz', '1.867,23', '+421,
|
1097
|
-
['gr', '60,03', '+13,55+22,57%', '865.553', '+330.
|
1102
|
+
['oz', '1.867,23', '+421,48+22,57%', '26.921.722', '+10.267.527+38,14%'],
|
1103
|
+
['gr', '60,03', '+13,55+22,57%', '865.553', '+330.109+38,14%'],
|
1098
1104
|
['3 Tahun', 'Kurs', '', '', '14.468', '+1.781+12,31%'],
|
1099
|
-
['oz', '1.768,91', '+519,
|
1100
|
-
['gr', '56,87', '+16,71+29,39%', '822.821', '+372.
|
1105
|
+
['oz', '1.768,91', '+519,80+29,39%', '25.592.590', '+11.596.659+45,31%'],
|
1106
|
+
['gr', '56,87', '+16,71+29,39%', '822.821', '+372.841+45,31%'],
|
1101
1107
|
['5 Tahun', 'Kurs', '', '', '14.282', '+1.967+13,77%'],
|
1102
|
-
['oz', '1.280,82', '+1.007,
|
1103
|
-
['gr', '41,18', '+32,
|
1108
|
+
['oz', '1.280,82', '+1.007,89+78,69%', '18.292.671', '+18.896.578+103,30%'],
|
1109
|
+
['gr', '41,18', '+32,40+78,69%', '588.123', '+607.539+103,30%']])
|
1104
1110
|
(['Home', 'Emas 1 Gram', 'History', 'Trend', 'Perak 1 Gram', 'Pluang'],
|
1105
1111
|
[[''],
|
1106
1112
|
['Emas 24 KaratHarga Emas 1 Gram', ''],
|
1107
1113
|
['USD', '73,58↓', '-0,24-0,33%'],
|
1108
1114
|
['KURS', '16.264,05↑', '+3,05+0,02%'],
|
1109
|
-
['IDR', '1.196.
|
1110
|
-
['Rabu, 01 Mei 2024 07:
|
1115
|
+
['IDR', '1.196.769,55↓', '-3.597,26-0,30%'],
|
1116
|
+
['Rabu, 01 Mei 2024 07:46']],
|
1111
1117
|
[[''],
|
1112
1118
|
['Emas 1 Gram (IDR)Emas 1 Gram (USD)Kurs USD-IDR',
|
1113
1119
|
'Hari Ini',
|
@@ -1120,17 +1126,17 @@ Output:
|
|
1120
1126
|
['', 'Penutupan Kemarin', 'Pergerakkan Hari Ini', 'Rata-rata'],
|
1121
1127
|
['USD', '73,82', '73,58 - 73,82', '73,70'],
|
1122
1128
|
['KURS', '16.261,00', '16.261,00 - 16.264,05', '16.262,53'],
|
1123
|
-
['IDR', '1.200.366,81', '1.196.
|
1129
|
+
['IDR', '1.200.366,81', '1.196.769,55 - 1.200.366,81', '1.198.568,18'],
|
1124
1130
|
[''],
|
1125
1131
|
['', 'Awal Tahun', 'Pergerakkan YTD', '+/- YTD'],
|
1126
1132
|
['USD', '66,32', '64,07 - 77,14', '+7,26 (10,95%)'],
|
1127
1133
|
['KURS', '15.390,10', '15.390,00 - 16.307,80', '+873,95 (5,68%)'],
|
1128
|
-
['IDR', '1.020.729,53', '997.660,12 - 1.256.829,06', '+176.
|
1134
|
+
['IDR', '1.020.729,53', '997.660,12 - 1.256.829,06', '+176.040,02 (17,25%)'],
|
1129
1135
|
[''],
|
1130
1136
|
['', 'Tahun Lalu / 52 Minggu', 'Pergerakkan 52 Minggu', '+/- 52 Minggu'],
|
1131
1137
|
['USD', '63,97', '58,43 - 77,14', '+9,61 (15,02%)'],
|
1132
1138
|
['KURS', '14.673,55', '14.669,40 - 16.307,80', '+1.590,50 (10,84%)'],
|
1133
|
-
['IDR', '938.709,73', '912.925,68 - 1.256.829,06', '+258.
|
1139
|
+
['IDR', '938.709,73', '912.925,68 - 1.256.829,06', '+258.059,82 (27,49%)']])
|
1134
1140
|
```
|
1135
1141
|
|
1136
1142
|
## iloads
|
@@ -1260,7 +1266,7 @@ Output:
|
|
1260
1266
|
```py
|
1261
1267
|
8
|
1262
1268
|
['mana', 'aja']
|
1263
|
-
[<Element a at
|
1269
|
+
[<Element a at 0x764f306c10>, <Element a at 0x764f33cff0>, <Element a at 0x764f33d090>, <Element a at 0x764f33d0e0>, <Element a at 0x764f33d130>, <Element a at 0x764f33d180>, <Element a at 0x764f33d1d0>, <Element a at 0x764f33d220>, <Element a at 0x764f33d270>, <Element a at 0x764f33d2c0>, <Element a at 0x764f33d310>, <Element a at 0x764f33d360>, <Element a at 0x764f33d3b0>, <Element a at 0x764f33d400>, <Element a at 0x764f33d450>, <Element a at 0x764f33d4a0>, <Element a at 0x764f33d4f0>, <Element a at 0x764f33d540>]
|
1264
1270
|
False
|
1265
1271
|
```
|
1266
1272
|
|
@@ -1322,7 +1328,7 @@ print(list(iscandir("./", recursive=False, scan_file=False)))
|
|
1322
1328
|
|
1323
1329
|
Output:
|
1324
1330
|
```py
|
1325
|
-
<generator object iscandir at
|
1331
|
+
<generator object iscandir at 0x764f2f0840>
|
1326
1332
|
[PosixPath('.git'), PosixPath('.vscode'), PosixPath('pypipr'), PosixPath('__pycache__'), PosixPath('dist')]
|
1327
1333
|
```
|
1328
1334
|
|
@@ -1359,73 +1365,73 @@ Output:
|
|
1359
1365
|
'ComparePerformance': <class 'pypipr.ComparePerformance.ComparePerformance'>,
|
1360
1366
|
'PintUregQuantity': <class 'pint.Quantity'>,
|
1361
1367
|
'RunParallel': <class 'pypipr.RunParallel.RunParallel'>},
|
1362
|
-
'function': {'avg': <function avg at
|
1363
|
-
'get_filemtime': <function get_filemtime at
|
1364
|
-
'print_colorize': <function print_colorize at
|
1365
|
-
'print_log': <function print_log at
|
1366
|
-
'console_run': <function console_run at
|
1367
|
-
'auto_reload': <function auto_reload at
|
1368
|
-
'basename': <function basename at
|
1369
|
-
'chr_to_int': <function chr_to_int at
|
1370
|
-
'int_to_chr': <function int_to_chr at
|
1371
|
-
'irange': <function irange at
|
1372
|
-
'batchmaker': <function batchmaker at
|
1373
|
-
'calculate': <function calculate at
|
1374
|
-
'batch_calculate': <function batch_calculate at
|
1375
|
-
'is_empty': <function is_empty at
|
1376
|
-
'exit_if_empty': <function exit_if_empty at
|
1377
|
-
'input_char': <function input_char at
|
1378
|
-
'get_by_index': <function get_by_index at
|
1379
|
-
'choices': <function choices at
|
1380
|
-
'chunk_array': <function chunk_array at
|
1381
|
-
'create_folder': <function create_folder at
|
1382
|
-
'datetime_from_string': <function datetime_from_string at
|
1383
|
-
'datetime_now': <function datetime_now at
|
1384
|
-
'dict_first': <function dict_first at
|
1385
|
-
'dirname': <function dirname at
|
1386
|
-
'is_iterable': <function is_iterable at
|
1387
|
-
'to_str': <function to_str at
|
1388
|
-
'filter_empty': <function filter_empty at
|
1389
|
-
'get_class_method': <function get_class_method at
|
1390
|
-
'get_filesize': <function get_filesize at
|
1391
|
-
'github_pull': <function github_pull at
|
1392
|
-
'github_push': <function github_push at
|
1393
|
-
'github_user': <function github_user at
|
1394
|
-
'iargv': <function iargv at
|
1395
|
-
'idumps_html': <function idumps_html at
|
1396
|
-
'idumps': <function idumps at
|
1397
|
-
'int_to_int': <function int_to_int at
|
1398
|
-
'ienumerate': <function ienumerate 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
|
-
'int_to_bin': <function int_to_bin at
|
1405
|
-
'int_to_hex': <function int_to_hex at
|
1406
|
-
'int_to_oct': <function int_to_oct at
|
1407
|
-
'is_valid_url': <function is_valid_url at
|
1408
|
-
'iopen': <function iopen at
|
1409
|
-
'iprint': <function iprint at
|
1410
|
-
'ireplace': <function ireplace at
|
1411
|
-
'iscandir': <function iscandir at
|
1412
|
-
'isplit': <function isplit at
|
1413
|
-
'ivars': <function ivars at
|
1414
|
-
'log': <function log at
|
1415
|
-
'password_generator': <function password_generator at
|
1416
|
-
'pip_freeze_without_version': <function pip_freeze_without_version at
|
1417
|
-
'poetry_publish': <function poetry_publish at
|
1418
|
-
'poetry_update_version': <function poetry_update_version at
|
1419
|
-
'print_dir': <function print_dir at
|
1420
|
-
'print_to_last_line': <function print_to_last_line 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
|
1426
|
-
'text_colorize': <function text_colorize at
|
1368
|
+
'function': {'avg': <function avg at 0x765cea2700>,
|
1369
|
+
'get_filemtime': <function get_filemtime at 0x76532972e0>,
|
1370
|
+
'print_colorize': <function print_colorize at 0x76532974c0>,
|
1371
|
+
'print_log': <function print_log at 0x7653346b60>,
|
1372
|
+
'console_run': <function console_run at 0x7653297380>,
|
1373
|
+
'auto_reload': <function auto_reload at 0x765327fec0>,
|
1374
|
+
'basename': <function basename at 0x7653297240>,
|
1375
|
+
'chr_to_int': <function chr_to_int at 0x7653297a60>,
|
1376
|
+
'int_to_chr': <function int_to_chr at 0x7653297b00>,
|
1377
|
+
'irange': <function irange at 0x7653297d80>,
|
1378
|
+
'batchmaker': <function batchmaker at 0x7653297740>,
|
1379
|
+
'calculate': <function calculate at 0x76530bc2c0>,
|
1380
|
+
'batch_calculate': <function batch_calculate at 0x7653297600>,
|
1381
|
+
'is_empty': <function is_empty at 0x76530bc540>,
|
1382
|
+
'exit_if_empty': <function exit_if_empty at 0x76530bc400>,
|
1383
|
+
'input_char': <function input_char at 0x76530bc4a0>,
|
1384
|
+
'get_by_index': <function get_by_index at 0x76530bc5e0>,
|
1385
|
+
'choices': <function choices at 0x76530bc7c0>,
|
1386
|
+
'chunk_array': <function chunk_array at 0x76530bc860>,
|
1387
|
+
'create_folder': <function create_folder at 0x76530bc900>,
|
1388
|
+
'datetime_from_string': <function datetime_from_string at 0x76530bc9a0>,
|
1389
|
+
'datetime_now': <function datetime_now at 0x76530bca40>,
|
1390
|
+
'dict_first': <function dict_first at 0x76530bcae0>,
|
1391
|
+
'dirname': <function dirname at 0x76530bcb80>,
|
1392
|
+
'is_iterable': <function is_iterable at 0x76530bcd60>,
|
1393
|
+
'to_str': <function to_str at 0x76530bce00>,
|
1394
|
+
'filter_empty': <function filter_empty at 0x76530bcc20>,
|
1395
|
+
'get_class_method': <function get_class_method at 0x76530bccc0>,
|
1396
|
+
'get_filesize': <function get_filesize at 0x76530bcf40>,
|
1397
|
+
'github_pull': <function github_pull at 0x76530bcfe0>,
|
1398
|
+
'github_push': <function github_push at 0x76530bd1c0>,
|
1399
|
+
'github_user': <function github_user at 0x76530bd260>,
|
1400
|
+
'iargv': <function iargv at 0x76530bd080>,
|
1401
|
+
'idumps_html': <function idumps_html at 0x76530bd4e0>,
|
1402
|
+
'idumps': <function idumps at 0x76530bd3a0>,
|
1403
|
+
'int_to_int': <function int_to_int at 0x7653195e40>,
|
1404
|
+
'ienumerate': <function ienumerate at 0x76530bd9e0>,
|
1405
|
+
'ienv': <function ienv at 0x7653195d00>,
|
1406
|
+
'iexec': <function iexec at 0x7653195ee0>,
|
1407
|
+
'ijoin': <function ijoin at 0x7653196020>,
|
1408
|
+
'iloads_html': <function iloads_html at 0x7653196200>,
|
1409
|
+
'iloads': <function iloads at 0x7653195f80>,
|
1410
|
+
'int_to_bin': <function int_to_bin at 0x7653196160>,
|
1411
|
+
'int_to_hex': <function int_to_hex at 0x76531962a0>,
|
1412
|
+
'int_to_oct': <function int_to_oct at 0x7653196340>,
|
1413
|
+
'is_valid_url': <function is_valid_url at 0x7653196520>,
|
1414
|
+
'iopen': <function iopen at 0x7652f96980>,
|
1415
|
+
'iprint': <function iprint at 0x7653196480>,
|
1416
|
+
'ireplace': <function ireplace at 0x7653196840>,
|
1417
|
+
'iscandir': <function iscandir at 0x76530520c0>,
|
1418
|
+
'isplit': <function isplit at 0x7653052160>,
|
1419
|
+
'ivars': <function ivars at 0x7653052200>,
|
1420
|
+
'log': <function log at 0x76530522a0>,
|
1421
|
+
'password_generator': <function password_generator at 0x7653052340>,
|
1422
|
+
'pip_freeze_without_version': <function pip_freeze_without_version at 0x7653052480>,
|
1423
|
+
'poetry_publish': <function poetry_publish at 0x7653052520>,
|
1424
|
+
'poetry_update_version': <function poetry_update_version at 0x7653052660>,
|
1425
|
+
'print_dir': <function print_dir at 0x7653052840>,
|
1426
|
+
'print_to_last_line': <function print_to_last_line at 0x76530528e0>,
|
1427
|
+
'random_bool': <function random_bool at 0x7653052980>,
|
1428
|
+
'restart': <function restart at 0x7653052a20>,
|
1429
|
+
'set_timeout': <function set_timeout at 0x7653052ac0>,
|
1430
|
+
'sets_ordered': <function sets_ordered at 0x7653052b60>,
|
1431
|
+
'str_cmp': <function str_cmp at 0x7653052c00>,
|
1432
|
+
'text_colorize': <function text_colorize at 0x7653052ca0>},
|
1427
1433
|
'variable': {'LINUX': True,
|
1428
|
-
'PintUreg': <pint.registry.UnitRegistry object at
|
1434
|
+
'PintUreg': <pint.registry.UnitRegistry object at 0x765cea85d0>,
|
1429
1435
|
'WINDOWS': False},
|
1430
1436
|
'module': {'asyncio': <module 'asyncio' from '/data/data/com.termux/files/usr/lib/python3.11/asyncio/__init__.py'>,
|
1431
1437
|
'colorama': <module 'colorama' from '/data/data/com.termux/files/usr/lib/python3.11/site-packages/colorama/__init__.py'>,
|
@@ -1499,7 +1505,7 @@ print(password_generator())
|
|
1499
1505
|
|
1500
1506
|
Output:
|
1501
1507
|
```py
|
1502
|
-
|
1508
|
+
mu[nW(SF
|
1503
1509
|
```
|
1504
1510
|
|
1505
1511
|
## pip_freeze_without_version
|
@@ -1557,7 +1563,7 @@ Output:
|
|
1557
1563
|
__enter__ : https:/www.google.com
|
1558
1564
|
__fspath__ : https:/www.google.com
|
1559
1565
|
__getstate__ : (None, {'_drv': '', '_root': '', '_parts': ['https:', 'www.google.com'], '_str': 'https:/www.google.com'})
|
1560
|
-
__hash__ :
|
1566
|
+
__hash__ : -8515626571815858843
|
1561
1567
|
__init__ : None
|
1562
1568
|
__init_subclass__ : None
|
1563
1569
|
__module__ : pathlib
|
@@ -1570,8 +1576,8 @@ Output:
|
|
1570
1576
|
_cached_cparts : ['https:', 'www.google.com']
|
1571
1577
|
_cparts : ['https:', 'www.google.com']
|
1572
1578
|
_drv :
|
1573
|
-
_flavour : <pathlib._PosixFlavour object at
|
1574
|
-
_hash :
|
1579
|
+
_flavour : <pathlib._PosixFlavour object at 0x7662218b10>
|
1580
|
+
_hash : -8515626571815858843
|
1575
1581
|
_parts : ['https:', 'www.google.com']
|
1576
1582
|
_root :
|
1577
1583
|
_str : https:/www.google.com
|
@@ -1593,7 +1599,7 @@ Output:
|
|
1593
1599
|
is_reserved : False
|
1594
1600
|
is_socket : False
|
1595
1601
|
is_symlink : False
|
1596
|
-
iterdir : <generator object Path.iterdir at
|
1602
|
+
iterdir : <generator object Path.iterdir at 0x764f2f66c0>
|
1597
1603
|
joinpath : https:/www.google.com
|
1598
1604
|
name : www.google.com
|
1599
1605
|
parent : https:
|
@@ -1633,7 +1639,7 @@ print(random_bool())
|
|
1633
1639
|
|
1634
1640
|
Output:
|
1635
1641
|
```py
|
1636
|
-
|
1642
|
+
True
|
1637
1643
|
```
|
1638
1644
|
|
1639
1645
|
## restart
|
@@ -1667,7 +1673,7 @@ x.cancel()
|
|
1667
1673
|
|
1668
1674
|
Output:
|
1669
1675
|
```py
|
1670
|
-
<Timer(Thread-2, started
|
1676
|
+
<Timer(Thread-2, started 508109683952)>
|
1671
1677
|
menghentikan timeout 7
|
1672
1678
|
```
|
1673
1679
|
|
@@ -1685,7 +1691,7 @@ print(list(sets_ordered(array)))
|
|
1685
1691
|
|
1686
1692
|
Output:
|
1687
1693
|
```py
|
1688
|
-
<generator object sets_ordered at
|
1694
|
+
<generator object sets_ordered at 0x764f318e10>
|
1689
1695
|
[2, 3, 12, 42, 1, 43, 41, 4, 24, 32]
|
1690
1696
|
```
|
1691
1697
|
|
@@ -1779,7 +1785,7 @@ print(ExampleComparePerformance().compare_performance())
|
|
1779
1785
|
|
1780
1786
|
Output:
|
1781
1787
|
```py
|
1782
|
-
{'a': <generator object ExampleComparePerformance.a.<locals>.<genexpr> at
|
1788
|
+
{'a': <generator object ExampleComparePerformance.a.<locals>.<genexpr> at 0x764f318930>,
|
1783
1789
|
'b': (0, 1, 2, 3, 4, 5, 6, 7, 8, 9),
|
1784
1790
|
'c': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
|
1785
1791
|
'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 0x764f2f0540>
|
231
|
+
<generator object int_range at 0x764f2f0540>
|
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 0x764f2e43a0>
|
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 0x764f26b010>
|
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
|
|
@@ -426,7 +426,7 @@ print(list(chunk_array(arr, 5)))
|
|
426
426
|
|
427
427
|
Output:
|
428
428
|
```py
|
429
|
-
<generator object chunk_array at
|
429
|
+
<generator object chunk_array at 0x764f2f0540>
|
430
430
|
[[2, 3, 12, 3, 3], [42, 42, 1, 43, 2], [42, 41, 4, 24, 32], [42, 3, 12, 32, 42], [42]]
|
431
431
|
```
|
432
432
|
|
@@ -477,9 +477,9 @@ print(datetime_now("Etc/GMT+7"))
|
|
477
477
|
|
478
478
|
Output:
|
479
479
|
```py
|
480
|
-
2024-05-01 07:
|
481
|
-
2024-05-01 00:
|
482
|
-
2024-04-30 17:
|
480
|
+
2024-05-01 07:46:29.835163+07:00
|
481
|
+
2024-05-01 00:46:29.836024+00:00
|
482
|
+
2024-04-30 17:46:29.837421-07:00
|
483
483
|
```
|
484
484
|
|
485
485
|
## dict_first
|
@@ -585,7 +585,7 @@ iprint(filter_empty(var))
|
|
585
585
|
|
586
586
|
Output:
|
587
587
|
```py
|
588
|
-
<generator object filter_empty at
|
588
|
+
<generator object filter_empty at 0x764f26b010>
|
589
589
|
[1, '0', True, {}, ['eee']]
|
590
590
|
```
|
591
591
|
|
@@ -615,8 +615,8 @@ print(list(get_class_method(ExampleGetClassMethod)))
|
|
615
615
|
|
616
616
|
Output:
|
617
617
|
```py
|
618
|
-
<generator object get_class_method at
|
619
|
-
[<function ExampleGetClassMethod.a at
|
618
|
+
<generator object get_class_method at 0x764f26b2e0>
|
619
|
+
[<function ExampleGetClassMethod.a at 0x764f3091c0>, <function ExampleGetClassMethod.b at 0x764f3093a0>, <function ExampleGetClassMethod.c at 0x764f3094e0>, <function ExampleGetClassMethod.d at 0x764f309580>]
|
620
620
|
```
|
621
621
|
|
622
622
|
## get_filesize
|
@@ -870,17 +870,23 @@ Output:
|
|
870
870
|
|
871
871
|
## ienumerate
|
872
872
|
|
873
|
-
`ienumerate(iterator, start=0, key=<function int_to_int at
|
873
|
+
`ienumerate(iterator, start=0, key=<function int_to_int at 0x7653195e40>)`
|
874
874
|
|
875
875
|
meningkatkan fungsi enumerate() pada python
|
876
876
|
untuk key menggunakan huruf dan basis angka lainnya.
|
877
877
|
|
878
878
|
```python
|
879
879
|
it = ["ini", "contoh", "enumerator"]
|
880
|
-
print(ienumerate(
|
880
|
+
print(ienumerate(it))
|
881
881
|
iprint(ienumerate(it, key=int_to_chr))
|
882
882
|
```
|
883
883
|
|
884
|
+
Output:
|
885
|
+
```py
|
886
|
+
<generator object ienumerate at 0x764f26b2e0>
|
887
|
+
[('a', 'ini'), ('b', 'contoh'), ('c', 'enumerator')]
|
888
|
+
```
|
889
|
+
|
884
890
|
## ienv
|
885
891
|
|
886
892
|
`ienv(on_windows=None, on_linux=None)`
|
@@ -944,7 +950,7 @@ print(ijoin(10, ' '))
|
|
944
950
|
|
945
951
|
Output:
|
946
952
|
```py
|
947
|
-
|
953
|
+
dfs, qweqw, asd, weq
|
948
954
|
,ini,path,seperti,url,
|
949
955
|
ini,path,seperti,url
|
950
956
|
<li>satu</li>
|
@@ -990,9 +996,9 @@ Output:
|
|
990
996
|
```py
|
991
997
|
(['Home', 'Emas 1 Gram', 'History', 'Trend', 'Perak 1 Gram', 'Pluang'],
|
992
998
|
[['Harga Emas Hari Ini - Rabu, 01 Mei 2024'],
|
993
|
-
['Spot Emas USD↓2.288,
|
999
|
+
['Spot Emas USD↓2.288,71 (-7,31) / oz',
|
994
1000
|
'Kurs IDR16.249,00 / USD',
|
995
|
-
'Emas IDR↓1.195.
|
1001
|
+
'Emas IDR↓1.195.662 (-3.819) / gr'],
|
996
1002
|
['LM Antam (Jual)1.325.000 / gr', 'LM Antam (Beli)1.221.000 / gr']],
|
997
1003
|
[['Harga Emas Hari Ini'],
|
998
1004
|
['Gram', 'Gedung Antam Jakarta', 'Pegadaian'],
|
@@ -1030,10 +1036,10 @@ Output:
|
|
1030
1036
|
'Update harga LM Pegadaian :31 Agustus 2023']],
|
1031
1037
|
[['Spot Harga Emas Hari Ini (Market Open)'],
|
1032
1038
|
['Satuan', 'USD', 'Kurs\xa0Dollar', 'IDR'],
|
1033
|
-
['Ounce\xa0(oz)', '2.288,
|
1034
|
-
['Gram\xa0(gr)', '73,58', '16.249,00', '1.195.
|
1035
|
-
['Kilogram\xa0(kg)', '73.
|
1036
|
-
['Update harga emas :01 Mei 2024, pukul 07:
|
1039
|
+
['Ounce\xa0(oz)', '2.288,71 (-7,31)', '16.249,00', '37.189.249'],
|
1040
|
+
['Gram\xa0(gr)', '73,58', '16.249,00', '1.195.662 (-3.819)'],
|
1041
|
+
['Kilogram\xa0(kg)', '73.583,74', '16.249,00', '1.195.662.114'],
|
1042
|
+
['Update harga emas :01 Mei 2024, pukul 07:46Update kurs :30 April 2024, '
|
1037
1043
|
'pukul 13:10']],
|
1038
1044
|
[['Gram', 'UBS Gold 99.99%'],
|
1039
1045
|
['Jual', 'Beli'],
|
@@ -1055,36 +1061,36 @@ Output:
|
|
1055
1061
|
['Unit', 'USD', 'IDR'],
|
1056
1062
|
['Angka', '+/-', 'Angka', '+/-'],
|
1057
1063
|
['Hari Ini', 'Kurs', '', '', '16.249', '%'],
|
1058
|
-
['oz', '2.296,02', '-7,
|
1059
|
-
['gr', '73,82', '-0,
|
1064
|
+
['oz', '2.296,02', '-7,31-0,32%', '37.308.029', '-118.780-0,32%'],
|
1065
|
+
['gr', '73,82', '-0,24-0,32%', '1.199.481', '-3.819-0,32%'],
|
1060
1066
|
['30 Hari', 'Kurs', '', '', '15.873', '+376+2,37%'],
|
1061
|
-
['oz', '2.239,34', '+49,
|
1062
|
-
['gr', '72,00', '+1,59+2,
|
1067
|
+
['oz', '2.239,34', '+49,37+2,20%', '35.545.044', '+1.644.205+4,63%'],
|
1068
|
+
['gr', '72,00', '+1,59+2,20%', '1.142.800', '+52.862+4,63%'],
|
1063
1069
|
['2 Bulan', 'Kurs', '', '', '15.715', '+534+3,40%'],
|
1064
|
-
['oz', '2.082,55', '+206,
|
1065
|
-
['gr', '66,96', '+6,63+9,90', '1.052.206', '+143.
|
1070
|
+
['oz', '2.082,55', '+206,16+9,90%', '32.727.273', '+4.461.976+13,63%'],
|
1071
|
+
['gr', '66,96', '+6,63+9,90', '1.052.206', '+143.456+13,63%'],
|
1066
1072
|
['6 Bulan', 'Kurs', '', '', '15.861', '+388+2,45%'],
|
1067
|
-
['oz', '1.990,54', '+298,
|
1068
|
-
['gr', '64,00', '+9,59+14,98%', '1.015.062', '+180.
|
1073
|
+
['oz', '1.990,54', '+298,17+14,98%', '31.571.955', '+5.617.294+17,79%'],
|
1074
|
+
['gr', '64,00', '+9,59+14,98%', '1.015.062', '+180.600+17,79%'],
|
1069
1075
|
['1 Tahun', 'Kurs', '', '', '15.731', '+518+3,29%'],
|
1070
|
-
['oz', '1.823,86', '+464,
|
1071
|
-
['gr', '58,64', '+14,95+25,49%', '922.442', '+273.
|
1076
|
+
['oz', '1.823,86', '+464,85+25,49%', '28.691.142', '+8.498.107+29,62%'],
|
1077
|
+
['gr', '58,64', '+14,95+25,49%', '922.442', '+273.220+29,62%'],
|
1072
1078
|
['2 Tahun', 'Kurs', '', '', '14.418', '+1.831+12,70%'],
|
1073
|
-
['oz', '1.867,23', '+421,
|
1074
|
-
['gr', '60,03', '+13,55+22,57%', '865.553', '+330.
|
1079
|
+
['oz', '1.867,23', '+421,48+22,57%', '26.921.722', '+10.267.527+38,14%'],
|
1080
|
+
['gr', '60,03', '+13,55+22,57%', '865.553', '+330.109+38,14%'],
|
1075
1081
|
['3 Tahun', 'Kurs', '', '', '14.468', '+1.781+12,31%'],
|
1076
|
-
['oz', '1.768,91', '+519,
|
1077
|
-
['gr', '56,87', '+16,71+29,39%', '822.821', '+372.
|
1082
|
+
['oz', '1.768,91', '+519,80+29,39%', '25.592.590', '+11.596.659+45,31%'],
|
1083
|
+
['gr', '56,87', '+16,71+29,39%', '822.821', '+372.841+45,31%'],
|
1078
1084
|
['5 Tahun', 'Kurs', '', '', '14.282', '+1.967+13,77%'],
|
1079
|
-
['oz', '1.280,82', '+1.007,
|
1080
|
-
['gr', '41,18', '+32,
|
1085
|
+
['oz', '1.280,82', '+1.007,89+78,69%', '18.292.671', '+18.896.578+103,30%'],
|
1086
|
+
['gr', '41,18', '+32,40+78,69%', '588.123', '+607.539+103,30%']])
|
1081
1087
|
(['Home', 'Emas 1 Gram', 'History', 'Trend', 'Perak 1 Gram', 'Pluang'],
|
1082
1088
|
[[''],
|
1083
1089
|
['Emas 24 KaratHarga Emas 1 Gram', ''],
|
1084
1090
|
['USD', '73,58↓', '-0,24-0,33%'],
|
1085
1091
|
['KURS', '16.264,05↑', '+3,05+0,02%'],
|
1086
|
-
['IDR', '1.196.
|
1087
|
-
['Rabu, 01 Mei 2024 07:
|
1092
|
+
['IDR', '1.196.769,55↓', '-3.597,26-0,30%'],
|
1093
|
+
['Rabu, 01 Mei 2024 07:46']],
|
1088
1094
|
[[''],
|
1089
1095
|
['Emas 1 Gram (IDR)Emas 1 Gram (USD)Kurs USD-IDR',
|
1090
1096
|
'Hari Ini',
|
@@ -1097,17 +1103,17 @@ Output:
|
|
1097
1103
|
['', 'Penutupan Kemarin', 'Pergerakkan Hari Ini', 'Rata-rata'],
|
1098
1104
|
['USD', '73,82', '73,58 - 73,82', '73,70'],
|
1099
1105
|
['KURS', '16.261,00', '16.261,00 - 16.264,05', '16.262,53'],
|
1100
|
-
['IDR', '1.200.366,81', '1.196.
|
1106
|
+
['IDR', '1.200.366,81', '1.196.769,55 - 1.200.366,81', '1.198.568,18'],
|
1101
1107
|
[''],
|
1102
1108
|
['', 'Awal Tahun', 'Pergerakkan YTD', '+/- YTD'],
|
1103
1109
|
['USD', '66,32', '64,07 - 77,14', '+7,26 (10,95%)'],
|
1104
1110
|
['KURS', '15.390,10', '15.390,00 - 16.307,80', '+873,95 (5,68%)'],
|
1105
|
-
['IDR', '1.020.729,53', '997.660,12 - 1.256.829,06', '+176.
|
1111
|
+
['IDR', '1.020.729,53', '997.660,12 - 1.256.829,06', '+176.040,02 (17,25%)'],
|
1106
1112
|
[''],
|
1107
1113
|
['', 'Tahun Lalu / 52 Minggu', 'Pergerakkan 52 Minggu', '+/- 52 Minggu'],
|
1108
1114
|
['USD', '63,97', '58,43 - 77,14', '+9,61 (15,02%)'],
|
1109
1115
|
['KURS', '14.673,55', '14.669,40 - 16.307,80', '+1.590,50 (10,84%)'],
|
1110
|
-
['IDR', '938.709,73', '912.925,68 - 1.256.829,06', '+258.
|
1116
|
+
['IDR', '938.709,73', '912.925,68 - 1.256.829,06', '+258.059,82 (27,49%)']])
|
1111
1117
|
```
|
1112
1118
|
|
1113
1119
|
## iloads
|
@@ -1237,7 +1243,7 @@ Output:
|
|
1237
1243
|
```py
|
1238
1244
|
8
|
1239
1245
|
['mana', 'aja']
|
1240
|
-
[<Element a at
|
1246
|
+
[<Element a at 0x764f306c10>, <Element a at 0x764f33cff0>, <Element a at 0x764f33d090>, <Element a at 0x764f33d0e0>, <Element a at 0x764f33d130>, <Element a at 0x764f33d180>, <Element a at 0x764f33d1d0>, <Element a at 0x764f33d220>, <Element a at 0x764f33d270>, <Element a at 0x764f33d2c0>, <Element a at 0x764f33d310>, <Element a at 0x764f33d360>, <Element a at 0x764f33d3b0>, <Element a at 0x764f33d400>, <Element a at 0x764f33d450>, <Element a at 0x764f33d4a0>, <Element a at 0x764f33d4f0>, <Element a at 0x764f33d540>]
|
1241
1247
|
False
|
1242
1248
|
```
|
1243
1249
|
|
@@ -1299,7 +1305,7 @@ print(list(iscandir("./", recursive=False, scan_file=False)))
|
|
1299
1305
|
|
1300
1306
|
Output:
|
1301
1307
|
```py
|
1302
|
-
<generator object iscandir at
|
1308
|
+
<generator object iscandir at 0x764f2f0840>
|
1303
1309
|
[PosixPath('.git'), PosixPath('.vscode'), PosixPath('pypipr'), PosixPath('__pycache__'), PosixPath('dist')]
|
1304
1310
|
```
|
1305
1311
|
|
@@ -1336,73 +1342,73 @@ Output:
|
|
1336
1342
|
'ComparePerformance': <class 'pypipr.ComparePerformance.ComparePerformance'>,
|
1337
1343
|
'PintUregQuantity': <class 'pint.Quantity'>,
|
1338
1344
|
'RunParallel': <class 'pypipr.RunParallel.RunParallel'>},
|
1339
|
-
'function': {'avg': <function avg at
|
1340
|
-
'get_filemtime': <function get_filemtime at
|
1341
|
-
'print_colorize': <function print_colorize at
|
1342
|
-
'print_log': <function print_log at
|
1343
|
-
'console_run': <function console_run at
|
1344
|
-
'auto_reload': <function auto_reload at
|
1345
|
-
'basename': <function basename at
|
1346
|
-
'chr_to_int': <function chr_to_int at
|
1347
|
-
'int_to_chr': <function int_to_chr at
|
1348
|
-
'irange': <function irange at
|
1349
|
-
'batchmaker': <function batchmaker at
|
1350
|
-
'calculate': <function calculate at
|
1351
|
-
'batch_calculate': <function batch_calculate at
|
1352
|
-
'is_empty': <function is_empty at
|
1353
|
-
'exit_if_empty': <function exit_if_empty at
|
1354
|
-
'input_char': <function input_char at
|
1355
|
-
'get_by_index': <function get_by_index at
|
1356
|
-
'choices': <function choices at
|
1357
|
-
'chunk_array': <function chunk_array at
|
1358
|
-
'create_folder': <function create_folder at
|
1359
|
-
'datetime_from_string': <function datetime_from_string at
|
1360
|
-
'datetime_now': <function datetime_now at
|
1361
|
-
'dict_first': <function dict_first at
|
1362
|
-
'dirname': <function dirname at
|
1363
|
-
'is_iterable': <function is_iterable at
|
1364
|
-
'to_str': <function to_str at
|
1365
|
-
'filter_empty': <function filter_empty at
|
1366
|
-
'get_class_method': <function get_class_method at
|
1367
|
-
'get_filesize': <function get_filesize at
|
1368
|
-
'github_pull': <function github_pull at
|
1369
|
-
'github_push': <function github_push at
|
1370
|
-
'github_user': <function github_user at
|
1371
|
-
'iargv': <function iargv at
|
1372
|
-
'idumps_html': <function idumps_html at
|
1373
|
-
'idumps': <function idumps at
|
1374
|
-
'int_to_int': <function int_to_int at
|
1375
|
-
'ienumerate': <function ienumerate 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
|
-
'int_to_bin': <function int_to_bin at
|
1382
|
-
'int_to_hex': <function int_to_hex at
|
1383
|
-
'int_to_oct': <function int_to_oct at
|
1384
|
-
'is_valid_url': <function is_valid_url at
|
1385
|
-
'iopen': <function iopen at
|
1386
|
-
'iprint': <function iprint at
|
1387
|
-
'ireplace': <function ireplace at
|
1388
|
-
'iscandir': <function iscandir at
|
1389
|
-
'isplit': <function isplit at
|
1390
|
-
'ivars': <function ivars at
|
1391
|
-
'log': <function log at
|
1392
|
-
'password_generator': <function password_generator at
|
1393
|
-
'pip_freeze_without_version': <function pip_freeze_without_version at
|
1394
|
-
'poetry_publish': <function poetry_publish at
|
1395
|
-
'poetry_update_version': <function poetry_update_version at
|
1396
|
-
'print_dir': <function print_dir at
|
1397
|
-
'print_to_last_line': <function print_to_last_line 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
|
1403
|
-
'text_colorize': <function text_colorize at
|
1345
|
+
'function': {'avg': <function avg at 0x765cea2700>,
|
1346
|
+
'get_filemtime': <function get_filemtime at 0x76532972e0>,
|
1347
|
+
'print_colorize': <function print_colorize at 0x76532974c0>,
|
1348
|
+
'print_log': <function print_log at 0x7653346b60>,
|
1349
|
+
'console_run': <function console_run at 0x7653297380>,
|
1350
|
+
'auto_reload': <function auto_reload at 0x765327fec0>,
|
1351
|
+
'basename': <function basename at 0x7653297240>,
|
1352
|
+
'chr_to_int': <function chr_to_int at 0x7653297a60>,
|
1353
|
+
'int_to_chr': <function int_to_chr at 0x7653297b00>,
|
1354
|
+
'irange': <function irange at 0x7653297d80>,
|
1355
|
+
'batchmaker': <function batchmaker at 0x7653297740>,
|
1356
|
+
'calculate': <function calculate at 0x76530bc2c0>,
|
1357
|
+
'batch_calculate': <function batch_calculate at 0x7653297600>,
|
1358
|
+
'is_empty': <function is_empty at 0x76530bc540>,
|
1359
|
+
'exit_if_empty': <function exit_if_empty at 0x76530bc400>,
|
1360
|
+
'input_char': <function input_char at 0x76530bc4a0>,
|
1361
|
+
'get_by_index': <function get_by_index at 0x76530bc5e0>,
|
1362
|
+
'choices': <function choices at 0x76530bc7c0>,
|
1363
|
+
'chunk_array': <function chunk_array at 0x76530bc860>,
|
1364
|
+
'create_folder': <function create_folder at 0x76530bc900>,
|
1365
|
+
'datetime_from_string': <function datetime_from_string at 0x76530bc9a0>,
|
1366
|
+
'datetime_now': <function datetime_now at 0x76530bca40>,
|
1367
|
+
'dict_first': <function dict_first at 0x76530bcae0>,
|
1368
|
+
'dirname': <function dirname at 0x76530bcb80>,
|
1369
|
+
'is_iterable': <function is_iterable at 0x76530bcd60>,
|
1370
|
+
'to_str': <function to_str at 0x76530bce00>,
|
1371
|
+
'filter_empty': <function filter_empty at 0x76530bcc20>,
|
1372
|
+
'get_class_method': <function get_class_method at 0x76530bccc0>,
|
1373
|
+
'get_filesize': <function get_filesize at 0x76530bcf40>,
|
1374
|
+
'github_pull': <function github_pull at 0x76530bcfe0>,
|
1375
|
+
'github_push': <function github_push at 0x76530bd1c0>,
|
1376
|
+
'github_user': <function github_user at 0x76530bd260>,
|
1377
|
+
'iargv': <function iargv at 0x76530bd080>,
|
1378
|
+
'idumps_html': <function idumps_html at 0x76530bd4e0>,
|
1379
|
+
'idumps': <function idumps at 0x76530bd3a0>,
|
1380
|
+
'int_to_int': <function int_to_int at 0x7653195e40>,
|
1381
|
+
'ienumerate': <function ienumerate at 0x76530bd9e0>,
|
1382
|
+
'ienv': <function ienv at 0x7653195d00>,
|
1383
|
+
'iexec': <function iexec at 0x7653195ee0>,
|
1384
|
+
'ijoin': <function ijoin at 0x7653196020>,
|
1385
|
+
'iloads_html': <function iloads_html at 0x7653196200>,
|
1386
|
+
'iloads': <function iloads at 0x7653195f80>,
|
1387
|
+
'int_to_bin': <function int_to_bin at 0x7653196160>,
|
1388
|
+
'int_to_hex': <function int_to_hex at 0x76531962a0>,
|
1389
|
+
'int_to_oct': <function int_to_oct at 0x7653196340>,
|
1390
|
+
'is_valid_url': <function is_valid_url at 0x7653196520>,
|
1391
|
+
'iopen': <function iopen at 0x7652f96980>,
|
1392
|
+
'iprint': <function iprint at 0x7653196480>,
|
1393
|
+
'ireplace': <function ireplace at 0x7653196840>,
|
1394
|
+
'iscandir': <function iscandir at 0x76530520c0>,
|
1395
|
+
'isplit': <function isplit at 0x7653052160>,
|
1396
|
+
'ivars': <function ivars at 0x7653052200>,
|
1397
|
+
'log': <function log at 0x76530522a0>,
|
1398
|
+
'password_generator': <function password_generator at 0x7653052340>,
|
1399
|
+
'pip_freeze_without_version': <function pip_freeze_without_version at 0x7653052480>,
|
1400
|
+
'poetry_publish': <function poetry_publish at 0x7653052520>,
|
1401
|
+
'poetry_update_version': <function poetry_update_version at 0x7653052660>,
|
1402
|
+
'print_dir': <function print_dir at 0x7653052840>,
|
1403
|
+
'print_to_last_line': <function print_to_last_line at 0x76530528e0>,
|
1404
|
+
'random_bool': <function random_bool at 0x7653052980>,
|
1405
|
+
'restart': <function restart at 0x7653052a20>,
|
1406
|
+
'set_timeout': <function set_timeout at 0x7653052ac0>,
|
1407
|
+
'sets_ordered': <function sets_ordered at 0x7653052b60>,
|
1408
|
+
'str_cmp': <function str_cmp at 0x7653052c00>,
|
1409
|
+
'text_colorize': <function text_colorize at 0x7653052ca0>},
|
1404
1410
|
'variable': {'LINUX': True,
|
1405
|
-
'PintUreg': <pint.registry.UnitRegistry object at
|
1411
|
+
'PintUreg': <pint.registry.UnitRegistry object at 0x765cea85d0>,
|
1406
1412
|
'WINDOWS': False},
|
1407
1413
|
'module': {'asyncio': <module 'asyncio' from '/data/data/com.termux/files/usr/lib/python3.11/asyncio/__init__.py'>,
|
1408
1414
|
'colorama': <module 'colorama' from '/data/data/com.termux/files/usr/lib/python3.11/site-packages/colorama/__init__.py'>,
|
@@ -1476,7 +1482,7 @@ print(password_generator())
|
|
1476
1482
|
|
1477
1483
|
Output:
|
1478
1484
|
```py
|
1479
|
-
|
1485
|
+
mu[nW(SF
|
1480
1486
|
```
|
1481
1487
|
|
1482
1488
|
## pip_freeze_without_version
|
@@ -1534,7 +1540,7 @@ Output:
|
|
1534
1540
|
__enter__ : https:/www.google.com
|
1535
1541
|
__fspath__ : https:/www.google.com
|
1536
1542
|
__getstate__ : (None, {'_drv': '', '_root': '', '_parts': ['https:', 'www.google.com'], '_str': 'https:/www.google.com'})
|
1537
|
-
__hash__ :
|
1543
|
+
__hash__ : -8515626571815858843
|
1538
1544
|
__init__ : None
|
1539
1545
|
__init_subclass__ : None
|
1540
1546
|
__module__ : pathlib
|
@@ -1547,8 +1553,8 @@ Output:
|
|
1547
1553
|
_cached_cparts : ['https:', 'www.google.com']
|
1548
1554
|
_cparts : ['https:', 'www.google.com']
|
1549
1555
|
_drv :
|
1550
|
-
_flavour : <pathlib._PosixFlavour object at
|
1551
|
-
_hash :
|
1556
|
+
_flavour : <pathlib._PosixFlavour object at 0x7662218b10>
|
1557
|
+
_hash : -8515626571815858843
|
1552
1558
|
_parts : ['https:', 'www.google.com']
|
1553
1559
|
_root :
|
1554
1560
|
_str : https:/www.google.com
|
@@ -1570,7 +1576,7 @@ Output:
|
|
1570
1576
|
is_reserved : False
|
1571
1577
|
is_socket : False
|
1572
1578
|
is_symlink : False
|
1573
|
-
iterdir : <generator object Path.iterdir at
|
1579
|
+
iterdir : <generator object Path.iterdir at 0x764f2f66c0>
|
1574
1580
|
joinpath : https:/www.google.com
|
1575
1581
|
name : www.google.com
|
1576
1582
|
parent : https:
|
@@ -1610,7 +1616,7 @@ print(random_bool())
|
|
1610
1616
|
|
1611
1617
|
Output:
|
1612
1618
|
```py
|
1613
|
-
|
1619
|
+
True
|
1614
1620
|
```
|
1615
1621
|
|
1616
1622
|
## restart
|
@@ -1644,7 +1650,7 @@ x.cancel()
|
|
1644
1650
|
|
1645
1651
|
Output:
|
1646
1652
|
```py
|
1647
|
-
<Timer(Thread-2, started
|
1653
|
+
<Timer(Thread-2, started 508109683952)>
|
1648
1654
|
menghentikan timeout 7
|
1649
1655
|
```
|
1650
1656
|
|
@@ -1662,7 +1668,7 @@ print(list(sets_ordered(array)))
|
|
1662
1668
|
|
1663
1669
|
Output:
|
1664
1670
|
```py
|
1665
|
-
<generator object sets_ordered at
|
1671
|
+
<generator object sets_ordered at 0x764f318e10>
|
1666
1672
|
[2, 3, 12, 42, 1, 43, 41, 4, 24, 32]
|
1667
1673
|
```
|
1668
1674
|
|
@@ -1756,7 +1762,7 @@ print(ExampleComparePerformance().compare_performance())
|
|
1756
1762
|
|
1757
1763
|
Output:
|
1758
1764
|
```py
|
1759
|
-
{'a': <generator object ExampleComparePerformance.a.<locals>.<genexpr> at
|
1765
|
+
{'a': <generator object ExampleComparePerformance.a.<locals>.<genexpr> at 0x764f318930>,
|
1760
1766
|
'b': (0, 1, 2, 3, 4, 5, 6, 7, 8, 9),
|
1761
1767
|
'c': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
|
1762
1768
|
'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
|