pypipr 1.0.117__tar.gz → 1.0.118__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.117 → pypipr-1.0.118}/PKG-INFO +178 -145
- {pypipr-1.0.117 → pypipr-1.0.118}/pypipr/choices.py +1 -0
- {pypipr-1.0.117 → pypipr-1.0.118}/pyproject.toml +1 -1
- {pypipr-1.0.117 → pypipr-1.0.118}/readme.md +177 -144
- {pypipr-1.0.117 → pypipr-1.0.118}/pypipr/APIMixinView.py +0 -0
- {pypipr-1.0.117 → pypipr-1.0.118}/pypipr/ComparePerformance.py +0 -0
- {pypipr-1.0.117 → pypipr-1.0.118}/pypipr/LINUX.py +0 -0
- {pypipr-1.0.117 → pypipr-1.0.118}/pypipr/PintUreg.py +0 -0
- {pypipr-1.0.117 → pypipr-1.0.118}/pypipr/PintUregQuantity.py +0 -0
- {pypipr-1.0.117 → pypipr-1.0.118}/pypipr/RunParallel.py +0 -0
- {pypipr-1.0.117 → pypipr-1.0.118}/pypipr/WINDOWS.py +0 -0
- {pypipr-1.0.117 → pypipr-1.0.118}/pypipr/__init__.py +0 -0
- {pypipr-1.0.117 → pypipr-1.0.118}/pypipr/__terminal__.py +0 -0
- {pypipr-1.0.117 → pypipr-1.0.118}/pypipr/auto_reload.py +0 -0
- {pypipr-1.0.117 → pypipr-1.0.118}/pypipr/avg.py +0 -0
- {pypipr-1.0.117 → pypipr-1.0.118}/pypipr/basename.py +0 -0
- {pypipr-1.0.117 → pypipr-1.0.118}/pypipr/batch_calculate.py +0 -0
- {pypipr-1.0.117 → pypipr-1.0.118}/pypipr/batchmaker.py +0 -0
- {pypipr-1.0.117 → pypipr-1.0.118}/pypipr/calculate.py +0 -0
- {pypipr-1.0.117 → pypipr-1.0.118}/pypipr/choices.py.bak +0 -0
- {pypipr-1.0.117 → pypipr-1.0.118}/pypipr/chr_to_int.py +0 -0
- {pypipr-1.0.117 → pypipr-1.0.118}/pypipr/chunk_array.py +0 -0
- {pypipr-1.0.117 → pypipr-1.0.118}/pypipr/console_run.py +0 -0
- {pypipr-1.0.117 → pypipr-1.0.118}/pypipr/create_folder.py +0 -0
- {pypipr-1.0.117 → pypipr-1.0.118}/pypipr/datetime_from_string.py +0 -0
- {pypipr-1.0.117 → pypipr-1.0.118}/pypipr/datetime_now.py +0 -0
- {pypipr-1.0.117 → pypipr-1.0.118}/pypipr/dict_first.py +0 -0
- {pypipr-1.0.117 → pypipr-1.0.118}/pypipr/dirname.py +0 -0
- {pypipr-1.0.117 → pypipr-1.0.118}/pypipr/exit_if_empty.py +0 -0
- {pypipr-1.0.117 → pypipr-1.0.118}/pypipr/filter_empty.py +0 -0
- {pypipr-1.0.117 → pypipr-1.0.118}/pypipr/get_by_index.py +0 -0
- {pypipr-1.0.117 → pypipr-1.0.118}/pypipr/get_class_method.py +0 -0
- {pypipr-1.0.117 → pypipr-1.0.118}/pypipr/get_filemtime.py +0 -0
- {pypipr-1.0.117 → pypipr-1.0.118}/pypipr/get_filesize.py +0 -0
- {pypipr-1.0.117 → pypipr-1.0.118}/pypipr/github_pull.py +0 -0
- {pypipr-1.0.117 → pypipr-1.0.118}/pypipr/github_push.py +0 -0
- {pypipr-1.0.117 → pypipr-1.0.118}/pypipr/github_user.py +0 -0
- {pypipr-1.0.117 → pypipr-1.0.118}/pypipr/iargv.py +0 -0
- {pypipr-1.0.117 → pypipr-1.0.118}/pypipr/idumps.py +0 -0
- {pypipr-1.0.117 → pypipr-1.0.118}/pypipr/idumps_html.py +0 -0
- {pypipr-1.0.117 → pypipr-1.0.118}/pypipr/ienumerate.py +0 -0
- {pypipr-1.0.117 → pypipr-1.0.118}/pypipr/ienv.py +0 -0
- {pypipr-1.0.117 → pypipr-1.0.118}/pypipr/iexec.py +0 -0
- {pypipr-1.0.117 → pypipr-1.0.118}/pypipr/ijoin.py +0 -0
- {pypipr-1.0.117 → pypipr-1.0.118}/pypipr/iloads.py +0 -0
- {pypipr-1.0.117 → pypipr-1.0.118}/pypipr/iloads_html.py +0 -0
- {pypipr-1.0.117 → pypipr-1.0.118}/pypipr/input_char.py +0 -0
- {pypipr-1.0.117 → pypipr-1.0.118}/pypipr/int_to_bin.py +0 -0
- {pypipr-1.0.117 → pypipr-1.0.118}/pypipr/int_to_chr.py +0 -0
- {pypipr-1.0.117 → pypipr-1.0.118}/pypipr/int_to_hex.py +0 -0
- {pypipr-1.0.117 → pypipr-1.0.118}/pypipr/int_to_int.py +0 -0
- {pypipr-1.0.117 → pypipr-1.0.118}/pypipr/int_to_oct.py +0 -0
- {pypipr-1.0.117 → pypipr-1.0.118}/pypipr/iopen.py +0 -0
- {pypipr-1.0.117 → pypipr-1.0.118}/pypipr/iprint.py +0 -0
- {pypipr-1.0.117 → pypipr-1.0.118}/pypipr/irange.py +0 -0
- {pypipr-1.0.117 → pypipr-1.0.118}/pypipr/ireplace.py +0 -0
- {pypipr-1.0.117 → pypipr-1.0.118}/pypipr/is_empty.py +0 -0
- {pypipr-1.0.117 → pypipr-1.0.118}/pypipr/is_iterable.py +0 -0
- {pypipr-1.0.117 → pypipr-1.0.118}/pypipr/is_valid_url.py +0 -0
- {pypipr-1.0.117 → pypipr-1.0.118}/pypipr/iscandir.py +0 -0
- {pypipr-1.0.117 → pypipr-1.0.118}/pypipr/isplit.py +0 -0
- {pypipr-1.0.117 → pypipr-1.0.118}/pypipr/ivars.py +0 -0
- {pypipr-1.0.117 → pypipr-1.0.118}/pypipr/log.py +0 -0
- {pypipr-1.0.117 → pypipr-1.0.118}/pypipr/password_generator.py +0 -0
- {pypipr-1.0.117 → pypipr-1.0.118}/pypipr/pip_freeze_without_version.py +0 -0
- {pypipr-1.0.117 → pypipr-1.0.118}/pypipr/poetry_publish.py +0 -0
- {pypipr-1.0.117 → pypipr-1.0.118}/pypipr/poetry_update_version.py +0 -0
- {pypipr-1.0.117 → pypipr-1.0.118}/pypipr/print_colorize.py +0 -0
- {pypipr-1.0.117 → pypipr-1.0.118}/pypipr/print_dir.py +0 -0
- {pypipr-1.0.117 → pypipr-1.0.118}/pypipr/print_log.py +0 -0
- {pypipr-1.0.117 → pypipr-1.0.118}/pypipr/print_to_last_line.py +0 -0
- {pypipr-1.0.117 → pypipr-1.0.118}/pypipr/random_bool.py +0 -0
- {pypipr-1.0.117 → pypipr-1.0.118}/pypipr/restart.py +0 -0
- {pypipr-1.0.117 → pypipr-1.0.118}/pypipr/set_timeout.py +0 -0
- {pypipr-1.0.117 → pypipr-1.0.118}/pypipr/sets_ordered.py +0 -0
- {pypipr-1.0.117 → pypipr-1.0.118}/pypipr/str_cmp.py +0 -0
- {pypipr-1.0.117 → pypipr-1.0.118}/pypipr/text_colorize.py +0 -0
- {pypipr-1.0.117 → pypipr-1.0.118}/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.118
|
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 0x7b07270540>
|
254
|
+
<generator object int_range at 0x7b07270540>
|
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 0x7b072643a0>
|
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 0x7b071eb010>
|
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 0x7b07270540>
|
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
|
504
|
-
2024-05-01
|
505
|
-
2024-04-30
|
503
|
+
2024-05-01 09:38:07.867936+07:00
|
504
|
+
2024-05-01 02:38:07.869667+00:00
|
505
|
+
2024-04-30 19:38:07.873447-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 0x7b071eb010>
|
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 0x7b071eb2e0>
|
642
|
+
[<function ExampleGetClassMethod.a at 0x7b07289120>, <function ExampleGetClassMethod.b at 0x7b07289300>, <function ExampleGetClassMethod.c at 0x7b07289440>, <function ExampleGetClassMethod.d at 0x7b072894e0>]
|
643
643
|
```
|
644
644
|
|
645
645
|
## get_filesize
|
@@ -893,7 +893,7 @@ 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 0x7b0bd31da0>)`
|
897
897
|
|
898
898
|
meningkatkan fungsi enumerate() pada python
|
899
899
|
untuk key menggunakan huruf dan basis angka lainnya.
|
@@ -906,7 +906,7 @@ iprint(ienumerate(it, key=int_to_chr))
|
|
906
906
|
|
907
907
|
Output:
|
908
908
|
```py
|
909
|
-
<generator object ienumerate at
|
909
|
+
<generator object ienumerate at 0x7b071eb2e0>
|
910
910
|
[('a', 'ini'), ('b', 'contoh'), ('c', 'enumerator')]
|
911
911
|
```
|
912
912
|
|
@@ -973,7 +973,7 @@ print(ijoin(10, ' '))
|
|
973
973
|
|
974
974
|
Output:
|
975
975
|
```py
|
976
|
-
dfs, qweqw,
|
976
|
+
asd, dfs, qweqw, weq
|
977
977
|
,ini,path,seperti,url,
|
978
978
|
ini,path,seperti,url
|
979
979
|
<li>satu</li>
|
@@ -1019,50 +1019,83 @@ Output:
|
|
1019
1019
|
```py
|
1020
1020
|
(['Home', 'Emas 1 Gram', 'History', 'Trend', 'Perak 1 Gram', 'Pluang'],
|
1021
1021
|
[['Harga Emas Hari Ini - Rabu, 01 Mei 2024'],
|
1022
|
-
['Spot Emas USD↓2.
|
1022
|
+
['Spot Emas USD↓2.287,55 (-8,47) / oz',
|
1023
1023
|
'Kurs IDR16.249,00 / USD',
|
1024
|
-
'Emas IDR↓1.195.
|
1025
|
-
['LM Antam (Jual)1.
|
1024
|
+
'Emas IDR↓1.195.056 (-4.425) / gr'],
|
1025
|
+
['LM Antam (Jual)↓1.310.000 (-15.000) / gr',
|
1026
|
+
'LM Antam (Beli)↓1.204.000 (-17.000) / gr']],
|
1026
1027
|
[['Harga Emas Hari Ini'],
|
1027
1028
|
['Gram', 'Gedung Antam Jakarta', 'Pegadaian'],
|
1028
1029
|
['per Gram (Rp)', 'per Batangan (Rp)', 'per Gram (Rp)', 'per Batangan (Rp)'],
|
1029
1030
|
['1000',
|
1030
|
-
'1.
|
1031
|
-
'1.
|
1031
|
+
'1.251 (-15)',
|
1032
|
+
'1.250.600 (-15.000)',
|
1032
1033
|
'1.043.040 (+8.200)',
|
1033
1034
|
'1.043.040.000 (+8.200.000)'],
|
1034
1035
|
['500',
|
1035
|
-
'2.
|
1036
|
-
'1.
|
1036
|
+
'2.501 (-30)',
|
1037
|
+
'1.250.640 (-15.000)',
|
1037
1038
|
'1.043.082 (+8.200)',
|
1038
1039
|
'521.541.000 (+4.100.000)'],
|
1039
1040
|
['250',
|
1040
|
-
'5.
|
1041
|
-
'1.
|
1041
|
+
'5.004 (-60)',
|
1042
|
+
'1.251.060 (-15.000)',
|
1042
1043
|
'1.043.512 (+8.200)',
|
1043
1044
|
'260.878.000 (+2.050.000)'],
|
1044
1045
|
['100',
|
1045
|
-
'12.
|
1046
|
-
'1.
|
1046
|
+
'12.521 (-150)',
|
1047
|
+
'1.252.120 (-15.000)',
|
1047
1048
|
'1.044.600 (+8.200)',
|
1048
1049
|
'104.460.000 (+820.000)'],
|
1049
|
-
['50',
|
1050
|
-
|
1051
|
-
|
1052
|
-
|
1053
|
-
|
1054
|
-
['
|
1055
|
-
|
1056
|
-
|
1057
|
-
|
1058
|
-
'
|
1050
|
+
['50',
|
1051
|
+
'25.058 (-300)',
|
1052
|
+
'1.252.900 (-15.000)',
|
1053
|
+
'1.045.400 (+8.200)',
|
1054
|
+
'52.270.000 (+410.000)'],
|
1055
|
+
['25',
|
1056
|
+
'50.179 (-600)',
|
1057
|
+
'1.254.480 (-15.000)',
|
1058
|
+
'1.047.040 (+8.200)',
|
1059
|
+
'26.176.000 (+205.000)'],
|
1060
|
+
['10',
|
1061
|
+
'125.950 (-1.500)',
|
1062
|
+
'1.259.500 (-15.000)',
|
1063
|
+
'1.052.200 (+8.200)',
|
1064
|
+
'10.522.000 (+82.000)'],
|
1065
|
+
['5',
|
1066
|
+
'253.000 (-3.000)',
|
1067
|
+
'1.265.000 (-15.000)',
|
1068
|
+
'1.057.800 (+8.200)',
|
1069
|
+
'5.289.000 (+41.000)'],
|
1070
|
+
['3',
|
1071
|
+
'423.889 (-5.000)',
|
1072
|
+
'1.271.667 (-15.000)',
|
1073
|
+
'1.064.667 (+8.000)',
|
1074
|
+
'3.194.000 (+24.000)'],
|
1075
|
+
['2',
|
1076
|
+
'640.000 (-7.500)',
|
1077
|
+
'1.280.000 (-15.000)',
|
1078
|
+
'1.073.500 (+8.500)',
|
1079
|
+
'2.147.000 (+17.000)'],
|
1080
|
+
['1',
|
1081
|
+
'1.310.000 (-15.000)',
|
1082
|
+
'1.310.000 (-15.000)',
|
1083
|
+
'1.104.000 (+8.000)',
|
1084
|
+
'1.104.000 (+8.000)'],
|
1085
|
+
['0.5',
|
1086
|
+
'2.820.000 (-30.000)',
|
1087
|
+
'1.410.000 (-15.000)',
|
1088
|
+
'1.208.000 (+8.000)',
|
1089
|
+
'604.000 (+4.000)'],
|
1090
|
+
['Update harga LM Antam :01 Mei 2024, pukul 08:20Harga pembelian kembali '
|
1091
|
+
':Rp. 1.204.000/gram (-17.000)',
|
1059
1092
|
'Update harga LM Pegadaian :31 Agustus 2023']],
|
1060
1093
|
[['Spot Harga Emas Hari Ini (Market Open)'],
|
1061
1094
|
['Satuan', 'USD', 'Kurs\xa0Dollar', 'IDR'],
|
1062
|
-
['Ounce\xa0(oz)', '2.
|
1063
|
-
['Gram\xa0(gr)', '73,
|
1064
|
-
['Kilogram\xa0(kg)', '73.
|
1065
|
-
['Update harga emas :01 Mei 2024, pukul
|
1095
|
+
['Ounce\xa0(oz)', '2.287,55 (-8,47)', '16.249,00', '37.170.400'],
|
1096
|
+
['Gram\xa0(gr)', '73,55', '16.249,00', '1.195.056 (-4.425)'],
|
1097
|
+
['Kilogram\xa0(kg)', '73.546,44', '16.249,00', '1.195.056.110'],
|
1098
|
+
['Update harga emas :01 Mei 2024, pukul 09:37Update kurs :30 April 2024, '
|
1066
1099
|
'pukul 13:10']],
|
1067
1100
|
[['Gram', 'UBS Gold 99.99%'],
|
1068
1101
|
['Jual', 'Beli'],
|
@@ -1084,36 +1117,36 @@ Output:
|
|
1084
1117
|
['Unit', 'USD', 'IDR'],
|
1085
1118
|
['Angka', '+/-', 'Angka', '+/-'],
|
1086
1119
|
['Hari Ini', 'Kurs', '', '', '16.249', '%'],
|
1087
|
-
['oz', '2.296,02', '-
|
1088
|
-
['gr', '73,82', '-0,
|
1120
|
+
['oz', '2.296,02', '-8,47-0,37%', '37.308.029', '-137.629-0,37%'],
|
1121
|
+
['gr', '73,82', '-0,27-0,37%', '1.199.481', '-4.425-0,37%'],
|
1089
1122
|
['30 Hari', 'Kurs', '', '', '15.873', '+376+2,37%'],
|
1090
|
-
['oz', '2.239,34', '+
|
1091
|
-
['gr', '72,00', '+1,
|
1123
|
+
['oz', '2.239,34', '+48,21+2,15%', '35.545.044', '+1.625.356+4,57%'],
|
1124
|
+
['gr', '72,00', '+1,55+2,15%', '1.142.800', '+52.256+4,57%'],
|
1092
1125
|
['2 Bulan', 'Kurs', '', '', '15.715', '+534+3,40%'],
|
1093
|
-
['oz', '2.082,55', '+
|
1094
|
-
['gr', '66,96', '+6,
|
1126
|
+
['oz', '2.082,55', '+205,00+9,84%', '32.727.273', '+4.443.127+13,58%'],
|
1127
|
+
['gr', '66,96', '+6,59+9,84', '1.052.206', '+142.850+13,58%'],
|
1095
1128
|
['6 Bulan', 'Kurs', '', '', '15.861', '+388+2,45%'],
|
1096
|
-
['oz', '1.990,54', '+
|
1097
|
-
['gr', '64,00', '+9,
|
1129
|
+
['oz', '1.990,54', '+297,01+14,92%', '31.571.955', '+5.598.445+17,73%'],
|
1130
|
+
['gr', '64,00', '+9,55+14,92%', '1.015.062', '+179.994+17,73%'],
|
1098
1131
|
['1 Tahun', 'Kurs', '', '', '15.731', '+518+3,29%'],
|
1099
|
-
['oz', '1.823,86', '+
|
1100
|
-
['gr', '58,64', '+14,
|
1132
|
+
['oz', '1.823,86', '+463,69+25,42%', '28.691.142', '+8.479.258+29,55%'],
|
1133
|
+
['gr', '58,64', '+14,91+25,42%', '922.442', '+272.614+29,55%'],
|
1101
1134
|
['2 Tahun', 'Kurs', '', '', '14.418', '+1.831+12,70%'],
|
1102
|
-
['oz', '1.867,23', '+
|
1103
|
-
['gr', '60,03', '+13,
|
1135
|
+
['oz', '1.867,23', '+420,32+22,51%', '26.921.722', '+10.248.678+38,07%'],
|
1136
|
+
['gr', '60,03', '+13,51+22,51%', '865.553', '+329.503+38,07%'],
|
1104
1137
|
['3 Tahun', 'Kurs', '', '', '14.468', '+1.781+12,31%'],
|
1105
|
-
['oz', '1.768,91', '+
|
1106
|
-
['gr', '56,87', '+16,
|
1138
|
+
['oz', '1.768,91', '+518,64+29,32%', '25.592.590', '+11.577.810+45,24%'],
|
1139
|
+
['gr', '56,87', '+16,67+29,32%', '822.821', '+372.235+45,24%'],
|
1107
1140
|
['5 Tahun', 'Kurs', '', '', '14.282', '+1.967+13,77%'],
|
1108
|
-
['oz', '1.280,82', '+1.
|
1109
|
-
['gr', '41,18', '+32,
|
1141
|
+
['oz', '1.280,82', '+1.006,73+78,60%', '18.292.671', '+18.877.729+103,20%'],
|
1142
|
+
['gr', '41,18', '+32,37+78,60%', '588.123', '+606.933+103,20%']])
|
1110
1143
|
(['Home', 'Emas 1 Gram', 'History', 'Trend', 'Perak 1 Gram', 'Pluang'],
|
1111
1144
|
[[''],
|
1112
1145
|
['Emas 24 KaratHarga Emas 1 Gram', ''],
|
1113
|
-
['USD', '73,
|
1114
|
-
['KURS', '16.
|
1115
|
-
['IDR', '1.196.
|
1116
|
-
['Rabu, 01 Mei 2024
|
1146
|
+
['USD', '73,55↓', '-0,27-0,37%'],
|
1147
|
+
['KURS', '16.265,05↑', '+4,05+0,02%'],
|
1148
|
+
['IDR', '1.196.236,53↓', '-4.130,28-0,34%'],
|
1149
|
+
['Rabu, 01 Mei 2024 09:37']],
|
1117
1150
|
[[''],
|
1118
1151
|
['Emas 1 Gram (IDR)Emas 1 Gram (USD)Kurs USD-IDR',
|
1119
1152
|
'Hari Ini',
|
@@ -1124,19 +1157,19 @@ Output:
|
|
1124
1157
|
'']],
|
1125
1158
|
[['Pergerakkan Harga Emas 1 Gram'],
|
1126
1159
|
['', 'Penutupan Kemarin', 'Pergerakkan Hari Ini', 'Rata-rata'],
|
1127
|
-
['USD', '73,82', '73,
|
1128
|
-
['KURS', '16.261,00', '16.261,00 - 16.
|
1129
|
-
['IDR', '1.200.366,81', '1.196.
|
1160
|
+
['USD', '73,82', '73,55 - 73,82', '73,69'],
|
1161
|
+
['KURS', '16.261,00', '16.261,00 - 16.265,05', '16.263,03'],
|
1162
|
+
['IDR', '1.200.366,81', '1.196.236,53 - 1.200.366,81', '1.198.301,67'],
|
1130
1163
|
[''],
|
1131
1164
|
['', 'Awal Tahun', 'Pergerakkan YTD', '+/- YTD'],
|
1132
|
-
['USD', '66,32', '64,07 - 77,14', '+7,
|
1133
|
-
['KURS', '15.390,10', '15.390,00 - 16.307,80', '+
|
1134
|
-
['IDR', '1.020.729,53', '997.660,12 - 1.256.829,06', '+
|
1165
|
+
['USD', '66,32', '64,07 - 77,14', '+7,23 (10,90%)'],
|
1166
|
+
['KURS', '15.390,10', '15.390,00 - 16.307,80', '+874,95 (5,69%)'],
|
1167
|
+
['IDR', '1.020.729,53', '997.660,12 - 1.256.829,06', '+175.507,00 (17,19%)'],
|
1135
1168
|
[''],
|
1136
1169
|
['', 'Tahun Lalu / 52 Minggu', 'Pergerakkan 52 Minggu', '+/- 52 Minggu'],
|
1137
|
-
['USD', '63,97', '58,43 - 77,14', '+9,
|
1138
|
-
['KURS', '14.673,55', '14.669,40 - 16.307,80', '+1.
|
1139
|
-
['IDR', '938.709,73', '912.925,68 - 1.256.829,06', '+
|
1170
|
+
['USD', '63,97', '58,43 - 77,14', '+9,58 (14,98%)'],
|
1171
|
+
['KURS', '14.673,55', '14.669,40 - 16.307,80', '+1.591,50 (10,85%)'],
|
1172
|
+
['IDR', '938.709,73', '912.925,68 - 1.256.829,06', '+257.526,80 (27,43%)']])
|
1140
1173
|
```
|
1141
1174
|
|
1142
1175
|
## iloads
|
@@ -1266,7 +1299,7 @@ Output:
|
|
1266
1299
|
```py
|
1267
1300
|
8
|
1268
1301
|
['mana', 'aja']
|
1269
|
-
[<Element a at
|
1302
|
+
[<Element a at 0x7b07281b80>, <Element a at 0x7b072bd2c0>, <Element a at 0x7b072bd360>, <Element a at 0x7b072bd3b0>, <Element a at 0x7b072bd400>, <Element a at 0x7b072bd450>, <Element a at 0x7b072bd4a0>, <Element a at 0x7b072bd4f0>, <Element a at 0x7b072bd540>, <Element a at 0x7b072bd590>, <Element a at 0x7b072bd5e0>, <Element a at 0x7b072bd630>, <Element a at 0x7b072bd680>, <Element a at 0x7b072bd6d0>, <Element a at 0x7b072bd720>, <Element a at 0x7b072bd770>, <Element a at 0x7b072bd7c0>, <Element a at 0x7b072bd810>, <Element a at 0x7b072bd860>]
|
1270
1303
|
False
|
1271
1304
|
```
|
1272
1305
|
|
@@ -1328,7 +1361,7 @@ print(list(iscandir("./", recursive=False, scan_file=False)))
|
|
1328
1361
|
|
1329
1362
|
Output:
|
1330
1363
|
```py
|
1331
|
-
<generator object iscandir at
|
1364
|
+
<generator object iscandir at 0x7b07270840>
|
1332
1365
|
[PosixPath('.git'), PosixPath('.vscode'), PosixPath('pypipr'), PosixPath('__pycache__'), PosixPath('dist')]
|
1333
1366
|
```
|
1334
1367
|
|
@@ -1365,73 +1398,73 @@ Output:
|
|
1365
1398
|
'ComparePerformance': <class 'pypipr.ComparePerformance.ComparePerformance'>,
|
1366
1399
|
'PintUregQuantity': <class 'pint.Quantity'>,
|
1367
1400
|
'RunParallel': <class 'pypipr.RunParallel.RunParallel'>},
|
1368
|
-
'function': {'avg': <function avg at
|
1369
|
-
'get_filemtime': <function get_filemtime at
|
1370
|
-
'print_colorize': <function print_colorize at
|
1371
|
-
'print_log': <function print_log at
|
1372
|
-
'console_run': <function console_run at
|
1373
|
-
'auto_reload': <function auto_reload at
|
1374
|
-
'basename': <function basename at
|
1375
|
-
'chr_to_int': <function chr_to_int at
|
1376
|
-
'int_to_chr': <function int_to_chr at
|
1377
|
-
'irange': <function irange at
|
1378
|
-
'batchmaker': <function batchmaker at
|
1379
|
-
'calculate': <function calculate at
|
1380
|
-
'batch_calculate': <function batch_calculate at
|
1381
|
-
'is_empty': <function is_empty at
|
1382
|
-
'exit_if_empty': <function exit_if_empty at
|
1383
|
-
'input_char': <function input_char at
|
1384
|
-
'get_by_index': <function get_by_index at
|
1385
|
-
'choices': <function choices at
|
1386
|
-
'chunk_array': <function chunk_array at
|
1387
|
-
'create_folder': <function create_folder at
|
1388
|
-
'datetime_from_string': <function datetime_from_string at
|
1389
|
-
'datetime_now': <function datetime_now at
|
1390
|
-
'dict_first': <function dict_first at
|
1391
|
-
'dirname': <function dirname at
|
1392
|
-
'is_iterable': <function is_iterable at
|
1393
|
-
'to_str': <function to_str at
|
1394
|
-
'filter_empty': <function filter_empty at
|
1395
|
-
'get_class_method': <function get_class_method at
|
1396
|
-
'get_filesize': <function get_filesize at
|
1397
|
-
'github_pull': <function github_pull at
|
1398
|
-
'github_push': <function github_push at
|
1399
|
-
'github_user': <function github_user at
|
1400
|
-
'iargv': <function iargv at
|
1401
|
-
'idumps_html': <function idumps_html at
|
1402
|
-
'idumps': <function idumps at
|
1403
|
-
'int_to_int': <function int_to_int at
|
1404
|
-
'ienumerate': <function ienumerate at
|
1405
|
-
'ienv': <function ienv at
|
1406
|
-
'iexec': <function iexec at
|
1407
|
-
'ijoin': <function ijoin at
|
1408
|
-
'iloads_html': <function iloads_html at
|
1409
|
-
'iloads': <function iloads at
|
1410
|
-
'int_to_bin': <function int_to_bin at
|
1411
|
-
'int_to_hex': <function int_to_hex at
|
1412
|
-
'int_to_oct': <function int_to_oct at
|
1413
|
-
'is_valid_url': <function is_valid_url at
|
1414
|
-
'iopen': <function iopen at
|
1415
|
-
'iprint': <function iprint at
|
1416
|
-
'ireplace': <function ireplace at
|
1417
|
-
'iscandir': <function iscandir at
|
1418
|
-
'isplit': <function isplit at
|
1419
|
-
'ivars': <function ivars at
|
1420
|
-
'log': <function log at
|
1421
|
-
'password_generator': <function password_generator at
|
1422
|
-
'pip_freeze_without_version': <function pip_freeze_without_version at
|
1423
|
-
'poetry_publish': <function poetry_publish at
|
1424
|
-
'poetry_update_version': <function poetry_update_version at
|
1425
|
-
'print_dir': <function print_dir at
|
1426
|
-
'print_to_last_line': <function print_to_last_line at
|
1427
|
-
'random_bool': <function random_bool at
|
1428
|
-
'restart': <function restart at
|
1429
|
-
'set_timeout': <function set_timeout at
|
1430
|
-
'sets_ordered': <function sets_ordered at
|
1431
|
-
'str_cmp': <function str_cmp at
|
1432
|
-
'text_colorize': <function text_colorize at
|
1401
|
+
'function': {'avg': <function avg at 0x7b11da2700>,
|
1402
|
+
'get_filemtime': <function get_filemtime at 0x7b0be772e0>,
|
1403
|
+
'print_colorize': <function print_colorize at 0x7b0be774c0>,
|
1404
|
+
'print_log': <function print_log at 0x7b0c106b60>,
|
1405
|
+
'console_run': <function console_run at 0x7b0be77380>,
|
1406
|
+
'auto_reload': <function auto_reload at 0x7b0c033ec0>,
|
1407
|
+
'basename': <function basename at 0x7b0be77240>,
|
1408
|
+
'chr_to_int': <function chr_to_int at 0x7b0be77a60>,
|
1409
|
+
'int_to_chr': <function int_to_chr at 0x7b0be77b00>,
|
1410
|
+
'irange': <function irange at 0x7b0be77d80>,
|
1411
|
+
'batchmaker': <function batchmaker at 0x7b0be77740>,
|
1412
|
+
'calculate': <function calculate at 0x7b0be602c0>,
|
1413
|
+
'batch_calculate': <function batch_calculate at 0x7b0be77600>,
|
1414
|
+
'is_empty': <function is_empty at 0x7b0be604a0>,
|
1415
|
+
'exit_if_empty': <function exit_if_empty at 0x7b0be60360>,
|
1416
|
+
'input_char': <function input_char at 0x7b0be60400>,
|
1417
|
+
'get_by_index': <function get_by_index at 0x7b0be60540>,
|
1418
|
+
'choices': <function choices at 0x7b0be60720>,
|
1419
|
+
'chunk_array': <function chunk_array at 0x7b0be607c0>,
|
1420
|
+
'create_folder': <function create_folder at 0x7b0be60860>,
|
1421
|
+
'datetime_from_string': <function datetime_from_string at 0x7b0be60900>,
|
1422
|
+
'datetime_now': <function datetime_now at 0x7b0be609a0>,
|
1423
|
+
'dict_first': <function dict_first at 0x7b0be60a40>,
|
1424
|
+
'dirname': <function dirname at 0x7b0be60ae0>,
|
1425
|
+
'is_iterable': <function is_iterable at 0x7b0be60cc0>,
|
1426
|
+
'to_str': <function to_str at 0x7b0be60d60>,
|
1427
|
+
'filter_empty': <function filter_empty at 0x7b0be60b80>,
|
1428
|
+
'get_class_method': <function get_class_method at 0x7b0be60c20>,
|
1429
|
+
'get_filesize': <function get_filesize at 0x7b0be60ea0>,
|
1430
|
+
'github_pull': <function github_pull at 0x7b0be60f40>,
|
1431
|
+
'github_push': <function github_push at 0x7b0be61120>,
|
1432
|
+
'github_user': <function github_user at 0x7b0be611c0>,
|
1433
|
+
'iargv': <function iargv at 0x7b0be60fe0>,
|
1434
|
+
'idumps_html': <function idumps_html at 0x7b0be61440>,
|
1435
|
+
'idumps': <function idumps at 0x7b0be61300>,
|
1436
|
+
'int_to_int': <function int_to_int at 0x7b0bd31da0>,
|
1437
|
+
'ienumerate': <function ienumerate at 0x7b0be61940>,
|
1438
|
+
'ienv': <function ienv at 0x7b0bd31c60>,
|
1439
|
+
'iexec': <function iexec at 0x7b0bd31e40>,
|
1440
|
+
'ijoin': <function ijoin at 0x7b0bd31f80>,
|
1441
|
+
'iloads_html': <function iloads_html at 0x7b0bd32160>,
|
1442
|
+
'iloads': <function iloads at 0x7b0bd31ee0>,
|
1443
|
+
'int_to_bin': <function int_to_bin at 0x7b0bd320c0>,
|
1444
|
+
'int_to_hex': <function int_to_hex at 0x7b0bd32200>,
|
1445
|
+
'int_to_oct': <function int_to_oct at 0x7b0bd322a0>,
|
1446
|
+
'is_valid_url': <function is_valid_url at 0x7b0bd32480>,
|
1447
|
+
'iopen': <function iopen at 0x7b0bd768e0>,
|
1448
|
+
'iprint': <function iprint at 0x7b0bd323e0>,
|
1449
|
+
'ireplace': <function ireplace at 0x7b0bd327a0>,
|
1450
|
+
'iscandir': <function iscandir at 0x7b07316020>,
|
1451
|
+
'isplit': <function isplit at 0x7b073160c0>,
|
1452
|
+
'ivars': <function ivars at 0x7b07316160>,
|
1453
|
+
'log': <function log at 0x7b07316200>,
|
1454
|
+
'password_generator': <function password_generator at 0x7b073162a0>,
|
1455
|
+
'pip_freeze_without_version': <function pip_freeze_without_version at 0x7b073163e0>,
|
1456
|
+
'poetry_publish': <function poetry_publish at 0x7b07316480>,
|
1457
|
+
'poetry_update_version': <function poetry_update_version at 0x7b073165c0>,
|
1458
|
+
'print_dir': <function print_dir at 0x7b073167a0>,
|
1459
|
+
'print_to_last_line': <function print_to_last_line at 0x7b07316840>,
|
1460
|
+
'random_bool': <function random_bool at 0x7b073168e0>,
|
1461
|
+
'restart': <function restart at 0x7b07316980>,
|
1462
|
+
'set_timeout': <function set_timeout at 0x7b07316a20>,
|
1463
|
+
'sets_ordered': <function sets_ordered at 0x7b07316ac0>,
|
1464
|
+
'str_cmp': <function str_cmp at 0x7b07316b60>,
|
1465
|
+
'text_colorize': <function text_colorize at 0x7b07316c00>},
|
1433
1466
|
'variable': {'LINUX': True,
|
1434
|
-
'PintUreg': <pint.registry.UnitRegistry object at
|
1467
|
+
'PintUreg': <pint.registry.UnitRegistry object at 0x7b0cf21810>,
|
1435
1468
|
'WINDOWS': False},
|
1436
1469
|
'module': {'asyncio': <module 'asyncio' from '/data/data/com.termux/files/usr/lib/python3.11/asyncio/__init__.py'>,
|
1437
1470
|
'colorama': <module 'colorama' from '/data/data/com.termux/files/usr/lib/python3.11/site-packages/colorama/__init__.py'>,
|
@@ -1505,7 +1538,7 @@ print(password_generator())
|
|
1505
1538
|
|
1506
1539
|
Output:
|
1507
1540
|
```py
|
1508
|
-
|
1541
|
+
[y5O\zpL
|
1509
1542
|
```
|
1510
1543
|
|
1511
1544
|
## pip_freeze_without_version
|
@@ -1563,7 +1596,7 @@ Output:
|
|
1563
1596
|
__enter__ : https:/www.google.com
|
1564
1597
|
__fspath__ : https:/www.google.com
|
1565
1598
|
__getstate__ : (None, {'_drv': '', '_root': '', '_parts': ['https:', 'www.google.com'], '_str': 'https:/www.google.com'})
|
1566
|
-
__hash__ : -
|
1599
|
+
__hash__ : -8077742347211631754
|
1567
1600
|
__init__ : None
|
1568
1601
|
__init_subclass__ : None
|
1569
1602
|
__module__ : pathlib
|
@@ -1576,8 +1609,8 @@ Output:
|
|
1576
1609
|
_cached_cparts : ['https:', 'www.google.com']
|
1577
1610
|
_cparts : ['https:', 'www.google.com']
|
1578
1611
|
_drv :
|
1579
|
-
_flavour : <pathlib._PosixFlavour object at
|
1580
|
-
_hash : -
|
1612
|
+
_flavour : <pathlib._PosixFlavour object at 0x7b19515090>
|
1613
|
+
_hash : -8077742347211631754
|
1581
1614
|
_parts : ['https:', 'www.google.com']
|
1582
1615
|
_root :
|
1583
1616
|
_str : https:/www.google.com
|
@@ -1599,7 +1632,7 @@ Output:
|
|
1599
1632
|
is_reserved : False
|
1600
1633
|
is_socket : False
|
1601
1634
|
is_symlink : False
|
1602
|
-
iterdir : <generator object Path.iterdir at
|
1635
|
+
iterdir : <generator object Path.iterdir at 0x7b0727a7a0>
|
1603
1636
|
joinpath : https:/www.google.com
|
1604
1637
|
name : www.google.com
|
1605
1638
|
parent : https:
|
@@ -1673,7 +1706,7 @@ x.cancel()
|
|
1673
1706
|
|
1674
1707
|
Output:
|
1675
1708
|
```py
|
1676
|
-
<Timer(Thread-2, started
|
1709
|
+
<Timer(Thread-2, started 528371137776)>
|
1677
1710
|
menghentikan timeout 7
|
1678
1711
|
```
|
1679
1712
|
|
@@ -1691,7 +1724,7 @@ print(list(sets_ordered(array)))
|
|
1691
1724
|
|
1692
1725
|
Output:
|
1693
1726
|
```py
|
1694
|
-
<generator object sets_ordered at
|
1727
|
+
<generator object sets_ordered at 0x7b07298e10>
|
1695
1728
|
[2, 3, 12, 42, 1, 43, 41, 4, 24, 32]
|
1696
1729
|
```
|
1697
1730
|
|
@@ -1785,7 +1818,7 @@ print(ExampleComparePerformance().compare_performance())
|
|
1785
1818
|
|
1786
1819
|
Output:
|
1787
1820
|
```py
|
1788
|
-
{'a': <generator object ExampleComparePerformance.a.<locals>.<genexpr> at
|
1821
|
+
{'a': <generator object ExampleComparePerformance.a.<locals>.<genexpr> at 0x7b07298930>,
|
1789
1822
|
'b': (0, 1, 2, 3, 4, 5, 6, 7, 8, 9),
|
1790
1823
|
'c': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
|
1791
1824
|
'd': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]}
|