pypipr 1.0.134__tar.gz → 1.0.135__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.134 → pypipr-1.0.135}/PKG-INFO +137 -143
- {pypipr-1.0.134 → pypipr-1.0.135}/pypipr/__init__.py +1 -2
- pypipr-1.0.134/pypipr/sqlite_all_tables.py → pypipr-1.0.135/pypipr/sqlite_get_all_tables.py +1 -1
- pypipr-1.0.135/pypipr/sqlite_get_data_table.py +10 -0
- {pypipr-1.0.134 → pypipr-1.0.135}/pyproject.toml +1 -1
- {pypipr-1.0.134 → pypipr-1.0.135}/readme.md +136 -142
- {pypipr-1.0.134 → pypipr-1.0.135}/pypipr/ComparePerformance.py +0 -0
- {pypipr-1.0.134 → pypipr-1.0.135}/pypipr/LINUX.py +0 -0
- {pypipr-1.0.134 → pypipr-1.0.135}/pypipr/PintUreg.py +0 -0
- {pypipr-1.0.134 → pypipr-1.0.135}/pypipr/PintUregQuantity.py +0 -0
- {pypipr-1.0.134 → pypipr-1.0.135}/pypipr/RunParallel.py +0 -0
- {pypipr-1.0.134 → pypipr-1.0.135}/pypipr/WINDOWS.py +0 -0
- {pypipr-1.0.134 → pypipr-1.0.135}/pypipr/__terminal__.py +0 -0
- {pypipr-1.0.134 → pypipr-1.0.135}/pypipr/auto_reload.py +0 -0
- {pypipr-1.0.134 → pypipr-1.0.135}/pypipr/avg.py +0 -0
- {pypipr-1.0.134 → pypipr-1.0.135}/pypipr/basename.py +0 -0
- {pypipr-1.0.134 → pypipr-1.0.135}/pypipr/batch_calculate.py +0 -0
- {pypipr-1.0.134 → pypipr-1.0.135}/pypipr/batchmaker.py +0 -0
- {pypipr-1.0.134 → pypipr-1.0.135}/pypipr/bin_to_int.py +0 -0
- {pypipr-1.0.134 → pypipr-1.0.135}/pypipr/calculate.py +0 -0
- {pypipr-1.0.134 → pypipr-1.0.135}/pypipr/choices.py +0 -0
- {pypipr-1.0.134 → pypipr-1.0.135}/pypipr/choices.py.bak +0 -0
- {pypipr-1.0.134 → pypipr-1.0.135}/pypipr/chr_to_int.py +0 -0
- {pypipr-1.0.134 → pypipr-1.0.135}/pypipr/chunk_array.py +0 -0
- {pypipr-1.0.134 → pypipr-1.0.135}/pypipr/console_run.py +0 -0
- {pypipr-1.0.134 → pypipr-1.0.135}/pypipr/create_folder.py +0 -0
- {pypipr-1.0.134 → pypipr-1.0.135}/pypipr/datetime_from_string.py +0 -0
- {pypipr-1.0.134 → pypipr-1.0.135}/pypipr/datetime_now.py +0 -0
- {pypipr-1.0.134 → pypipr-1.0.135}/pypipr/dict_first.py +0 -0
- {pypipr-1.0.134 → pypipr-1.0.135}/pypipr/dirname.py +0 -0
- {pypipr-1.0.134 → pypipr-1.0.135}/pypipr/exit_if_empty.py +0 -0
- {pypipr-1.0.134 → pypipr-1.0.135}/pypipr/filter_empty.py +0 -0
- {pypipr-1.0.134 → pypipr-1.0.135}/pypipr/get_by_index.py +0 -0
- {pypipr-1.0.134 → pypipr-1.0.135}/pypipr/get_class_method.py +0 -0
- {pypipr-1.0.134 → pypipr-1.0.135}/pypipr/get_filemtime.py +0 -0
- {pypipr-1.0.134 → pypipr-1.0.135}/pypipr/get_filesize.py +0 -0
- {pypipr-1.0.134 → pypipr-1.0.135}/pypipr/github_init.py +0 -0
- {pypipr-1.0.134 → pypipr-1.0.135}/pypipr/github_pull.py +0 -0
- {pypipr-1.0.134 → pypipr-1.0.135}/pypipr/github_push.py +0 -0
- {pypipr-1.0.134 → pypipr-1.0.135}/pypipr/github_user.py +0 -0
- {pypipr-1.0.134 → pypipr-1.0.135}/pypipr/hex_to_int.py +0 -0
- {pypipr-1.0.134 → pypipr-1.0.135}/pypipr/iargv.py +0 -0
- {pypipr-1.0.134 → pypipr-1.0.135}/pypipr/idir.py +0 -0
- {pypipr-1.0.134 → pypipr-1.0.135}/pypipr/idumps.py +0 -0
- {pypipr-1.0.134 → pypipr-1.0.135}/pypipr/idumps_html.py +0 -0
- {pypipr-1.0.134 → pypipr-1.0.135}/pypipr/ienumerate.py +0 -0
- {pypipr-1.0.134 → pypipr-1.0.135}/pypipr/ienv.py +0 -0
- {pypipr-1.0.134 → pypipr-1.0.135}/pypipr/iexec.py +0 -0
- {pypipr-1.0.134 → pypipr-1.0.135}/pypipr/ijoin.py +0 -0
- {pypipr-1.0.134 → pypipr-1.0.135}/pypipr/iloads.py +0 -0
- {pypipr-1.0.134 → pypipr-1.0.135}/pypipr/iloads_html.py +0 -0
- {pypipr-1.0.134 → pypipr-1.0.135}/pypipr/input_char.py +0 -0
- {pypipr-1.0.134 → pypipr-1.0.135}/pypipr/int_to_bin.py +0 -0
- {pypipr-1.0.134 → pypipr-1.0.135}/pypipr/int_to_chr.py +0 -0
- {pypipr-1.0.134 → pypipr-1.0.135}/pypipr/int_to_hex.py +0 -0
- {pypipr-1.0.134 → pypipr-1.0.135}/pypipr/int_to_int.py +0 -0
- {pypipr-1.0.134 → pypipr-1.0.135}/pypipr/int_to_oct.py +0 -0
- {pypipr-1.0.134 → pypipr-1.0.135}/pypipr/iopen.py +0 -0
- {pypipr-1.0.134 → pypipr-1.0.135}/pypipr/iprint.py +0 -0
- {pypipr-1.0.134 → pypipr-1.0.135}/pypipr/irange.py +0 -0
- {pypipr-1.0.134 → pypipr-1.0.135}/pypipr/ireplace.py +0 -0
- {pypipr-1.0.134 → pypipr-1.0.135}/pypipr/is_empty.py +0 -0
- {pypipr-1.0.134 → pypipr-1.0.135}/pypipr/is_iterable.py +0 -0
- {pypipr-1.0.134 → pypipr-1.0.135}/pypipr/is_valid_url.py +0 -0
- {pypipr-1.0.134 → pypipr-1.0.135}/pypipr/iscandir.py +0 -0
- {pypipr-1.0.134 → pypipr-1.0.135}/pypipr/isplit.py +0 -0
- {pypipr-1.0.134 → pypipr-1.0.135}/pypipr/ivars.py +0 -0
- {pypipr-1.0.134 → pypipr-1.0.135}/pypipr/log.py +0 -0
- {pypipr-1.0.134 → pypipr-1.0.135}/pypipr/oct_to_int.py +0 -0
- {pypipr-1.0.134 → pypipr-1.0.135}/pypipr/password_generator.py +0 -0
- {pypipr-1.0.134 → pypipr-1.0.135}/pypipr/pip_freeze_without_version.py +0 -0
- {pypipr-1.0.134 → pypipr-1.0.135}/pypipr/poetry_publish.py +0 -0
- {pypipr-1.0.134 → pypipr-1.0.135}/pypipr/poetry_update_version.py +0 -0
- {pypipr-1.0.134 → pypipr-1.0.135}/pypipr/print_colorize.py +0 -0
- {pypipr-1.0.134 → pypipr-1.0.135}/pypipr/print_dir.py +0 -0
- {pypipr-1.0.134 → pypipr-1.0.135}/pypipr/print_log.py +0 -0
- {pypipr-1.0.134 → pypipr-1.0.135}/pypipr/print_to_last_line.py +0 -0
- {pypipr-1.0.134 → pypipr-1.0.135}/pypipr/random_bool.py +0 -0
- {pypipr-1.0.134 → pypipr-1.0.135}/pypipr/restart.py +0 -0
- {pypipr-1.0.134 → pypipr-1.0.135}/pypipr/set_timeout.py +0 -0
- {pypipr-1.0.134 → pypipr-1.0.135}/pypipr/sets_ordered.py +0 -0
- {pypipr-1.0.134 → pypipr-1.0.135}/pypipr/str_cmp.py +0 -0
- {pypipr-1.0.134 → pypipr-1.0.135}/pypipr/text_colorize.py +0 -0
- {pypipr-1.0.134 → pypipr-1.0.135}/pypipr/to_str.py +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: pypipr
|
3
|
-
Version: 1.0.
|
3
|
+
Version: 1.0.135
|
4
4
|
Summary: The Python Package Index Project
|
5
5
|
Author: ufiapjj
|
6
6
|
Author-email: ufiapjj@gmail.com
|
@@ -248,8 +248,8 @@ iprint(irange("z", "a", 4))
|
|
248
248
|
|
249
249
|
Output:
|
250
250
|
```py
|
251
|
-
<generator object int_range at
|
252
|
-
<generator object int_range at
|
251
|
+
<generator object int_range at 0x7dfcdd7340>
|
252
|
+
<generator object int_range at 0x7dfcdd7340>
|
253
253
|
[13, 12, 11, 10, 9, 8, 7, 6]
|
254
254
|
[2, 5, 8]
|
255
255
|
[2, 5, 8]
|
@@ -281,7 +281,7 @@ print(list(batchmaker(s)))
|
|
281
281
|
|
282
282
|
Output:
|
283
283
|
```py
|
284
|
-
<generator object batchmaker at
|
284
|
+
<generator object batchmaker at 0x7dfce19240>
|
285
285
|
['Urutan 1 dan 10 dan j dan Z saja.', 'Urutan 1 dan 10 dan j dan K saja.', 'Urutan 4 dan 10 dan j dan Z saja.', 'Urutan 4 dan 10 dan j dan K saja.']
|
286
286
|
```
|
287
287
|
|
@@ -335,7 +335,7 @@ print(list(batch_calculate("{1 10} m ** {1 3}")))
|
|
335
335
|
|
336
336
|
Output:
|
337
337
|
```py
|
338
|
-
<generator object batch_calculate at
|
338
|
+
<generator object batch_calculate at 0x7dfce15f30>
|
339
339
|
[('1 m ** 1', <Quantity(1, 'meter')>), ('1 m ** 2', <Quantity(1, 'meter ** 2')>), ('2 m ** 1', <Quantity(2, 'meter')>), ('2 m ** 2', <Quantity(2, 'meter ** 2')>), ('3 m ** 1', <Quantity(3, 'meter')>), ('3 m ** 2', <Quantity(3, 'meter ** 2')>), ('4 m ** 1', <Quantity(4, 'meter')>), ('4 m ** 2', <Quantity(4, 'meter ** 2')>), ('5 m ** 1', <Quantity(5, 'meter')>), ('5 m ** 2', <Quantity(5, 'meter ** 2')>), ('6 m ** 1', <Quantity(6, 'meter')>), ('6 m ** 2', <Quantity(6, 'meter ** 2')>), ('7 m ** 1', <Quantity(7, 'meter')>), ('7 m ** 2', <Quantity(7, 'meter ** 2')>), ('8 m ** 1', <Quantity(8, 'meter')>), ('8 m ** 2', <Quantity(8, 'meter ** 2')>), ('9 m ** 1', <Quantity(9, 'meter')>), ('9 m ** 2', <Quantity(9, 'meter ** 2')>)]
|
340
340
|
```
|
341
341
|
|
@@ -441,7 +441,7 @@ print(list(chunk_array(arr, 5)))
|
|
441
441
|
|
442
442
|
Output:
|
443
443
|
```py
|
444
|
-
<generator object chunk_array at
|
444
|
+
<generator object chunk_array at 0x7dfcdd7440>
|
445
445
|
[[2, 3, 12, 3, 3], [42, 42, 1, 43, 2], [42, 41, 4, 24, 32], [42, 3, 12, 32, 42], [42]]
|
446
446
|
```
|
447
447
|
|
@@ -492,9 +492,9 @@ print(datetime_now("Etc/GMT+7"))
|
|
492
492
|
|
493
493
|
Output:
|
494
494
|
```py
|
495
|
-
2024-05-15
|
496
|
-
2024-05-15
|
497
|
-
2024-05-15
|
495
|
+
2024-05-15 23:06:17.824274+07:00
|
496
|
+
2024-05-15 16:06:17.825006+00:00
|
497
|
+
2024-05-15 09:06:17.826408-07:00
|
498
498
|
```
|
499
499
|
|
500
500
|
## dict_first
|
@@ -600,7 +600,7 @@ iprint(filter_empty(var))
|
|
600
600
|
|
601
601
|
Output:
|
602
602
|
```py
|
603
|
-
<generator object filter_empty at
|
603
|
+
<generator object filter_empty at 0x7dfce15c60>
|
604
604
|
[1, '0', True, {}, ['eee']]
|
605
605
|
```
|
606
606
|
|
@@ -647,8 +647,8 @@ print(list(get_class_method(ExampleGetClassMethod)))
|
|
647
647
|
|
648
648
|
Output:
|
649
649
|
```py
|
650
|
-
<generator object get_class_method at
|
651
|
-
[<function ExampleGetClassMethod.a at
|
650
|
+
<generator object get_class_method at 0x7dfce16200>
|
651
|
+
[<function ExampleGetClassMethod.a at 0x7dfce56480>, <function ExampleGetClassMethod.b at 0x7dfce56520>, <function ExampleGetClassMethod.c at 0x7dfce56660>, <function ExampleGetClassMethod.d at 0x7dfce56700>]
|
652
652
|
```
|
653
653
|
|
654
654
|
## get_filesize
|
@@ -854,7 +854,6 @@ Output:
|
|
854
854
|
'restart',
|
855
855
|
'set_timeout',
|
856
856
|
'sets_ordered',
|
857
|
-
'sqlite_all_tables',
|
858
857
|
'str_cmp',
|
859
858
|
'string',
|
860
859
|
'subprocess',
|
@@ -1059,7 +1058,7 @@ Output:
|
|
1059
1058
|
|
1060
1059
|
## ienumerate
|
1061
1060
|
|
1062
|
-
`ienumerate(iterator, start=0, key=<function int_to_int at
|
1061
|
+
`ienumerate(iterator, start=0, key=<function int_to_int at 0x7e0473f9c0>)`
|
1063
1062
|
|
1064
1063
|
meningkatkan fungsi enumerate() pada python
|
1065
1064
|
untuk key menggunakan huruf dan basis angka lainnya.
|
@@ -1072,7 +1071,7 @@ iprint(ienumerate(it, key=int_to_chr))
|
|
1072
1071
|
|
1073
1072
|
Output:
|
1074
1073
|
```py
|
1075
|
-
<generator object ienumerate at
|
1074
|
+
<generator object ienumerate at 0x7dfce162f0>
|
1076
1075
|
[('a', 'ini'), ('b', 'contoh'), ('c', 'enumerator')]
|
1077
1076
|
```
|
1078
1077
|
|
@@ -1139,7 +1138,7 @@ print(ijoin(10, ' '))
|
|
1139
1138
|
|
1140
1139
|
Output:
|
1141
1140
|
```py
|
1142
|
-
dfs, qweqw,
|
1141
|
+
dfs, qweqw, weq, asd
|
1143
1142
|
,ini,path,seperti,url,
|
1144
1143
|
ini,path,seperti,url
|
1145
1144
|
<li>satu</li>
|
@@ -1185,9 +1184,9 @@ Output:
|
|
1185
1184
|
```py
|
1186
1185
|
(['Home', 'Emas 1 Gram', 'History', 'Trend', 'Perak 1 Gram', 'Pluang'],
|
1187
1186
|
[['Harga Emas Hari Ini - Rabu, 15 Mei 2024'],
|
1188
|
-
['Spot Emas USD↑2.
|
1187
|
+
['Spot Emas USD↑2.378,85 (+24,23) / oz',
|
1189
1188
|
'Kurs IDR↑16.131,00 (+46,00) / USD',
|
1190
|
-
'Emas IDR↑1.
|
1189
|
+
'Emas IDR↑1.233.728 (+16.049) / gr'],
|
1191
1190
|
['LM Antam (Jual)↑1.332.000 (+8.000) / gr',
|
1192
1191
|
'LM Antam (Beli)↑1.223.000 (+8.000) / gr']],
|
1193
1192
|
[['Harga Emas Hari Ini'],
|
@@ -1258,10 +1257,10 @@ Output:
|
|
1258
1257
|
'Update harga LM Pegadaian :31 Agustus 2023']],
|
1259
1258
|
[['Spot Harga Emas Hari Ini (Market Open)'],
|
1260
1259
|
['Satuan', 'USD', 'Kurs\xa0Dollar', 'IDR'],
|
1261
|
-
['Ounce\xa0(oz)', '2.
|
1262
|
-
['Gram\xa0(gr)', '76,
|
1263
|
-
['Kilogram\xa0(kg)', '76.
|
1264
|
-
['Update harga emas :15 Mei 2024, pukul
|
1260
|
+
['Ounce\xa0(oz)', '2.378,85 (+24,23)', '16.131,00 (+46,00)', '38.373.229'],
|
1261
|
+
['Gram\xa0(gr)', '76,48', '16.131,00', '1.233.728 (+16.049)'],
|
1262
|
+
['Kilogram\xa0(kg)', '76.481,80', '16.131,00', '1.233.727.973'],
|
1263
|
+
['Update harga emas :15 Mei 2024, pukul 23:06Update kurs :15 Mei 2024, pukul '
|
1265
1264
|
'13:10']],
|
1266
1265
|
[['Gram', 'UBS Gold 99.99%'],
|
1267
1266
|
['Jual', 'Beli'],
|
@@ -1307,36 +1306,36 @@ Output:
|
|
1307
1306
|
['Unit', 'USD', 'IDR'],
|
1308
1307
|
['Angka', '+/-', 'Angka', '+/-'],
|
1309
1308
|
['Hari Ini', 'Kurs', '', '', '16.085', '+46+0,29%'],
|
1310
|
-
['oz', '2.354,62', '+
|
1311
|
-
['gr', '75,70', '+0,
|
1309
|
+
['oz', '2.354,62', '+24,23+1,03%', '37.874.063', '+499.167+1,32%'],
|
1310
|
+
['gr', '75,70', '+0,78+1,03%', '1.217.679', '+16.049+1,32%'],
|
1312
1311
|
['30 Hari', 'Kurs', '', '', '15.907', '+224+1,41%'],
|
1313
|
-
['oz', '2.359,26', '+
|
1314
|
-
['gr', '75,85', '+0,
|
1312
|
+
['oz', '2.359,26', '+19,59+0,83%', '37.528.749', '+844.481+2,25%'],
|
1313
|
+
['gr', '75,85', '+0,63+0,83%', '1.206.577', '+27.151+2,25%'],
|
1315
1314
|
['2 Bulan', 'Kurs', '', '', '15.582', '+549+3,52%'],
|
1316
|
-
['oz', '2.156,08', '+
|
1317
|
-
['gr', '69,32', '+7,
|
1315
|
+
['oz', '2.156,08', '+222,77+10,33%', '33.596.039', '+4.777.191+14,22%'],
|
1316
|
+
['gr', '69,32', '+7,16+10,33', '1.080.138', '+153.590+14,22%'],
|
1318
1317
|
['6 Bulan', 'Kurs', '', '', '15.595', '+536+3,44%'],
|
1319
|
-
['oz', '1.981,17', '+
|
1320
|
-
['gr', '63,70', '+12,
|
1318
|
+
['oz', '1.981,17', '+397,68+20,07%', '30.896.346', '+7.476.883+24,20%'],
|
1319
|
+
['gr', '63,70', '+12,79+20,07%', '993.341', '+240.387+24,20%'],
|
1321
1320
|
['1 Tahun', 'Kurs', '', '', '15.731', '+400+2,54%'],
|
1322
|
-
['oz', '1.823,86', '+
|
1323
|
-
['gr', '58,64', '+17,
|
1321
|
+
['oz', '1.823,86', '+554,99+30,43%', '28.691.142', '+9.682.088+33,75%'],
|
1322
|
+
['gr', '58,64', '+17,84+30,43%', '922.442', '+311.286+33,75%'],
|
1324
1323
|
['2 Tahun', 'Kurs', '', '', '14.585', '+1.546+10,60%'],
|
1325
|
-
['oz', '1.816,04', '+
|
1326
|
-
['gr', '58,39', '+18,
|
1324
|
+
['oz', '1.816,04', '+562,81+30,99%', '26.486.962', '+11.886.268+44,88%'],
|
1325
|
+
['gr', '58,39', '+18,09+30,99%', '851.576', '+382.152+44,88%'],
|
1327
1326
|
['3 Tahun', 'Kurs', '', '', '14.198', '+1.933+13,61%'],
|
1328
|
-
['oz', '1.843,91', '+
|
1329
|
-
['gr', '59,28', '+17,
|
1327
|
+
['oz', '1.843,91', '+534,94+29,01%', '26.179.834', '+12.193.395+46,58%'],
|
1328
|
+
['gr', '59,28', '+17,20+29,01%', '841.701', '+392.027+46,58%'],
|
1330
1329
|
['5 Tahun', 'Kurs', '', '', '14.469', '+1.662+11,49%'],
|
1331
|
-
['oz', '1.275,87', '+1.
|
1332
|
-
['gr', '41,02', '+35,
|
1330
|
+
['oz', '1.275,87', '+1.102,98+86,45%', '18.460.563', '+19.912.666+107,87%'],
|
1331
|
+
['gr', '41,02', '+35,46+86,45%', '593.521', '+640.207+107,87%']])
|
1333
1332
|
(['Home', 'Emas 1 Gram', 'History', 'Trend', 'Perak 1 Gram', 'Pluang'],
|
1334
1333
|
[[''],
|
1335
1334
|
['Emas 24 KaratHarga Emas 1 Gram', ''],
|
1336
|
-
['USD', '76,
|
1337
|
-
['KURS', '15.
|
1338
|
-
['IDR', '1.220.
|
1339
|
-
['Rabu, 15 Mei 2024
|
1335
|
+
['USD', '76,48↑', '+0,78+1,03%'],
|
1336
|
+
['KURS', '15.952,00↓', '-151,05-0,94%'],
|
1337
|
+
['IDR', '1.220.037,73↑', '+991,90+0,08%'],
|
1338
|
+
['Rabu, 15 Mei 2024 23:06']],
|
1340
1339
|
[[''],
|
1341
1340
|
['Emas 1 Gram (IDR)Emas 1 Gram (USD)Kurs USD-IDR',
|
1342
1341
|
'Hari Ini',
|
@@ -1347,19 +1346,19 @@ Output:
|
|
1347
1346
|
'']],
|
1348
1347
|
[['Pergerakkan Harga Emas 1 Gram'],
|
1349
1348
|
['', 'Penutupan Kemarin', 'Pergerakkan Hari Ini', 'Rata-rata'],
|
1350
|
-
['USD', '75,70', '75,70 - 76,
|
1351
|
-
['KURS', '16.103,05', '15.
|
1352
|
-
['IDR', '1.219.045,83', '1.219.045,83 - 1.220.
|
1349
|
+
['USD', '75,70', '75,70 - 76,48', '76,09'],
|
1350
|
+
['KURS', '16.103,05', '15.952,00 - 16.103,05', '16.027,53'],
|
1351
|
+
['IDR', '1.219.045,83', '1.219.045,83 - 1.220.037,73', '1.219.541,78'],
|
1353
1352
|
[''],
|
1354
1353
|
['', 'Awal Tahun', 'Pergerakkan YTD', '+/- YTD'],
|
1355
|
-
['USD', '66,32', '64,07 - 77,14', '+10,
|
1356
|
-
['KURS', '15.390,10', '15.390,00 - 16.307,80', '+
|
1357
|
-
['IDR', '1.020.729,53', '997.660,12 - 1.256.829,06', '+199.
|
1354
|
+
['USD', '66,32', '64,07 - 77,14', '+10,16 (15,32%)'],
|
1355
|
+
['KURS', '15.390,10', '15.390,00 - 16.307,80', '+561,90 (3,65%)'],
|
1356
|
+
['IDR', '1.020.729,53', '997.660,12 - 1.256.829,06', '+199.308,20 (19,53%)'],
|
1358
1357
|
[''],
|
1359
1358
|
['', 'Tahun Lalu / 52 Minggu', 'Pergerakkan 52 Minggu', '+/- 52 Minggu'],
|
1360
|
-
['USD', '64,66', '58,43 - 77,14', '+11,
|
1361
|
-
['KURS', '14.844,45', '14.796,95 - 16.307,80', '+1.
|
1362
|
-
['IDR', '959.794,03', '912.925,68 - 1.256.829,06', '+260.
|
1359
|
+
['USD', '64,66', '58,43 - 77,14', '+11,82 (18,28%)'],
|
1360
|
+
['KURS', '14.844,45', '14.796,95 - 16.307,80', '+1.107,55 (7,46%)'],
|
1361
|
+
['IDR', '959.794,03', '912.925,68 - 1.256.829,06', '+260.243,70 (27,11%)']])
|
1363
1362
|
```
|
1364
1363
|
|
1365
1364
|
## iloads
|
@@ -1489,7 +1488,7 @@ Output:
|
|
1489
1488
|
```py
|
1490
1489
|
8
|
1491
1490
|
['mana', 'aja']
|
1492
|
-
[<Element a at
|
1491
|
+
[<Element a at 0x7dfce538e0>, <Element a at 0x7dfccab700>, <Element a at 0x7dfccab7a0>, <Element a at 0x7dfccab7f0>, <Element a at 0x7dfccab840>, <Element a at 0x7dfccab890>, <Element a at 0x7dfccab8e0>, <Element a at 0x7dfccab930>, <Element a at 0x7dfccab980>, <Element a at 0x7dfccab9d0>, <Element a at 0x7dfccaba20>, <Element a at 0x7dfccaba70>, <Element a at 0x7dfccabac0>, <Element a at 0x7dfccabb10>, <Element a at 0x7dfccabb60>, <Element a at 0x7dfccabbb0>, <Element a at 0x7dfccabc00>, <Element a at 0x7dfccabc50>]
|
1493
1492
|
False
|
1494
1493
|
```
|
1495
1494
|
|
@@ -1551,7 +1550,7 @@ print(list(iscandir("./", recursive=False, scan_file=False)))
|
|
1551
1550
|
|
1552
1551
|
Output:
|
1553
1552
|
```py
|
1554
|
-
<generator object iscandir at
|
1553
|
+
<generator object iscandir at 0x7dfcdd7640>
|
1555
1554
|
[PosixPath('.git'), PosixPath('.vscode'), PosixPath('pypipr'), PosixPath('__pycache__'), PosixPath('dist')]
|
1556
1555
|
```
|
1557
1556
|
|
@@ -1584,82 +1583,81 @@ iprint(ivars(__import__('pypipr')))
|
|
1584
1583
|
|
1585
1584
|
Output:
|
1586
1585
|
```py
|
1587
|
-
{'function': {'avg': <function avg at
|
1588
|
-
'get_filemtime': <function get_filemtime at
|
1589
|
-
'print_colorize': <function print_colorize at
|
1590
|
-
'print_log': <function print_log at
|
1591
|
-
'console_run': <function console_run at
|
1592
|
-
'auto_reload': <function auto_reload at
|
1593
|
-
'basename': <function basename at
|
1594
|
-
'chr_to_int': <function chr_to_int at
|
1595
|
-
'int_to_chr': <function int_to_chr at
|
1596
|
-
'irange': <function irange at
|
1597
|
-
'batchmaker': <function batchmaker at
|
1598
|
-
'calculate': <function calculate at
|
1599
|
-
'batch_calculate': <function batch_calculate at
|
1600
|
-
'bin_to_int': <function bin_to_int at
|
1601
|
-
'is_empty': <function is_empty at
|
1602
|
-
'exit_if_empty': <function exit_if_empty at
|
1603
|
-
'input_char': <function input_char at
|
1604
|
-
'choices': <function choices at
|
1605
|
-
'chunk_array': <function chunk_array at
|
1606
|
-
'create_folder': <function create_folder at
|
1607
|
-
'datetime_from_string': <function datetime_from_string at
|
1608
|
-
'datetime_now': <function datetime_now at
|
1609
|
-
'dict_first': <function dict_first at
|
1610
|
-
'dirname': <function dirname at
|
1611
|
-
'is_iterable': <function is_iterable at
|
1612
|
-
'to_str': <function to_str at
|
1613
|
-
'filter_empty': <function filter_empty at
|
1614
|
-
'get_by_index': <function get_by_index at
|
1615
|
-
'get_class_method': <function get_class_method at
|
1616
|
-
'get_filesize': <function get_filesize at
|
1617
|
-
'github_init': <function github_init at
|
1618
|
-
'github_pull': <function github_pull at
|
1619
|
-
'github_push': <function github_push at
|
1620
|
-
'github_user': <function github_user at
|
1621
|
-
'hex_to_int': <function hex_to_int at
|
1622
|
-
'iargv': <function iargv at
|
1623
|
-
'idir': <function idir at
|
1624
|
-
'idumps_html': <function idumps_html at
|
1625
|
-
'idumps': <function idumps at
|
1626
|
-
'int_to_int': <function int_to_int at
|
1627
|
-
'ienumerate': <function ienumerate at
|
1628
|
-
'ienv': <function ienv at
|
1629
|
-
'iexec': <function iexec at
|
1630
|
-
'ijoin': <function ijoin at
|
1631
|
-
'iloads_html': <function iloads_html at
|
1632
|
-
'iloads': <function iloads at
|
1633
|
-
'int_to_bin': <function int_to_bin at
|
1634
|
-
'int_to_hex': <function int_to_hex at
|
1635
|
-
'int_to_oct': <function int_to_oct at
|
1636
|
-
'is_valid_url': <function is_valid_url at
|
1637
|
-
'iopen': <function iopen at
|
1638
|
-
'iprint': <function iprint at
|
1639
|
-
'ireplace': <function ireplace at
|
1640
|
-
'iscandir': <function iscandir at
|
1641
|
-
'isplit': <function isplit at
|
1642
|
-
'ivars': <function ivars at
|
1643
|
-
'log': <function log at
|
1644
|
-
'oct_to_int': <function oct_to_int at
|
1645
|
-
'password_generator': <function password_generator at
|
1646
|
-
'pip_freeze_without_version': <function pip_freeze_without_version at
|
1647
|
-
'poetry_publish': <function poetry_publish at
|
1648
|
-
'poetry_update_version': <function poetry_update_version at
|
1649
|
-
'print_dir': <function print_dir at
|
1650
|
-
'print_to_last_line': <function print_to_last_line at
|
1651
|
-
'random_bool': <function random_bool at
|
1652
|
-
'restart': <function restart at
|
1653
|
-
'set_timeout': <function set_timeout at
|
1654
|
-
'sets_ordered': <function sets_ordered at
|
1655
|
-
'
|
1656
|
-
'
|
1657
|
-
'text_colorize': <function text_colorize at 0x7617535120>},
|
1586
|
+
{'function': {'avg': <function avg at 0x7e091cc040>,
|
1587
|
+
'get_filemtime': <function get_filemtime at 0x7e04967060>,
|
1588
|
+
'print_colorize': <function print_colorize at 0x7e04967240>,
|
1589
|
+
'print_log': <function print_log at 0x7e04967100>,
|
1590
|
+
'console_run': <function console_run at 0x7e049671a0>,
|
1591
|
+
'auto_reload': <function auto_reload at 0x7e05328f40>,
|
1592
|
+
'basename': <function basename at 0x7e04902980>,
|
1593
|
+
'chr_to_int': <function chr_to_int at 0x7e049677e0>,
|
1594
|
+
'int_to_chr': <function int_to_chr at 0x7e04967880>,
|
1595
|
+
'irange': <function irange at 0x7e04967b00>,
|
1596
|
+
'batchmaker': <function batchmaker at 0x7e049674c0>,
|
1597
|
+
'calculate': <function calculate at 0x7e04967600>,
|
1598
|
+
'batch_calculate': <function batch_calculate at 0x7e04967380>,
|
1599
|
+
'bin_to_int': <function bin_to_int at 0x7e05328ea0>,
|
1600
|
+
'is_empty': <function is_empty at 0x7e049742c0>,
|
1601
|
+
'exit_if_empty': <function exit_if_empty at 0x7e04974180>,
|
1602
|
+
'input_char': <function input_char at 0x7e04974220>,
|
1603
|
+
'choices': <function choices at 0x7e04974540>,
|
1604
|
+
'chunk_array': <function chunk_array at 0x7e049745e0>,
|
1605
|
+
'create_folder': <function create_folder at 0x7e04974680>,
|
1606
|
+
'datetime_from_string': <function datetime_from_string at 0x7e04974720>,
|
1607
|
+
'datetime_now': <function datetime_now at 0x7e049740e0>,
|
1608
|
+
'dict_first': <function dict_first at 0x7e04976a20>,
|
1609
|
+
'dirname': <function dirname at 0x7e04976ac0>,
|
1610
|
+
'is_iterable': <function is_iterable at 0x7e04976ca0>,
|
1611
|
+
'to_str': <function to_str at 0x7e04976d40>,
|
1612
|
+
'filter_empty': <function filter_empty at 0x7e049672e0>,
|
1613
|
+
'get_by_index': <function get_by_index at 0x7e04976b60>,
|
1614
|
+
'get_class_method': <function get_class_method at 0x7e04976de0>,
|
1615
|
+
'get_filesize': <function get_filesize at 0x7e04976f20>,
|
1616
|
+
'github_init': <function github_init at 0x7e04976fc0>,
|
1617
|
+
'github_pull': <function github_pull at 0x7e04977060>,
|
1618
|
+
'github_push': <function github_push at 0x7e049771a0>,
|
1619
|
+
'github_user': <function github_user at 0x7e04977240>,
|
1620
|
+
'hex_to_int': <function hex_to_int at 0x7e049772e0>,
|
1621
|
+
'iargv': <function iargv at 0x7e04977380>,
|
1622
|
+
'idir': <function idir at 0x7e04977420>,
|
1623
|
+
'idumps_html': <function idumps_html at 0x7e04977b00>,
|
1624
|
+
'idumps': <function idumps at 0x7e04977560>,
|
1625
|
+
'int_to_int': <function int_to_int at 0x7e0473f9c0>,
|
1626
|
+
'ienumerate': <function ienumerate at 0x7e04732020>,
|
1627
|
+
'ienv': <function ienv at 0x7e0473f6a0>,
|
1628
|
+
'iexec': <function iexec at 0x7e0473fa60>,
|
1629
|
+
'ijoin': <function ijoin at 0x7e0473fba0>,
|
1630
|
+
'iloads_html': <function iloads_html at 0x7e0473fd80>,
|
1631
|
+
'iloads': <function iloads at 0x7e09b6a020>,
|
1632
|
+
'int_to_bin': <function int_to_bin at 0x7e0473fb00>,
|
1633
|
+
'int_to_hex': <function int_to_hex at 0x7e0473fce0>,
|
1634
|
+
'int_to_oct': <function int_to_oct at 0x7e0473fe20>,
|
1635
|
+
'is_valid_url': <function is_valid_url at 0x7e045cbba0>,
|
1636
|
+
'iopen': <function iopen at 0x7e04754040>,
|
1637
|
+
'iprint': <function iprint at 0x7e045cb6a0>,
|
1638
|
+
'ireplace': <function ireplace at 0x7e045cb7e0>,
|
1639
|
+
'iscandir': <function iscandir at 0x7e0468c9a0>,
|
1640
|
+
'isplit': <function isplit at 0x7e0468ca40>,
|
1641
|
+
'ivars': <function ivars at 0x7e0468cae0>,
|
1642
|
+
'log': <function log at 0x7e0468cb80>,
|
1643
|
+
'oct_to_int': <function oct_to_int at 0x7e0468cc20>,
|
1644
|
+
'password_generator': <function password_generator at 0x7e0468ccc0>,
|
1645
|
+
'pip_freeze_without_version': <function pip_freeze_without_version at 0x7e0468ce00>,
|
1646
|
+
'poetry_publish': <function poetry_publish at 0x7e0468cea0>,
|
1647
|
+
'poetry_update_version': <function poetry_update_version at 0x7e0468cfe0>,
|
1648
|
+
'print_dir': <function print_dir at 0x7e0468d1c0>,
|
1649
|
+
'print_to_last_line': <function print_to_last_line at 0x7e0468d260>,
|
1650
|
+
'random_bool': <function random_bool at 0x7e0468d300>,
|
1651
|
+
'restart': <function restart at 0x7e0468d3a0>,
|
1652
|
+
'set_timeout': <function set_timeout at 0x7e0468d440>,
|
1653
|
+
'sets_ordered': <function sets_ordered at 0x7e0468d4e0>,
|
1654
|
+
'str_cmp': <function str_cmp at 0x7e0468d580>,
|
1655
|
+
'text_colorize': <function text_colorize at 0x7e0468d620>},
|
1658
1656
|
'class': {'ComparePerformance': <class 'pypipr.ComparePerformance.ComparePerformance'>,
|
1659
1657
|
'PintUregQuantity': <class 'pint.Quantity'>,
|
1660
1658
|
'RunParallel': <class 'pypipr.RunParallel.RunParallel'>},
|
1661
1659
|
'variable': {'LINUX': True,
|
1662
|
-
'PintUreg': <pint.registry.UnitRegistry object at
|
1660
|
+
'PintUreg': <pint.registry.UnitRegistry object at 0x7e091d3490>,
|
1663
1661
|
'WINDOWS': False},
|
1664
1662
|
'module': {'asyncio': <module 'asyncio' from '/data/data/com.termux/files/usr/lib/python3.11/asyncio/__init__.py'>,
|
1665
1663
|
'colorama': <module 'colorama' from '/data/data/com.termux/files/home/.cache/pypoetry/virtualenvs/pypipr-ZoJyDxLL-py3.11/lib/python3.11/site-packages/colorama/__init__.py'>,
|
@@ -1749,7 +1747,7 @@ print(password_generator())
|
|
1749
1747
|
|
1750
1748
|
Output:
|
1751
1749
|
```py
|
1752
|
-
|
1750
|
+
OR)^A<Ax
|
1753
1751
|
```
|
1754
1752
|
|
1755
1753
|
## pip_freeze_without_version
|
@@ -1807,7 +1805,7 @@ Output:
|
|
1807
1805
|
__enter__ : https:/www.google.com
|
1808
1806
|
__fspath__ : https:/www.google.com
|
1809
1807
|
__getstate__ : (None, {'_drv': '', '_root': '', '_parts': ['https:', 'www.google.com'], '_str': 'https:/www.google.com'})
|
1810
|
-
__hash__ :
|
1808
|
+
__hash__ : 423689897362171039
|
1811
1809
|
__init__ : None
|
1812
1810
|
__init_subclass__ : None
|
1813
1811
|
__module__ : pathlib
|
@@ -1820,8 +1818,8 @@ Output:
|
|
1820
1818
|
_cached_cparts : ['https:', 'www.google.com']
|
1821
1819
|
_cparts : ['https:', 'www.google.com']
|
1822
1820
|
_drv :
|
1823
|
-
_flavour : <pathlib._PosixFlavour object at
|
1824
|
-
_hash :
|
1821
|
+
_flavour : <pathlib._PosixFlavour object at 0x7e08f1d4d0>
|
1822
|
+
_hash : 423689897362171039
|
1825
1823
|
_parts : ['https:', 'www.google.com']
|
1826
1824
|
_root :
|
1827
1825
|
_str : https:/www.google.com
|
@@ -1843,7 +1841,7 @@ Output:
|
|
1843
1841
|
is_reserved : False
|
1844
1842
|
is_socket : False
|
1845
1843
|
is_symlink : False
|
1846
|
-
iterdir : <generator object Path.iterdir at
|
1844
|
+
iterdir : <generator object Path.iterdir at 0x7dfce23d80>
|
1847
1845
|
joinpath : https:/www.google.com
|
1848
1846
|
name : www.google.com
|
1849
1847
|
parent : https:
|
@@ -1883,7 +1881,7 @@ print(random_bool())
|
|
1883
1881
|
|
1884
1882
|
Output:
|
1885
1883
|
```py
|
1886
|
-
|
1884
|
+
True
|
1887
1885
|
```
|
1888
1886
|
|
1889
1887
|
## restart
|
@@ -1917,7 +1915,7 @@ x.cancel()
|
|
1917
1915
|
|
1918
1916
|
Output:
|
1919
1917
|
```py
|
1920
|
-
<Timer(Thread-2, started
|
1918
|
+
<Timer(Thread-2, started 541094141168)>
|
1921
1919
|
menghentikan timeout 7
|
1922
1920
|
```
|
1923
1921
|
|
@@ -1935,14 +1933,10 @@ print(list(sets_ordered(array)))
|
|
1935
1933
|
|
1936
1934
|
Output:
|
1937
1935
|
```py
|
1938
|
-
<generator object sets_ordered at
|
1936
|
+
<generator object sets_ordered at 0x7dfce6d560>
|
1939
1937
|
[2, 3, 12, 42, 1, 43, 41, 4, 24, 32]
|
1940
1938
|
```
|
1941
1939
|
|
1942
|
-
## sqlite_all_tables
|
1943
|
-
|
1944
|
-
`sqlite_all_tables(filename)`
|
1945
|
-
|
1946
1940
|
## str_cmp
|
1947
1941
|
|
1948
1942
|
`str_cmp(t1, t2)`
|
@@ -2009,15 +2003,15 @@ print(ExampleComparePerformance().compare_performance())
|
|
2009
2003
|
|
2010
2004
|
Output:
|
2011
2005
|
```py
|
2012
|
-
{'a': <generator object ExampleComparePerformance.a.<locals>.<genexpr> at
|
2006
|
+
{'a': <generator object ExampleComparePerformance.a.<locals>.<genexpr> at 0x7dfce6c6c0>,
|
2013
2007
|
'b': (0, 1, 2, 3, 4, 5, 6, 7, 8, 9),
|
2014
2008
|
'c': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
|
2015
2009
|
'd': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]}
|
2016
|
-
{'a':
|
2017
|
-
{'a':
|
2018
|
-
{'a':
|
2019
|
-
{'a':
|
2020
|
-
{'a':
|
2010
|
+
{'a': 100, 'b': 124, 'c': 136, 'd': 135}
|
2011
|
+
{'a': 100, 'b': 120, 'c': 118, 'd': 107}
|
2012
|
+
{'a': 100, 'b': 121, 'c': 115, 'd': 117}
|
2013
|
+
{'a': 100, 'b': 114, 'c': 106, 'd': 122}
|
2014
|
+
{'a': 100, 'b': 118, 'c': 114, 'd': 115}
|
2021
2015
|
```
|
2022
2016
|
|
2023
2017
|
## PintUregQuantity
|
@@ -71,7 +71,6 @@ from .random_bool import random_bool
|
|
71
71
|
from .restart import restart
|
72
72
|
from .set_timeout import set_timeout
|
73
73
|
from .sets_ordered import sets_ordered
|
74
|
-
from .sqlite_all_tables import sqlite_all_tables
|
75
74
|
from .str_cmp import str_cmp
|
76
75
|
from .text_colorize import text_colorize
|
77
76
|
from .to_str import to_str
|
@@ -105,4 +104,4 @@ import tzdata
|
|
105
104
|
import uuid
|
106
105
|
import webbrowser
|
107
106
|
import yaml
|
108
|
-
import zoneinfo
|
107
|
+
import zoneinfo
|