pypipr 1.0.103__tar.gz → 1.0.106__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.103 → pypipr-1.0.106}/PKG-INFO +116 -117
- {pypipr-1.0.103 → pypipr-1.0.106}/pypipr/iengineering/batch_calculate.py +10 -4
- {pypipr-1.0.103 → pypipr-1.0.106}/pypipr/iengineering/batchmaker.py +1 -1
- {pypipr-1.0.103 → pypipr-1.0.106}/pypipr/ifunctions/irange.py +6 -21
- {pypipr-1.0.103 → pypipr-1.0.106}/pyproject.toml +1 -1
- {pypipr-1.0.103 → pypipr-1.0.106}/readme.md +115 -116
- {pypipr-1.0.103 → pypipr-1.0.106}/pypipr/__init__.py +0 -0
- {pypipr-1.0.103 → pypipr-1.0.106}/pypipr/ibuiltins/ComparePerformance.py +0 -0
- {pypipr-1.0.103 → pypipr-1.0.106}/pypipr/ibuiltins/LINUX.py +0 -0
- {pypipr-1.0.103 → pypipr-1.0.106}/pypipr/ibuiltins/RunParallel.py +0 -0
- {pypipr-1.0.103 → pypipr-1.0.106}/pypipr/ibuiltins/WINDOWS.py +0 -0
- {pypipr-1.0.103 → pypipr-1.0.106}/pypipr/ibuiltins/__init__.py +0 -0
- {pypipr-1.0.103 → pypipr-1.0.106}/pypipr/ibuiltins/avg.py +0 -0
- {pypipr-1.0.103 → pypipr-1.0.106}/pypipr/ibuiltins/basename.py +0 -0
- {pypipr-1.0.103 → pypipr-1.0.106}/pypipr/ibuiltins/chr_to_int.py +0 -0
- {pypipr-1.0.103 → pypipr-1.0.106}/pypipr/ibuiltins/chunk_array.py +0 -0
- {pypipr-1.0.103 → pypipr-1.0.106}/pypipr/ibuiltins/create_folder.py +0 -0
- {pypipr-1.0.103 → pypipr-1.0.106}/pypipr/ibuiltins/datetime_from_string.py +0 -0
- {pypipr-1.0.103 → pypipr-1.0.106}/pypipr/ibuiltins/datetime_now.py +0 -0
- {pypipr-1.0.103 → pypipr-1.0.106}/pypipr/ibuiltins/dict_first.py +0 -0
- {pypipr-1.0.103 → pypipr-1.0.106}/pypipr/ibuiltins/dirname.py +0 -0
- {pypipr-1.0.103 → pypipr-1.0.106}/pypipr/ibuiltins/exit_if_empty.py +0 -0
- {pypipr-1.0.103 → pypipr-1.0.106}/pypipr/ibuiltins/filter_empty.py +0 -0
- {pypipr-1.0.103 → pypipr-1.0.106}/pypipr/ibuiltins/get_by_index.py +0 -0
- {pypipr-1.0.103 → pypipr-1.0.106}/pypipr/ibuiltins/get_class_method.py +0 -0
- {pypipr-1.0.103 → pypipr-1.0.106}/pypipr/ibuiltins/get_filemtime.py +0 -0
- {pypipr-1.0.103 → pypipr-1.0.106}/pypipr/ibuiltins/get_filesize.py +0 -0
- {pypipr-1.0.103 → pypipr-1.0.106}/pypipr/ibuiltins/int_to_chr.py +0 -0
- {pypipr-1.0.103 → pypipr-1.0.106}/pypipr/ibuiltins/is_empty.py +0 -0
- {pypipr-1.0.103 → pypipr-1.0.106}/pypipr/ibuiltins/is_iterable.py +0 -0
- {pypipr-1.0.103 → pypipr-1.0.106}/pypipr/ibuiltins/is_valid_url.py +0 -0
- {pypipr-1.0.103 → pypipr-1.0.106}/pypipr/ibuiltins/password_generator.py +0 -0
- {pypipr-1.0.103 → pypipr-1.0.106}/pypipr/ibuiltins/random_bool.py +0 -0
- {pypipr-1.0.103 → pypipr-1.0.106}/pypipr/ibuiltins/restart.py +0 -0
- {pypipr-1.0.103 → pypipr-1.0.106}/pypipr/ibuiltins/set_timeout.py +0 -0
- {pypipr-1.0.103 → pypipr-1.0.106}/pypipr/ibuiltins/sets_ordered.py +0 -0
- {pypipr-1.0.103 → pypipr-1.0.106}/pypipr/ibuiltins/str_cmp.py +0 -0
- {pypipr-1.0.103 → pypipr-1.0.106}/pypipr/ibuiltins/to_str.py +0 -0
- {pypipr-1.0.103 → pypipr-1.0.106}/pypipr/iconsole/__init__.py +0 -0
- {pypipr-1.0.103 → pypipr-1.0.106}/pypipr/iconsole/choices.py +0 -0
- {pypipr-1.0.103 → pypipr-1.0.106}/pypipr/iconsole/console_run.py +0 -0
- {pypipr-1.0.103 → pypipr-1.0.106}/pypipr/iconsole/input_char.py +0 -0
- {pypipr-1.0.103 → pypipr-1.0.106}/pypipr/iconsole/log.py +0 -0
- {pypipr-1.0.103 → pypipr-1.0.106}/pypipr/iconsole/print_colorize.py +0 -0
- {pypipr-1.0.103 → pypipr-1.0.106}/pypipr/iconsole/print_dir.py +0 -0
- {pypipr-1.0.103 → pypipr-1.0.106}/pypipr/iconsole/print_log.py +0 -0
- {pypipr-1.0.103 → pypipr-1.0.106}/pypipr/iconsole/print_to_last_line.py +0 -0
- {pypipr-1.0.103 → pypipr-1.0.106}/pypipr/iconsole/text_colorize.py +0 -0
- {pypipr-1.0.103 → pypipr-1.0.106}/pypipr/idjango/APIMixinView.py +0 -0
- {pypipr-1.0.103 → pypipr-1.0.106}/pypipr/idjango/__init__.py +0 -0
- {pypipr-1.0.103 → pypipr-1.0.106}/pypipr/iengineering/PintUreg.py +0 -0
- {pypipr-1.0.103 → pypipr-1.0.106}/pypipr/iengineering/PintUregQuantity.py +0 -0
- {pypipr-1.0.103 → pypipr-1.0.106}/pypipr/iengineering/__init__.py +0 -0
- {pypipr-1.0.103 → pypipr-1.0.106}/pypipr/iengineering/calculate.py +0 -0
- {pypipr-1.0.103 → pypipr-1.0.106}/pypipr/iflow/auto_reload.py +0 -0
- {pypipr-1.0.103 → pypipr-1.0.106}/pypipr/iflow/github_pull.py +0 -0
- {pypipr-1.0.103 → pypipr-1.0.106}/pypipr/iflow/github_push.py +0 -0
- {pypipr-1.0.103 → pypipr-1.0.106}/pypipr/iflow/github_user.py +0 -0
- {pypipr-1.0.103 → pypipr-1.0.106}/pypipr/iflow/pip_freeze_without_version.py +0 -0
- {pypipr-1.0.103 → pypipr-1.0.106}/pypipr/iflow/poetry_publish.py +0 -0
- {pypipr-1.0.103 → pypipr-1.0.106}/pypipr/iflow/poetry_update_version.py +0 -0
- {pypipr-1.0.103 → pypipr-1.0.106}/pypipr/ifunctions/__init__.py +0 -0
- {pypipr-1.0.103 → pypipr-1.0.106}/pypipr/ifunctions/iargv.py +0 -0
- {pypipr-1.0.103 → pypipr-1.0.106}/pypipr/ifunctions/idumps.py +0 -0
- {pypipr-1.0.103 → pypipr-1.0.106}/pypipr/ifunctions/idumps_html.py +0 -0
- {pypipr-1.0.103 → pypipr-1.0.106}/pypipr/ifunctions/ienv.py +0 -0
- {pypipr-1.0.103 → pypipr-1.0.106}/pypipr/ifunctions/iexec.py +0 -0
- {pypipr-1.0.103 → pypipr-1.0.106}/pypipr/ifunctions/ijoin.py +0 -0
- {pypipr-1.0.103 → pypipr-1.0.106}/pypipr/ifunctions/iloads.py +0 -0
- {pypipr-1.0.103 → pypipr-1.0.106}/pypipr/ifunctions/iloads_html.py +0 -0
- {pypipr-1.0.103 → pypipr-1.0.106}/pypipr/ifunctions/iopen.py +0 -0
- {pypipr-1.0.103 → pypipr-1.0.106}/pypipr/ifunctions/iprint.py +0 -0
- {pypipr-1.0.103 → pypipr-1.0.106}/pypipr/ifunctions/irange.py.bak +0 -0
- {pypipr-1.0.103 → pypipr-1.0.106}/pypipr/ifunctions/ireplace.py +0 -0
- {pypipr-1.0.103 → pypipr-1.0.106}/pypipr/ifunctions/iscandir.py +0 -0
- {pypipr-1.0.103 → pypipr-1.0.106}/pypipr/ifunctions/isplit.py +0 -0
- {pypipr-1.0.103 → pypipr-1.0.106}/pypipr/ifunctions/ivars.py +0 -0
- {pypipr-1.0.103 → pypipr-1.0.106}/pypipr/pypipr.py.bak +0 -0
- {pypipr-1.0.103 → pypipr-1.0.106}/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.106
|
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 0x7807440140>
|
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 20:34:31.857030+07:00
|
175
|
+
2024-04-29 13:34:31.857799+00:00
|
176
|
+
2024-04-29 06:34:31.859165-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 0x78073d2d40>
|
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 0x78073d3010>
|
290
|
+
[<function ExampleGetClassMethod.a at 0x7807449800>, <function ExampleGetClassMethod.b at 0x78074496c0>, <function ExampleGetClassMethod.c at 0x78074498a0>, <function ExampleGetClassMethod.d at 0x7807449940>]
|
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
|
+
et[>#k65
|
459
459
|
```
|
460
460
|
|
461
461
|
## random_bool
|
@@ -499,7 +499,7 @@ x.cancel()
|
|
499
499
|
|
500
500
|
Output:
|
501
501
|
```py
|
502
|
-
<Timer(Thread-2, started
|
502
|
+
<Timer(Thread-2, started 515494214896)>
|
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 0x78074501e0>
|
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__ : 2310926016887611737
|
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 0x781687cad0>
|
688
|
+
_hash : 2310926016887611737
|
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 0x780742d380>
|
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
|
-
weq, qweqw,
|
1154
|
+
weq, qweqw, asd, dfs
|
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.
|
1220
|
+
['Spot Emas USD↓2.334,41 (-3,53) / oz',
|
1221
1221
|
'Kurs IDR↑16.222,00 (+14,00) / USD',
|
1222
|
-
'Emas IDR↓1.
|
1222
|
+
'Emas IDR↓1.217.510 (-789) / 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.
|
1294
|
-
['Gram\xa0(gr)', '
|
1295
|
-
['Kilogram\xa0(kg)', '
|
1296
|
-
['Update harga emas :29 April 2024, pukul
|
1293
|
+
['Ounce\xa0(oz)', '2.334,41 (-3,53)', '16.222,00 (+14,00)', '37.868.799'],
|
1294
|
+
['Gram\xa0(gr)', '75,05', '16.222,00', '1.217.510 (-789)'],
|
1295
|
+
['Kilogram\xa0(kg)', '75.053,02', '16.222,00', '1.217.510.161'],
|
1296
|
+
['Update harga emas :29 April 2024, pukul 20:34Update kurs :29 April 2024, '
|
1297
1297
|
'pukul 13:10']],
|
1298
1298
|
[['Gram', 'UBS Gold 99.99%'],
|
1299
1299
|
['Jual', 'Beli'],
|
@@ -1339,36 +1339,36 @@ Output:
|
|
1339
1339
|
['Unit', 'USD', 'IDR'],
|
1340
1340
|
['Angka', '+/-', 'Angka', '+/-'],
|
1341
1341
|
['Hari Ini', 'Kurs', '', '', '16.208', '+14+0,09%'],
|
1342
|
-
['oz', '2.337,94', '-
|
1343
|
-
['gr', '75,17', '-0,
|
1342
|
+
['oz', '2.337,94', '-3,53-0,15%', '37.893.332', '-24.533-0,06%'],
|
1343
|
+
['gr', '75,17', '-0,11-0,15%', '1.218.299', '-789-0,06%'],
|
1344
1344
|
['30 Hari', 'Kurs', '', '', '15.853', '+369+2,33%'],
|
1345
|
-
['oz', '2.232,75', '+
|
1346
|
-
['gr', '71,78', '+3,
|
1345
|
+
['oz', '2.232,75', '+101,66+4,55%', '35.395.786', '+2.473.013+6,99%'],
|
1346
|
+
['gr', '71,78', '+3,27+4,55%', '1.138.001', '+79.509+6,99%'],
|
1347
1347
|
['2 Bulan', 'Kurs', '', '', '15.673', '+549+3,50%'],
|
1348
|
-
['oz', '2.045,83', '+
|
1349
|
-
['gr', '65,77', '+9,
|
1348
|
+
['oz', '2.045,83', '+288,58+14,11%', '32.064.294', '+5.804.505+18,10%'],
|
1349
|
+
['gr', '65,77', '+9,28+14,11', '1.030.891', '+186.619+18,10%'],
|
1350
1350
|
['6 Bulan', 'Kurs', '', '', '15.897', '+325+2,04%'],
|
1351
|
-
['oz', '1.977,80', '+
|
1352
|
-
['gr', '63,59', '+11,
|
1351
|
+
['oz', '1.977,80', '+356,61+18,03%', '31.441.087', '+6.427.712+20,44%'],
|
1352
|
+
['gr', '63,59', '+11,47+18,03%', '1.010.854', '+206.656+20,44%'],
|
1353
1353
|
['1 Tahun', 'Kurs', '', '', '15.731', '+491+3,12%'],
|
1354
|
-
['oz', '1.823,86', '+
|
1355
|
-
['gr', '58,64', '+16,
|
1354
|
+
['oz', '1.823,86', '+510,55+27,99%', '28.691.142', '+9.177.657+31,99%'],
|
1355
|
+
['gr', '58,64', '+16,41+27,99%', '922.442', '+295.069+31,99%'],
|
1356
1356
|
['2 Tahun', 'Kurs', '', '', '14.418', '+1.804+12,51%'],
|
1357
|
-
['oz', '1.896,95', '+
|
1358
|
-
['gr', '60,99', '+
|
1357
|
+
['oz', '1.896,95', '+437,46+23,06%', '27.350.225', '+10.518.574+38,46%'],
|
1358
|
+
['gr', '60,99', '+14,06+23,06%', '879.330', '+338.180+38,46%'],
|
1359
1359
|
['3 Tahun', 'Kurs', '', '', '14.468', '+1.754+12,12%'],
|
1360
|
-
['oz', '1.767,08', '+
|
1361
|
-
['gr', '56,81', '+18,
|
1360
|
+
['oz', '1.767,08', '+567,33+32,11%', '25.566.113', '+12.302.686+48,12%'],
|
1361
|
+
['gr', '56,81', '+18,24+32,11%', '821.970', '+395.541+48,12%'],
|
1362
1362
|
['5 Tahun', 'Kurs', '', '', '14.215', '+2.007+14,12%'],
|
1363
|
-
['oz', '1.280,61', '+1.
|
1364
|
-
['gr', '41,17', '+33,
|
1363
|
+
['oz', '1.280,61', '+1.053,80+82,29%', '18.203.871', '+19.664.928+108,03%'],
|
1364
|
+
['gr', '41,17', '+33,88+82,29%', '585.268', '+632.242+108,03%']])
|
1365
1365
|
(['Home', 'Emas 1 Gram', 'History', 'Trend', 'Perak 1 Gram', 'Pluang'],
|
1366
1366
|
[[''],
|
1367
1367
|
['Emas 24 KaratHarga Emas 1 Gram', ''],
|
1368
|
-
['USD', '
|
1369
|
-
['KURS', '16.
|
1370
|
-
['IDR', '1.
|
1371
|
-
['Senin, 29 April 2024
|
1368
|
+
['USD', '75,05↓', '-0,12-0,16%'],
|
1369
|
+
['KURS', '16.226,15↓', '-15,15-0,09%'],
|
1370
|
+
['IDR', '1.217.821,63↓', '-2.980,31-0,24%'],
|
1371
|
+
['Senin, 29 April 2024 20:34']],
|
1372
1372
|
[[''],
|
1373
1373
|
['Emas 1 Gram (IDR)Emas 1 Gram (USD)Kurs USD-IDR',
|
1374
1374
|
'Hari Ini',
|
@@ -1379,19 +1379,19 @@ Output:
|
|
1379
1379
|
'']],
|
1380
1380
|
[['Pergerakkan Harga Emas 1 Gram'],
|
1381
1381
|
['', 'Penutupan Kemarin', 'Pergerakkan Hari Ini', 'Rata-rata'],
|
1382
|
-
['USD', '75,17', '
|
1383
|
-
['KURS', '16.241,30', '16.
|
1384
|
-
['IDR', '1.220.801,94', '1.
|
1382
|
+
['USD', '75,17', '75,05 - 75,17', '75,11'],
|
1383
|
+
['KURS', '16.241,30', '16.226,15 - 16.241,30', '16.233,73'],
|
1384
|
+
['IDR', '1.220.801,94', '1.217.821,63 - 1.220.801,94', '1.219.311,79'],
|
1385
1385
|
[''],
|
1386
1386
|
['', 'Awal Tahun', 'Pergerakkan YTD', '+/- YTD'],
|
1387
|
-
['USD', '66,32', '64,07 - 77,14', '+8,
|
1388
|
-
['KURS', '15.390,10', '15.390,00 - 16.307,80', '+
|
1389
|
-
['IDR', '1.020.729,53', '997.660,12 - 1.256.829,06', '+
|
1387
|
+
['USD', '66,32', '64,07 - 77,14', '+8,73 (13,16%)'],
|
1388
|
+
['KURS', '15.390,10', '15.390,00 - 16.307,80', '+836,05 (5,43%)'],
|
1389
|
+
['IDR', '1.020.729,53', '997.660,12 - 1.256.829,06', '+197.092,10 (19,31%)'],
|
1390
1390
|
[''],
|
1391
1391
|
['', 'Tahun Lalu / 52 Minggu', 'Pergerakkan 52 Minggu', '+/- 52 Minggu'],
|
1392
|
-
['USD', '64,04', '58,43 - 77,14', '+
|
1393
|
-
['KURS', '14.671,35', '14.669,40 - 16.307,80', '+1.
|
1394
|
-
['IDR', '939.568,98', '912.925,68 - 1.256.829,06', '+
|
1392
|
+
['USD', '64,04', '58,43 - 77,14', '+11,01 (17,19%)'],
|
1393
|
+
['KURS', '14.671,35', '14.669,40 - 16.307,80', '+1.554,80 (10,60%)'],
|
1394
|
+
['IDR', '939.568,98', '912.925,68 - 1.256.829,06', '+278.252,65 (29,61%)']])
|
1395
1395
|
```
|
1396
1396
|
|
1397
1397
|
## iopen
|
@@ -1433,8 +1433,7 @@ Output:
|
|
1433
1433
|
```py
|
1434
1434
|
8
|
1435
1435
|
['mana', 'aja']
|
1436
|
-
|
1437
|
-
[<Element a at 0x700abbd9a0>, <Element a at 0x6ff2c2ead0>, <Element a at 0x6ff2c2eb70>, <Element a at 0x6ff2c2ebc0>, <Element a at 0x6ff2c2ec10>, <Element a at 0x6ff2c2ec60>, <Element a at 0x6ff2c2ecb0>, <Element a at 0x6ff2c2ed00>, <Element a at 0x6ff2c2ed50>, <Element a at 0x6ff2c2eda0>, <Element a at 0x6ff2c2edf0>, <Element a at 0x6ff2c2ee40>, <Element a at 0x6ff2c2ee90>, <Element a at 0x6ff2c2eee0>, <Element a at 0x6ff2c2ef30>, <Element a at 0x6ff2c2ef80>, <Element a at 0x6ff2c2efd0>, <Element a at 0x6ff2c2f020>, <Element a at 0x6ff2c2f070>, <Element a at 0x6ff2c2f0c0>]
|
1436
|
+
[<Element a at 0x780743bfc0>, <Element a at 0x780747eda0>, <Element a at 0x780747ee40>, <Element a at 0x780747ee90>, <Element a at 0x780747eee0>, <Element a at 0x780747ef30>, <Element a at 0x780747ef80>, <Element a at 0x780747efd0>, <Element a at 0x780747f020>, <Element a at 0x780747f070>, <Element a at 0x780747f0c0>, <Element a at 0x780747f110>, <Element a at 0x780747f160>, <Element a at 0x780747f1b0>, <Element a at 0x780747f200>, <Element a at 0x780747f250>, <Element a at 0x780747f2a0>, <Element a at 0x780747f2f0>, <Element a at 0x780747f340>, <Element a at 0x780747f390>]
|
1438
1437
|
False
|
1439
1438
|
```
|
1440
1439
|
|
@@ -1510,7 +1509,7 @@ print(list(iscandir("./", recursive=False, scan_file=False)))
|
|
1510
1509
|
|
1511
1510
|
Output:
|
1512
1511
|
```py
|
1513
|
-
<generator object iscandir at
|
1512
|
+
<generator object iscandir at 0x7807440740>
|
1514
1513
|
[PosixPath('.git'), PosixPath('.vscode'), PosixPath('pypipr'), PosixPath('__pycache__'), PosixPath('dist')]
|
1515
1514
|
```
|
1516
1515
|
|
@@ -1548,7 +1547,7 @@ Output:
|
|
1548
1547
|
'idjango': <module 'pypipr.idjango' from '/data/data/com.termux/files/home/pypipr/pypipr/idjango/__init__.py'>,
|
1549
1548
|
'iengineering': <module 'pypipr.iengineering' from '/data/data/com.termux/files/home/pypipr/pypipr/iengineering/__init__.py'>,
|
1550
1549
|
'ifunctions': <module 'pypipr.ifunctions' from '/data/data/com.termux/files/home/pypipr/pypipr/ifunctions/__init__.py'>,
|
1551
|
-
'iflow': <module 'pypipr.iflow' (<_frozen_importlib_external.NamespaceLoader object at
|
1550
|
+
'iflow': <module 'pypipr.iflow' (<_frozen_importlib_external.NamespaceLoader object at 0x7815c8f5d0>)>,
|
1552
1551
|
'asyncio': <module 'asyncio' from '/data/data/com.termux/files/usr/lib/python3.11/asyncio/__init__.py'>,
|
1553
1552
|
'colorama': <module 'colorama' from '/data/data/com.termux/files/usr/lib/python3.11/site-packages/colorama/__init__.py'>,
|
1554
1553
|
'csv': <module 'csv' from '/data/data/com.termux/files/usr/lib/python3.11/csv.py'>,
|
@@ -1586,67 +1585,67 @@ Output:
|
|
1586
1585
|
'PintUregQuantity': <class 'pint.Quantity'>},
|
1587
1586
|
'variable': {'LINUX': True,
|
1588
1587
|
'WINDOWS': False,
|
1589
|
-
'PintUreg': <pint.registry.UnitRegistry object at
|
1590
|
-
'function': {'avg': <function avg at
|
1591
|
-
'basename': <function basename at
|
1592
|
-
'chr_to_int': <function chr_to_int at
|
1593
|
-
'chunk_array': <function chunk_array at
|
1594
|
-
'create_folder': <function create_folder at
|
1595
|
-
'datetime_from_string': <function datetime_from_string at
|
1596
|
-
'datetime_now': <function datetime_now at
|
1597
|
-
'dict_first': <function dict_first at
|
1598
|
-
'dirname': <function dirname at
|
1599
|
-
'exit_if_empty': <function exit_if_empty at
|
1600
|
-
'filter_empty': <function filter_empty at
|
1601
|
-
'get_by_index': <function get_by_index at
|
1602
|
-
'get_class_method': <function get_class_method at
|
1603
|
-
'get_filemtime': <function get_filemtime at
|
1604
|
-
'get_filesize': <function get_filesize at
|
1605
|
-
'int_to_chr': <function int_to_chr at
|
1606
|
-
'is_empty': <function is_empty at
|
1607
|
-
'is_iterable': <function is_iterable at
|
1608
|
-
'is_valid_url': <function is_valid_url at
|
1609
|
-
'password_generator': <function password_generator at
|
1610
|
-
'random_bool': <function random_bool at
|
1611
|
-
'restart': <function restart at
|
1612
|
-
'set_timeout': <function set_timeout at
|
1613
|
-
'sets_ordered': <function sets_ordered at
|
1614
|
-
'str_cmp': <function str_cmp at
|
1615
|
-
'to_str': <function to_str at
|
1616
|
-
'choices': <function choices at
|
1617
|
-
'console_run': <function console_run at
|
1618
|
-
'input_char': <function input_char at
|
1619
|
-
'log': <function log at
|
1620
|
-
'print_colorize': <function print_colorize at
|
1621
|
-
'print_dir': <function print_dir at
|
1622
|
-
'print_log': <function print_log at
|
1623
|
-
'print_to_last_line': <function print_to_last_line at
|
1624
|
-
'text_colorize': <function text_colorize at
|
1625
|
-
'batch_calculate': <function batch_calculate at
|
1626
|
-
'batchmaker': <function batchmaker at
|
1627
|
-
'calculate': <function calculate at
|
1628
|
-
'auto_reload': <function auto_reload at
|
1629
|
-
'github_pull': <function github_pull at
|
1630
|
-
'github_push': <function github_push at
|
1631
|
-
'github_user': <function github_user at
|
1632
|
-
'pip_freeze_without_version': <function pip_freeze_without_version at
|
1633
|
-
'poetry_publish': <function poetry_publish at
|
1634
|
-
'poetry_update_version': <function poetry_update_version at
|
1635
|
-
'iargv': <function iargv at
|
1636
|
-
'idumps': <function idumps at
|
1637
|
-
'idumps_html': <function idumps_html at
|
1638
|
-
'ienv': <function ienv at
|
1639
|
-
'iexec': <function iexec at
|
1640
|
-
'ijoin': <function ijoin at
|
1641
|
-
'iloads': <function iloads at
|
1642
|
-
'iloads_html': <function iloads_html at
|
1643
|
-
'iopen': <function iopen at
|
1644
|
-
'iprint': <function iprint at
|
1645
|
-
'irange': <function irange at
|
1646
|
-
'ireplace': <function ireplace at
|
1647
|
-
'iscandir': <function iscandir at
|
1648
|
-
'isplit': <function isplit at
|
1649
|
-
'ivars': <function ivars at
|
1588
|
+
'PintUreg': <pint.registry.UnitRegistry object at 0x780e334750>},
|
1589
|
+
'function': {'avg': <function avg at 0x7818bb6d40>,
|
1590
|
+
'basename': <function basename at 0x7818b868e0>,
|
1591
|
+
'chr_to_int': <function chr_to_int at 0x7816805080>,
|
1592
|
+
'chunk_array': <function chunk_array at 0x78168051c0>,
|
1593
|
+
'create_folder': <function create_folder at 0x78168053a0>,
|
1594
|
+
'datetime_from_string': <function datetime_from_string at 0x7816805580>,
|
1595
|
+
'datetime_now': <function datetime_now at 0x78168ad620>,
|
1596
|
+
'dict_first': <function dict_first at 0x78168ad580>,
|
1597
|
+
'dirname': <function dirname at 0x78168ad4e0>,
|
1598
|
+
'exit_if_empty': <function exit_if_empty at 0x78168ad3a0>,
|
1599
|
+
'filter_empty': <function filter_empty at 0x78168ad1c0>,
|
1600
|
+
'get_by_index': <function get_by_index at 0x78168ace00>,
|
1601
|
+
'get_class_method': <function get_class_method at 0x78168accc0>,
|
1602
|
+
'get_filemtime': <function get_filemtime at 0x78168acb80>,
|
1603
|
+
'get_filesize': <function get_filesize at 0x78168ac9a0>,
|
1604
|
+
'int_to_chr': <function int_to_chr at 0x78168ac900>,
|
1605
|
+
'is_empty': <function is_empty at 0x78168ad260>,
|
1606
|
+
'is_iterable': <function is_iterable at 0x78168acfe0>,
|
1607
|
+
'is_valid_url': <function is_valid_url at 0x78168ac7c0>,
|
1608
|
+
'password_generator': <function password_generator at 0x78168ac680>,
|
1609
|
+
'random_bool': <function random_bool at 0x78168ac4a0>,
|
1610
|
+
'restart': <function restart at 0x78168af7e0>,
|
1611
|
+
'set_timeout': <function set_timeout at 0x78168af920>,
|
1612
|
+
'sets_ordered': <function sets_ordered at 0x78168afa60>,
|
1613
|
+
'str_cmp': <function str_cmp at 0x78168afb00>,
|
1614
|
+
'to_str': <function to_str at 0x78168acf40>,
|
1615
|
+
'choices': <function choices at 0x78168afba0>,
|
1616
|
+
'console_run': <function console_run at 0x78168afe20>,
|
1617
|
+
'input_char': <function input_char at 0x78168aff60>,
|
1618
|
+
'log': <function log at 0x78168d0180>,
|
1619
|
+
'print_colorize': <function print_colorize at 0x78168d0220>,
|
1620
|
+
'print_dir': <function print_dir at 0x78168d0360>,
|
1621
|
+
'print_log': <function print_log at 0x78168d0040>,
|
1622
|
+
'print_to_last_line': <function print_to_last_line at 0x78168afd80>,
|
1623
|
+
'text_colorize': <function text_colorize at 0x78168afec0>,
|
1624
|
+
'batch_calculate': <function batch_calculate at 0x780d9316c0>,
|
1625
|
+
'batchmaker': <function batchmaker at 0x780d932340>,
|
1626
|
+
'calculate': <function calculate at 0x780d932700>,
|
1627
|
+
'auto_reload': <function auto_reload at 0x780d9323e0>,
|
1628
|
+
'github_pull': <function github_pull at 0x780d9325c0>,
|
1629
|
+
'github_push': <function github_push at 0x780d932b60>,
|
1630
|
+
'github_user': <function github_user at 0x780d65a0c0>,
|
1631
|
+
'pip_freeze_without_version': <function pip_freeze_without_version at 0x780d65a160>,
|
1632
|
+
'poetry_publish': <function poetry_publish at 0x780d65a020>,
|
1633
|
+
'poetry_update_version': <function poetry_update_version at 0x780d67eb60>,
|
1634
|
+
'iargv': <function iargv at 0x780763c2c0>,
|
1635
|
+
'idumps': <function idumps at 0x780763c400>,
|
1636
|
+
'idumps_html': <function idumps_html at 0x78076a8e00>,
|
1637
|
+
'ienv': <function ienv at 0x780763c540>,
|
1638
|
+
'iexec': <function iexec at 0x78076a9080>,
|
1639
|
+
'ijoin': <function ijoin at 0x780d65a340>,
|
1640
|
+
'iloads': <function iloads at 0x78076a9120>,
|
1641
|
+
'iloads_html': <function iloads_html at 0x78076a93a0>,
|
1642
|
+
'iopen': <function iopen at 0x780d65a3e0>,
|
1643
|
+
'iprint': <function iprint at 0x78076a9260>,
|
1644
|
+
'irange': <function irange at 0x780d932520>,
|
1645
|
+
'ireplace': <function ireplace at 0x78076a9440>,
|
1646
|
+
'iscandir': <function iscandir at 0x78076ab060>,
|
1647
|
+
'isplit': <function isplit at 0x78076ab100>,
|
1648
|
+
'ivars': <function ivars at 0x78076ab1a0>}}
|
1650
1649
|
```
|
1651
1650
|
|
1652
1651
|
# CLASS
|
@@ -1686,7 +1685,7 @@ print(ExampleComparePerformance().compare_performance())
|
|
1686
1685
|
|
1687
1686
|
Output:
|
1688
1687
|
```py
|
1689
|
-
{'a': <generator object ExampleComparePerformance.a.<locals>.<genexpr> at
|
1688
|
+
{'a': <generator object ExampleComparePerformance.a.<locals>.<genexpr> at 0x78074542b0>,
|
1690
1689
|
'b': (0, 1, 2, 3, 4, 5, 6, 7, 8, 9),
|
1691
1690
|
'c': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
|
1692
1691
|
'd': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]}
|
@@ -15,13 +15,19 @@ def batch_calculate(pattern):
|
|
15
15
|
"""
|
16
16
|
patterns = batchmaker(pattern)
|
17
17
|
|
18
|
-
c = None
|
19
18
|
for i in patterns:
|
20
19
|
try:
|
21
|
-
|
20
|
+
yield (i, calculate(i))
|
22
21
|
except Exception:
|
23
|
-
|
24
|
-
|
22
|
+
yield (i, None)
|
23
|
+
|
24
|
+
# c = None
|
25
|
+
# for i in patterns:
|
26
|
+
# try:
|
27
|
+
# c = calculate(i)
|
28
|
+
# except Exception:
|
29
|
+
# c = None
|
30
|
+
# yield (i, c)
|
25
31
|
|
26
32
|
|
27
33
|
if __name__ == "__main__":
|
@@ -3,7 +3,7 @@ import re
|
|
3
3
|
from ..ifunctions.irange import irange
|
4
4
|
|
5
5
|
# batchmaker()
|
6
|
-
__batchmaker__regex_pattern__ = r"{(?:[^a-zA-Z0-9{}]+)?([a-zA-Z]|\d+)[^a-zA-Z0-9{}]+([a-zA-Z]|\d+)(?:[^a-zA-Z0-9{}]+(\d+))?(?:[^a-zA-Z0-9{}]+)?}"
|
6
|
+
__batchmaker__regex_pattern__ = r"{(?:[^a-zA-Z0-9{}]+)?((?:[a-zA-Z]|\d)+)[^a-zA-Z0-9{}]+((?:[a-zA-Z]|\d)+)(?:[^a-zA-Z0-9{}]+(\d+))?(?:[^a-zA-Z0-9{}]+)?}"
|
7
7
|
__batchmaker__regex_compile__ = re.compile(__batchmaker__regex_pattern__)
|
8
8
|
|
9
9
|
|
@@ -20,28 +20,15 @@ def irange(start, stop=None, step=1, index=0, numbers="abcdefghijklmnopqrstuvwxy
|
|
20
20
|
|
21
21
|
step = 1 if step is None else int(step)
|
22
22
|
|
23
|
-
|
24
|
-
return
|
23
|
+
try:
|
24
|
+
return irange(int(start), int(stop), step, index, numbers)
|
25
|
+
except Exception:
|
26
|
+
pass
|
25
27
|
|
26
|
-
|
28
|
+
if isinstance(start, str) and isinstance(stop, str):
|
27
29
|
return char_range(start, stop, step, index=index, numbers=numbers)
|
28
30
|
|
29
|
-
|
30
|
-
try:
|
31
|
-
start = str(start)
|
32
|
-
stop = str(stop)
|
33
|
-
return irange(start, stop, step, index, numbers)
|
34
|
-
except Exception:
|
35
|
-
pass
|
36
|
-
|
37
|
-
try:
|
38
|
-
start = int(start)
|
39
|
-
stop = int(stop)
|
40
|
-
return irange(start, stop, step, index, numbers)
|
41
|
-
except Exception:
|
42
|
-
pass
|
43
|
-
|
44
|
-
raise Exception("start dan stop berbeda tipe")
|
31
|
+
raise Exception("start dan stop berbeda tipe")
|
45
32
|
|
46
33
|
|
47
34
|
def char_range(start, stop, step, numbers, index):
|
@@ -50,5 +37,3 @@ def char_range(start, stop, step, numbers, index):
|
|
50
37
|
|
51
38
|
for i in range(start, stop, step):
|
52
39
|
yield int_to_chr(i, start=index, numbers=numbers)
|
53
|
-
|
54
|
-
|
@@ -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 0x7807440140>
|
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 20:34:31.857030+07:00
|
152
|
+
2024-04-29 13:34:31.857799+00:00
|
153
|
+
2024-04-29 06:34:31.859165-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 0x78073d2d40>
|
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 0x78073d3010>
|
267
|
+
[<function ExampleGetClassMethod.a at 0x7807449800>, <function ExampleGetClassMethod.b at 0x78074496c0>, <function ExampleGetClassMethod.c at 0x78074498a0>, <function ExampleGetClassMethod.d at 0x7807449940>]
|
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
|
+
et[>#k65
|
436
436
|
```
|
437
437
|
|
438
438
|
## random_bool
|
@@ -476,7 +476,7 @@ x.cancel()
|
|
476
476
|
|
477
477
|
Output:
|
478
478
|
```py
|
479
|
-
<Timer(Thread-2, started
|
479
|
+
<Timer(Thread-2, started 515494214896)>
|
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 0x78074501e0>
|
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__ : 2310926016887611737
|
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 0x781687cad0>
|
665
|
+
_hash : 2310926016887611737
|
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 0x780742d380>
|
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
|
-
weq, qweqw,
|
1131
|
+
weq, qweqw, asd, dfs
|
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.
|
1197
|
+
['Spot Emas USD↓2.334,41 (-3,53) / oz',
|
1198
1198
|
'Kurs IDR↑16.222,00 (+14,00) / USD',
|
1199
|
-
'Emas IDR↓1.
|
1199
|
+
'Emas IDR↓1.217.510 (-789) / 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.
|
1271
|
-
['Gram\xa0(gr)', '
|
1272
|
-
['Kilogram\xa0(kg)', '
|
1273
|
-
['Update harga emas :29 April 2024, pukul
|
1270
|
+
['Ounce\xa0(oz)', '2.334,41 (-3,53)', '16.222,00 (+14,00)', '37.868.799'],
|
1271
|
+
['Gram\xa0(gr)', '75,05', '16.222,00', '1.217.510 (-789)'],
|
1272
|
+
['Kilogram\xa0(kg)', '75.053,02', '16.222,00', '1.217.510.161'],
|
1273
|
+
['Update harga emas :29 April 2024, pukul 20:34Update kurs :29 April 2024, '
|
1274
1274
|
'pukul 13:10']],
|
1275
1275
|
[['Gram', 'UBS Gold 99.99%'],
|
1276
1276
|
['Jual', 'Beli'],
|
@@ -1316,36 +1316,36 @@ Output:
|
|
1316
1316
|
['Unit', 'USD', 'IDR'],
|
1317
1317
|
['Angka', '+/-', 'Angka', '+/-'],
|
1318
1318
|
['Hari Ini', 'Kurs', '', '', '16.208', '+14+0,09%'],
|
1319
|
-
['oz', '2.337,94', '-
|
1320
|
-
['gr', '75,17', '-0,
|
1319
|
+
['oz', '2.337,94', '-3,53-0,15%', '37.893.332', '-24.533-0,06%'],
|
1320
|
+
['gr', '75,17', '-0,11-0,15%', '1.218.299', '-789-0,06%'],
|
1321
1321
|
['30 Hari', 'Kurs', '', '', '15.853', '+369+2,33%'],
|
1322
|
-
['oz', '2.232,75', '+
|
1323
|
-
['gr', '71,78', '+3,
|
1322
|
+
['oz', '2.232,75', '+101,66+4,55%', '35.395.786', '+2.473.013+6,99%'],
|
1323
|
+
['gr', '71,78', '+3,27+4,55%', '1.138.001', '+79.509+6,99%'],
|
1324
1324
|
['2 Bulan', 'Kurs', '', '', '15.673', '+549+3,50%'],
|
1325
|
-
['oz', '2.045,83', '+
|
1326
|
-
['gr', '65,77', '+9,
|
1325
|
+
['oz', '2.045,83', '+288,58+14,11%', '32.064.294', '+5.804.505+18,10%'],
|
1326
|
+
['gr', '65,77', '+9,28+14,11', '1.030.891', '+186.619+18,10%'],
|
1327
1327
|
['6 Bulan', 'Kurs', '', '', '15.897', '+325+2,04%'],
|
1328
|
-
['oz', '1.977,80', '+
|
1329
|
-
['gr', '63,59', '+11,
|
1328
|
+
['oz', '1.977,80', '+356,61+18,03%', '31.441.087', '+6.427.712+20,44%'],
|
1329
|
+
['gr', '63,59', '+11,47+18,03%', '1.010.854', '+206.656+20,44%'],
|
1330
1330
|
['1 Tahun', 'Kurs', '', '', '15.731', '+491+3,12%'],
|
1331
|
-
['oz', '1.823,86', '+
|
1332
|
-
['gr', '58,64', '+16,
|
1331
|
+
['oz', '1.823,86', '+510,55+27,99%', '28.691.142', '+9.177.657+31,99%'],
|
1332
|
+
['gr', '58,64', '+16,41+27,99%', '922.442', '+295.069+31,99%'],
|
1333
1333
|
['2 Tahun', 'Kurs', '', '', '14.418', '+1.804+12,51%'],
|
1334
|
-
['oz', '1.896,95', '+
|
1335
|
-
['gr', '60,99', '+
|
1334
|
+
['oz', '1.896,95', '+437,46+23,06%', '27.350.225', '+10.518.574+38,46%'],
|
1335
|
+
['gr', '60,99', '+14,06+23,06%', '879.330', '+338.180+38,46%'],
|
1336
1336
|
['3 Tahun', 'Kurs', '', '', '14.468', '+1.754+12,12%'],
|
1337
|
-
['oz', '1.767,08', '+
|
1338
|
-
['gr', '56,81', '+18,
|
1337
|
+
['oz', '1.767,08', '+567,33+32,11%', '25.566.113', '+12.302.686+48,12%'],
|
1338
|
+
['gr', '56,81', '+18,24+32,11%', '821.970', '+395.541+48,12%'],
|
1339
1339
|
['5 Tahun', 'Kurs', '', '', '14.215', '+2.007+14,12%'],
|
1340
|
-
['oz', '1.280,61', '+1.
|
1341
|
-
['gr', '41,17', '+33,
|
1340
|
+
['oz', '1.280,61', '+1.053,80+82,29%', '18.203.871', '+19.664.928+108,03%'],
|
1341
|
+
['gr', '41,17', '+33,88+82,29%', '585.268', '+632.242+108,03%']])
|
1342
1342
|
(['Home', 'Emas 1 Gram', 'History', 'Trend', 'Perak 1 Gram', 'Pluang'],
|
1343
1343
|
[[''],
|
1344
1344
|
['Emas 24 KaratHarga Emas 1 Gram', ''],
|
1345
|
-
['USD', '
|
1346
|
-
['KURS', '16.
|
1347
|
-
['IDR', '1.
|
1348
|
-
['Senin, 29 April 2024
|
1345
|
+
['USD', '75,05↓', '-0,12-0,16%'],
|
1346
|
+
['KURS', '16.226,15↓', '-15,15-0,09%'],
|
1347
|
+
['IDR', '1.217.821,63↓', '-2.980,31-0,24%'],
|
1348
|
+
['Senin, 29 April 2024 20:34']],
|
1349
1349
|
[[''],
|
1350
1350
|
['Emas 1 Gram (IDR)Emas 1 Gram (USD)Kurs USD-IDR',
|
1351
1351
|
'Hari Ini',
|
@@ -1356,19 +1356,19 @@ Output:
|
|
1356
1356
|
'']],
|
1357
1357
|
[['Pergerakkan Harga Emas 1 Gram'],
|
1358
1358
|
['', 'Penutupan Kemarin', 'Pergerakkan Hari Ini', 'Rata-rata'],
|
1359
|
-
['USD', '75,17', '
|
1360
|
-
['KURS', '16.241,30', '16.
|
1361
|
-
['IDR', '1.220.801,94', '1.
|
1359
|
+
['USD', '75,17', '75,05 - 75,17', '75,11'],
|
1360
|
+
['KURS', '16.241,30', '16.226,15 - 16.241,30', '16.233,73'],
|
1361
|
+
['IDR', '1.220.801,94', '1.217.821,63 - 1.220.801,94', '1.219.311,79'],
|
1362
1362
|
[''],
|
1363
1363
|
['', 'Awal Tahun', 'Pergerakkan YTD', '+/- YTD'],
|
1364
|
-
['USD', '66,32', '64,07 - 77,14', '+8,
|
1365
|
-
['KURS', '15.390,10', '15.390,00 - 16.307,80', '+
|
1366
|
-
['IDR', '1.020.729,53', '997.660,12 - 1.256.829,06', '+
|
1364
|
+
['USD', '66,32', '64,07 - 77,14', '+8,73 (13,16%)'],
|
1365
|
+
['KURS', '15.390,10', '15.390,00 - 16.307,80', '+836,05 (5,43%)'],
|
1366
|
+
['IDR', '1.020.729,53', '997.660,12 - 1.256.829,06', '+197.092,10 (19,31%)'],
|
1367
1367
|
[''],
|
1368
1368
|
['', 'Tahun Lalu / 52 Minggu', 'Pergerakkan 52 Minggu', '+/- 52 Minggu'],
|
1369
|
-
['USD', '64,04', '58,43 - 77,14', '+
|
1370
|
-
['KURS', '14.671,35', '14.669,40 - 16.307,80', '+1.
|
1371
|
-
['IDR', '939.568,98', '912.925,68 - 1.256.829,06', '+
|
1369
|
+
['USD', '64,04', '58,43 - 77,14', '+11,01 (17,19%)'],
|
1370
|
+
['KURS', '14.671,35', '14.669,40 - 16.307,80', '+1.554,80 (10,60%)'],
|
1371
|
+
['IDR', '939.568,98', '912.925,68 - 1.256.829,06', '+278.252,65 (29,61%)']])
|
1372
1372
|
```
|
1373
1373
|
|
1374
1374
|
## iopen
|
@@ -1410,8 +1410,7 @@ Output:
|
|
1410
1410
|
```py
|
1411
1411
|
8
|
1412
1412
|
['mana', 'aja']
|
1413
|
-
|
1414
|
-
[<Element a at 0x700abbd9a0>, <Element a at 0x6ff2c2ead0>, <Element a at 0x6ff2c2eb70>, <Element a at 0x6ff2c2ebc0>, <Element a at 0x6ff2c2ec10>, <Element a at 0x6ff2c2ec60>, <Element a at 0x6ff2c2ecb0>, <Element a at 0x6ff2c2ed00>, <Element a at 0x6ff2c2ed50>, <Element a at 0x6ff2c2eda0>, <Element a at 0x6ff2c2edf0>, <Element a at 0x6ff2c2ee40>, <Element a at 0x6ff2c2ee90>, <Element a at 0x6ff2c2eee0>, <Element a at 0x6ff2c2ef30>, <Element a at 0x6ff2c2ef80>, <Element a at 0x6ff2c2efd0>, <Element a at 0x6ff2c2f020>, <Element a at 0x6ff2c2f070>, <Element a at 0x6ff2c2f0c0>]
|
1413
|
+
[<Element a at 0x780743bfc0>, <Element a at 0x780747eda0>, <Element a at 0x780747ee40>, <Element a at 0x780747ee90>, <Element a at 0x780747eee0>, <Element a at 0x780747ef30>, <Element a at 0x780747ef80>, <Element a at 0x780747efd0>, <Element a at 0x780747f020>, <Element a at 0x780747f070>, <Element a at 0x780747f0c0>, <Element a at 0x780747f110>, <Element a at 0x780747f160>, <Element a at 0x780747f1b0>, <Element a at 0x780747f200>, <Element a at 0x780747f250>, <Element a at 0x780747f2a0>, <Element a at 0x780747f2f0>, <Element a at 0x780747f340>, <Element a at 0x780747f390>]
|
1415
1414
|
False
|
1416
1415
|
```
|
1417
1416
|
|
@@ -1487,7 +1486,7 @@ print(list(iscandir("./", recursive=False, scan_file=False)))
|
|
1487
1486
|
|
1488
1487
|
Output:
|
1489
1488
|
```py
|
1490
|
-
<generator object iscandir at
|
1489
|
+
<generator object iscandir at 0x7807440740>
|
1491
1490
|
[PosixPath('.git'), PosixPath('.vscode'), PosixPath('pypipr'), PosixPath('__pycache__'), PosixPath('dist')]
|
1492
1491
|
```
|
1493
1492
|
|
@@ -1525,7 +1524,7 @@ Output:
|
|
1525
1524
|
'idjango': <module 'pypipr.idjango' from '/data/data/com.termux/files/home/pypipr/pypipr/idjango/__init__.py'>,
|
1526
1525
|
'iengineering': <module 'pypipr.iengineering' from '/data/data/com.termux/files/home/pypipr/pypipr/iengineering/__init__.py'>,
|
1527
1526
|
'ifunctions': <module 'pypipr.ifunctions' from '/data/data/com.termux/files/home/pypipr/pypipr/ifunctions/__init__.py'>,
|
1528
|
-
'iflow': <module 'pypipr.iflow' (<_frozen_importlib_external.NamespaceLoader object at
|
1527
|
+
'iflow': <module 'pypipr.iflow' (<_frozen_importlib_external.NamespaceLoader object at 0x7815c8f5d0>)>,
|
1529
1528
|
'asyncio': <module 'asyncio' from '/data/data/com.termux/files/usr/lib/python3.11/asyncio/__init__.py'>,
|
1530
1529
|
'colorama': <module 'colorama' from '/data/data/com.termux/files/usr/lib/python3.11/site-packages/colorama/__init__.py'>,
|
1531
1530
|
'csv': <module 'csv' from '/data/data/com.termux/files/usr/lib/python3.11/csv.py'>,
|
@@ -1563,67 +1562,67 @@ Output:
|
|
1563
1562
|
'PintUregQuantity': <class 'pint.Quantity'>},
|
1564
1563
|
'variable': {'LINUX': True,
|
1565
1564
|
'WINDOWS': False,
|
1566
|
-
'PintUreg': <pint.registry.UnitRegistry object at
|
1567
|
-
'function': {'avg': <function avg at
|
1568
|
-
'basename': <function basename at
|
1569
|
-
'chr_to_int': <function chr_to_int at
|
1570
|
-
'chunk_array': <function chunk_array at
|
1571
|
-
'create_folder': <function create_folder at
|
1572
|
-
'datetime_from_string': <function datetime_from_string at
|
1573
|
-
'datetime_now': <function datetime_now at
|
1574
|
-
'dict_first': <function dict_first at
|
1575
|
-
'dirname': <function dirname at
|
1576
|
-
'exit_if_empty': <function exit_if_empty at
|
1577
|
-
'filter_empty': <function filter_empty at
|
1578
|
-
'get_by_index': <function get_by_index at
|
1579
|
-
'get_class_method': <function get_class_method at
|
1580
|
-
'get_filemtime': <function get_filemtime at
|
1581
|
-
'get_filesize': <function get_filesize at
|
1582
|
-
'int_to_chr': <function int_to_chr at
|
1583
|
-
'is_empty': <function is_empty at
|
1584
|
-
'is_iterable': <function is_iterable at
|
1585
|
-
'is_valid_url': <function is_valid_url at
|
1586
|
-
'password_generator': <function password_generator at
|
1587
|
-
'random_bool': <function random_bool at
|
1588
|
-
'restart': <function restart at
|
1589
|
-
'set_timeout': <function set_timeout at
|
1590
|
-
'sets_ordered': <function sets_ordered at
|
1591
|
-
'str_cmp': <function str_cmp at
|
1592
|
-
'to_str': <function to_str at
|
1593
|
-
'choices': <function choices at
|
1594
|
-
'console_run': <function console_run at
|
1595
|
-
'input_char': <function input_char at
|
1596
|
-
'log': <function log at
|
1597
|
-
'print_colorize': <function print_colorize at
|
1598
|
-
'print_dir': <function print_dir at
|
1599
|
-
'print_log': <function print_log at
|
1600
|
-
'print_to_last_line': <function print_to_last_line at
|
1601
|
-
'text_colorize': <function text_colorize at
|
1602
|
-
'batch_calculate': <function batch_calculate at
|
1603
|
-
'batchmaker': <function batchmaker at
|
1604
|
-
'calculate': <function calculate at
|
1605
|
-
'auto_reload': <function auto_reload at
|
1606
|
-
'github_pull': <function github_pull at
|
1607
|
-
'github_push': <function github_push at
|
1608
|
-
'github_user': <function github_user at
|
1609
|
-
'pip_freeze_without_version': <function pip_freeze_without_version at
|
1610
|
-
'poetry_publish': <function poetry_publish at
|
1611
|
-
'poetry_update_version': <function poetry_update_version at
|
1612
|
-
'iargv': <function iargv at
|
1613
|
-
'idumps': <function idumps at
|
1614
|
-
'idumps_html': <function idumps_html at
|
1615
|
-
'ienv': <function ienv at
|
1616
|
-
'iexec': <function iexec at
|
1617
|
-
'ijoin': <function ijoin at
|
1618
|
-
'iloads': <function iloads at
|
1619
|
-
'iloads_html': <function iloads_html at
|
1620
|
-
'iopen': <function iopen at
|
1621
|
-
'iprint': <function iprint at
|
1622
|
-
'irange': <function irange at
|
1623
|
-
'ireplace': <function ireplace at
|
1624
|
-
'iscandir': <function iscandir at
|
1625
|
-
'isplit': <function isplit at
|
1626
|
-
'ivars': <function ivars at
|
1565
|
+
'PintUreg': <pint.registry.UnitRegistry object at 0x780e334750>},
|
1566
|
+
'function': {'avg': <function avg at 0x7818bb6d40>,
|
1567
|
+
'basename': <function basename at 0x7818b868e0>,
|
1568
|
+
'chr_to_int': <function chr_to_int at 0x7816805080>,
|
1569
|
+
'chunk_array': <function chunk_array at 0x78168051c0>,
|
1570
|
+
'create_folder': <function create_folder at 0x78168053a0>,
|
1571
|
+
'datetime_from_string': <function datetime_from_string at 0x7816805580>,
|
1572
|
+
'datetime_now': <function datetime_now at 0x78168ad620>,
|
1573
|
+
'dict_first': <function dict_first at 0x78168ad580>,
|
1574
|
+
'dirname': <function dirname at 0x78168ad4e0>,
|
1575
|
+
'exit_if_empty': <function exit_if_empty at 0x78168ad3a0>,
|
1576
|
+
'filter_empty': <function filter_empty at 0x78168ad1c0>,
|
1577
|
+
'get_by_index': <function get_by_index at 0x78168ace00>,
|
1578
|
+
'get_class_method': <function get_class_method at 0x78168accc0>,
|
1579
|
+
'get_filemtime': <function get_filemtime at 0x78168acb80>,
|
1580
|
+
'get_filesize': <function get_filesize at 0x78168ac9a0>,
|
1581
|
+
'int_to_chr': <function int_to_chr at 0x78168ac900>,
|
1582
|
+
'is_empty': <function is_empty at 0x78168ad260>,
|
1583
|
+
'is_iterable': <function is_iterable at 0x78168acfe0>,
|
1584
|
+
'is_valid_url': <function is_valid_url at 0x78168ac7c0>,
|
1585
|
+
'password_generator': <function password_generator at 0x78168ac680>,
|
1586
|
+
'random_bool': <function random_bool at 0x78168ac4a0>,
|
1587
|
+
'restart': <function restart at 0x78168af7e0>,
|
1588
|
+
'set_timeout': <function set_timeout at 0x78168af920>,
|
1589
|
+
'sets_ordered': <function sets_ordered at 0x78168afa60>,
|
1590
|
+
'str_cmp': <function str_cmp at 0x78168afb00>,
|
1591
|
+
'to_str': <function to_str at 0x78168acf40>,
|
1592
|
+
'choices': <function choices at 0x78168afba0>,
|
1593
|
+
'console_run': <function console_run at 0x78168afe20>,
|
1594
|
+
'input_char': <function input_char at 0x78168aff60>,
|
1595
|
+
'log': <function log at 0x78168d0180>,
|
1596
|
+
'print_colorize': <function print_colorize at 0x78168d0220>,
|
1597
|
+
'print_dir': <function print_dir at 0x78168d0360>,
|
1598
|
+
'print_log': <function print_log at 0x78168d0040>,
|
1599
|
+
'print_to_last_line': <function print_to_last_line at 0x78168afd80>,
|
1600
|
+
'text_colorize': <function text_colorize at 0x78168afec0>,
|
1601
|
+
'batch_calculate': <function batch_calculate at 0x780d9316c0>,
|
1602
|
+
'batchmaker': <function batchmaker at 0x780d932340>,
|
1603
|
+
'calculate': <function calculate at 0x780d932700>,
|
1604
|
+
'auto_reload': <function auto_reload at 0x780d9323e0>,
|
1605
|
+
'github_pull': <function github_pull at 0x780d9325c0>,
|
1606
|
+
'github_push': <function github_push at 0x780d932b60>,
|
1607
|
+
'github_user': <function github_user at 0x780d65a0c0>,
|
1608
|
+
'pip_freeze_without_version': <function pip_freeze_without_version at 0x780d65a160>,
|
1609
|
+
'poetry_publish': <function poetry_publish at 0x780d65a020>,
|
1610
|
+
'poetry_update_version': <function poetry_update_version at 0x780d67eb60>,
|
1611
|
+
'iargv': <function iargv at 0x780763c2c0>,
|
1612
|
+
'idumps': <function idumps at 0x780763c400>,
|
1613
|
+
'idumps_html': <function idumps_html at 0x78076a8e00>,
|
1614
|
+
'ienv': <function ienv at 0x780763c540>,
|
1615
|
+
'iexec': <function iexec at 0x78076a9080>,
|
1616
|
+
'ijoin': <function ijoin at 0x780d65a340>,
|
1617
|
+
'iloads': <function iloads at 0x78076a9120>,
|
1618
|
+
'iloads_html': <function iloads_html at 0x78076a93a0>,
|
1619
|
+
'iopen': <function iopen at 0x780d65a3e0>,
|
1620
|
+
'iprint': <function iprint at 0x78076a9260>,
|
1621
|
+
'irange': <function irange at 0x780d932520>,
|
1622
|
+
'ireplace': <function ireplace at 0x78076a9440>,
|
1623
|
+
'iscandir': <function iscandir at 0x78076ab060>,
|
1624
|
+
'isplit': <function isplit at 0x78076ab100>,
|
1625
|
+
'ivars': <function ivars at 0x78076ab1a0>}}
|
1627
1626
|
```
|
1628
1627
|
|
1629
1628
|
# CLASS
|
@@ -1663,7 +1662,7 @@ print(ExampleComparePerformance().compare_performance())
|
|
1663
1662
|
|
1664
1663
|
Output:
|
1665
1664
|
```py
|
1666
|
-
{'a': <generator object ExampleComparePerformance.a.<locals>.<genexpr> at
|
1665
|
+
{'a': <generator object ExampleComparePerformance.a.<locals>.<genexpr> at 0x78074542b0>,
|
1667
1666
|
'b': (0, 1, 2, 3, 4, 5, 6, 7, 8, 9),
|
1668
1667
|
'c': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
|
1669
1668
|
'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
|