pypipr 1.0.100__tar.gz → 1.0.101__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.100 → pypipr-1.0.101}/PKG-INFO +137 -128
- {pypipr-1.0.100 → pypipr-1.0.101}/pypipr/ifunctions/irange.py +2 -2
- {pypipr-1.0.100 → pypipr-1.0.101}/pyproject.toml +1 -1
- {pypipr-1.0.100 → pypipr-1.0.101}/readme.md +136 -127
- {pypipr-1.0.100 → pypipr-1.0.101}/pypipr/__init__.py +0 -0
- {pypipr-1.0.100 → pypipr-1.0.101}/pypipr/ibuiltins/ComparePerformance.py +0 -0
- {pypipr-1.0.100 → pypipr-1.0.101}/pypipr/ibuiltins/LINUX.py +0 -0
- {pypipr-1.0.100 → pypipr-1.0.101}/pypipr/ibuiltins/RunParallel.py +0 -0
- {pypipr-1.0.100 → pypipr-1.0.101}/pypipr/ibuiltins/WINDOWS.py +0 -0
- {pypipr-1.0.100 → pypipr-1.0.101}/pypipr/ibuiltins/__init__.py +0 -0
- {pypipr-1.0.100 → pypipr-1.0.101}/pypipr/ibuiltins/avg.py +0 -0
- {pypipr-1.0.100 → pypipr-1.0.101}/pypipr/ibuiltins/basename.py +0 -0
- {pypipr-1.0.100 → pypipr-1.0.101}/pypipr/ibuiltins/chr_to_int.py +0 -0
- {pypipr-1.0.100 → pypipr-1.0.101}/pypipr/ibuiltins/chunk_array.py +0 -0
- {pypipr-1.0.100 → pypipr-1.0.101}/pypipr/ibuiltins/create_folder.py +0 -0
- {pypipr-1.0.100 → pypipr-1.0.101}/pypipr/ibuiltins/datetime_from_string.py +0 -0
- {pypipr-1.0.100 → pypipr-1.0.101}/pypipr/ibuiltins/datetime_now.py +0 -0
- {pypipr-1.0.100 → pypipr-1.0.101}/pypipr/ibuiltins/dict_first.py +0 -0
- {pypipr-1.0.100 → pypipr-1.0.101}/pypipr/ibuiltins/dirname.py +0 -0
- {pypipr-1.0.100 → pypipr-1.0.101}/pypipr/ibuiltins/exit_if_empty.py +0 -0
- {pypipr-1.0.100 → pypipr-1.0.101}/pypipr/ibuiltins/filter_empty.py +0 -0
- {pypipr-1.0.100 → pypipr-1.0.101}/pypipr/ibuiltins/get_by_index.py +0 -0
- {pypipr-1.0.100 → pypipr-1.0.101}/pypipr/ibuiltins/get_class_method.py +0 -0
- {pypipr-1.0.100 → pypipr-1.0.101}/pypipr/ibuiltins/get_filemtime.py +0 -0
- {pypipr-1.0.100 → pypipr-1.0.101}/pypipr/ibuiltins/get_filesize.py +0 -0
- {pypipr-1.0.100 → pypipr-1.0.101}/pypipr/ibuiltins/int_to_chr.py +0 -0
- {pypipr-1.0.100 → pypipr-1.0.101}/pypipr/ibuiltins/is_empty.py +0 -0
- {pypipr-1.0.100 → pypipr-1.0.101}/pypipr/ibuiltins/is_iterable.py +0 -0
- {pypipr-1.0.100 → pypipr-1.0.101}/pypipr/ibuiltins/is_valid_url.py +0 -0
- {pypipr-1.0.100 → pypipr-1.0.101}/pypipr/ibuiltins/password_generator.py +0 -0
- {pypipr-1.0.100 → pypipr-1.0.101}/pypipr/ibuiltins/random_bool.py +0 -0
- {pypipr-1.0.100 → pypipr-1.0.101}/pypipr/ibuiltins/restart.py +0 -0
- {pypipr-1.0.100 → pypipr-1.0.101}/pypipr/ibuiltins/set_timeout.py +0 -0
- {pypipr-1.0.100 → pypipr-1.0.101}/pypipr/ibuiltins/sets_ordered.py +0 -0
- {pypipr-1.0.100 → pypipr-1.0.101}/pypipr/ibuiltins/str_cmp.py +0 -0
- {pypipr-1.0.100 → pypipr-1.0.101}/pypipr/ibuiltins/to_str.py +0 -0
- {pypipr-1.0.100 → pypipr-1.0.101}/pypipr/iconsole/__init__.py +0 -0
- {pypipr-1.0.100 → pypipr-1.0.101}/pypipr/iconsole/choices.py +0 -0
- {pypipr-1.0.100 → pypipr-1.0.101}/pypipr/iconsole/console_run.py +0 -0
- {pypipr-1.0.100 → pypipr-1.0.101}/pypipr/iconsole/input_char.py +0 -0
- {pypipr-1.0.100 → pypipr-1.0.101}/pypipr/iconsole/log.py +0 -0
- {pypipr-1.0.100 → pypipr-1.0.101}/pypipr/iconsole/print_colorize.py +0 -0
- {pypipr-1.0.100 → pypipr-1.0.101}/pypipr/iconsole/print_dir.py +0 -0
- {pypipr-1.0.100 → pypipr-1.0.101}/pypipr/iconsole/print_log.py +0 -0
- {pypipr-1.0.100 → pypipr-1.0.101}/pypipr/iconsole/print_to_last_line.py +0 -0
- {pypipr-1.0.100 → pypipr-1.0.101}/pypipr/iconsole/text_colorize.py +0 -0
- {pypipr-1.0.100 → pypipr-1.0.101}/pypipr/idjango/APIMixinView.py +0 -0
- {pypipr-1.0.100 → pypipr-1.0.101}/pypipr/idjango/__init__.py +0 -0
- {pypipr-1.0.100 → pypipr-1.0.101}/pypipr/iengineering/PintUreg.py +0 -0
- {pypipr-1.0.100 → pypipr-1.0.101}/pypipr/iengineering/PintUregQuantity.py +0 -0
- {pypipr-1.0.100 → pypipr-1.0.101}/pypipr/iengineering/__init__.py +0 -0
- {pypipr-1.0.100 → pypipr-1.0.101}/pypipr/iengineering/batch_calculate.py +0 -0
- {pypipr-1.0.100 → pypipr-1.0.101}/pypipr/iengineering/batchmaker.py +0 -0
- {pypipr-1.0.100 → pypipr-1.0.101}/pypipr/iengineering/calculate.py +0 -0
- {pypipr-1.0.100 → pypipr-1.0.101}/pypipr/iflow/auto_reload.py +0 -0
- {pypipr-1.0.100 → pypipr-1.0.101}/pypipr/iflow/github_pull.py +0 -0
- {pypipr-1.0.100 → pypipr-1.0.101}/pypipr/iflow/github_push.py +0 -0
- {pypipr-1.0.100 → pypipr-1.0.101}/pypipr/iflow/github_user.py +0 -0
- {pypipr-1.0.100 → pypipr-1.0.101}/pypipr/iflow/pip_freeze_without_version.py +0 -0
- {pypipr-1.0.100 → pypipr-1.0.101}/pypipr/iflow/poetry_publish.py +0 -0
- {pypipr-1.0.100 → pypipr-1.0.101}/pypipr/iflow/poetry_update_version.py +0 -0
- {pypipr-1.0.100 → pypipr-1.0.101}/pypipr/ifunctions/__init__.py +0 -0
- {pypipr-1.0.100 → pypipr-1.0.101}/pypipr/ifunctions/iargv.py +0 -0
- {pypipr-1.0.100 → pypipr-1.0.101}/pypipr/ifunctions/idumps.py +0 -0
- {pypipr-1.0.100 → pypipr-1.0.101}/pypipr/ifunctions/idumps_html.py +0 -0
- {pypipr-1.0.100 → pypipr-1.0.101}/pypipr/ifunctions/ienv.py +0 -0
- {pypipr-1.0.100 → pypipr-1.0.101}/pypipr/ifunctions/iexec.py +0 -0
- {pypipr-1.0.100 → pypipr-1.0.101}/pypipr/ifunctions/ijoin.py +0 -0
- {pypipr-1.0.100 → pypipr-1.0.101}/pypipr/ifunctions/iloads.py +0 -0
- {pypipr-1.0.100 → pypipr-1.0.101}/pypipr/ifunctions/iloads_html.py +0 -0
- {pypipr-1.0.100 → pypipr-1.0.101}/pypipr/ifunctions/iopen.py +0 -0
- {pypipr-1.0.100 → pypipr-1.0.101}/pypipr/ifunctions/iprint.py +0 -0
- {pypipr-1.0.100 → pypipr-1.0.101}/pypipr/ifunctions/irange.py.bak +0 -0
- {pypipr-1.0.100 → pypipr-1.0.101}/pypipr/ifunctions/ireplace.py +0 -0
- {pypipr-1.0.100 → pypipr-1.0.101}/pypipr/ifunctions/iscandir.py +0 -0
- {pypipr-1.0.100 → pypipr-1.0.101}/pypipr/ifunctions/isplit.py +0 -0
- {pypipr-1.0.100 → pypipr-1.0.101}/pypipr/ifunctions/ivars.py +0 -0
- {pypipr-1.0.100 → pypipr-1.0.101}/pypipr/pypipr.py.bak +0 -0
- {pypipr-1.0.100 → pypipr-1.0.101}/pypipr/terminal.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.101
|
4
4
|
Summary: The Python Package Index Project
|
5
5
|
Author: ufiapjj
|
6
6
|
Author-email: ufiapjj@gmail.com
|
@@ -120,7 +120,7 @@ print(list(chunk_array(arr, 5)))
|
|
120
120
|
|
121
121
|
Output:
|
122
122
|
```py
|
123
|
-
<generator object chunk_array at
|
123
|
+
<generator object chunk_array at 0x7f123cc040>
|
124
124
|
[[2, 3, 12, 3, 3], [42, 42, 1, 43, 2], [42, 41, 4, 24, 32], [42, 3, 12, 32, 42], [42]]
|
125
125
|
```
|
126
126
|
|
@@ -171,9 +171,9 @@ print(datetime_now("Etc/GMT+7"))
|
|
171
171
|
|
172
172
|
Output:
|
173
173
|
```py
|
174
|
-
2024-04-29
|
175
|
-
2024-04-29
|
176
|
-
2024-04-29
|
174
|
+
2024-04-29 16:19:07.710087+07:00
|
175
|
+
2024-04-29 09:19:07.711655+00:00
|
176
|
+
2024-04-29 02:19:07.715625-07:00
|
177
177
|
```
|
178
178
|
|
179
179
|
## dict_first
|
@@ -240,7 +240,7 @@ print(filter_empty(var))
|
|
240
240
|
|
241
241
|
Output:
|
242
242
|
```py
|
243
|
-
<generator object filter_empty at
|
243
|
+
<generator object filter_empty at 0x7f12362d40>
|
244
244
|
```
|
245
245
|
|
246
246
|
## get_by_index
|
@@ -286,8 +286,8 @@ print(list(get_class_method(ExampleGetClassMethod)))
|
|
286
286
|
|
287
287
|
Output:
|
288
288
|
```py
|
289
|
-
<generator object get_class_method at
|
290
|
-
[<function ExampleGetClassMethod.a at
|
289
|
+
<generator object get_class_method at 0x7f12363010>
|
290
|
+
[<function ExampleGetClassMethod.a at 0x7f123d58a0>, <function ExampleGetClassMethod.b at 0x7f123d5760>, <function ExampleGetClassMethod.c at 0x7f123d5940>, <function ExampleGetClassMethod.d at 0x7f123d59e0>]
|
291
291
|
```
|
292
292
|
|
293
293
|
## get_filemtime
|
@@ -455,7 +455,7 @@ print(password_generator())
|
|
455
455
|
|
456
456
|
Output:
|
457
457
|
```py
|
458
|
-
|
458
|
+
=)xC!Q`c
|
459
459
|
```
|
460
460
|
|
461
461
|
## random_bool
|
@@ -473,7 +473,7 @@ print(random_bool())
|
|
473
473
|
|
474
474
|
Output:
|
475
475
|
```py
|
476
|
-
|
476
|
+
False
|
477
477
|
```
|
478
478
|
|
479
479
|
## restart
|
@@ -499,7 +499,7 @@ x.cancel()
|
|
499
499
|
|
500
500
|
Output:
|
501
501
|
```py
|
502
|
-
<Timer(Thread-2, started
|
502
|
+
<Timer(Thread-2, started 545743019248)>
|
503
503
|
menghentikan timeout 7
|
504
504
|
```
|
505
505
|
|
@@ -517,7 +517,7 @@ print(list(sets_ordered(array)))
|
|
517
517
|
|
518
518
|
Output:
|
519
519
|
```py
|
520
|
-
<generator object sets_ordered at
|
520
|
+
<generator object sets_ordered at 0x7f123e02b0>
|
521
521
|
[2, 3, 12, 42, 1, 43, 41, 4, 24, 32]
|
522
522
|
```
|
523
523
|
|
@@ -671,7 +671,7 @@ Output:
|
|
671
671
|
__enter__ : https:/www.google.com
|
672
672
|
__fspath__ : https:/www.google.com
|
673
673
|
__getstate__ : (None, {'_drv': '', '_root': '', '_parts': ['https:', 'www.google.com'], '_str': 'https:/www.google.com'})
|
674
|
-
__hash__ :
|
674
|
+
__hash__ : 2542810184995871325
|
675
675
|
__init__ : None
|
676
676
|
__init_subclass__ : None
|
677
677
|
__module__ : pathlib
|
@@ -684,8 +684,8 @@ Output:
|
|
684
684
|
_cached_cparts : ['https:', 'www.google.com']
|
685
685
|
_cparts : ['https:', 'www.google.com']
|
686
686
|
_drv :
|
687
|
-
_flavour : <pathlib._PosixFlavour object at
|
688
|
-
_hash :
|
687
|
+
_flavour : <pathlib._PosixFlavour object at 0x7f26b089d0>
|
688
|
+
_hash : 2542810184995871325
|
689
689
|
_parts : ['https:', 'www.google.com']
|
690
690
|
_root :
|
691
691
|
_str : https:/www.google.com
|
@@ -707,7 +707,7 @@ Output:
|
|
707
707
|
is_reserved : False
|
708
708
|
is_socket : False
|
709
709
|
is_symlink : False
|
710
|
-
iterdir : <generator object Path.iterdir at
|
710
|
+
iterdir : <generator object Path.iterdir at 0x7f123b8ba0>
|
711
711
|
joinpath : https:/www.google.com
|
712
712
|
name : www.google.com
|
713
713
|
parent : https:
|
@@ -1151,7 +1151,7 @@ print(ijoin(10, ' '))
|
|
1151
1151
|
|
1152
1152
|
Output:
|
1153
1153
|
```py
|
1154
|
-
|
1154
|
+
qweqw, asd, dfs, weq
|
1155
1155
|
,ini,path,seperti,url,
|
1156
1156
|
ini,path,seperti,url
|
1157
1157
|
<li>satu</li>
|
@@ -1217,9 +1217,9 @@ Output:
|
|
1217
1217
|
```py
|
1218
1218
|
(['Home', 'Emas 1 Gram', 'History', 'Trend', 'Perak 1 Gram', 'Pluang'],
|
1219
1219
|
[['Harga Emas Hari Ini - Senin, 29 April 2024'],
|
1220
|
-
['Spot Emas USD↑2.338,
|
1220
|
+
['Spot Emas USD↑2.338,07 (+0,13) / oz',
|
1221
1221
|
'Kurs IDR↑16.222,00 (+14,00) / USD',
|
1222
|
-
'Emas IDR↑1.219.
|
1222
|
+
'Emas IDR↑1.219.419 (+1.120) / gr'],
|
1223
1223
|
['LM Antam (Jual)↓1.325.000 (-1.000) / gr',
|
1224
1224
|
'LM Antam (Beli)↓1.221.000 (-1.000) / gr']],
|
1225
1225
|
[['Harga Emas Hari Ini'],
|
@@ -1290,10 +1290,10 @@ Output:
|
|
1290
1290
|
'Update harga LM Pegadaian :31 Agustus 2023']],
|
1291
1291
|
[['Spot Harga Emas Hari Ini (Market Open)'],
|
1292
1292
|
['Satuan', 'USD', 'Kurs\xa0Dollar', 'IDR'],
|
1293
|
-
['Ounce\xa0(oz)', '2.338,
|
1294
|
-
['Gram\xa0(gr)', '75,
|
1295
|
-
['Kilogram\xa0(kg)', '75.
|
1296
|
-
['Update harga emas :29 April 2024, pukul
|
1293
|
+
['Ounce\xa0(oz)', '2.338,07 (+0,13)', '16.222,00 (+14,00)', '37.928.172'],
|
1294
|
+
['Gram\xa0(gr)', '75,17', '16.222,00', '1.219.419 (+1.120)'],
|
1295
|
+
['Kilogram\xa0(kg)', '75.170,70', '16.222,00', '1.219.419.032'],
|
1296
|
+
['Update harga emas :29 April 2024, pukul 16:19Update kurs :29 April 2024, '
|
1297
1297
|
'pukul 13:10']],
|
1298
1298
|
[['Gram', 'UBS Gold 99.99%'],
|
1299
1299
|
['Jual', 'Beli'],
|
@@ -1301,26 +1301,34 @@ Output:
|
|
1301
1301
|
['100',
|
1302
1302
|
'126.300.000 (-512.000)',
|
1303
1303
|
'1.263.000 (-5.120)',
|
1304
|
-
'
|
1305
|
-
'1.
|
1304
|
+
'125.185.000 (+200.000)',
|
1305
|
+
'1.251.850 (+2.000)'],
|
1306
1306
|
['50',
|
1307
1307
|
'63.300.000 (-145.000)',
|
1308
1308
|
'1.266.000 (-2.900)',
|
1309
|
-
'62.
|
1310
|
-
'1.
|
1309
|
+
'62.645.000 (+100.000)',
|
1310
|
+
'1.252.900 (+2.000)'],
|
1311
1311
|
['25',
|
1312
1312
|
'31.700.000 (-62.000)',
|
1313
1313
|
'1.268.000 (-2.480)',
|
1314
|
-
'31.
|
1315
|
-
'1.
|
1314
|
+
'31.425.000 (+50.000)',
|
1315
|
+
'1.257.000 (+2.000)'],
|
1316
1316
|
['10',
|
1317
1317
|
'12.720.000 (-35.000)',
|
1318
1318
|
'1.272.000 (-3.500)',
|
1319
|
-
'12.
|
1320
|
-
'1.
|
1321
|
-
['5',
|
1322
|
-
|
1323
|
-
|
1319
|
+
'12.620.000 (+20.000)',
|
1320
|
+
'1.262.000 (+2.000)'],
|
1321
|
+
['5',
|
1322
|
+
'6.385.000 (-20.000)',
|
1323
|
+
'1.277.000 (-4.000)',
|
1324
|
+
'6.362.000 (+10.000)',
|
1325
|
+
'1.272.400 (+2.000)'],
|
1326
|
+
['1',
|
1327
|
+
'1.325.000 (-1.000)',
|
1328
|
+
'1.325.000 (-1.000)',
|
1329
|
+
'1.305.000 (+2.000)',
|
1330
|
+
'1.305.000 (+2.000)'],
|
1331
|
+
['', 'Update :29 April 2024, pukul 16:06']],
|
1324
1332
|
[['Konversi Satuan'],
|
1325
1333
|
['Satuan', 'Ounce (oz)', 'Gram (gr)', 'Kilogram (kg)'],
|
1326
1334
|
['Ounce\xa0(oz)', '1', '31,1034767696', '0,0311034768'],
|
@@ -1331,36 +1339,36 @@ Output:
|
|
1331
1339
|
['Unit', 'USD', 'IDR'],
|
1332
1340
|
['Angka', '+/-', 'Angka', '+/-'],
|
1333
1341
|
['Hari Ini', 'Kurs', '', '', '16.208', '+14+0,09%'],
|
1334
|
-
['oz', '2.337,94', '+0,
|
1335
|
-
['gr', '75,17', '+0,
|
1342
|
+
['oz', '2.337,94', '+0,13+0,01%', '37.893.332', '+34.840+0,09%'],
|
1343
|
+
['gr', '75,17', '+0,00+0,01%', '1.218.299', '+1.120+0,09%'],
|
1336
1344
|
['30 Hari', 'Kurs', '', '', '15.853', '+369+2,33%'],
|
1337
|
-
['oz', '2.232,75', '+105,
|
1338
|
-
['gr', '71,78', '+3,
|
1345
|
+
['oz', '2.232,75', '+105,32+4,72%', '35.395.786', '+2.532.386+7,15%'],
|
1346
|
+
['gr', '71,78', '+3,39+4,72%', '1.138.001', '+81.418+7,15%'],
|
1339
1347
|
['2 Bulan', 'Kurs', '', '', '15.673', '+549+3,50%'],
|
1340
|
-
['oz', '2.045,83', '+292,
|
1341
|
-
['gr', '65,77', '+9,
|
1348
|
+
['oz', '2.045,83', '+292,24+14,28%', '32.064.294', '+5.863.878+18,29%'],
|
1349
|
+
['gr', '65,77', '+9,40+14,28', '1.030.891', '+188.528+18,29%'],
|
1342
1350
|
['6 Bulan', 'Kurs', '', '', '15.897', '+325+2,04%'],
|
1343
|
-
['oz', '1.977,80', '+360,
|
1344
|
-
['gr', '63,59', '+11,
|
1351
|
+
['oz', '1.977,80', '+360,27+18,22%', '31.441.087', '+6.487.085+20,63%'],
|
1352
|
+
['gr', '63,59', '+11,58+18,22%', '1.010.854', '+208.565+20,63%'],
|
1345
1353
|
['1 Tahun', 'Kurs', '', '', '15.731', '+491+3,12%'],
|
1346
|
-
['oz', '1.823,86', '+514,
|
1347
|
-
['gr', '58,64', '+16,
|
1354
|
+
['oz', '1.823,86', '+514,21+28,19%', '28.691.142', '+9.237.030+32,19%'],
|
1355
|
+
['gr', '58,64', '+16,53+28,19%', '922.442', '+296.977+32,19%'],
|
1348
1356
|
['2 Tahun', 'Kurs', '', '', '14.418', '+1.804+12,51%'],
|
1349
|
-
['oz', '1.896,95', '+441,
|
1350
|
-
['gr', '60,99', '+14,
|
1357
|
+
['oz', '1.896,95', '+441,12+23,25%', '27.350.225', '+10.577.946+38,68%'],
|
1358
|
+
['gr', '60,99', '+14,18+23,25%', '879.330', '+340.089+38,68%'],
|
1351
1359
|
['3 Tahun', 'Kurs', '', '', '14.468', '+1.754+12,12%'],
|
1352
|
-
['oz', '1.767,08', '+
|
1353
|
-
['gr', '56,81', '+18,
|
1360
|
+
['oz', '1.767,08', '+570,99+32,31%', '25.566.113', '+12.362.058+48,35%'],
|
1361
|
+
['gr', '56,81', '+18,36+32,31%', '821.970', '+397.449+48,35%'],
|
1354
1362
|
['5 Tahun', 'Kurs', '', '', '14.215', '+2.007+14,12%'],
|
1355
|
-
['oz', '1.280,61', '+1.057,
|
1356
|
-
['gr', '41,17', '+34,
|
1363
|
+
['oz', '1.280,61', '+1.057,46+82,57%', '18.203.871', '+19.724.300+108,35%'],
|
1364
|
+
['gr', '41,17', '+34,00+82,57%', '585.268', '+634.151+108,35%']])
|
1357
1365
|
(['Home', 'Emas 1 Gram', 'History', 'Trend', 'Perak 1 Gram', 'Pluang'],
|
1358
1366
|
[[''],
|
1359
1367
|
['Emas 24 KaratHarga Emas 1 Gram', ''],
|
1360
|
-
['USD', '75,
|
1361
|
-
['KURS', '16.
|
1362
|
-
['IDR', '1.
|
1363
|
-
['Senin, 29 April 2024
|
1368
|
+
['USD', '75,17↓', '%'],
|
1369
|
+
['KURS', '16.251,75↑', '+10,45+0,06%'],
|
1370
|
+
['IDR', '1.221.655,36↑', '+853,42+0,07%'],
|
1371
|
+
['Senin, 29 April 2024 16:19']],
|
1364
1372
|
[[''],
|
1365
1373
|
['Emas 1 Gram (IDR)Emas 1 Gram (USD)Kurs USD-IDR',
|
1366
1374
|
'Hari Ini',
|
@@ -1371,19 +1379,19 @@ Output:
|
|
1371
1379
|
'']],
|
1372
1380
|
[['Pergerakkan Harga Emas 1 Gram'],
|
1373
1381
|
['', 'Penutupan Kemarin', 'Pergerakkan Hari Ini', 'Rata-rata'],
|
1374
|
-
['USD', '75,17', '75,17 - 75,
|
1375
|
-
['KURS', '16.241,30', '16.241,30 - 16.
|
1376
|
-
['IDR', '1.220.801,94', '1.220.801,94 - 1.
|
1382
|
+
['USD', '75,17', '75,17 - 75,17', '75,17'],
|
1383
|
+
['KURS', '16.241,30', '16.241,30 - 16.251,75', '16.246,53'],
|
1384
|
+
['IDR', '1.220.801,94', '1.220.801,94 - 1.221.655,36', '1.221.228,65'],
|
1377
1385
|
[''],
|
1378
1386
|
['', 'Awal Tahun', 'Pergerakkan YTD', '+/- YTD'],
|
1379
|
-
['USD', '66,32', '64,07 - 77,14', '+8,
|
1380
|
-
['KURS', '15.390,10', '15.390,00 - 16.307,80', '+
|
1381
|
-
['IDR', '1.020.729,53', '997.660,12 - 1.256.829,06', '+
|
1387
|
+
['USD', '66,32', '64,07 - 77,14', '+8,85 (13,34%)'],
|
1388
|
+
['KURS', '15.390,10', '15.390,00 - 16.307,80', '+861,65 (5,60%)'],
|
1389
|
+
['IDR', '1.020.729,53', '997.660,12 - 1.256.829,06', '+200.925,83 (19,68%)'],
|
1382
1390
|
[''],
|
1383
1391
|
['', 'Tahun Lalu / 52 Minggu', 'Pergerakkan 52 Minggu', '+/- 52 Minggu'],
|
1384
|
-
['USD', '64,04', '58,43 - 77,14', '+11,
|
1385
|
-
['KURS', '14.671,35', '14.669,40 - 16.307,80', '+1.
|
1386
|
-
['IDR', '939.568,98', '912.925,68 - 1.256.829,06', '+282.
|
1392
|
+
['USD', '64,04', '58,43 - 77,14', '+11,13 (17,38%)'],
|
1393
|
+
['KURS', '14.671,35', '14.669,40 - 16.307,80', '+1.580,40 (10,77%)'],
|
1394
|
+
['IDR', '939.568,98', '912.925,68 - 1.256.829,06', '+282.086,38 (30,02%)']])
|
1387
1395
|
```
|
1388
1396
|
|
1389
1397
|
## iopen
|
@@ -1425,7 +1433,8 @@ Output:
|
|
1425
1433
|
```py
|
1426
1434
|
8
|
1427
1435
|
['mana', 'aja']
|
1428
|
-
|
1436
|
+
Timeout 3
|
1437
|
+
[<Element a at 0x7f2a7c5c20>, <Element a at 0x7f1240a940>, <Element a at 0x7f1240a9e0>, <Element a at 0x7f1240aa30>, <Element a at 0x7f1240aa80>, <Element a at 0x7f1240aad0>, <Element a at 0x7f1240ab20>, <Element a at 0x7f1240ab70>, <Element a at 0x7f1240abc0>, <Element a at 0x7f1240ac10>, <Element a at 0x7f1240ac60>, <Element a at 0x7f1240acb0>, <Element a at 0x7f1240ad00>, <Element a at 0x7f1240ad50>, <Element a at 0x7f1240ada0>, <Element a at 0x7f1240adf0>, <Element a at 0x7f1240ae40>, <Element a at 0x7f1240ae90>, <Element a at 0x7f1240aee0>, <Element a at 0x7f1240af30>]
|
1429
1438
|
False
|
1430
1439
|
```
|
1431
1440
|
|
@@ -1501,7 +1510,7 @@ print(list(iscandir("./", recursive=False, scan_file=False)))
|
|
1501
1510
|
|
1502
1511
|
Output:
|
1503
1512
|
```py
|
1504
|
-
<generator object iscandir at
|
1513
|
+
<generator object iscandir at 0x7f123cc540>
|
1505
1514
|
[PosixPath('.git'), PosixPath('.vscode'), PosixPath('pypipr'), PosixPath('__pycache__'), PosixPath('dist')]
|
1506
1515
|
```
|
1507
1516
|
|
@@ -1539,7 +1548,7 @@ Output:
|
|
1539
1548
|
'idjango': <module 'pypipr.idjango' from '/data/data/com.termux/files/home/pypipr/pypipr/idjango/__init__.py'>,
|
1540
1549
|
'iengineering': <module 'pypipr.iengineering' from '/data/data/com.termux/files/home/pypipr/pypipr/iengineering/__init__.py'>,
|
1541
1550
|
'ifunctions': <module 'pypipr.ifunctions' from '/data/data/com.termux/files/home/pypipr/pypipr/ifunctions/__init__.py'>,
|
1542
|
-
'iflow': <module 'pypipr.iflow' (<_frozen_importlib_external.NamespaceLoader object at
|
1551
|
+
'iflow': <module 'pypipr.iflow' (<_frozen_importlib_external.NamespaceLoader object at 0x7f1bd4b890>)>,
|
1543
1552
|
'asyncio': <module 'asyncio' from '/data/data/com.termux/files/usr/lib/python3.11/asyncio/__init__.py'>,
|
1544
1553
|
'colorama': <module 'colorama' from '/data/data/com.termux/files/usr/lib/python3.11/site-packages/colorama/__init__.py'>,
|
1545
1554
|
'csv': <module 'csv' from '/data/data/com.termux/files/usr/lib/python3.11/csv.py'>,
|
@@ -1577,67 +1586,67 @@ Output:
|
|
1577
1586
|
'PintUregQuantity': <class 'pint.Quantity'>},
|
1578
1587
|
'variable': {'LINUX': True,
|
1579
1588
|
'WINDOWS': False,
|
1580
|
-
'PintUreg': <pint.registry.UnitRegistry object at
|
1581
|
-
'function': {'avg': <function avg at
|
1582
|
-
'basename': <function basename at
|
1583
|
-
'chr_to_int': <function chr_to_int at
|
1584
|
-
'chunk_array': <function chunk_array at
|
1585
|
-
'create_folder': <function create_folder at
|
1586
|
-
'datetime_from_string': <function datetime_from_string at
|
1587
|
-
'datetime_now': <function datetime_now at
|
1588
|
-
'dict_first': <function dict_first at
|
1589
|
-
'dirname': <function dirname at
|
1590
|
-
'exit_if_empty': <function exit_if_empty at
|
1591
|
-
'filter_empty': <function filter_empty at
|
1592
|
-
'get_by_index': <function get_by_index at
|
1593
|
-
'get_class_method': <function get_class_method at
|
1594
|
-
'get_filemtime': <function get_filemtime at
|
1595
|
-
'get_filesize': <function get_filesize at
|
1596
|
-
'int_to_chr': <function int_to_chr at
|
1597
|
-
'is_empty': <function is_empty at
|
1598
|
-
'is_iterable': <function is_iterable at
|
1599
|
-
'is_valid_url': <function is_valid_url at
|
1600
|
-
'password_generator': <function password_generator at
|
1601
|
-
'random_bool': <function random_bool at
|
1602
|
-
'restart': <function restart at
|
1603
|
-
'set_timeout': <function set_timeout at
|
1604
|
-
'sets_ordered': <function sets_ordered at
|
1605
|
-
'str_cmp': <function str_cmp at
|
1606
|
-
'to_str': <function to_str at
|
1607
|
-
'choices': <function choices at
|
1608
|
-
'console_run': <function console_run at
|
1609
|
-
'input_char': <function input_char at
|
1610
|
-
'log': <function log at
|
1611
|
-
'print_colorize': <function print_colorize at
|
1612
|
-
'print_dir': <function print_dir at
|
1613
|
-
'print_log': <function print_log at
|
1614
|
-
'print_to_last_line': <function print_to_last_line at
|
1615
|
-
'text_colorize': <function text_colorize at
|
1616
|
-
'batch_calculate': <function batch_calculate at
|
1617
|
-
'batchmaker': <function batchmaker at
|
1618
|
-
'calculate': <function calculate at
|
1619
|
-
'auto_reload': <function auto_reload at
|
1620
|
-
'github_pull': <function github_pull at
|
1621
|
-
'github_push': <function github_push at
|
1622
|
-
'github_user': <function github_user at
|
1623
|
-
'pip_freeze_without_version': <function pip_freeze_without_version at
|
1624
|
-
'poetry_publish': <function poetry_publish at
|
1625
|
-
'poetry_update_version': <function poetry_update_version at
|
1626
|
-
'iargv': <function iargv at
|
1627
|
-
'idumps': <function idumps at
|
1628
|
-
'idumps_html': <function idumps_html at
|
1629
|
-
'ienv': <function ienv at
|
1630
|
-
'iexec': <function iexec at
|
1631
|
-
'ijoin': <function ijoin at
|
1632
|
-
'iloads': <function iloads at
|
1633
|
-
'iloads_html': <function iloads_html at
|
1634
|
-
'iopen': <function iopen at
|
1635
|
-
'iprint': <function iprint at
|
1636
|
-
'irange': <function irange at
|
1637
|
-
'ireplace': <function ireplace at
|
1638
|
-
'iscandir': <function iscandir at
|
1639
|
-
'isplit': <function isplit at
|
1640
|
-
'ivars': <function ivars at
|
1589
|
+
'PintUreg': <pint.registry.UnitRegistry object at 0x7f26b57a90>},
|
1590
|
+
'function': {'avg': <function avg at 0x7f2a7b6d40>,
|
1591
|
+
'basename': <function basename at 0x7f2a7868e0>,
|
1592
|
+
'chr_to_int': <function chr_to_int at 0x7f26a91080>,
|
1593
|
+
'chunk_array': <function chunk_array at 0x7f26a911c0>,
|
1594
|
+
'create_folder': <function create_folder at 0x7f26a913a0>,
|
1595
|
+
'datetime_from_string': <function datetime_from_string at 0x7f26a91580>,
|
1596
|
+
'datetime_now': <function datetime_now at 0x7f26b39620>,
|
1597
|
+
'dict_first': <function dict_first at 0x7f26b39580>,
|
1598
|
+
'dirname': <function dirname at 0x7f26b394e0>,
|
1599
|
+
'exit_if_empty': <function exit_if_empty at 0x7f26b393a0>,
|
1600
|
+
'filter_empty': <function filter_empty at 0x7f26b391c0>,
|
1601
|
+
'get_by_index': <function get_by_index at 0x7f26b38e00>,
|
1602
|
+
'get_class_method': <function get_class_method at 0x7f26b38cc0>,
|
1603
|
+
'get_filemtime': <function get_filemtime at 0x7f26b38b80>,
|
1604
|
+
'get_filesize': <function get_filesize at 0x7f26b389a0>,
|
1605
|
+
'int_to_chr': <function int_to_chr at 0x7f26b38900>,
|
1606
|
+
'is_empty': <function is_empty at 0x7f26b39260>,
|
1607
|
+
'is_iterable': <function is_iterable at 0x7f26b38fe0>,
|
1608
|
+
'is_valid_url': <function is_valid_url at 0x7f26b387c0>,
|
1609
|
+
'password_generator': <function password_generator at 0x7f26b38680>,
|
1610
|
+
'random_bool': <function random_bool at 0x7f26b384a0>,
|
1611
|
+
'restart': <function restart at 0x7f26b3b7e0>,
|
1612
|
+
'set_timeout': <function set_timeout at 0x7f26b3b920>,
|
1613
|
+
'sets_ordered': <function sets_ordered at 0x7f26b3ba60>,
|
1614
|
+
'str_cmp': <function str_cmp at 0x7f26b3bb00>,
|
1615
|
+
'to_str': <function to_str at 0x7f26b38f40>,
|
1616
|
+
'choices': <function choices at 0x7f26b3bba0>,
|
1617
|
+
'console_run': <function console_run at 0x7f26b3be20>,
|
1618
|
+
'input_char': <function input_char at 0x7f26b3bf60>,
|
1619
|
+
'log': <function log at 0x7f26b5c180>,
|
1620
|
+
'print_colorize': <function print_colorize at 0x7f26b5c220>,
|
1621
|
+
'print_dir': <function print_dir at 0x7f26b5c360>,
|
1622
|
+
'print_log': <function print_log at 0x7f26b5c040>,
|
1623
|
+
'print_to_last_line': <function print_to_last_line at 0x7f26b3bd80>,
|
1624
|
+
'text_colorize': <function text_colorize at 0x7f26b3bec0>,
|
1625
|
+
'batch_calculate': <function batch_calculate at 0x7f1bd516c0>,
|
1626
|
+
'batchmaker': <function batchmaker at 0x7f1bd52160>,
|
1627
|
+
'calculate': <function calculate at 0x7f1bd52480>,
|
1628
|
+
'auto_reload': <function auto_reload at 0x7f1bd52700>,
|
1629
|
+
'github_pull': <function github_pull at 0x7f1bd52520>,
|
1630
|
+
'github_push': <function github_push at 0x7f1ba7a160>,
|
1631
|
+
'github_user': <function github_user at 0x7f1ba7a0c0>,
|
1632
|
+
'pip_freeze_without_version': <function pip_freeze_without_version at 0x7f1ba7a2a0>,
|
1633
|
+
'poetry_publish': <function poetry_publish at 0x7f1ba7a340>,
|
1634
|
+
'poetry_update_version': <function poetry_update_version at 0x7f1ba9ec00>,
|
1635
|
+
'iargv': <function iargv at 0x7f1259c360>,
|
1636
|
+
'idumps': <function idumps at 0x7f1259c4a0>,
|
1637
|
+
'idumps_html': <function idumps_html at 0x7f12604ea0>,
|
1638
|
+
'ienv': <function ienv at 0x7f1259c5e0>,
|
1639
|
+
'iexec': <function iexec at 0x7f12605120>,
|
1640
|
+
'ijoin': <function ijoin at 0x7f1ba7a3e0>,
|
1641
|
+
'iloads': <function iloads at 0x7f126051c0>,
|
1642
|
+
'iloads_html': <function iloads_html at 0x7f12605440>,
|
1643
|
+
'iopen': <function iopen at 0x7f1ba7a480>,
|
1644
|
+
'iprint': <function iprint at 0x7f12605300>,
|
1645
|
+
'irange': <function irange at 0x7f1bd52660>,
|
1646
|
+
'ireplace': <function ireplace at 0x7f126054e0>,
|
1647
|
+
'iscandir': <function iscandir at 0x7f12607100>,
|
1648
|
+
'isplit': <function isplit at 0x7f126071a0>,
|
1649
|
+
'ivars': <function ivars at 0x7f12607240>}}
|
1641
1650
|
```
|
1642
1651
|
|
1643
1652
|
# CLASS
|
@@ -1677,7 +1686,7 @@ print(ExampleComparePerformance().compare_performance())
|
|
1677
1686
|
|
1678
1687
|
Output:
|
1679
1688
|
```py
|
1680
|
-
{'a': <generator object ExampleComparePerformance.a.<locals>.<genexpr> at
|
1689
|
+
{'a': <generator object ExampleComparePerformance.a.<locals>.<genexpr> at 0x7f123e0380>,
|
1681
1690
|
'b': (0, 1, 2, 3, 4, 5, 6, 7, 8, 9),
|
1682
1691
|
'c': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
|
1683
1692
|
'd': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]}
|
@@ -16,7 +16,7 @@ def irange(start, stop=None, step=1, index=0, numbers="abcdefghijklmnopqrstuvwxy
|
|
16
16
|
"""
|
17
17
|
if stop is None:
|
18
18
|
stop = start
|
19
|
-
start = 0
|
19
|
+
start = numbers[0] if isinstance(start, str) else 0
|
20
20
|
|
21
21
|
if isinstance(start, int) and isinstance(stop, int):
|
22
22
|
return range(start, stop, step)
|
@@ -25,7 +25,7 @@ def irange(start, stop=None, step=1, index=0, numbers="abcdefghijklmnopqrstuvwxy
|
|
25
25
|
return char_range(start, stop, step, index=index, numbers=numbers)
|
26
26
|
|
27
27
|
else:
|
28
|
-
raise Exception("start dan stop
|
28
|
+
raise Exception("start dan stop berbeda tipe")
|
29
29
|
|
30
30
|
|
31
31
|
def char_range(start, stop, step, numbers, index):
|
@@ -97,7 +97,7 @@ print(list(chunk_array(arr, 5)))
|
|
97
97
|
|
98
98
|
Output:
|
99
99
|
```py
|
100
|
-
<generator object chunk_array at
|
100
|
+
<generator object chunk_array at 0x7f123cc040>
|
101
101
|
[[2, 3, 12, 3, 3], [42, 42, 1, 43, 2], [42, 41, 4, 24, 32], [42, 3, 12, 32, 42], [42]]
|
102
102
|
```
|
103
103
|
|
@@ -148,9 +148,9 @@ print(datetime_now("Etc/GMT+7"))
|
|
148
148
|
|
149
149
|
Output:
|
150
150
|
```py
|
151
|
-
2024-04-29
|
152
|
-
2024-04-29
|
153
|
-
2024-04-29
|
151
|
+
2024-04-29 16:19:07.710087+07:00
|
152
|
+
2024-04-29 09:19:07.711655+00:00
|
153
|
+
2024-04-29 02:19:07.715625-07:00
|
154
154
|
```
|
155
155
|
|
156
156
|
## dict_first
|
@@ -217,7 +217,7 @@ print(filter_empty(var))
|
|
217
217
|
|
218
218
|
Output:
|
219
219
|
```py
|
220
|
-
<generator object filter_empty at
|
220
|
+
<generator object filter_empty at 0x7f12362d40>
|
221
221
|
```
|
222
222
|
|
223
223
|
## get_by_index
|
@@ -263,8 +263,8 @@ print(list(get_class_method(ExampleGetClassMethod)))
|
|
263
263
|
|
264
264
|
Output:
|
265
265
|
```py
|
266
|
-
<generator object get_class_method at
|
267
|
-
[<function ExampleGetClassMethod.a at
|
266
|
+
<generator object get_class_method at 0x7f12363010>
|
267
|
+
[<function ExampleGetClassMethod.a at 0x7f123d58a0>, <function ExampleGetClassMethod.b at 0x7f123d5760>, <function ExampleGetClassMethod.c at 0x7f123d5940>, <function ExampleGetClassMethod.d at 0x7f123d59e0>]
|
268
268
|
```
|
269
269
|
|
270
270
|
## get_filemtime
|
@@ -432,7 +432,7 @@ print(password_generator())
|
|
432
432
|
|
433
433
|
Output:
|
434
434
|
```py
|
435
|
-
|
435
|
+
=)xC!Q`c
|
436
436
|
```
|
437
437
|
|
438
438
|
## random_bool
|
@@ -450,7 +450,7 @@ print(random_bool())
|
|
450
450
|
|
451
451
|
Output:
|
452
452
|
```py
|
453
|
-
|
453
|
+
False
|
454
454
|
```
|
455
455
|
|
456
456
|
## restart
|
@@ -476,7 +476,7 @@ x.cancel()
|
|
476
476
|
|
477
477
|
Output:
|
478
478
|
```py
|
479
|
-
<Timer(Thread-2, started
|
479
|
+
<Timer(Thread-2, started 545743019248)>
|
480
480
|
menghentikan timeout 7
|
481
481
|
```
|
482
482
|
|
@@ -494,7 +494,7 @@ print(list(sets_ordered(array)))
|
|
494
494
|
|
495
495
|
Output:
|
496
496
|
```py
|
497
|
-
<generator object sets_ordered at
|
497
|
+
<generator object sets_ordered at 0x7f123e02b0>
|
498
498
|
[2, 3, 12, 42, 1, 43, 41, 4, 24, 32]
|
499
499
|
```
|
500
500
|
|
@@ -648,7 +648,7 @@ Output:
|
|
648
648
|
__enter__ : https:/www.google.com
|
649
649
|
__fspath__ : https:/www.google.com
|
650
650
|
__getstate__ : (None, {'_drv': '', '_root': '', '_parts': ['https:', 'www.google.com'], '_str': 'https:/www.google.com'})
|
651
|
-
__hash__ :
|
651
|
+
__hash__ : 2542810184995871325
|
652
652
|
__init__ : None
|
653
653
|
__init_subclass__ : None
|
654
654
|
__module__ : pathlib
|
@@ -661,8 +661,8 @@ Output:
|
|
661
661
|
_cached_cparts : ['https:', 'www.google.com']
|
662
662
|
_cparts : ['https:', 'www.google.com']
|
663
663
|
_drv :
|
664
|
-
_flavour : <pathlib._PosixFlavour object at
|
665
|
-
_hash :
|
664
|
+
_flavour : <pathlib._PosixFlavour object at 0x7f26b089d0>
|
665
|
+
_hash : 2542810184995871325
|
666
666
|
_parts : ['https:', 'www.google.com']
|
667
667
|
_root :
|
668
668
|
_str : https:/www.google.com
|
@@ -684,7 +684,7 @@ Output:
|
|
684
684
|
is_reserved : False
|
685
685
|
is_socket : False
|
686
686
|
is_symlink : False
|
687
|
-
iterdir : <generator object Path.iterdir at
|
687
|
+
iterdir : <generator object Path.iterdir at 0x7f123b8ba0>
|
688
688
|
joinpath : https:/www.google.com
|
689
689
|
name : www.google.com
|
690
690
|
parent : https:
|
@@ -1128,7 +1128,7 @@ print(ijoin(10, ' '))
|
|
1128
1128
|
|
1129
1129
|
Output:
|
1130
1130
|
```py
|
1131
|
-
|
1131
|
+
qweqw, asd, dfs, weq
|
1132
1132
|
,ini,path,seperti,url,
|
1133
1133
|
ini,path,seperti,url
|
1134
1134
|
<li>satu</li>
|
@@ -1194,9 +1194,9 @@ Output:
|
|
1194
1194
|
```py
|
1195
1195
|
(['Home', 'Emas 1 Gram', 'History', 'Trend', 'Perak 1 Gram', 'Pluang'],
|
1196
1196
|
[['Harga Emas Hari Ini - Senin, 29 April 2024'],
|
1197
|
-
['Spot Emas USD↑2.338,
|
1197
|
+
['Spot Emas USD↑2.338,07 (+0,13) / oz',
|
1198
1198
|
'Kurs IDR↑16.222,00 (+14,00) / USD',
|
1199
|
-
'Emas IDR↑1.219.
|
1199
|
+
'Emas IDR↑1.219.419 (+1.120) / gr'],
|
1200
1200
|
['LM Antam (Jual)↓1.325.000 (-1.000) / gr',
|
1201
1201
|
'LM Antam (Beli)↓1.221.000 (-1.000) / gr']],
|
1202
1202
|
[['Harga Emas Hari Ini'],
|
@@ -1267,10 +1267,10 @@ Output:
|
|
1267
1267
|
'Update harga LM Pegadaian :31 Agustus 2023']],
|
1268
1268
|
[['Spot Harga Emas Hari Ini (Market Open)'],
|
1269
1269
|
['Satuan', 'USD', 'Kurs\xa0Dollar', 'IDR'],
|
1270
|
-
['Ounce\xa0(oz)', '2.338,
|
1271
|
-
['Gram\xa0(gr)', '75,
|
1272
|
-
['Kilogram\xa0(kg)', '75.
|
1273
|
-
['Update harga emas :29 April 2024, pukul
|
1270
|
+
['Ounce\xa0(oz)', '2.338,07 (+0,13)', '16.222,00 (+14,00)', '37.928.172'],
|
1271
|
+
['Gram\xa0(gr)', '75,17', '16.222,00', '1.219.419 (+1.120)'],
|
1272
|
+
['Kilogram\xa0(kg)', '75.170,70', '16.222,00', '1.219.419.032'],
|
1273
|
+
['Update harga emas :29 April 2024, pukul 16:19Update kurs :29 April 2024, '
|
1274
1274
|
'pukul 13:10']],
|
1275
1275
|
[['Gram', 'UBS Gold 99.99%'],
|
1276
1276
|
['Jual', 'Beli'],
|
@@ -1278,26 +1278,34 @@ Output:
|
|
1278
1278
|
['100',
|
1279
1279
|
'126.300.000 (-512.000)',
|
1280
1280
|
'1.263.000 (-5.120)',
|
1281
|
-
'
|
1282
|
-
'1.
|
1281
|
+
'125.185.000 (+200.000)',
|
1282
|
+
'1.251.850 (+2.000)'],
|
1283
1283
|
['50',
|
1284
1284
|
'63.300.000 (-145.000)',
|
1285
1285
|
'1.266.000 (-2.900)',
|
1286
|
-
'62.
|
1287
|
-
'1.
|
1286
|
+
'62.645.000 (+100.000)',
|
1287
|
+
'1.252.900 (+2.000)'],
|
1288
1288
|
['25',
|
1289
1289
|
'31.700.000 (-62.000)',
|
1290
1290
|
'1.268.000 (-2.480)',
|
1291
|
-
'31.
|
1292
|
-
'1.
|
1291
|
+
'31.425.000 (+50.000)',
|
1292
|
+
'1.257.000 (+2.000)'],
|
1293
1293
|
['10',
|
1294
1294
|
'12.720.000 (-35.000)',
|
1295
1295
|
'1.272.000 (-3.500)',
|
1296
|
-
'12.
|
1297
|
-
'1.
|
1298
|
-
['5',
|
1299
|
-
|
1300
|
-
|
1296
|
+
'12.620.000 (+20.000)',
|
1297
|
+
'1.262.000 (+2.000)'],
|
1298
|
+
['5',
|
1299
|
+
'6.385.000 (-20.000)',
|
1300
|
+
'1.277.000 (-4.000)',
|
1301
|
+
'6.362.000 (+10.000)',
|
1302
|
+
'1.272.400 (+2.000)'],
|
1303
|
+
['1',
|
1304
|
+
'1.325.000 (-1.000)',
|
1305
|
+
'1.325.000 (-1.000)',
|
1306
|
+
'1.305.000 (+2.000)',
|
1307
|
+
'1.305.000 (+2.000)'],
|
1308
|
+
['', 'Update :29 April 2024, pukul 16:06']],
|
1301
1309
|
[['Konversi Satuan'],
|
1302
1310
|
['Satuan', 'Ounce (oz)', 'Gram (gr)', 'Kilogram (kg)'],
|
1303
1311
|
['Ounce\xa0(oz)', '1', '31,1034767696', '0,0311034768'],
|
@@ -1308,36 +1316,36 @@ Output:
|
|
1308
1316
|
['Unit', 'USD', 'IDR'],
|
1309
1317
|
['Angka', '+/-', 'Angka', '+/-'],
|
1310
1318
|
['Hari Ini', 'Kurs', '', '', '16.208', '+14+0,09%'],
|
1311
|
-
['oz', '2.337,94', '+0,
|
1312
|
-
['gr', '75,17', '+0,
|
1319
|
+
['oz', '2.337,94', '+0,13+0,01%', '37.893.332', '+34.840+0,09%'],
|
1320
|
+
['gr', '75,17', '+0,00+0,01%', '1.218.299', '+1.120+0,09%'],
|
1313
1321
|
['30 Hari', 'Kurs', '', '', '15.853', '+369+2,33%'],
|
1314
|
-
['oz', '2.232,75', '+105,
|
1315
|
-
['gr', '71,78', '+3,
|
1322
|
+
['oz', '2.232,75', '+105,32+4,72%', '35.395.786', '+2.532.386+7,15%'],
|
1323
|
+
['gr', '71,78', '+3,39+4,72%', '1.138.001', '+81.418+7,15%'],
|
1316
1324
|
['2 Bulan', 'Kurs', '', '', '15.673', '+549+3,50%'],
|
1317
|
-
['oz', '2.045,83', '+292,
|
1318
|
-
['gr', '65,77', '+9,
|
1325
|
+
['oz', '2.045,83', '+292,24+14,28%', '32.064.294', '+5.863.878+18,29%'],
|
1326
|
+
['gr', '65,77', '+9,40+14,28', '1.030.891', '+188.528+18,29%'],
|
1319
1327
|
['6 Bulan', 'Kurs', '', '', '15.897', '+325+2,04%'],
|
1320
|
-
['oz', '1.977,80', '+360,
|
1321
|
-
['gr', '63,59', '+11,
|
1328
|
+
['oz', '1.977,80', '+360,27+18,22%', '31.441.087', '+6.487.085+20,63%'],
|
1329
|
+
['gr', '63,59', '+11,58+18,22%', '1.010.854', '+208.565+20,63%'],
|
1322
1330
|
['1 Tahun', 'Kurs', '', '', '15.731', '+491+3,12%'],
|
1323
|
-
['oz', '1.823,86', '+514,
|
1324
|
-
['gr', '58,64', '+16,
|
1331
|
+
['oz', '1.823,86', '+514,21+28,19%', '28.691.142', '+9.237.030+32,19%'],
|
1332
|
+
['gr', '58,64', '+16,53+28,19%', '922.442', '+296.977+32,19%'],
|
1325
1333
|
['2 Tahun', 'Kurs', '', '', '14.418', '+1.804+12,51%'],
|
1326
|
-
['oz', '1.896,95', '+441,
|
1327
|
-
['gr', '60,99', '+14,
|
1334
|
+
['oz', '1.896,95', '+441,12+23,25%', '27.350.225', '+10.577.946+38,68%'],
|
1335
|
+
['gr', '60,99', '+14,18+23,25%', '879.330', '+340.089+38,68%'],
|
1328
1336
|
['3 Tahun', 'Kurs', '', '', '14.468', '+1.754+12,12%'],
|
1329
|
-
['oz', '1.767,08', '+
|
1330
|
-
['gr', '56,81', '+18,
|
1337
|
+
['oz', '1.767,08', '+570,99+32,31%', '25.566.113', '+12.362.058+48,35%'],
|
1338
|
+
['gr', '56,81', '+18,36+32,31%', '821.970', '+397.449+48,35%'],
|
1331
1339
|
['5 Tahun', 'Kurs', '', '', '14.215', '+2.007+14,12%'],
|
1332
|
-
['oz', '1.280,61', '+1.057,
|
1333
|
-
['gr', '41,17', '+34,
|
1340
|
+
['oz', '1.280,61', '+1.057,46+82,57%', '18.203.871', '+19.724.300+108,35%'],
|
1341
|
+
['gr', '41,17', '+34,00+82,57%', '585.268', '+634.151+108,35%']])
|
1334
1342
|
(['Home', 'Emas 1 Gram', 'History', 'Trend', 'Perak 1 Gram', 'Pluang'],
|
1335
1343
|
[[''],
|
1336
1344
|
['Emas 24 KaratHarga Emas 1 Gram', ''],
|
1337
|
-
['USD', '75,
|
1338
|
-
['KURS', '16.
|
1339
|
-
['IDR', '1.
|
1340
|
-
['Senin, 29 April 2024
|
1345
|
+
['USD', '75,17↓', '%'],
|
1346
|
+
['KURS', '16.251,75↑', '+10,45+0,06%'],
|
1347
|
+
['IDR', '1.221.655,36↑', '+853,42+0,07%'],
|
1348
|
+
['Senin, 29 April 2024 16:19']],
|
1341
1349
|
[[''],
|
1342
1350
|
['Emas 1 Gram (IDR)Emas 1 Gram (USD)Kurs USD-IDR',
|
1343
1351
|
'Hari Ini',
|
@@ -1348,19 +1356,19 @@ Output:
|
|
1348
1356
|
'']],
|
1349
1357
|
[['Pergerakkan Harga Emas 1 Gram'],
|
1350
1358
|
['', 'Penutupan Kemarin', 'Pergerakkan Hari Ini', 'Rata-rata'],
|
1351
|
-
['USD', '75,17', '75,17 - 75,
|
1352
|
-
['KURS', '16.241,30', '16.241,30 - 16.
|
1353
|
-
['IDR', '1.220.801,94', '1.220.801,94 - 1.
|
1359
|
+
['USD', '75,17', '75,17 - 75,17', '75,17'],
|
1360
|
+
['KURS', '16.241,30', '16.241,30 - 16.251,75', '16.246,53'],
|
1361
|
+
['IDR', '1.220.801,94', '1.220.801,94 - 1.221.655,36', '1.221.228,65'],
|
1354
1362
|
[''],
|
1355
1363
|
['', 'Awal Tahun', 'Pergerakkan YTD', '+/- YTD'],
|
1356
|
-
['USD', '66,32', '64,07 - 77,14', '+8,
|
1357
|
-
['KURS', '15.390,10', '15.390,00 - 16.307,80', '+
|
1358
|
-
['IDR', '1.020.729,53', '997.660,12 - 1.256.829,06', '+
|
1364
|
+
['USD', '66,32', '64,07 - 77,14', '+8,85 (13,34%)'],
|
1365
|
+
['KURS', '15.390,10', '15.390,00 - 16.307,80', '+861,65 (5,60%)'],
|
1366
|
+
['IDR', '1.020.729,53', '997.660,12 - 1.256.829,06', '+200.925,83 (19,68%)'],
|
1359
1367
|
[''],
|
1360
1368
|
['', 'Tahun Lalu / 52 Minggu', 'Pergerakkan 52 Minggu', '+/- 52 Minggu'],
|
1361
|
-
['USD', '64,04', '58,43 - 77,14', '+11,
|
1362
|
-
['KURS', '14.671,35', '14.669,40 - 16.307,80', '+1.
|
1363
|
-
['IDR', '939.568,98', '912.925,68 - 1.256.829,06', '+282.
|
1369
|
+
['USD', '64,04', '58,43 - 77,14', '+11,13 (17,38%)'],
|
1370
|
+
['KURS', '14.671,35', '14.669,40 - 16.307,80', '+1.580,40 (10,77%)'],
|
1371
|
+
['IDR', '939.568,98', '912.925,68 - 1.256.829,06', '+282.086,38 (30,02%)']])
|
1364
1372
|
```
|
1365
1373
|
|
1366
1374
|
## iopen
|
@@ -1402,7 +1410,8 @@ Output:
|
|
1402
1410
|
```py
|
1403
1411
|
8
|
1404
1412
|
['mana', 'aja']
|
1405
|
-
|
1413
|
+
Timeout 3
|
1414
|
+
[<Element a at 0x7f2a7c5c20>, <Element a at 0x7f1240a940>, <Element a at 0x7f1240a9e0>, <Element a at 0x7f1240aa30>, <Element a at 0x7f1240aa80>, <Element a at 0x7f1240aad0>, <Element a at 0x7f1240ab20>, <Element a at 0x7f1240ab70>, <Element a at 0x7f1240abc0>, <Element a at 0x7f1240ac10>, <Element a at 0x7f1240ac60>, <Element a at 0x7f1240acb0>, <Element a at 0x7f1240ad00>, <Element a at 0x7f1240ad50>, <Element a at 0x7f1240ada0>, <Element a at 0x7f1240adf0>, <Element a at 0x7f1240ae40>, <Element a at 0x7f1240ae90>, <Element a at 0x7f1240aee0>, <Element a at 0x7f1240af30>]
|
1406
1415
|
False
|
1407
1416
|
```
|
1408
1417
|
|
@@ -1478,7 +1487,7 @@ print(list(iscandir("./", recursive=False, scan_file=False)))
|
|
1478
1487
|
|
1479
1488
|
Output:
|
1480
1489
|
```py
|
1481
|
-
<generator object iscandir at
|
1490
|
+
<generator object iscandir at 0x7f123cc540>
|
1482
1491
|
[PosixPath('.git'), PosixPath('.vscode'), PosixPath('pypipr'), PosixPath('__pycache__'), PosixPath('dist')]
|
1483
1492
|
```
|
1484
1493
|
|
@@ -1516,7 +1525,7 @@ Output:
|
|
1516
1525
|
'idjango': <module 'pypipr.idjango' from '/data/data/com.termux/files/home/pypipr/pypipr/idjango/__init__.py'>,
|
1517
1526
|
'iengineering': <module 'pypipr.iengineering' from '/data/data/com.termux/files/home/pypipr/pypipr/iengineering/__init__.py'>,
|
1518
1527
|
'ifunctions': <module 'pypipr.ifunctions' from '/data/data/com.termux/files/home/pypipr/pypipr/ifunctions/__init__.py'>,
|
1519
|
-
'iflow': <module 'pypipr.iflow' (<_frozen_importlib_external.NamespaceLoader object at
|
1528
|
+
'iflow': <module 'pypipr.iflow' (<_frozen_importlib_external.NamespaceLoader object at 0x7f1bd4b890>)>,
|
1520
1529
|
'asyncio': <module 'asyncio' from '/data/data/com.termux/files/usr/lib/python3.11/asyncio/__init__.py'>,
|
1521
1530
|
'colorama': <module 'colorama' from '/data/data/com.termux/files/usr/lib/python3.11/site-packages/colorama/__init__.py'>,
|
1522
1531
|
'csv': <module 'csv' from '/data/data/com.termux/files/usr/lib/python3.11/csv.py'>,
|
@@ -1554,67 +1563,67 @@ Output:
|
|
1554
1563
|
'PintUregQuantity': <class 'pint.Quantity'>},
|
1555
1564
|
'variable': {'LINUX': True,
|
1556
1565
|
'WINDOWS': False,
|
1557
|
-
'PintUreg': <pint.registry.UnitRegistry object at
|
1558
|
-
'function': {'avg': <function avg at
|
1559
|
-
'basename': <function basename at
|
1560
|
-
'chr_to_int': <function chr_to_int at
|
1561
|
-
'chunk_array': <function chunk_array at
|
1562
|
-
'create_folder': <function create_folder at
|
1563
|
-
'datetime_from_string': <function datetime_from_string at
|
1564
|
-
'datetime_now': <function datetime_now at
|
1565
|
-
'dict_first': <function dict_first at
|
1566
|
-
'dirname': <function dirname at
|
1567
|
-
'exit_if_empty': <function exit_if_empty at
|
1568
|
-
'filter_empty': <function filter_empty at
|
1569
|
-
'get_by_index': <function get_by_index at
|
1570
|
-
'get_class_method': <function get_class_method at
|
1571
|
-
'get_filemtime': <function get_filemtime at
|
1572
|
-
'get_filesize': <function get_filesize at
|
1573
|
-
'int_to_chr': <function int_to_chr at
|
1574
|
-
'is_empty': <function is_empty at
|
1575
|
-
'is_iterable': <function is_iterable at
|
1576
|
-
'is_valid_url': <function is_valid_url at
|
1577
|
-
'password_generator': <function password_generator at
|
1578
|
-
'random_bool': <function random_bool at
|
1579
|
-
'restart': <function restart at
|
1580
|
-
'set_timeout': <function set_timeout at
|
1581
|
-
'sets_ordered': <function sets_ordered at
|
1582
|
-
'str_cmp': <function str_cmp at
|
1583
|
-
'to_str': <function to_str at
|
1584
|
-
'choices': <function choices at
|
1585
|
-
'console_run': <function console_run at
|
1586
|
-
'input_char': <function input_char at
|
1587
|
-
'log': <function log at
|
1588
|
-
'print_colorize': <function print_colorize at
|
1589
|
-
'print_dir': <function print_dir at
|
1590
|
-
'print_log': <function print_log at
|
1591
|
-
'print_to_last_line': <function print_to_last_line at
|
1592
|
-
'text_colorize': <function text_colorize at
|
1593
|
-
'batch_calculate': <function batch_calculate at
|
1594
|
-
'batchmaker': <function batchmaker at
|
1595
|
-
'calculate': <function calculate at
|
1596
|
-
'auto_reload': <function auto_reload at
|
1597
|
-
'github_pull': <function github_pull at
|
1598
|
-
'github_push': <function github_push at
|
1599
|
-
'github_user': <function github_user at
|
1600
|
-
'pip_freeze_without_version': <function pip_freeze_without_version at
|
1601
|
-
'poetry_publish': <function poetry_publish at
|
1602
|
-
'poetry_update_version': <function poetry_update_version at
|
1603
|
-
'iargv': <function iargv at
|
1604
|
-
'idumps': <function idumps at
|
1605
|
-
'idumps_html': <function idumps_html at
|
1606
|
-
'ienv': <function ienv at
|
1607
|
-
'iexec': <function iexec at
|
1608
|
-
'ijoin': <function ijoin at
|
1609
|
-
'iloads': <function iloads at
|
1610
|
-
'iloads_html': <function iloads_html at
|
1611
|
-
'iopen': <function iopen at
|
1612
|
-
'iprint': <function iprint at
|
1613
|
-
'irange': <function irange at
|
1614
|
-
'ireplace': <function ireplace at
|
1615
|
-
'iscandir': <function iscandir at
|
1616
|
-
'isplit': <function isplit at
|
1617
|
-
'ivars': <function ivars at
|
1566
|
+
'PintUreg': <pint.registry.UnitRegistry object at 0x7f26b57a90>},
|
1567
|
+
'function': {'avg': <function avg at 0x7f2a7b6d40>,
|
1568
|
+
'basename': <function basename at 0x7f2a7868e0>,
|
1569
|
+
'chr_to_int': <function chr_to_int at 0x7f26a91080>,
|
1570
|
+
'chunk_array': <function chunk_array at 0x7f26a911c0>,
|
1571
|
+
'create_folder': <function create_folder at 0x7f26a913a0>,
|
1572
|
+
'datetime_from_string': <function datetime_from_string at 0x7f26a91580>,
|
1573
|
+
'datetime_now': <function datetime_now at 0x7f26b39620>,
|
1574
|
+
'dict_first': <function dict_first at 0x7f26b39580>,
|
1575
|
+
'dirname': <function dirname at 0x7f26b394e0>,
|
1576
|
+
'exit_if_empty': <function exit_if_empty at 0x7f26b393a0>,
|
1577
|
+
'filter_empty': <function filter_empty at 0x7f26b391c0>,
|
1578
|
+
'get_by_index': <function get_by_index at 0x7f26b38e00>,
|
1579
|
+
'get_class_method': <function get_class_method at 0x7f26b38cc0>,
|
1580
|
+
'get_filemtime': <function get_filemtime at 0x7f26b38b80>,
|
1581
|
+
'get_filesize': <function get_filesize at 0x7f26b389a0>,
|
1582
|
+
'int_to_chr': <function int_to_chr at 0x7f26b38900>,
|
1583
|
+
'is_empty': <function is_empty at 0x7f26b39260>,
|
1584
|
+
'is_iterable': <function is_iterable at 0x7f26b38fe0>,
|
1585
|
+
'is_valid_url': <function is_valid_url at 0x7f26b387c0>,
|
1586
|
+
'password_generator': <function password_generator at 0x7f26b38680>,
|
1587
|
+
'random_bool': <function random_bool at 0x7f26b384a0>,
|
1588
|
+
'restart': <function restart at 0x7f26b3b7e0>,
|
1589
|
+
'set_timeout': <function set_timeout at 0x7f26b3b920>,
|
1590
|
+
'sets_ordered': <function sets_ordered at 0x7f26b3ba60>,
|
1591
|
+
'str_cmp': <function str_cmp at 0x7f26b3bb00>,
|
1592
|
+
'to_str': <function to_str at 0x7f26b38f40>,
|
1593
|
+
'choices': <function choices at 0x7f26b3bba0>,
|
1594
|
+
'console_run': <function console_run at 0x7f26b3be20>,
|
1595
|
+
'input_char': <function input_char at 0x7f26b3bf60>,
|
1596
|
+
'log': <function log at 0x7f26b5c180>,
|
1597
|
+
'print_colorize': <function print_colorize at 0x7f26b5c220>,
|
1598
|
+
'print_dir': <function print_dir at 0x7f26b5c360>,
|
1599
|
+
'print_log': <function print_log at 0x7f26b5c040>,
|
1600
|
+
'print_to_last_line': <function print_to_last_line at 0x7f26b3bd80>,
|
1601
|
+
'text_colorize': <function text_colorize at 0x7f26b3bec0>,
|
1602
|
+
'batch_calculate': <function batch_calculate at 0x7f1bd516c0>,
|
1603
|
+
'batchmaker': <function batchmaker at 0x7f1bd52160>,
|
1604
|
+
'calculate': <function calculate at 0x7f1bd52480>,
|
1605
|
+
'auto_reload': <function auto_reload at 0x7f1bd52700>,
|
1606
|
+
'github_pull': <function github_pull at 0x7f1bd52520>,
|
1607
|
+
'github_push': <function github_push at 0x7f1ba7a160>,
|
1608
|
+
'github_user': <function github_user at 0x7f1ba7a0c0>,
|
1609
|
+
'pip_freeze_without_version': <function pip_freeze_without_version at 0x7f1ba7a2a0>,
|
1610
|
+
'poetry_publish': <function poetry_publish at 0x7f1ba7a340>,
|
1611
|
+
'poetry_update_version': <function poetry_update_version at 0x7f1ba9ec00>,
|
1612
|
+
'iargv': <function iargv at 0x7f1259c360>,
|
1613
|
+
'idumps': <function idumps at 0x7f1259c4a0>,
|
1614
|
+
'idumps_html': <function idumps_html at 0x7f12604ea0>,
|
1615
|
+
'ienv': <function ienv at 0x7f1259c5e0>,
|
1616
|
+
'iexec': <function iexec at 0x7f12605120>,
|
1617
|
+
'ijoin': <function ijoin at 0x7f1ba7a3e0>,
|
1618
|
+
'iloads': <function iloads at 0x7f126051c0>,
|
1619
|
+
'iloads_html': <function iloads_html at 0x7f12605440>,
|
1620
|
+
'iopen': <function iopen at 0x7f1ba7a480>,
|
1621
|
+
'iprint': <function iprint at 0x7f12605300>,
|
1622
|
+
'irange': <function irange at 0x7f1bd52660>,
|
1623
|
+
'ireplace': <function ireplace at 0x7f126054e0>,
|
1624
|
+
'iscandir': <function iscandir at 0x7f12607100>,
|
1625
|
+
'isplit': <function isplit at 0x7f126071a0>,
|
1626
|
+
'ivars': <function ivars at 0x7f12607240>}}
|
1618
1627
|
```
|
1619
1628
|
|
1620
1629
|
# CLASS
|
@@ -1654,7 +1663,7 @@ print(ExampleComparePerformance().compare_performance())
|
|
1654
1663
|
|
1655
1664
|
Output:
|
1656
1665
|
```py
|
1657
|
-
{'a': <generator object ExampleComparePerformance.a.<locals>.<genexpr> at
|
1666
|
+
{'a': <generator object ExampleComparePerformance.a.<locals>.<genexpr> at 0x7f123e0380>,
|
1658
1667
|
'b': (0, 1, 2, 3, 4, 5, 6, 7, 8, 9),
|
1659
1668
|
'c': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
|
1660
1669
|
'd': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]}
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|