pypipr 1.0.121__tar.gz → 1.0.122__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.121 → pypipr-1.0.122}/PKG-INFO +176 -214
- {pypipr-1.0.121 → pypipr-1.0.122}/pypipr/RunParallel.py +0 -51
- {pypipr-1.0.121 → pypipr-1.0.122}/pypipr/choices.py +9 -14
- {pypipr-1.0.121 → pypipr-1.0.122}/pyproject.toml +1 -1
- {pypipr-1.0.121 → pypipr-1.0.122}/readme.md +175 -213
- {pypipr-1.0.121 → pypipr-1.0.122}/pypipr/APIMixinView.py +0 -0
- {pypipr-1.0.121 → pypipr-1.0.122}/pypipr/ComparePerformance.py +0 -0
- {pypipr-1.0.121 → pypipr-1.0.122}/pypipr/LINUX.py +0 -0
- {pypipr-1.0.121 → pypipr-1.0.122}/pypipr/PintUreg.py +0 -0
- {pypipr-1.0.121 → pypipr-1.0.122}/pypipr/PintUregQuantity.py +0 -0
- {pypipr-1.0.121 → pypipr-1.0.122}/pypipr/WINDOWS.py +0 -0
- {pypipr-1.0.121 → pypipr-1.0.122}/pypipr/__init__.py +0 -0
- {pypipr-1.0.121 → pypipr-1.0.122}/pypipr/__terminal__.py +0 -0
- {pypipr-1.0.121 → pypipr-1.0.122}/pypipr/auto_reload.py +0 -0
- {pypipr-1.0.121 → pypipr-1.0.122}/pypipr/avg.py +0 -0
- {pypipr-1.0.121 → pypipr-1.0.122}/pypipr/basename.py +0 -0
- {pypipr-1.0.121 → pypipr-1.0.122}/pypipr/batch_calculate.py +0 -0
- {pypipr-1.0.121 → pypipr-1.0.122}/pypipr/batchmaker.py +0 -0
- {pypipr-1.0.121 → pypipr-1.0.122}/pypipr/bin_to_int.py +0 -0
- {pypipr-1.0.121 → pypipr-1.0.122}/pypipr/calculate.py +0 -0
- {pypipr-1.0.121 → pypipr-1.0.122}/pypipr/choices.py.bak +0 -0
- {pypipr-1.0.121 → pypipr-1.0.122}/pypipr/chr_to_int.py +0 -0
- {pypipr-1.0.121 → pypipr-1.0.122}/pypipr/chunk_array.py +0 -0
- {pypipr-1.0.121 → pypipr-1.0.122}/pypipr/console_run.py +0 -0
- {pypipr-1.0.121 → pypipr-1.0.122}/pypipr/create_folder.py +0 -0
- {pypipr-1.0.121 → pypipr-1.0.122}/pypipr/datetime_from_string.py +0 -0
- {pypipr-1.0.121 → pypipr-1.0.122}/pypipr/datetime_now.py +0 -0
- {pypipr-1.0.121 → pypipr-1.0.122}/pypipr/dict_first.py +0 -0
- {pypipr-1.0.121 → pypipr-1.0.122}/pypipr/dirname.py +0 -0
- {pypipr-1.0.121 → pypipr-1.0.122}/pypipr/exit_if_empty.py +0 -0
- {pypipr-1.0.121 → pypipr-1.0.122}/pypipr/filter_empty.py +0 -0
- {pypipr-1.0.121 → pypipr-1.0.122}/pypipr/get_by_index.py +0 -0
- {pypipr-1.0.121 → pypipr-1.0.122}/pypipr/get_class_method.py +0 -0
- {pypipr-1.0.121 → pypipr-1.0.122}/pypipr/get_filemtime.py +0 -0
- {pypipr-1.0.121 → pypipr-1.0.122}/pypipr/get_filesize.py +0 -0
- {pypipr-1.0.121 → pypipr-1.0.122}/pypipr/github_pull.py +0 -0
- {pypipr-1.0.121 → pypipr-1.0.122}/pypipr/github_push.py +0 -0
- {pypipr-1.0.121 → pypipr-1.0.122}/pypipr/github_user.py +0 -0
- {pypipr-1.0.121 → pypipr-1.0.122}/pypipr/hex_to_int.py +0 -0
- {pypipr-1.0.121 → pypipr-1.0.122}/pypipr/iargv.py +0 -0
- {pypipr-1.0.121 → pypipr-1.0.122}/pypipr/idumps.py +0 -0
- {pypipr-1.0.121 → pypipr-1.0.122}/pypipr/idumps_html.py +0 -0
- {pypipr-1.0.121 → pypipr-1.0.122}/pypipr/ienumerate.py +0 -0
- {pypipr-1.0.121 → pypipr-1.0.122}/pypipr/ienv.py +0 -0
- {pypipr-1.0.121 → pypipr-1.0.122}/pypipr/iexec.py +0 -0
- {pypipr-1.0.121 → pypipr-1.0.122}/pypipr/ijoin.py +0 -0
- {pypipr-1.0.121 → pypipr-1.0.122}/pypipr/iloads.py +0 -0
- {pypipr-1.0.121 → pypipr-1.0.122}/pypipr/iloads_html.py +0 -0
- {pypipr-1.0.121 → pypipr-1.0.122}/pypipr/input_char.py +0 -0
- {pypipr-1.0.121 → pypipr-1.0.122}/pypipr/int_to_bin.py +0 -0
- {pypipr-1.0.121 → pypipr-1.0.122}/pypipr/int_to_chr.py +0 -0
- {pypipr-1.0.121 → pypipr-1.0.122}/pypipr/int_to_hex.py +0 -0
- {pypipr-1.0.121 → pypipr-1.0.122}/pypipr/int_to_int.py +0 -0
- {pypipr-1.0.121 → pypipr-1.0.122}/pypipr/int_to_oct.py +0 -0
- {pypipr-1.0.121 → pypipr-1.0.122}/pypipr/iopen.py +0 -0
- {pypipr-1.0.121 → pypipr-1.0.122}/pypipr/iprint.py +0 -0
- {pypipr-1.0.121 → pypipr-1.0.122}/pypipr/irange.py +0 -0
- {pypipr-1.0.121 → pypipr-1.0.122}/pypipr/ireplace.py +0 -0
- {pypipr-1.0.121 → pypipr-1.0.122}/pypipr/is_empty.py +0 -0
- {pypipr-1.0.121 → pypipr-1.0.122}/pypipr/is_iterable.py +0 -0
- {pypipr-1.0.121 → pypipr-1.0.122}/pypipr/is_valid_url.py +0 -0
- {pypipr-1.0.121 → pypipr-1.0.122}/pypipr/iscandir.py +0 -0
- {pypipr-1.0.121 → pypipr-1.0.122}/pypipr/isplit.py +0 -0
- {pypipr-1.0.121 → pypipr-1.0.122}/pypipr/ivars.py +0 -0
- {pypipr-1.0.121 → pypipr-1.0.122}/pypipr/log.py +0 -0
- {pypipr-1.0.121 → pypipr-1.0.122}/pypipr/oct_to_int.py +0 -0
- {pypipr-1.0.121 → pypipr-1.0.122}/pypipr/password_generator.py +0 -0
- {pypipr-1.0.121 → pypipr-1.0.122}/pypipr/pip_freeze_without_version.py +0 -0
- {pypipr-1.0.121 → pypipr-1.0.122}/pypipr/poetry_publish.py +0 -0
- {pypipr-1.0.121 → pypipr-1.0.122}/pypipr/poetry_update_version.py +0 -0
- {pypipr-1.0.121 → pypipr-1.0.122}/pypipr/print_colorize.py +0 -0
- {pypipr-1.0.121 → pypipr-1.0.122}/pypipr/print_dir.py +0 -0
- {pypipr-1.0.121 → pypipr-1.0.122}/pypipr/print_log.py +0 -0
- {pypipr-1.0.121 → pypipr-1.0.122}/pypipr/print_to_last_line.py +0 -0
- {pypipr-1.0.121 → pypipr-1.0.122}/pypipr/random_bool.py +0 -0
- {pypipr-1.0.121 → pypipr-1.0.122}/pypipr/restart.py +0 -0
- {pypipr-1.0.121 → pypipr-1.0.122}/pypipr/set_timeout.py +0 -0
- {pypipr-1.0.121 → pypipr-1.0.122}/pypipr/sets_ordered.py +0 -0
- {pypipr-1.0.121 → pypipr-1.0.122}/pypipr/str_cmp.py +0 -0
- {pypipr-1.0.121 → pypipr-1.0.122}/pypipr/text_colorize.py +0 -0
- {pypipr-1.0.121 → pypipr-1.0.122}/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.122
|
4
4
|
Summary: The Python Package Index Project
|
5
5
|
Author: ufiapjj
|
6
6
|
Author-email: ufiapjj@gmail.com
|
@@ -248,8 +248,8 @@ iprint(irange("z", "a", 4))
|
|
248
248
|
|
249
249
|
Output:
|
250
250
|
```py
|
251
|
-
<generator object int_range at
|
252
|
-
<generator object int_range at
|
251
|
+
<generator object int_range at 0x74bf0c4440>
|
252
|
+
<generator object int_range at 0x74bf0c4440>
|
253
253
|
[13, 12, 11, 10, 9, 8, 7, 6]
|
254
254
|
[2, 5, 8]
|
255
255
|
[2, 5, 8]
|
@@ -281,7 +281,7 @@ print(list(batchmaker(s)))
|
|
281
281
|
|
282
282
|
Output:
|
283
283
|
```py
|
284
|
-
<generator object batchmaker at
|
284
|
+
<generator object batchmaker at 0x74bf0b8280>
|
285
285
|
['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.']
|
286
286
|
```
|
287
287
|
|
@@ -335,7 +335,7 @@ print(list(batch_calculate("{1 10} m ** {1 3}")))
|
|
335
335
|
|
336
336
|
Output:
|
337
337
|
```py
|
338
|
-
<generator object batch_calculate at
|
338
|
+
<generator object batch_calculate at 0x74bf037010>
|
339
339
|
[('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')>)]
|
340
340
|
```
|
341
341
|
|
@@ -432,21 +432,16 @@ None
|
|
432
432
|
Memudahkan dalam membuat pilihan untuk user dalam tampilan console
|
433
433
|
|
434
434
|
```py
|
435
|
-
|
436
|
-
|
437
|
-
|
438
|
-
|
439
|
-
|
440
|
-
|
441
|
-
|
442
|
-
|
443
|
-
prompt="Pilih Mobil : ",
|
444
|
-
)
|
445
|
-
c = choices(
|
446
|
-
iscandir(recursive=False),
|
447
|
-
title="List File dan Folder",
|
448
|
-
prompt="Pilih File atau Folder : ",
|
435
|
+
var = {
|
436
|
+
"Pertama" : "Pilihan Pertama",
|
437
|
+
"Kedua" : "Pilihan Kedua",
|
438
|
+
"Ketiga" : "Pilihan Ketiga",
|
439
|
+
}
|
440
|
+
res = choices(
|
441
|
+
var,
|
442
|
+
prompt="Pilih dari dictionary : "
|
449
443
|
)
|
444
|
+
print(res)
|
450
445
|
```
|
451
446
|
|
452
447
|
## chunk_array
|
@@ -463,7 +458,7 @@ print(list(chunk_array(arr, 5)))
|
|
463
458
|
|
464
459
|
Output:
|
465
460
|
```py
|
466
|
-
<generator object chunk_array at
|
461
|
+
<generator object chunk_array at 0x74bf0c4440>
|
467
462
|
[[2, 3, 12, 3, 3], [42, 42, 1, 43, 2], [42, 41, 4, 24, 32], [42, 3, 12, 32, 42], [42]]
|
468
463
|
```
|
469
464
|
|
@@ -514,9 +509,9 @@ print(datetime_now("Etc/GMT+7"))
|
|
514
509
|
|
515
510
|
Output:
|
516
511
|
```py
|
517
|
-
2024-05-
|
518
|
-
2024-05-
|
519
|
-
2024-04
|
512
|
+
2024-05-05 13:05:37.084252+07:00
|
513
|
+
2024-05-05 06:05:37.086374+00:00
|
514
|
+
2024-05-04 23:05:37.091922-07:00
|
520
515
|
```
|
521
516
|
|
522
517
|
## dict_first
|
@@ -622,7 +617,7 @@ iprint(filter_empty(var))
|
|
622
617
|
|
623
618
|
Output:
|
624
619
|
```py
|
625
|
-
<generator object filter_empty at
|
620
|
+
<generator object filter_empty at 0x74bf0355d0>
|
626
621
|
[1, '0', True, {}, ['eee']]
|
627
622
|
```
|
628
623
|
|
@@ -652,8 +647,8 @@ print(list(get_class_method(ExampleGetClassMethod)))
|
|
652
647
|
|
653
648
|
Output:
|
654
649
|
```py
|
655
|
-
<generator object get_class_method at
|
656
|
-
[<function ExampleGetClassMethod.a at
|
650
|
+
<generator object get_class_method at 0x74bf0372e0>
|
651
|
+
[<function ExampleGetClassMethod.a at 0x74bf0c8e00>, <function ExampleGetClassMethod.b at 0x74bf0c9120>, <function ExampleGetClassMethod.c at 0x74bf0c8fe0>, <function ExampleGetClassMethod.d at 0x74bf0c91c0>]
|
657
652
|
```
|
658
653
|
|
659
654
|
## get_filesize
|
@@ -923,7 +918,7 @@ Output:
|
|
923
918
|
|
924
919
|
## ienumerate
|
925
920
|
|
926
|
-
`ienumerate(iterator, start=0, key=<function int_to_int at
|
921
|
+
`ienumerate(iterator, start=0, key=<function int_to_int at 0x74c3b8d9e0>)`
|
927
922
|
|
928
923
|
meningkatkan fungsi enumerate() pada python
|
929
924
|
untuk key menggunakan huruf dan basis angka lainnya.
|
@@ -936,7 +931,7 @@ iprint(ienumerate(it, key=int_to_chr))
|
|
936
931
|
|
937
932
|
Output:
|
938
933
|
```py
|
939
|
-
<generator object ienumerate at
|
934
|
+
<generator object ienumerate at 0x74bf0373d0>
|
940
935
|
[('a', 'ini'), ('b', 'contoh'), ('c', 'enumerator')]
|
941
936
|
```
|
942
937
|
|
@@ -1003,7 +998,7 @@ print(ijoin(10, ' '))
|
|
1003
998
|
|
1004
999
|
Output:
|
1005
1000
|
```py
|
1006
|
-
|
1001
|
+
weq, asd, dfs, qweqw
|
1007
1002
|
,ini,path,seperti,url,
|
1008
1003
|
ini,path,seperti,url
|
1009
1004
|
<li>satu</li>
|
@@ -1048,95 +1043,62 @@ pprint.pprint(iloads_html(iopen("https://harga-emas.org/1-gram/")), depth=10)
|
|
1048
1043
|
Output:
|
1049
1044
|
```py
|
1050
1045
|
(['Home', 'Emas 1 Gram', 'History', 'Trend', 'Perak 1 Gram', 'Pluang'],
|
1051
|
-
[['Harga Emas Hari Ini -
|
1052
|
-
['Spot Emas USD
|
1053
|
-
'Kurs IDR16.
|
1054
|
-
'Emas IDR
|
1055
|
-
['LM Antam (Jual)
|
1056
|
-
'LM Antam (Beli)↓1.204.000 (-17.000) / gr']],
|
1046
|
+
[['Harga Emas Hari Ini - Minggu, 05 Mei 2024'],
|
1047
|
+
['Spot Emas USD↑2.302,57 (+2,84) / oz',
|
1048
|
+
'Kurs IDR16.202,00 / USD',
|
1049
|
+
'Emas IDR↑1.199.423 (+1.479) / gr'],
|
1050
|
+
['LM Antam (Jual)1.313.000 / gr', 'LM Antam (Beli)1.206.000 / gr']],
|
1057
1051
|
[['Harga Emas Hari Ini'],
|
1058
1052
|
['Gram', 'Gedung Antam Jakarta', 'Pegadaian'],
|
1059
1053
|
['per Gram (Rp)', 'per Batangan (Rp)', 'per Gram (Rp)', 'per Batangan (Rp)'],
|
1060
1054
|
['1000',
|
1061
|
-
'1.
|
1062
|
-
'1.
|
1055
|
+
'1.254',
|
1056
|
+
'1.253.600',
|
1063
1057
|
'1.043.040 (+8.200)',
|
1064
1058
|
'1.043.040.000 (+8.200.000)'],
|
1065
1059
|
['500',
|
1066
|
-
'2.
|
1067
|
-
'1.
|
1060
|
+
'2.507',
|
1061
|
+
'1.253.640',
|
1068
1062
|
'1.043.082 (+8.200)',
|
1069
1063
|
'521.541.000 (+4.100.000)'],
|
1070
1064
|
['250',
|
1071
|
-
'5.
|
1072
|
-
'1.
|
1065
|
+
'5.016',
|
1066
|
+
'1.254.060',
|
1073
1067
|
'1.043.512 (+8.200)',
|
1074
1068
|
'260.878.000 (+2.050.000)'],
|
1075
1069
|
['100',
|
1076
|
-
'12.
|
1077
|
-
'1.
|
1070
|
+
'12.551',
|
1071
|
+
'1.255.120',
|
1078
1072
|
'1.044.600 (+8.200)',
|
1079
1073
|
'104.460.000 (+820.000)'],
|
1080
|
-
['50',
|
1081
|
-
|
1082
|
-
|
1083
|
-
|
1084
|
-
|
1085
|
-
['
|
1086
|
-
|
1087
|
-
|
1088
|
-
|
1089
|
-
'
|
1090
|
-
['10',
|
1091
|
-
'125.950 (-1.500)',
|
1092
|
-
'1.259.500 (-15.000)',
|
1093
|
-
'1.052.200 (+8.200)',
|
1094
|
-
'10.522.000 (+82.000)'],
|
1095
|
-
['5',
|
1096
|
-
'253.000 (-3.000)',
|
1097
|
-
'1.265.000 (-15.000)',
|
1098
|
-
'1.057.800 (+8.200)',
|
1099
|
-
'5.289.000 (+41.000)'],
|
1100
|
-
['3',
|
1101
|
-
'423.889 (-5.000)',
|
1102
|
-
'1.271.667 (-15.000)',
|
1103
|
-
'1.064.667 (+8.000)',
|
1104
|
-
'3.194.000 (+24.000)'],
|
1105
|
-
['2',
|
1106
|
-
'640.000 (-7.500)',
|
1107
|
-
'1.280.000 (-15.000)',
|
1108
|
-
'1.073.500 (+8.500)',
|
1109
|
-
'2.147.000 (+17.000)'],
|
1110
|
-
['1',
|
1111
|
-
'1.310.000 (-15.000)',
|
1112
|
-
'1.310.000 (-15.000)',
|
1113
|
-
'1.104.000 (+8.000)',
|
1114
|
-
'1.104.000 (+8.000)'],
|
1115
|
-
['0.5',
|
1116
|
-
'2.820.000 (-30.000)',
|
1117
|
-
'1.410.000 (-15.000)',
|
1118
|
-
'1.208.000 (+8.000)',
|
1119
|
-
'604.000 (+4.000)'],
|
1120
|
-
['Update harga LM Antam :01 Mei 2024, pukul 08:20Harga pembelian kembali '
|
1121
|
-
':Rp. 1.204.000/gram (-17.000)',
|
1074
|
+
['50', '25.118', '1.255.900', '1.045.400 (+8.200)', '52.270.000 (+410.000)'],
|
1075
|
+
['25', '50.299', '1.257.480', '1.047.040 (+8.200)', '26.176.000 (+205.000)'],
|
1076
|
+
['10', '126.250', '1.262.500', '1.052.200 (+8.200)', '10.522.000 (+82.000)'],
|
1077
|
+
['5', '253.600', '1.268.000', '1.057.800 (+8.200)', '5.289.000 (+41.000)'],
|
1078
|
+
['3', '424.889', '1.274.667', '1.064.667 (+8.000)', '3.194.000 (+24.000)'],
|
1079
|
+
['2', '641.500', '1.283.000', '1.073.500 (+8.500)', '2.147.000 (+17.000)'],
|
1080
|
+
['1', '1.313.000', '1.313.000', '1.104.000 (+8.000)', '1.104.000 (+8.000)'],
|
1081
|
+
['0.5', '2.826.000', '1.413.000', '1.208.000 (+8.000)', '604.000 (+4.000)'],
|
1082
|
+
['Update harga LM Antam :05 Mei 2024, pukul 06:22Harga pembelian kembali '
|
1083
|
+
':Rp. 1.206.000/gram',
|
1122
1084
|
'Update harga LM Pegadaian :31 Agustus 2023']],
|
1123
|
-
[['Spot Harga Emas Hari Ini (Market
|
1085
|
+
[['Spot Harga Emas Hari Ini (Market Close)'],
|
1124
1086
|
['Satuan', 'USD', 'Kurs\xa0Dollar', 'IDR'],
|
1125
|
-
['Ounce\xa0(oz)', '2.
|
1126
|
-
['Gram\xa0(gr)', '
|
1127
|
-
['Kilogram\xa0(kg)', '
|
1128
|
-
['Update harga emas :
|
1129
|
-
'
|
1087
|
+
['Ounce\xa0(oz)', '2.302,57 (+2,84)', '16.202,00', '37.306.239'],
|
1088
|
+
['Gram\xa0(gr)', '74,03', '16.202,00', '1.199.423 (+1.479)'],
|
1089
|
+
['Kilogram\xa0(kg)', '74.029,34', '16.202,00', '1.199.423.441'],
|
1090
|
+
['Update harga emas :05 Mei 2024, pukul 13:04Update kurs :04 Mei 2024, pukul '
|
1091
|
+
'13:10']],
|
1130
1092
|
[['Gram', 'UBS Gold 99.99%'],
|
1131
1093
|
['Jual', 'Beli'],
|
1132
1094
|
['/ Batang', '/ Gram', '/ Batang', '/ Gram'],
|
1133
|
-
['100', '126.
|
1134
|
-
['50', '
|
1135
|
-
['25', '31.
|
1136
|
-
['10', '12.
|
1137
|
-
['5', '6.
|
1138
|
-
['1', '1.
|
1139
|
-
['', 'Update :
|
1095
|
+
['100', '126.000.000', '1.260.000', '123.385.000', '1.233.850'],
|
1096
|
+
['50', '62.950.000', '1.259.000', '61.745.000', '1.234.900'],
|
1097
|
+
['25', '31.500.000', '1.260.000', '30.975.000', '1.239.000'],
|
1098
|
+
['10', '12.650.000', '1.265.000', '12.440.000', '1.244.000'],
|
1099
|
+
['5', '6.350.000', '1.270.000', '6.272.000', '1.254.400'],
|
1100
|
+
['1', '1.315.000', '1.315.000', '1.287.000', '1.287.000'],
|
1101
|
+
['', 'Update :03 Mei 2024, pukul 11:57']],
|
1140
1102
|
[['Konversi Satuan'],
|
1141
1103
|
['Satuan', 'Ounce (oz)', 'Gram (gr)', 'Kilogram (kg)'],
|
1142
1104
|
['Ounce\xa0(oz)', '1', '31,1034767696', '0,0311034768'],
|
@@ -1146,37 +1108,37 @@ Output:
|
|
1146
1108
|
['Waktu', 'Emas'],
|
1147
1109
|
['Unit', 'USD', 'IDR'],
|
1148
1110
|
['Angka', '+/-', 'Angka', '+/-'],
|
1149
|
-
['Hari Ini', 'Kurs', '', '', '16.
|
1150
|
-
['oz', '2.
|
1151
|
-
['gr', '73,
|
1152
|
-
['30 Hari', 'Kurs', '', '', '15.
|
1153
|
-
['oz', '2.
|
1154
|
-
['gr', '
|
1155
|
-
['2 Bulan', 'Kurs', '', '', '15.
|
1156
|
-
['oz', '2.
|
1157
|
-
['gr', '
|
1158
|
-
['6 Bulan', 'Kurs', '', '', '15.
|
1159
|
-
['oz', '1.
|
1160
|
-
['gr', '
|
1161
|
-
['1 Tahun', 'Kurs', '', '', '15.731', '+
|
1162
|
-
['oz', '1.823,86', '+
|
1163
|
-
['gr', '58,64', '+
|
1164
|
-
['2 Tahun', 'Kurs', '', '', '14.418', '+1.
|
1165
|
-
['oz', '1.
|
1166
|
-
['gr', '60,
|
1167
|
-
['3 Tahun', 'Kurs', '', '', '14.
|
1168
|
-
['oz', '1.
|
1169
|
-
['gr', '
|
1170
|
-
['5 Tahun', 'Kurs', '', '', '14.
|
1171
|
-
['oz', '1.
|
1172
|
-
['gr', '41,
|
1111
|
+
['Hari Ini', 'Kurs', '', '', '16.202', '%'],
|
1112
|
+
['oz', '2.299,73', '+2,84+0,12%', '37.260.225', '+46.014+0,12%'],
|
1113
|
+
['gr', '73,94', '+0,09+0,12%', '1.197.944', '+1.479+0,12%'],
|
1114
|
+
['30 Hari', 'Kurs', '', '', '15.907', '+295+1,85%'],
|
1115
|
+
['oz', '2.327,69', '-25,12-1,08%', '37.026.565', '+279.674+0,76%'],
|
1116
|
+
['gr', '74,84', '-0,81-1,08%', '1.190.432', '+8.992+0,76%'],
|
1117
|
+
['2 Bulan', 'Kurs', '', '', '15.756', '+446+2,83%'],
|
1118
|
+
['oz', '2.146,97', '+155,60+7,25%', '33.827.659', '+3.478.580+10,28%'],
|
1119
|
+
['gr', '69,03', '+5,00+7,25', '1.087.585', '+111.839+10,28%'],
|
1120
|
+
['6 Bulan', 'Kurs', '', '', '15.550', '+652+4,19%'],
|
1121
|
+
['oz', '1.964,64', '+337,93+17,20%', '30.550.152', '+6.756.087+22,11%'],
|
1122
|
+
['gr', '63,16', '+10,86+17,20%', '982.210', '+217.213+22,11%'],
|
1123
|
+
['1 Tahun', 'Kurs', '', '', '15.731', '+471+2,99%'],
|
1124
|
+
['oz', '1.823,86', '+478,71+26,25%', '28.691.142', '+8.615.097+30,03%'],
|
1125
|
+
['gr', '58,64', '+15,39+26,25%', '922.442', '+276.982+30,03%'],
|
1126
|
+
['2 Tahun', 'Kurs', '', '', '14.418', '+1.784+12,37%'],
|
1127
|
+
['oz', '1.888,48', '+414,09+21,93%', '27.228.105', '+10.078.135+37,01%'],
|
1128
|
+
['gr', '60,72', '+13,31+21,93%', '875.404', '+324.020+37,01%'],
|
1129
|
+
['3 Tahun', 'Kurs', '', '', '14.439', '+1.763+12,21%'],
|
1130
|
+
['oz', '1.815,64', '+486,93+26,82%', '26.216.044', '+11.090.195+42,30%'],
|
1131
|
+
['gr', '58,37', '+15,66+26,82%', '842.865', '+356.558+42,30%'],
|
1132
|
+
['5 Tahun', 'Kurs', '', '', '14.309', '+1.893+13,23%'],
|
1133
|
+
['oz', '1.284,29', '+1.018,28+79,29%', '18.376.906', '+18.929.334+103,01%'],
|
1134
|
+
['gr', '41,29', '+32,74+79,29%', '590.831', '+608.592+103,01%']])
|
1173
1135
|
(['Home', 'Emas 1 Gram', 'History', 'Trend', 'Perak 1 Gram', 'Pluang'],
|
1174
1136
|
[[''],
|
1175
1137
|
['Emas 24 KaratHarga Emas 1 Gram', ''],
|
1176
|
-
['USD', '
|
1177
|
-
['KURS', '
|
1178
|
-
['IDR', '1.
|
1179
|
-
['
|
1138
|
+
['USD', '74,03↓', '%'],
|
1139
|
+
['KURS', '15.968,70↓', '%'],
|
1140
|
+
['IDR', '1.182.152,40↓', '%'],
|
1141
|
+
['Minggu, 05 Mei 2024 13:05']],
|
1180
1142
|
[[''],
|
1181
1143
|
['Emas 1 Gram (IDR)Emas 1 Gram (USD)Kurs USD-IDR',
|
1182
1144
|
'Hari Ini',
|
@@ -1187,19 +1149,19 @@ Output:
|
|
1187
1149
|
'']],
|
1188
1150
|
[['Pergerakkan Harga Emas 1 Gram'],
|
1189
1151
|
['', 'Penutupan Kemarin', 'Pergerakkan Hari Ini', 'Rata-rata'],
|
1190
|
-
['USD', '
|
1191
|
-
['KURS', '
|
1192
|
-
['IDR', '1.
|
1152
|
+
['USD', '74,03', '74,03 - 74,03', '74,03'],
|
1153
|
+
['KURS', '15.968,70', '15.968,70 - 15.968,70', '15.968,70'],
|
1154
|
+
['IDR', '1.182.152,40', '1.182.152,40 - 1.182.152,40', '1.182.152,40'],
|
1193
1155
|
[''],
|
1194
1156
|
['', 'Awal Tahun', 'Pergerakkan YTD', '+/- YTD'],
|
1195
|
-
['USD', '66,32', '64,07 - 77,14', '+7,
|
1196
|
-
['KURS', '15.390,10', '15.390,00 - 16.307,80', '+
|
1197
|
-
['IDR', '1.020.729,53', '997.660,12 - 1.256.829,06', '+
|
1157
|
+
['USD', '66,32', '64,07 - 77,14', '+7,71 (11,63%)'],
|
1158
|
+
['KURS', '15.390,10', '15.390,00 - 16.307,80', '+578,60 (3,76%)'],
|
1159
|
+
['IDR', '1.020.729,53', '997.660,12 - 1.256.829,06', '+161.422,87 (15,81%)'],
|
1198
1160
|
[''],
|
1199
1161
|
['', 'Tahun Lalu / 52 Minggu', 'Pergerakkan 52 Minggu', '+/- 52 Minggu'],
|
1200
|
-
['USD', '
|
1201
|
-
['KURS', '14.
|
1202
|
-
['IDR', '
|
1162
|
+
['USD', '65,97', '58,43 - 77,14', '+8,06 (12,22%)'],
|
1163
|
+
['KURS', '14.716,80', '14.669,40 - 16.307,80', '+1.251,90 (8,51%)'],
|
1164
|
+
['IDR', '970.916,33', '912.925,68 - 1.256.829,06', '+211.236,07 (21,76%)']])
|
1203
1165
|
```
|
1204
1166
|
|
1205
1167
|
## iloads
|
@@ -1329,7 +1291,7 @@ Output:
|
|
1329
1291
|
```py
|
1330
1292
|
8
|
1331
1293
|
['mana', 'aja']
|
1332
|
-
[<Element a at
|
1294
|
+
[<Element a at 0x74bf0cdd10>, <Element a at 0x74bf108fa0>, <Element a at 0x74bf109040>, <Element a at 0x74bf109090>, <Element a at 0x74bf1090e0>, <Element a at 0x74bf109130>, <Element a at 0x74bf109180>, <Element a at 0x74bf1091d0>, <Element a at 0x74bf109220>, <Element a at 0x74bf109270>, <Element a at 0x74bf1092c0>, <Element a at 0x74bf109310>, <Element a at 0x74bf109360>, <Element a at 0x74bf1093b0>, <Element a at 0x74bf109400>, <Element a at 0x74bf109450>, <Element a at 0x74bf1094a0>, <Element a at 0x74bf1094f0>]
|
1333
1295
|
False
|
1334
1296
|
```
|
1335
1297
|
|
@@ -1391,7 +1353,7 @@ print(list(iscandir("./", recursive=False, scan_file=False)))
|
|
1391
1353
|
|
1392
1354
|
Output:
|
1393
1355
|
```py
|
1394
|
-
<generator object iscandir at
|
1356
|
+
<generator object iscandir at 0x74bf0c4740>
|
1395
1357
|
[PosixPath('.git'), PosixPath('.vscode'), PosixPath('pypipr'), PosixPath('__pycache__'), PosixPath('dist')]
|
1396
1358
|
```
|
1397
1359
|
|
@@ -1428,76 +1390,76 @@ Output:
|
|
1428
1390
|
'ComparePerformance': <class 'pypipr.ComparePerformance.ComparePerformance'>,
|
1429
1391
|
'PintUregQuantity': <class 'pint.Quantity'>,
|
1430
1392
|
'RunParallel': <class 'pypipr.RunParallel.RunParallel'>},
|
1431
|
-
'function': {'avg': <function avg at
|
1432
|
-
'get_filemtime': <function get_filemtime at
|
1433
|
-
'print_colorize': <function print_colorize at
|
1434
|
-
'print_log': <function print_log at
|
1435
|
-
'console_run': <function console_run at
|
1436
|
-
'auto_reload': <function auto_reload at
|
1437
|
-
'basename': <function basename at
|
1438
|
-
'chr_to_int': <function chr_to_int at
|
1439
|
-
'int_to_chr': <function int_to_chr at
|
1440
|
-
'irange': <function irange at
|
1441
|
-
'batchmaker': <function batchmaker at
|
1442
|
-
'calculate': <function calculate at
|
1443
|
-
'batch_calculate': <function batch_calculate at
|
1444
|
-
'bin_to_int': <function bin_to_int at
|
1445
|
-
'is_empty': <function is_empty at
|
1446
|
-
'exit_if_empty': <function exit_if_empty at
|
1447
|
-
'input_char': <function input_char at
|
1448
|
-
'get_by_index': <function get_by_index at
|
1449
|
-
'choices': <function choices at
|
1450
|
-
'chunk_array': <function chunk_array at
|
1451
|
-
'create_folder': <function create_folder at
|
1452
|
-
'datetime_from_string': <function datetime_from_string at
|
1453
|
-
'datetime_now': <function datetime_now at
|
1454
|
-
'dict_first': <function dict_first at
|
1455
|
-
'dirname': <function dirname at
|
1456
|
-
'is_iterable': <function is_iterable at
|
1457
|
-
'to_str': <function to_str at
|
1458
|
-
'filter_empty': <function filter_empty at
|
1459
|
-
'get_class_method': <function get_class_method at
|
1460
|
-
'get_filesize': <function get_filesize at
|
1461
|
-
'github_pull': <function github_pull at
|
1462
|
-
'github_push': <function github_push at
|
1463
|
-
'github_user': <function github_user at
|
1464
|
-
'hex_to_int': <function hex_to_int at
|
1465
|
-
'iargv': <function iargv at
|
1466
|
-
'idumps_html': <function idumps_html at
|
1467
|
-
'idumps': <function idumps at
|
1468
|
-
'int_to_int': <function int_to_int at
|
1469
|
-
'ienumerate': <function ienumerate at
|
1470
|
-
'ienv': <function ienv at
|
1471
|
-
'iexec': <function iexec at
|
1472
|
-
'ijoin': <function ijoin at
|
1473
|
-
'iloads_html': <function iloads_html at
|
1474
|
-
'iloads': <function iloads at
|
1475
|
-
'int_to_bin': <function int_to_bin at
|
1476
|
-
'int_to_hex': <function int_to_hex at
|
1477
|
-
'int_to_oct': <function int_to_oct at
|
1478
|
-
'is_valid_url': <function is_valid_url at
|
1479
|
-
'iopen': <function iopen at
|
1480
|
-
'iprint': <function iprint at
|
1481
|
-
'ireplace': <function ireplace at
|
1482
|
-
'iscandir': <function iscandir at
|
1483
|
-
'isplit': <function isplit at
|
1484
|
-
'ivars': <function ivars at
|
1485
|
-
'log': <function log at
|
1486
|
-
'oct_to_int': <function oct_to_int at
|
1487
|
-
'password_generator': <function password_generator at
|
1488
|
-
'pip_freeze_without_version': <function pip_freeze_without_version at
|
1489
|
-
'poetry_publish': <function poetry_publish at
|
1490
|
-
'poetry_update_version': <function poetry_update_version at
|
1491
|
-
'print_dir': <function print_dir at
|
1492
|
-
'print_to_last_line': <function print_to_last_line at
|
1493
|
-
'random_bool': <function random_bool at
|
1494
|
-
'restart': <function restart at
|
1495
|
-
'set_timeout': <function set_timeout at
|
1496
|
-
'sets_ordered': <function sets_ordered at
|
1497
|
-
'str_cmp': <function str_cmp at
|
1498
|
-
'text_colorize': <function text_colorize at
|
1393
|
+
'function': {'avg': <function avg at 0x74c8aa6700>,
|
1394
|
+
'get_filemtime': <function get_filemtime at 0x74c3abede0>,
|
1395
|
+
'print_colorize': <function print_colorize at 0x74c3abefc0>,
|
1396
|
+
'print_log': <function print_log at 0x74c3d4ab60>,
|
1397
|
+
'console_run': <function console_run at 0x74c3abee80>,
|
1398
|
+
'auto_reload': <function auto_reload at 0x74c3c77ec0>,
|
1399
|
+
'basename': <function basename at 0x74c3abed40>,
|
1400
|
+
'chr_to_int': <function chr_to_int at 0x74c3abf560>,
|
1401
|
+
'int_to_chr': <function int_to_chr at 0x74c3abf600>,
|
1402
|
+
'irange': <function irange at 0x74c3abf880>,
|
1403
|
+
'batchmaker': <function batchmaker at 0x74c3abf240>,
|
1404
|
+
'calculate': <function calculate at 0x74c3abf380>,
|
1405
|
+
'batch_calculate': <function batch_calculate at 0x74c3abf100>,
|
1406
|
+
'bin_to_int': <function bin_to_int at 0x74c3abf1a0>,
|
1407
|
+
'is_empty': <function is_empty at 0x74c3aa8040>,
|
1408
|
+
'exit_if_empty': <function exit_if_empty at 0x74c3abfec0>,
|
1409
|
+
'input_char': <function input_char at 0x74c3abff60>,
|
1410
|
+
'get_by_index': <function get_by_index at 0x74c3aa80e0>,
|
1411
|
+
'choices': <function choices at 0x74c3aa82c0>,
|
1412
|
+
'chunk_array': <function chunk_array at 0x74c3aa8360>,
|
1413
|
+
'create_folder': <function create_folder at 0x74c3aa8400>,
|
1414
|
+
'datetime_from_string': <function datetime_from_string at 0x74c3aa84a0>,
|
1415
|
+
'datetime_now': <function datetime_now at 0x74c3aa8540>,
|
1416
|
+
'dict_first': <function dict_first at 0x74c3aa85e0>,
|
1417
|
+
'dirname': <function dirname at 0x74c3aa8680>,
|
1418
|
+
'is_iterable': <function is_iterable at 0x74c3aa8860>,
|
1419
|
+
'to_str': <function to_str at 0x74c3aa8900>,
|
1420
|
+
'filter_empty': <function filter_empty at 0x74c3aa8720>,
|
1421
|
+
'get_class_method': <function get_class_method at 0x74c3aa87c0>,
|
1422
|
+
'get_filesize': <function get_filesize at 0x74c3aa8a40>,
|
1423
|
+
'github_pull': <function github_pull at 0x74c3aa8ae0>,
|
1424
|
+
'github_push': <function github_push at 0x74c3aa8c20>,
|
1425
|
+
'github_user': <function github_user at 0x74c3aa8cc0>,
|
1426
|
+
'hex_to_int': <function hex_to_int at 0x74c3aa8d60>,
|
1427
|
+
'iargv': <function iargv at 0x74c3aa8e00>,
|
1428
|
+
'idumps_html': <function idumps_html at 0x74c3aa9080>,
|
1429
|
+
'idumps': <function idumps at 0x74c3aa8f40>,
|
1430
|
+
'int_to_int': <function int_to_int at 0x74c3b8d9e0>,
|
1431
|
+
'ienumerate': <function ienumerate at 0x74c3aa9580>,
|
1432
|
+
'ienv': <function ienv at 0x74c3b8d8a0>,
|
1433
|
+
'iexec': <function iexec at 0x74c3b8da80>,
|
1434
|
+
'ijoin': <function ijoin at 0x74c3b8dbc0>,
|
1435
|
+
'iloads_html': <function iloads_html at 0x74c3b8dda0>,
|
1436
|
+
'iloads': <function iloads at 0x74c3b8db20>,
|
1437
|
+
'int_to_bin': <function int_to_bin at 0x74c3b8dd00>,
|
1438
|
+
'int_to_hex': <function int_to_hex at 0x74c3b8de40>,
|
1439
|
+
'int_to_oct': <function int_to_oct at 0x74c3b8dee0>,
|
1440
|
+
'is_valid_url': <function is_valid_url at 0x74c3b8e0c0>,
|
1441
|
+
'iopen': <function iopen at 0x74c39a2520>,
|
1442
|
+
'iprint': <function iprint at 0x74c3b8e020>,
|
1443
|
+
'ireplace': <function ireplace at 0x74c3b8e3e0>,
|
1444
|
+
'iscandir': <function iscandir at 0x74c3a59c60>,
|
1445
|
+
'isplit': <function isplit at 0x74c3a59d00>,
|
1446
|
+
'ivars': <function ivars at 0x74c3a59da0>,
|
1447
|
+
'log': <function log at 0x74c3a59e40>,
|
1448
|
+
'oct_to_int': <function oct_to_int at 0x74c3a59ee0>,
|
1449
|
+
'password_generator': <function password_generator at 0x74c3a59f80>,
|
1450
|
+
'pip_freeze_without_version': <function pip_freeze_without_version at 0x74c3a5a0c0>,
|
1451
|
+
'poetry_publish': <function poetry_publish at 0x74c3a5a160>,
|
1452
|
+
'poetry_update_version': <function poetry_update_version at 0x74c3a5a2a0>,
|
1453
|
+
'print_dir': <function print_dir at 0x74c3a5a480>,
|
1454
|
+
'print_to_last_line': <function print_to_last_line at 0x74c3a5a520>,
|
1455
|
+
'random_bool': <function random_bool at 0x74c3a5a5c0>,
|
1456
|
+
'restart': <function restart at 0x74c3a5a660>,
|
1457
|
+
'set_timeout': <function set_timeout at 0x74c3a5a700>,
|
1458
|
+
'sets_ordered': <function sets_ordered at 0x74c3a5a7a0>,
|
1459
|
+
'str_cmp': <function str_cmp at 0x74c3a5a840>,
|
1460
|
+
'text_colorize': <function text_colorize at 0x74c3a5a8e0>},
|
1499
1461
|
'variable': {'LINUX': True,
|
1500
|
-
'PintUreg': <pint.registry.UnitRegistry object at
|
1462
|
+
'PintUreg': <pint.registry.UnitRegistry object at 0x74c8aac490>,
|
1501
1463
|
'WINDOWS': False},
|
1502
1464
|
'module': {'asyncio': <module 'asyncio' from '/data/data/com.termux/files/usr/lib/python3.11/asyncio/__init__.py'>,
|
1503
1465
|
'colorama': <module 'colorama' from '/data/data/com.termux/files/usr/lib/python3.11/site-packages/colorama/__init__.py'>,
|
@@ -1587,7 +1549,7 @@ print(password_generator())
|
|
1587
1549
|
|
1588
1550
|
Output:
|
1589
1551
|
```py
|
1590
|
-
|
1552
|
+
1+~jj|px
|
1591
1553
|
```
|
1592
1554
|
|
1593
1555
|
## pip_freeze_without_version
|
@@ -1645,7 +1607,7 @@ Output:
|
|
1645
1607
|
__enter__ : https:/www.google.com
|
1646
1608
|
__fspath__ : https:/www.google.com
|
1647
1609
|
__getstate__ : (None, {'_drv': '', '_root': '', '_parts': ['https:', 'www.google.com'], '_str': 'https:/www.google.com'})
|
1648
|
-
__hash__ : -
|
1610
|
+
__hash__ : -336407794228580667
|
1649
1611
|
__init__ : None
|
1650
1612
|
__init_subclass__ : None
|
1651
1613
|
__module__ : pathlib
|
@@ -1658,8 +1620,8 @@ Output:
|
|
1658
1620
|
_cached_cparts : ['https:', 'www.google.com']
|
1659
1621
|
_cparts : ['https:', 'www.google.com']
|
1660
1622
|
_drv :
|
1661
|
-
_flavour : <pathlib._PosixFlavour object at
|
1662
|
-
_hash : -
|
1623
|
+
_flavour : <pathlib._PosixFlavour object at 0x74cfb2cc50>
|
1624
|
+
_hash : -336407794228580667
|
1663
1625
|
_parts : ['https:', 'www.google.com']
|
1664
1626
|
_root :
|
1665
1627
|
_str : https:/www.google.com
|
@@ -1681,7 +1643,7 @@ Output:
|
|
1681
1643
|
is_reserved : False
|
1682
1644
|
is_socket : False
|
1683
1645
|
is_symlink : False
|
1684
|
-
iterdir : <generator object Path.iterdir at
|
1646
|
+
iterdir : <generator object Path.iterdir at 0x74bf0b2960>
|
1685
1647
|
joinpath : https:/www.google.com
|
1686
1648
|
name : www.google.com
|
1687
1649
|
parent : https:
|
@@ -1755,7 +1717,7 @@ x.cancel()
|
|
1755
1717
|
|
1756
1718
|
Output:
|
1757
1719
|
```py
|
1758
|
-
<Timer(Thread-2, started
|
1720
|
+
<Timer(Thread-2, started 501396593904)>
|
1759
1721
|
menghentikan timeout 7
|
1760
1722
|
```
|
1761
1723
|
|
@@ -1773,7 +1735,7 @@ print(list(sets_ordered(array)))
|
|
1773
1735
|
|
1774
1736
|
Output:
|
1775
1737
|
```py
|
1776
|
-
<generator object sets_ordered at
|
1738
|
+
<generator object sets_ordered at 0x74bf0e4fb0>
|
1777
1739
|
[2, 3, 12, 42, 1, 43, 41, 4, 24, 32]
|
1778
1740
|
```
|
1779
1741
|
|
@@ -1867,7 +1829,7 @@ print(ExampleComparePerformance().compare_performance())
|
|
1867
1829
|
|
1868
1830
|
Output:
|
1869
1831
|
```py
|
1870
|
-
{'a': <generator object ExampleComparePerformance.a.<locals>.<genexpr> at
|
1832
|
+
{'a': <generator object ExampleComparePerformance.a.<locals>.<genexpr> at 0x74bf0e4ad0>,
|
1871
1833
|
'b': (0, 1, 2, 3, 4, 5, 6, 7, 8, 9),
|
1872
1834
|
'c': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
|
1873
1835
|
'd': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]}
|