pypipr 1.0.134__py3-none-any.whl → 1.0.136__py3-none-any.whl
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/__init__.py +2 -1
- pypipr/{sqlite_all_tables.py → sqlite_get_all_tables.py} +1 -1
- pypipr/sqlite_get_data_table.py +10 -0
- {pypipr-1.0.134.dist-info → pypipr-1.0.136.dist-info}/METADATA +147 -141
- {pypipr-1.0.134.dist-info → pypipr-1.0.136.dist-info}/RECORD +7 -6
- {pypipr-1.0.134.dist-info → pypipr-1.0.136.dist-info}/WHEEL +0 -0
- {pypipr-1.0.134.dist-info → pypipr-1.0.136.dist-info}/entry_points.txt +0 -0
pypipr/__init__.py
CHANGED
@@ -71,7 +71,8 @@ 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 .
|
74
|
+
from .sqlite_get_all_tables import sqlite_get_all_tables
|
75
|
+
from .sqlite_get_data_table import sqlite_get_data_table
|
75
76
|
from .str_cmp import str_cmp
|
76
77
|
from .text_colorize import text_colorize
|
77
78
|
from .to_str import to_str
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: pypipr
|
3
|
-
Version: 1.0.
|
3
|
+
Version: 1.0.136
|
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 0x7add2fb940>
|
252
|
+
<generator object int_range at 0x7add2fb940>
|
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 0x7add389480>
|
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 0x7add392110>
|
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 0x7add2fba40>
|
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 08:
|
495
|
+
2024-05-15 23:08:05.326324+07:00
|
496
|
+
2024-05-15 16:08:05.326821+00:00
|
497
|
+
2024-05-15 09:08:05.327662-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 0x7add391e40>
|
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 0x7add3923e0>
|
651
|
+
[<function ExampleGetClassMethod.a at 0x7add3c6de0>, <function ExampleGetClassMethod.b at 0x7add3c6e80>, <function ExampleGetClassMethod.c at 0x7add3c6fc0>, <function ExampleGetClassMethod.d at 0x7add3c7060>]
|
652
652
|
```
|
653
653
|
|
654
654
|
## get_filesize
|
@@ -854,7 +854,8 @@ Output:
|
|
854
854
|
'restart',
|
855
855
|
'set_timeout',
|
856
856
|
'sets_ordered',
|
857
|
-
'
|
857
|
+
'sqlite_get_all_tables',
|
858
|
+
'sqlite_get_data_table',
|
858
859
|
'str_cmp',
|
859
860
|
'string',
|
860
861
|
'subprocess',
|
@@ -1059,7 +1060,7 @@ Output:
|
|
1059
1060
|
|
1060
1061
|
## ienumerate
|
1061
1062
|
|
1062
|
-
`ienumerate(iterator, start=0, key=<function int_to_int at
|
1063
|
+
`ienumerate(iterator, start=0, key=<function int_to_int at 0x7ae48a79c0>)`
|
1063
1064
|
|
1064
1065
|
meningkatkan fungsi enumerate() pada python
|
1065
1066
|
untuk key menggunakan huruf dan basis angka lainnya.
|
@@ -1072,7 +1073,7 @@ iprint(ienumerate(it, key=int_to_chr))
|
|
1072
1073
|
|
1073
1074
|
Output:
|
1074
1075
|
```py
|
1075
|
-
<generator object ienumerate at
|
1076
|
+
<generator object ienumerate at 0x7add3924d0>
|
1076
1077
|
[('a', 'ini'), ('b', 'contoh'), ('c', 'enumerator')]
|
1077
1078
|
```
|
1078
1079
|
|
@@ -1139,7 +1140,7 @@ print(ijoin(10, ' '))
|
|
1139
1140
|
|
1140
1141
|
Output:
|
1141
1142
|
```py
|
1142
|
-
dfs,
|
1143
|
+
dfs, asd, qweqw, weq
|
1143
1144
|
,ini,path,seperti,url,
|
1144
1145
|
ini,path,seperti,url
|
1145
1146
|
<li>satu</li>
|
@@ -1185,9 +1186,9 @@ Output:
|
|
1185
1186
|
```py
|
1186
1187
|
(['Home', 'Emas 1 Gram', 'History', 'Trend', 'Perak 1 Gram', 'Pluang'],
|
1187
1188
|
[['Harga Emas Hari Ini - Rabu, 15 Mei 2024'],
|
1188
|
-
['Spot Emas USD↑2.
|
1189
|
+
['Spot Emas USD↑2.378,13 (+23,51) / oz',
|
1189
1190
|
'Kurs IDR↑16.131,00 (+46,00) / USD',
|
1190
|
-
'Emas IDR↑1.
|
1191
|
+
'Emas IDR↑1.233.355 (+15.675) / gr'],
|
1191
1192
|
['LM Antam (Jual)↑1.332.000 (+8.000) / gr',
|
1192
1193
|
'LM Antam (Beli)↑1.223.000 (+8.000) / gr']],
|
1193
1194
|
[['Harga Emas Hari Ini'],
|
@@ -1258,10 +1259,10 @@ Output:
|
|
1258
1259
|
'Update harga LM Pegadaian :31 Agustus 2023']],
|
1259
1260
|
[['Spot Harga Emas Hari Ini (Market Open)'],
|
1260
1261
|
['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
|
1262
|
+
['Ounce\xa0(oz)', '2.378,13 (+23,51)', '16.131,00 (+46,00)', '38.361.615'],
|
1263
|
+
['Gram\xa0(gr)', '76,46', '16.131,00', '1.233.355 (+15.675)'],
|
1264
|
+
['Kilogram\xa0(kg)', '76.458,66', '16.131,00', '1.233.354.564'],
|
1265
|
+
['Update harga emas :15 Mei 2024, pukul 23:08Update kurs :15 Mei 2024, pukul '
|
1265
1266
|
'13:10']],
|
1266
1267
|
[['Gram', 'UBS Gold 99.99%'],
|
1267
1268
|
['Jual', 'Beli'],
|
@@ -1307,36 +1308,36 @@ Output:
|
|
1307
1308
|
['Unit', 'USD', 'IDR'],
|
1308
1309
|
['Angka', '+/-', 'Angka', '+/-'],
|
1309
1310
|
['Hari Ini', 'Kurs', '', '', '16.085', '+46+0,29%'],
|
1310
|
-
['oz', '2.354,62', '+
|
1311
|
-
['gr', '75,70', '+0,
|
1311
|
+
['oz', '2.354,62', '+23,51+1,00%', '37.874.063', '+487.552+1,29%'],
|
1312
|
+
['gr', '75,70', '+0,76+1,00%', '1.217.679', '+15.675+1,29%'],
|
1312
1313
|
['30 Hari', 'Kurs', '', '', '15.907', '+224+1,41%'],
|
1313
|
-
['oz', '2.359,26', '+
|
1314
|
-
['gr', '75,85', '+0,
|
1314
|
+
['oz', '2.359,26', '+18,87+0,80%', '37.528.749', '+832.866+2,22%'],
|
1315
|
+
['gr', '75,85', '+0,61+0,80%', '1.206.577', '+26.777+2,22%'],
|
1315
1316
|
['2 Bulan', 'Kurs', '', '', '15.582', '+549+3,52%'],
|
1316
|
-
['oz', '2.156,08', '+
|
1317
|
-
['gr', '69,32', '+7,
|
1317
|
+
['oz', '2.156,08', '+222,05+10,30%', '33.596.039', '+4.765.576+14,18%'],
|
1318
|
+
['gr', '69,32', '+7,14+10,30', '1.080.138', '+153.217+14,18%'],
|
1318
1319
|
['6 Bulan', 'Kurs', '', '', '15.595', '+536+3,44%'],
|
1319
|
-
['oz', '1.981,17', '+
|
1320
|
-
['gr', '63,70', '+12,
|
1320
|
+
['oz', '1.981,17', '+396,96+20,04%', '30.896.346', '+7.465.269+24,16%'],
|
1321
|
+
['gr', '63,70', '+12,76+20,04%', '993.341', '+240.014+24,16%'],
|
1321
1322
|
['1 Tahun', 'Kurs', '', '', '15.731', '+400+2,54%'],
|
1322
|
-
['oz', '1.823,86', '+
|
1323
|
-
['gr', '58,64', '+17,
|
1323
|
+
['oz', '1.823,86', '+554,27+30,39%', '28.691.142', '+9.670.473+33,71%'],
|
1324
|
+
['gr', '58,64', '+17,82+30,39%', '922.442', '+310.913+33,71%'],
|
1324
1325
|
['2 Tahun', 'Kurs', '', '', '14.585', '+1.546+10,60%'],
|
1325
|
-
['oz', '1.816,04', '+
|
1326
|
-
['gr', '58,39', '+18,
|
1326
|
+
['oz', '1.816,04', '+562,09+30,95%', '26.486.962', '+11.874.653+44,83%'],
|
1327
|
+
['gr', '58,39', '+18,07+30,95%', '851.576', '+381.779+44,83%'],
|
1327
1328
|
['3 Tahun', 'Kurs', '', '', '14.198', '+1.933+13,61%'],
|
1328
|
-
['oz', '1.843,91', '+
|
1329
|
-
['gr', '59,28', '+17,
|
1329
|
+
['oz', '1.843,91', '+534,22+28,97%', '26.179.834', '+12.181.781+46,53%'],
|
1330
|
+
['gr', '59,28', '+17,18+28,97%', '841.701', '+391.653+46,53%'],
|
1330
1331
|
['5 Tahun', 'Kurs', '', '', '14.469', '+1.662+11,49%'],
|
1331
|
-
['oz', '1.275,87', '+1.
|
1332
|
-
['gr', '41,02', '+35,
|
1332
|
+
['oz', '1.275,87', '+1.102,26+86,39%', '18.460.563', '+19.901.052+107,80%'],
|
1333
|
+
['gr', '41,02', '+35,44+86,39%', '593.521', '+639.834+107,80%']])
|
1333
1334
|
(['Home', 'Emas 1 Gram', 'History', 'Trend', 'Perak 1 Gram', 'Pluang'],
|
1334
1335
|
[[''],
|
1335
1336
|
['Emas 24 KaratHarga Emas 1 Gram', ''],
|
1336
|
-
['USD', '76,
|
1337
|
-
['KURS', '15.
|
1338
|
-
['IDR', '1.
|
1339
|
-
['Rabu, 15 Mei 2024
|
1337
|
+
['USD', '76,46↑', '+0,76+1,00%'],
|
1338
|
+
['KURS', '15.952,00↓', '-151,05-0,94%'],
|
1339
|
+
['IDR', '1.219.668,46↑', '+622,63+0,05%'],
|
1340
|
+
['Rabu, 15 Mei 2024 23:08']],
|
1340
1341
|
[[''],
|
1341
1342
|
['Emas 1 Gram (IDR)Emas 1 Gram (USD)Kurs USD-IDR',
|
1342
1343
|
'Hari Ini',
|
@@ -1347,19 +1348,19 @@ Output:
|
|
1347
1348
|
'']],
|
1348
1349
|
[['Pergerakkan Harga Emas 1 Gram'],
|
1349
1350
|
['', '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.
|
1351
|
+
['USD', '75,70', '75,70 - 76,46', '76,08'],
|
1352
|
+
['KURS', '16.103,05', '15.952,00 - 16.103,05', '16.027,53'],
|
1353
|
+
['IDR', '1.219.045,83', '1.219.045,83 - 1.219.668,46', '1.219.357,15'],
|
1353
1354
|
[''],
|
1354
1355
|
['', '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', '+
|
1356
|
+
['USD', '66,32', '64,07 - 77,14', '+10,14 (15,29%)'],
|
1357
|
+
['KURS', '15.390,10', '15.390,00 - 16.307,80', '+561,90 (3,65%)'],
|
1358
|
+
['IDR', '1.020.729,53', '997.660,12 - 1.256.829,06', '+198.938,93 (19,49%)'],
|
1358
1359
|
[''],
|
1359
1360
|
['', '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', '+
|
1361
|
+
['USD', '64,66', '58,43 - 77,14', '+11,80 (18,25%)'],
|
1362
|
+
['KURS', '14.844,45', '14.796,95 - 16.307,80', '+1.107,55 (7,46%)'],
|
1363
|
+
['IDR', '959.794,03', '912.925,68 - 1.256.829,06', '+259.874,43 (27,08%)']])
|
1363
1364
|
```
|
1364
1365
|
|
1365
1366
|
## iloads
|
@@ -1489,7 +1490,7 @@ Output:
|
|
1489
1490
|
```py
|
1490
1491
|
8
|
1491
1492
|
['mana', 'aja']
|
1492
|
-
[<Element a at
|
1493
|
+
[<Element a at 0x7add3e8370>, <Element a at 0x7add2302d0>, <Element a at 0x7add230370>, <Element a at 0x7add2303c0>, <Element a at 0x7add230410>, <Element a at 0x7add230460>, <Element a at 0x7add2304b0>, <Element a at 0x7add230500>, <Element a at 0x7add230550>, <Element a at 0x7add2305a0>, <Element a at 0x7add2305f0>, <Element a at 0x7add230640>, <Element a at 0x7add230690>, <Element a at 0x7add2306e0>, <Element a at 0x7add230730>, <Element a at 0x7add230780>, <Element a at 0x7add2307d0>, <Element a at 0x7add230820>]
|
1493
1494
|
False
|
1494
1495
|
```
|
1495
1496
|
|
@@ -1551,7 +1552,7 @@ print(list(iscandir("./", recursive=False, scan_file=False)))
|
|
1551
1552
|
|
1552
1553
|
Output:
|
1553
1554
|
```py
|
1554
|
-
<generator object iscandir at
|
1555
|
+
<generator object iscandir at 0x7add2fbb40>
|
1555
1556
|
[PosixPath('.git'), PosixPath('.vscode'), PosixPath('pypipr'), PosixPath('__pycache__'), PosixPath('dist')]
|
1556
1557
|
```
|
1557
1558
|
|
@@ -1584,82 +1585,83 @@ iprint(ivars(__import__('pypipr')))
|
|
1584
1585
|
|
1585
1586
|
Output:
|
1586
1587
|
```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
|
-
'
|
1588
|
+
{'function': {'avg': <function avg at 0x7ae8de0040>,
|
1589
|
+
'get_filemtime': <function get_filemtime at 0x7ae4a67060>,
|
1590
|
+
'print_colorize': <function print_colorize at 0x7ae4a67240>,
|
1591
|
+
'print_log': <function print_log at 0x7ae4a67100>,
|
1592
|
+
'console_run': <function console_run at 0x7ae4a671a0>,
|
1593
|
+
'auto_reload': <function auto_reload at 0x7ae539cf40>,
|
1594
|
+
'basename': <function basename at 0x7ae4a02980>,
|
1595
|
+
'chr_to_int': <function chr_to_int at 0x7ae4a677e0>,
|
1596
|
+
'int_to_chr': <function int_to_chr at 0x7ae4a67880>,
|
1597
|
+
'irange': <function irange at 0x7ae4a67b00>,
|
1598
|
+
'batchmaker': <function batchmaker at 0x7ae4a674c0>,
|
1599
|
+
'calculate': <function calculate at 0x7ae4a67600>,
|
1600
|
+
'batch_calculate': <function batch_calculate at 0x7ae4a67380>,
|
1601
|
+
'bin_to_int': <function bin_to_int at 0x7ae539cea0>,
|
1602
|
+
'is_empty': <function is_empty at 0x7ae4a742c0>,
|
1603
|
+
'exit_if_empty': <function exit_if_empty at 0x7ae4a74180>,
|
1604
|
+
'input_char': <function input_char at 0x7ae4a74220>,
|
1605
|
+
'choices': <function choices at 0x7ae4a74540>,
|
1606
|
+
'chunk_array': <function chunk_array at 0x7ae4a745e0>,
|
1607
|
+
'create_folder': <function create_folder at 0x7ae4a74680>,
|
1608
|
+
'datetime_from_string': <function datetime_from_string at 0x7ae4a74720>,
|
1609
|
+
'datetime_now': <function datetime_now at 0x7ae4a740e0>,
|
1610
|
+
'dict_first': <function dict_first at 0x7ae4a76a20>,
|
1611
|
+
'dirname': <function dirname at 0x7ae4a76ac0>,
|
1612
|
+
'is_iterable': <function is_iterable at 0x7ae4a76ca0>,
|
1613
|
+
'to_str': <function to_str at 0x7ae4a76d40>,
|
1614
|
+
'filter_empty': <function filter_empty at 0x7ae4a672e0>,
|
1615
|
+
'get_by_index': <function get_by_index at 0x7ae4a76b60>,
|
1616
|
+
'get_class_method': <function get_class_method at 0x7ae4a76de0>,
|
1617
|
+
'get_filesize': <function get_filesize at 0x7ae4a76f20>,
|
1618
|
+
'github_init': <function github_init at 0x7ae4a76fc0>,
|
1619
|
+
'github_pull': <function github_pull at 0x7ae4a77060>,
|
1620
|
+
'github_push': <function github_push at 0x7ae4a771a0>,
|
1621
|
+
'github_user': <function github_user at 0x7ae4a77240>,
|
1622
|
+
'hex_to_int': <function hex_to_int at 0x7ae4a772e0>,
|
1623
|
+
'iargv': <function iargv at 0x7ae4a77380>,
|
1624
|
+
'idir': <function idir at 0x7ae4a77420>,
|
1625
|
+
'idumps_html': <function idumps_html at 0x7ae4a77b00>,
|
1626
|
+
'idumps': <function idumps at 0x7ae4a77560>,
|
1627
|
+
'int_to_int': <function int_to_int at 0x7ae48a79c0>,
|
1628
|
+
'ienumerate': <function ienumerate at 0x7ae489a020>,
|
1629
|
+
'ienv': <function ienv at 0x7ae48a76a0>,
|
1630
|
+
'iexec': <function iexec at 0x7ae48a7a60>,
|
1631
|
+
'ijoin': <function ijoin at 0x7ae48a7ba0>,
|
1632
|
+
'iloads_html': <function iloads_html at 0x7ae48a7d80>,
|
1633
|
+
'iloads': <function iloads at 0x7ae97e2020>,
|
1634
|
+
'int_to_bin': <function int_to_bin at 0x7ae48a7b00>,
|
1635
|
+
'int_to_hex': <function int_to_hex at 0x7ae48a7ce0>,
|
1636
|
+
'int_to_oct': <function int_to_oct at 0x7ae48a7e20>,
|
1637
|
+
'is_valid_url': <function is_valid_url at 0x7ae46dbba0>,
|
1638
|
+
'iopen': <function iopen at 0x7ae48b8040>,
|
1639
|
+
'iprint': <function iprint at 0x7ae46db6a0>,
|
1640
|
+
'ireplace': <function ireplace at 0x7ae46db7e0>,
|
1641
|
+
'iscandir': <function iscandir at 0x7ae47a09a0>,
|
1642
|
+
'isplit': <function isplit at 0x7ae47a0a40>,
|
1643
|
+
'ivars': <function ivars at 0x7ae47a0ae0>,
|
1644
|
+
'log': <function log at 0x7ae47a0b80>,
|
1645
|
+
'oct_to_int': <function oct_to_int at 0x7ae47a0c20>,
|
1646
|
+
'password_generator': <function password_generator at 0x7ae47a0cc0>,
|
1647
|
+
'pip_freeze_without_version': <function pip_freeze_without_version at 0x7ae47a0e00>,
|
1648
|
+
'poetry_publish': <function poetry_publish at 0x7ae47a0ea0>,
|
1649
|
+
'poetry_update_version': <function poetry_update_version at 0x7ae47a0fe0>,
|
1650
|
+
'print_dir': <function print_dir at 0x7ae47a11c0>,
|
1651
|
+
'print_to_last_line': <function print_to_last_line at 0x7ae47a1260>,
|
1652
|
+
'random_bool': <function random_bool at 0x7ae47a1300>,
|
1653
|
+
'restart': <function restart at 0x7ae47a13a0>,
|
1654
|
+
'set_timeout': <function set_timeout at 0x7ae47a1440>,
|
1655
|
+
'sets_ordered': <function sets_ordered at 0x7ae47a14e0>,
|
1656
|
+
'sqlite_get_all_tables': <function sqlite_get_all_tables at 0x7ae47a1620>,
|
1657
|
+
'sqlite_get_data_table': <function sqlite_get_data_table at 0x7ae47a1120>,
|
1658
|
+
'str_cmp': <function str_cmp at 0x7ae47a1f80>,
|
1659
|
+
'text_colorize': <function text_colorize at 0x7ae47a2020>},
|
1658
1660
|
'class': {'ComparePerformance': <class 'pypipr.ComparePerformance.ComparePerformance'>,
|
1659
1661
|
'PintUregQuantity': <class 'pint.Quantity'>,
|
1660
1662
|
'RunParallel': <class 'pypipr.RunParallel.RunParallel'>},
|
1661
1663
|
'variable': {'LINUX': True,
|
1662
|
-
'PintUreg': <pint.registry.UnitRegistry object at
|
1664
|
+
'PintUreg': <pint.registry.UnitRegistry object at 0x7ae8deedd0>,
|
1663
1665
|
'WINDOWS': False},
|
1664
1666
|
'module': {'asyncio': <module 'asyncio' from '/data/data/com.termux/files/usr/lib/python3.11/asyncio/__init__.py'>,
|
1665
1667
|
'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 +1751,7 @@ print(password_generator())
|
|
1749
1751
|
|
1750
1752
|
Output:
|
1751
1753
|
```py
|
1752
|
-
|
1754
|
+
YQCc!_92
|
1753
1755
|
```
|
1754
1756
|
|
1755
1757
|
## pip_freeze_without_version
|
@@ -1807,7 +1809,7 @@ Output:
|
|
1807
1809
|
__enter__ : https:/www.google.com
|
1808
1810
|
__fspath__ : https:/www.google.com
|
1809
1811
|
__getstate__ : (None, {'_drv': '', '_root': '', '_parts': ['https:', 'www.google.com'], '_str': 'https:/www.google.com'})
|
1810
|
-
__hash__ :
|
1812
|
+
__hash__ : 1828089107973203907
|
1811
1813
|
__init__ : None
|
1812
1814
|
__init_subclass__ : None
|
1813
1815
|
__module__ : pathlib
|
@@ -1820,8 +1822,8 @@ Output:
|
|
1820
1822
|
_cached_cparts : ['https:', 'www.google.com']
|
1821
1823
|
_cparts : ['https:', 'www.google.com']
|
1822
1824
|
_drv :
|
1823
|
-
_flavour : <pathlib._PosixFlavour object at
|
1824
|
-
_hash :
|
1825
|
+
_flavour : <pathlib._PosixFlavour object at 0x7ae8c31510>
|
1826
|
+
_hash : 1828089107973203907
|
1825
1827
|
_parts : ['https:', 'www.google.com']
|
1826
1828
|
_root :
|
1827
1829
|
_str : https:/www.google.com
|
@@ -1843,7 +1845,7 @@ Output:
|
|
1843
1845
|
is_reserved : False
|
1844
1846
|
is_socket : False
|
1845
1847
|
is_symlink : False
|
1846
|
-
iterdir : <generator object Path.iterdir at
|
1848
|
+
iterdir : <generator object Path.iterdir at 0x7add382f80>
|
1847
1849
|
joinpath : https:/www.google.com
|
1848
1850
|
name : www.google.com
|
1849
1851
|
parent : https:
|
@@ -1883,7 +1885,7 @@ print(random_bool())
|
|
1883
1885
|
|
1884
1886
|
Output:
|
1885
1887
|
```py
|
1886
|
-
|
1888
|
+
True
|
1887
1889
|
```
|
1888
1890
|
|
1889
1891
|
## restart
|
@@ -1917,7 +1919,7 @@ x.cancel()
|
|
1917
1919
|
|
1918
1920
|
Output:
|
1919
1921
|
```py
|
1920
|
-
<Timer(Thread-2, started
|
1922
|
+
<Timer(Thread-2, started 527672786160)>
|
1921
1923
|
menghentikan timeout 7
|
1922
1924
|
```
|
1923
1925
|
|
@@ -1935,13 +1937,17 @@ print(list(sets_ordered(array)))
|
|
1935
1937
|
|
1936
1938
|
Output:
|
1937
1939
|
```py
|
1938
|
-
<generator object sets_ordered at
|
1940
|
+
<generator object sets_ordered at 0x7add3e17d0>
|
1939
1941
|
[2, 3, 12, 42, 1, 43, 41, 4, 24, 32]
|
1940
1942
|
```
|
1941
1943
|
|
1942
|
-
##
|
1944
|
+
## sqlite_get_all_tables
|
1945
|
+
|
1946
|
+
`sqlite_get_all_tables(filename)`
|
1947
|
+
|
1948
|
+
## sqlite_get_data_table
|
1943
1949
|
|
1944
|
-
`
|
1950
|
+
`sqlite_get_data_table(filename, tablename)`
|
1945
1951
|
|
1946
1952
|
## str_cmp
|
1947
1953
|
|
@@ -2009,15 +2015,15 @@ print(ExampleComparePerformance().compare_performance())
|
|
2009
2015
|
|
2010
2016
|
Output:
|
2011
2017
|
```py
|
2012
|
-
{'a': <generator object ExampleComparePerformance.a.<locals>.<genexpr> at
|
2018
|
+
{'a': <generator object ExampleComparePerformance.a.<locals>.<genexpr> at 0x7add3e0930>,
|
2013
2019
|
'b': (0, 1, 2, 3, 4, 5, 6, 7, 8, 9),
|
2014
2020
|
'c': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
|
2015
2021
|
'd': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]}
|
2016
|
-
{'a':
|
2017
|
-
{'a':
|
2018
|
-
{'a':
|
2019
|
-
{'a':
|
2020
|
-
{'a':
|
2022
|
+
{'a': 135, 'b': 128, 'c': 100, 'd': 179}
|
2023
|
+
{'a': 103, 'b': 112, 'c': 100, 'd': 165}
|
2024
|
+
{'a': 112, 'b': 120, 'c': 100, 'd': 158}
|
2025
|
+
{'a': 108, 'b': 123, 'c': 100, 'd': 152}
|
2026
|
+
{'a': 110, 'b': 126, 'c': 100, 'd': 162}
|
2021
2027
|
```
|
2022
2028
|
|
2023
2029
|
## PintUregQuantity
|
@@ -4,7 +4,7 @@ pypipr/PintUreg.py,sha256=_jmHZhUn8AcgFkXvZ6OTsWnjtp-CYcXUJ-dG_QdcARY,222
|
|
4
4
|
pypipr/PintUregQuantity.py,sha256=ErSZKB-GHShi1zKac30XgFdBwAUrxMo80IQzIjQ2HVc,118
|
5
5
|
pypipr/RunParallel.py,sha256=3H6sVSeUSATQQsWBcDGTtaXuc-12Yc0XmDyVtsg3PMA,5992
|
6
6
|
pypipr/WINDOWS.py,sha256=NMW-94lzdqwfEWv2lF_i2GcSHJFDwWjccFufpymg4-E,83
|
7
|
-
pypipr/__init__.py,sha256=
|
7
|
+
pypipr/__init__.py,sha256=NJGkZsMVmBHTqGXI0pjT3glD6-IxIwbVLDBtk5vdoTM,3242
|
8
8
|
pypipr/__terminal__.py,sha256=N_NEXa0V5QLb-dkP1Vp_fYKNjE4jGTqkiYNwPPOXZtw,1412
|
9
9
|
pypipr/auto_reload.py,sha256=FGchFBjQs_eT7CmOMLNYoch-17q7ySFOnPx5z1kbH3E,918
|
10
10
|
pypipr/avg.py,sha256=wUtX3x8dgLoODhQLyMB-HRMVo8Ha2yz3cp7lgcUNbr0,218
|
@@ -74,11 +74,12 @@ pypipr/random_bool.py,sha256=OkvQqpusHGc5mt2nHCycA7-s2I0gbN6UxI7opMOFppE,352
|
|
74
74
|
pypipr/restart.py,sha256=jUhsjZACAAcItYzCuiULHLFikoVyYDJWj16hCLARmAw,272
|
75
75
|
pypipr/set_timeout.py,sha256=heg1J3jSArgG5_75BNLrujjh7I9meTyAzHpuAY_4IBc,698
|
76
76
|
pypipr/sets_ordered.py,sha256=ve2Nc1eNYD_7QaTf_4otEAvzL1XpZP2MjX0KHSXF5nA,325
|
77
|
-
pypipr/
|
77
|
+
pypipr/sqlite_get_all_tables.py,sha256=lI_qYIZNWw0JIPGY4S_SnXagMfC-aG-BjweyeR7OW68,271
|
78
|
+
pypipr/sqlite_get_data_table.py,sha256=9mlwy8h-XbIcB42PoDvaU7N14xp1F-3g78OC-NLFTA8,240
|
78
79
|
pypipr/str_cmp.py,sha256=2kavWiT4VTddXcBotF1CxDOWSygk5rFrbllKxBjw9dc,377
|
79
80
|
pypipr/text_colorize.py,sha256=IVjaCnXBSBu4Rh8pTO3CxDvxpA265HVwyKX_-PRXCcI,396
|
80
81
|
pypipr/to_str.py,sha256=vSuspf-ZQldf4enkssa9XH0WMjkmWug51G9ia0K5occ,597
|
81
|
-
pypipr-1.0.
|
82
|
-
pypipr-1.0.
|
83
|
-
pypipr-1.0.
|
84
|
-
pypipr-1.0.
|
82
|
+
pypipr-1.0.136.dist-info/METADATA,sha256=LATEz1v5AD5F_HyTHDGrmEXkkffYKIw5huXeDGu7Q5A,55094
|
83
|
+
pypipr-1.0.136.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
84
|
+
pypipr-1.0.136.dist-info/entry_points.txt,sha256=XEBtOa61BCVW4cVvoqYQnyTcenJ1tzFFB09YnuqlKBY,51
|
85
|
+
pypipr-1.0.136.dist-info/RECORD,,
|
File without changes
|
File without changes
|