pypipr 1.0.177__py3-none-any.whl → 1.0.179__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/iopen.py +1 -1
- pypipr/traceback_filename.py +1 -1
- pypipr/traceback_framename.py +1 -1
- {pypipr-1.0.177.dist-info → pypipr-1.0.179.dist-info}/METADATA +156 -156
- {pypipr-1.0.177.dist-info → pypipr-1.0.179.dist-info}/RECORD +7 -7
- {pypipr-1.0.177.dist-info → pypipr-1.0.179.dist-info}/WHEEL +0 -0
- {pypipr-1.0.177.dist-info → pypipr-1.0.179.dist-info}/entry_points.txt +0 -0
pypipr/iopen.py
CHANGED
@@ -36,7 +36,7 @@ def iopen(path, data=None, regex=None, css_select=None, xpath=None, file_append=
|
|
36
36
|
```python
|
37
37
|
# FILE
|
38
38
|
print(iopen("__iopen.txt", "mana aja"))
|
39
|
-
print(iopen("__iopen.txt", regex="(
|
39
|
+
print(iopen("__iopen.txt", regex="([a-zA-Z])"))
|
40
40
|
# URL
|
41
41
|
print(iopen("https://www.google.com/", css_select="a"))
|
42
42
|
print(iopen("https://www.google.com/", dict(coba="dulu"), xpath="//a"))
|
pypipr/traceback_filename.py
CHANGED
pypipr/traceback_framename.py
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.3
|
2
2
|
Name: pypipr
|
3
|
-
Version: 1.0.
|
3
|
+
Version: 1.0.179
|
4
4
|
Summary: The Python Package Index Project
|
5
5
|
Author: ufiapjj
|
6
6
|
Author-email: ufiapjj@gmail.com
|
@@ -249,8 +249,8 @@ iprint(irange("z", "a", 4))
|
|
249
249
|
|
250
250
|
Output:
|
251
251
|
```py
|
252
|
-
<generator object int_range at
|
253
|
-
<generator object int_range at
|
252
|
+
<generator object int_range at 0x796a7ba940>
|
253
|
+
<generator object int_range at 0x796a7baa40>
|
254
254
|
[13, 12, 11, 10, 9, 8, 7, 6]
|
255
255
|
[2, 5, 8]
|
256
256
|
[]
|
@@ -282,7 +282,7 @@ print(list(batchmaker(s)))
|
|
282
282
|
|
283
283
|
Output:
|
284
284
|
```py
|
285
|
-
<generator object batchmaker at
|
285
|
+
<generator object batchmaker at 0x796a767d00>
|
286
286
|
['Urutan 1 dan 10 dan j dan Z saja.', 'Urutan 1 dan 10 dan j dan K saja.', 'Urutan 1 dan 10 dan j dan saja.']
|
287
287
|
```
|
288
288
|
|
@@ -336,7 +336,7 @@ print(list(batch_calculate("{1 10} m ** {1 3}")))
|
|
336
336
|
|
337
337
|
Output:
|
338
338
|
```py
|
339
|
-
<generator object batch_calculate at
|
339
|
+
<generator object batch_calculate at 0x796a7c7e60>
|
340
340
|
[('1 m ** 1', <Quantity(1, 'meter')>), ('1 m ** 2', <Quantity(1, 'meter ** 2')>), ('1 m ** 3', <Quantity(1, 'meter ** 3')>)]
|
341
341
|
```
|
342
342
|
|
@@ -442,7 +442,7 @@ print(list(chunk_array(arr, 5)))
|
|
442
442
|
|
443
443
|
Output:
|
444
444
|
```py
|
445
|
-
<generator object chunk_array at
|
445
|
+
<generator object chunk_array at 0x796a7bf2e0>
|
446
446
|
[[2, 3, 12, 3, 3], [42, 42, 1, 43, 2], [42, 41, 4, 24, 32], [42, 3, 12, 32, 42], [42]]
|
447
447
|
```
|
448
448
|
|
@@ -493,9 +493,9 @@ print(datetime_now("Etc/GMT+7"))
|
|
493
493
|
|
494
494
|
Output:
|
495
495
|
```py
|
496
|
-
2025-05-08 09:
|
497
|
-
2025-05-08 02:
|
498
|
-
2025-05-07 19:
|
496
|
+
2025-05-08 09:25:46.633474+07:00
|
497
|
+
2025-05-08 02:25:46.634294+00:00
|
498
|
+
2025-05-07 19:25:46.635864-07:00
|
499
499
|
```
|
500
500
|
|
501
501
|
## dict_first
|
@@ -614,7 +614,7 @@ iprint(filter_empty(var))
|
|
614
614
|
|
615
615
|
Output:
|
616
616
|
```py
|
617
|
-
<generator object filter_empty at
|
617
|
+
<generator object filter_empty at 0x796a7bf4c0>
|
618
618
|
[1, '0', True, {}, ['eee']]
|
619
619
|
```
|
620
620
|
|
@@ -661,8 +661,8 @@ print(list(get_class_method(ExampleGetClassMethod)))
|
|
661
661
|
|
662
662
|
Output:
|
663
663
|
```py
|
664
|
-
<generator object get_class_method at
|
665
|
-
[<function ExampleGetClassMethod.a at
|
664
|
+
<generator object get_class_method at 0x796a638d60>
|
665
|
+
[<function ExampleGetClassMethod.a at 0x796a62bba0>, <function ExampleGetClassMethod.b at 0x796a62ba60>, <function ExampleGetClassMethod.c at 0x796a62bb00>, <function ExampleGetClassMethod.d at 0x796a62bce0>]
|
666
666
|
```
|
667
667
|
|
668
668
|
## get_filesize
|
@@ -1090,7 +1090,7 @@ Output:
|
|
1090
1090
|
|
1091
1091
|
## ienumerate
|
1092
1092
|
|
1093
|
-
`ienumerate(iterator, start=0, key=<function int_to_int at
|
1093
|
+
`ienumerate(iterator, start=0, key=<function int_to_int at 0x7970356f20>)`
|
1094
1094
|
|
1095
1095
|
meningkatkan fungsi enumerate() pada python
|
1096
1096
|
untuk key menggunakan huruf dan basis angka lainnya.
|
@@ -1103,7 +1103,7 @@ iprint(ienumerate(it, key=int_to_chr))
|
|
1103
1103
|
|
1104
1104
|
Output:
|
1105
1105
|
```py
|
1106
|
-
<generator object ienumerate at
|
1106
|
+
<generator object ienumerate at 0x796a7bf4c0>
|
1107
1107
|
[('a', 'ini'), ('b', 'contoh'), ('c', 'enumerator')]
|
1108
1108
|
```
|
1109
1109
|
|
@@ -1180,7 +1180,7 @@ print(ijoin(10, ' '))
|
|
1180
1180
|
|
1181
1181
|
Output:
|
1182
1182
|
```py
|
1183
|
-
|
1183
|
+
qweqw, weq, dfs, asd
|
1184
1184
|
,ini,path,seperti,url,
|
1185
1185
|
ini,path,seperti,url
|
1186
1186
|
<li>satu</li>
|
@@ -1226,7 +1226,7 @@ Output:
|
|
1226
1226
|
```py
|
1227
1227
|
(['Home', 'Emas 1 Gram', 'History', 'Trend', 'Perak 1 Gram', 'Pluang'],
|
1228
1228
|
[['Harga Emas Hari Ini - Kamis, 08 Mei 2025'],
|
1229
|
-
['Spot Emas USD↑3.412,
|
1229
|
+
['Spot Emas USD↑3.412,70 (+24,46) / oz',
|
1230
1230
|
'Kurs IDR1,00 / USD',
|
1231
1231
|
'Emas IDR↑110 (+1) / gr'],
|
1232
1232
|
['LM Antam (Jual)↓1.513.000 (-30.000) / gr',
|
@@ -1251,10 +1251,10 @@ Output:
|
|
1251
1251
|
'Update harga LM Pegadaian :31 Desember 1969']],
|
1252
1252
|
[['Spot Harga Emas Hari Ini (Market Open)'],
|
1253
1253
|
['Satuan', 'USD', 'Kurs\xa0Dollar', 'IDR'],
|
1254
|
-
['Ounce\xa0(oz)', '3.412,
|
1255
|
-
['Gram\xa0(gr)', '109,
|
1256
|
-
['Kilogram\xa0(kg)', '109.
|
1257
|
-
['Update harga emas :08 Mei 2025, pukul 09:
|
1254
|
+
['Ounce\xa0(oz)', '3.412,70 (+24,46)', '1,00', '3.413'],
|
1255
|
+
['Gram\xa0(gr)', '109,72', '1,00', '110 (+1)'],
|
1256
|
+
['Kilogram\xa0(kg)', '109.720,85', '1,00', '109.721'],
|
1257
|
+
['Update harga emas :08 Mei 2025, pukul 09:24Update kurs :14 Maret 2025, '
|
1258
1258
|
'pukul 10:13']],
|
1259
1259
|
[['Gram', 'UBS Gold 99.99%'],
|
1260
1260
|
['Jual', 'Beli'],
|
@@ -1292,36 +1292,36 @@ Output:
|
|
1292
1292
|
['Unit', 'USD', 'IDR'],
|
1293
1293
|
['Angka', '+/-', 'Angka', '+/-'],
|
1294
1294
|
['Hari Ini', 'Kurs', '', '', '1', '%'],
|
1295
|
-
['oz', '3.388,24', '+24,
|
1296
|
-
['gr', '108,93', '+0,
|
1295
|
+
['oz', '3.388,24', '+24,46+0,72%', '3.388', '+24+0,72%'],
|
1296
|
+
['gr', '108,93', '+0,79+0,72%', '109', '+1+0,72%'],
|
1297
1297
|
['30 Hari', 'Kurs', '', '', '1', '%'],
|
1298
|
-
['oz', '2.987,14', '+425,
|
1299
|
-
['gr', '96,04', '+13,
|
1298
|
+
['oz', '2.987,14', '+425,56+14,25%', '2.987', '+426+14,25%'],
|
1299
|
+
['gr', '96,04', '+13,68+14,25%', '96', '+14+14,25%'],
|
1300
1300
|
['2 Bulan', 'Kurs', '', '', '16.315', '-16.314-99,99%'],
|
1301
|
-
['oz', '2.911,17', '+501,
|
1302
|
-
['gr', '93,60', '+16,
|
1301
|
+
['oz', '2.911,17', '+501,53+17,23%', '47.495.739', '-47.492.326-99,99%'],
|
1302
|
+
['gr', '93,60', '+16,12+17,23', '1.527.023', '-1.526.914-99,99%'],
|
1303
1303
|
['6 Bulan', 'Kurs', '', '', '15.767', '-15.766-99,99%'],
|
1304
|
-
['oz', '2.684,64', '+
|
1305
|
-
['gr', '86,31', '+23,
|
1304
|
+
['oz', '2.684,64', '+728,06+27,12%', '42.328.719', '-42.325.306-99,99%'],
|
1305
|
+
['gr', '86,31', '+23,41+27,12%', '1.360.900', '-1.360.790-99,99%'],
|
1306
1306
|
['1 Tahun', 'Kurs', '', '', '16.054', '-16.053-99,99%'],
|
1307
|
-
['oz', '2.317,41', '+1.
|
1308
|
-
['gr', '74,51', '+35,
|
1307
|
+
['oz', '2.317,41', '+1.095,29+47,26%', '37.203.700', '-37.200.287-99,99%'],
|
1308
|
+
['gr', '74,51', '+35,21+47,26%', '1.196.127', '-1.196.017-99,99%'],
|
1309
1309
|
['2 Tahun', 'Kurs', '', '', '15.731', '-15.730-99,99%'],
|
1310
|
-
['oz', '1.823,86', '+1.588,
|
1311
|
-
['gr', '58,64', '+51,
|
1310
|
+
['oz', '1.823,86', '+1.588,84+87,11%', '28.691.142', '-28.687.729-99,99%'],
|
1311
|
+
['gr', '58,64', '+51,08+87,11%', '922.442', '-922.332-99,99%'],
|
1312
1312
|
['3 Tahun', 'Kurs', '', '', '14.480', '-14.479-99,99%'],
|
1313
|
-
['oz', '1.861,38', '+1.
|
1314
|
-
['gr', '59,84', '+49,
|
1313
|
+
['oz', '1.861,38', '+1.551,32+83,34%', '26.952.782', '-26.949.370-99,99%'],
|
1314
|
+
['gr', '59,84', '+49,88+83,34%', '866.552', '-866.442-99,99%'],
|
1315
1315
|
['5 Tahun', 'Kurs', '', '', '15.009', '-15.008-99,99%'],
|
1316
|
-
['oz', '1.702,22', '+1.710,
|
1317
|
-
['gr', '54,73', '+54,
|
1316
|
+
['oz', '1.702,22', '+1.710,48+100,49%', '25.548.637', '-25.545.224-99,99%'],
|
1317
|
+
['gr', '54,73', '+54,99+100,49%', '821.408', '-821.298-99,99%']])
|
1318
1318
|
(['Home', 'Emas 1 Gram', 'History', 'Trend', 'Perak 1 Gram', 'Pluang'],
|
1319
1319
|
[[''],
|
1320
1320
|
['Emas 24 KaratHarga Emas 1 Gram', ''],
|
1321
|
-
['USD', '109,
|
1322
|
-
['KURS', '16.
|
1323
|
-
['IDR', '1.
|
1324
|
-
['Kamis, 08 Mei 2025 09:
|
1321
|
+
['USD', '109,65↑', '+0,72+0,66%'],
|
1322
|
+
['KURS', '16.550,98↑', '+82,48+0,50%'],
|
1323
|
+
['IDR', '1.814.774,39↑', '+20.787,47+1,16%'],
|
1324
|
+
['Kamis, 08 Mei 2025 09:25']],
|
1325
1325
|
[[''],
|
1326
1326
|
['Emas 1 Gram (IDR)Emas 1 Gram (USD)Kurs USD-IDR',
|
1327
1327
|
'Hari Ini',
|
@@ -1332,25 +1332,25 @@ Output:
|
|
1332
1332
|
'']],
|
1333
1333
|
[['Pergerakkan Harga Emas 1 Gram'],
|
1334
1334
|
['', 'Penutupan Kemarin', 'Pergerakkan Hari Ini', 'Rata-rata'],
|
1335
|
-
['USD', '108,93', '108,93 - 109,
|
1336
|
-
['KURS', '16.468,50', '16.468,50 - 16.
|
1337
|
-
['IDR', '1.793.986,92', '1.793.986,92 - 1.
|
1335
|
+
['USD', '108,93', '108,93 - 109,65', '109,29'],
|
1336
|
+
['KURS', '16.468,50', '16.468,50 - 16.550,98', '16.509,74'],
|
1337
|
+
['IDR', '1.793.986,92', '1.793.986,92 - 1.814.774,39', '1.804.380,66'],
|
1338
1338
|
[''],
|
1339
1339
|
['', 'Awal Tahun', 'Pergerakkan YTD', '+/- YTD'],
|
1340
|
-
['USD', '84,42', '84,38 - 109,73', '+25,
|
1341
|
-
['KURS', '16.220,76', '16.156,70 - 16.877,75', '+
|
1340
|
+
['USD', '84,42', '84,38 - 109,73', '+25,23 (29,89%)'],
|
1341
|
+
['KURS', '16.220,76', '16.156,70 - 16.877,75', '+330,22 (2,04%)'],
|
1342
1342
|
['IDR',
|
1343
1343
|
'1.369.306,75',
|
1344
1344
|
'1.368.695,74 - 1.850.462,40',
|
1345
|
-
'+
|
1345
|
+
'+445.467,64 (32,53%)'],
|
1346
1346
|
[''],
|
1347
1347
|
['', 'Tahun Lalu / 52 Minggu', 'Pergerakkan 52 Minggu', '+/- 52 Minggu'],
|
1348
|
-
['USD', '74,37', '73,75 - 109,73', '+35,
|
1349
|
-
['KURS', '16.067,00', '15.100,00 - 16.877,75', '+
|
1348
|
+
['USD', '74,37', '73,75 - 109,73', '+35,28 (47,44%)'],
|
1349
|
+
['KURS', '16.067,00', '15.100,00 - 16.877,75', '+483,98 (3,01%)'],
|
1350
1350
|
['IDR',
|
1351
1351
|
'1.194.982,56',
|
1352
1352
|
'1.197.616,87 - 1.850.462,40',
|
1353
|
-
'+
|
1353
|
+
'+619.791,83 (51,87%)']])
|
1354
1354
|
```
|
1355
1355
|
|
1356
1356
|
## iloads
|
@@ -1470,7 +1470,7 @@ Tulis URL :
|
|
1470
1470
|
```python
|
1471
1471
|
# FILE
|
1472
1472
|
print(iopen("__iopen.txt", "mana aja"))
|
1473
|
-
print(iopen("__iopen.txt", regex="(
|
1473
|
+
print(iopen("__iopen.txt", regex="([a-zA-Z])"))
|
1474
1474
|
# URL
|
1475
1475
|
print(iopen("https://www.google.com/", css_select="a"))
|
1476
1476
|
print(iopen("https://www.google.com/", dict(coba="dulu"), xpath="//a"))
|
@@ -1479,8 +1479,8 @@ print(iopen("https://www.google.com/", dict(coba="dulu"), xpath="//a"))
|
|
1479
1479
|
Output:
|
1480
1480
|
```py
|
1481
1481
|
8
|
1482
|
-
['
|
1483
|
-
[<Element a at
|
1482
|
+
['m', 'a', 'n', 'a', 'a', 'j', 'a']
|
1483
|
+
[<Element a at 0x796a6768a0>, <Element a at 0x796a676940>, <Element a at 0x796a676bc0>, <Element a at 0x796a676c60>, <Element a at 0x796a676d00>, <Element a at 0x796a676df0>, <Element a at 0x796a677070>, <Element a at 0x796a677200>, <Element a at 0x796a6772f0>, <Element a at 0x796a677bb0>, <Element a at 0x796a677cf0>, <Element a at 0x796a677d90>, <Element a at 0x796a677e30>, <Element a at 0x796a677f70>, <Element a at 0x796a677fc0>, <Element a at 0x796a6a4050>, <Element a at 0x796a6a40a0>, <Element a at 0x796a6a40f0>]
|
1484
1484
|
False
|
1485
1485
|
```
|
1486
1486
|
|
@@ -1550,7 +1550,7 @@ print(list(iscandir("./", recursive=False, scan_file=False)))
|
|
1550
1550
|
|
1551
1551
|
Output:
|
1552
1552
|
```py
|
1553
|
-
<generator object iscandir at
|
1553
|
+
<generator object iscandir at 0x796a7bf3d0>
|
1554
1554
|
[PosixPath('.git'), PosixPath('.vscode'), PosixPath('pypipr'), PosixPath('__pycache__'), PosixPath('dist')]
|
1555
1555
|
```
|
1556
1556
|
|
@@ -1583,98 +1583,98 @@ iprint(ivars(__import__('pypipr')))
|
|
1583
1583
|
|
1584
1584
|
Output:
|
1585
1585
|
```py
|
1586
|
-
{'function': {'avg': <function avg at
|
1587
|
-
'get_filemtime': <function get_filemtime at
|
1588
|
-
'print_colorize': <function print_colorize at
|
1589
|
-
'print_log': <function print_log at
|
1590
|
-
'console_run': <function console_run at
|
1591
|
-
'auto_reload': <function auto_reload at
|
1592
|
-
'basename': <function basename at
|
1593
|
-
'chr_to_int': <function chr_to_int at
|
1594
|
-
'int_to_chr': <function int_to_chr at
|
1595
|
-
'irange': <function irange at
|
1596
|
-
'batchmaker': <function batchmaker at
|
1597
|
-
'calculate': <function calculate at
|
1598
|
-
'batch_calculate': <function batch_calculate at
|
1599
|
-
'bin_to_int': <function bin_to_int at
|
1600
|
-
'is_empty': <function is_empty at
|
1601
|
-
'exit_if_empty': <function exit_if_empty at
|
1602
|
-
'input_char': <function input_char at
|
1603
|
-
'choices': <function choices at
|
1604
|
-
'chunk_array': <function chunk_array at
|
1605
|
-
'create_folder': <function create_folder at
|
1606
|
-
'datetime_from_string': <function datetime_from_string at
|
1607
|
-
'datetime_now': <function datetime_now at
|
1608
|
-
'dict_first': <function dict_first at
|
1609
|
-
'dirname': <function dirname at
|
1610
|
-
'django_clear_migrations': <function django_clear_migrations at
|
1611
|
-
'django_runserver': <function django_runserver at
|
1612
|
-
'is_iterable': <function is_iterable at
|
1613
|
-
'to_str': <function to_str at
|
1614
|
-
'filter_empty': <function filter_empty at
|
1615
|
-
'get_by_index': <function get_by_index at
|
1616
|
-
'get_class_method': <function get_class_method at
|
1617
|
-
'get_filesize': <function get_filesize at
|
1618
|
-
'github_init': <function github_init at
|
1619
|
-
'github_pull': <function github_pull at
|
1620
|
-
'github_push': <function github_push at
|
1621
|
-
'github_user': <function github_user at
|
1622
|
-
'hex_to_int': <function hex_to_int at
|
1623
|
-
'iargv': <function iargv at
|
1624
|
-
'idir': <function idir at
|
1625
|
-
'idumps_html': <function idumps_html at
|
1626
|
-
'idumps': <function idumps at
|
1627
|
-
'int_to_int': <function int_to_int at
|
1628
|
-
'ienumerate': <function ienumerate at
|
1629
|
-
'ienv': <function ienv at
|
1630
|
-
'iexec': <function iexec at
|
1631
|
-
'iinput': <function iinput at
|
1632
|
-
'ijoin': <function ijoin at
|
1633
|
-
'iloads_html': <function iloads_html at
|
1634
|
-
'iloads': <function iloads at
|
1635
|
-
'int_to_bin': <function int_to_bin at
|
1636
|
-
'int_to_hex': <function int_to_hex at
|
1637
|
-
'int_to_oct': <function int_to_oct at
|
1638
|
-
'is_valid_url': <function is_valid_url at
|
1639
|
-
'iopen': <function iopen at
|
1640
|
-
'iprint': <function iprint at
|
1641
|
-
'is_raw_string': <function is_raw_string at
|
1642
|
-
'ireplace': <function ireplace at
|
1643
|
-
'is_html': <function is_html at
|
1644
|
-
'iscandir': <function iscandir at
|
1645
|
-
'isplit': <function isplit at
|
1646
|
-
'ivars': <function ivars at
|
1647
|
-
'log': <function log at
|
1648
|
-
'no_indent': <function no_indent at
|
1649
|
-
'oct_to_int': <function oct_to_int at
|
1650
|
-
'password_generator': <function password_generator at
|
1651
|
-
'path_to_module': <function path_to_module at
|
1652
|
-
'pip_freeze_without_version': <function pip_freeze_without_version at
|
1653
|
-
'pip_update_pypipr': <function pip_update_pypipr at
|
1654
|
-
'poetry_publish': <function poetry_publish at
|
1655
|
-
'poetry_shell': <function poetry_shell at
|
1656
|
-
'poetry_update_version': <function poetry_update_version at
|
1657
|
-
'print_dir': <function print_dir at
|
1658
|
-
'print_to_last_line': <function print_to_last_line at
|
1659
|
-
'random_bool': <function random_bool at
|
1660
|
-
'repath': <function repath at
|
1661
|
-
'restart': <function restart at
|
1662
|
-
'set_timeout': <function set_timeout at
|
1663
|
-
'sets_ordered': <function sets_ordered at
|
1664
|
-
'sqlite_backup': <function sqlite_backup at
|
1665
|
-
'sqlite_delete_table': <function sqlite_delete_table at
|
1666
|
-
'sqlite_get_all_tables': <function sqlite_get_all_tables at
|
1667
|
-
'sqlite_get_data_table': <function sqlite_get_data_table at
|
1668
|
-
'str_cmp': <function str_cmp at
|
1669
|
-
'text_colorize': <function text_colorize at
|
1670
|
-
'tiles': <function tiles at
|
1671
|
-
'traceback_filename': <function traceback_filename at
|
1672
|
-
'traceback_framename': <function traceback_framename at
|
1586
|
+
{'function': {'avg': <function avg at 0x7977b68720>,
|
1587
|
+
'get_filemtime': <function get_filemtime at 0x797045e0c0>,
|
1588
|
+
'print_colorize': <function print_colorize at 0x797045e2a0>,
|
1589
|
+
'print_log': <function print_log at 0x797045e160>,
|
1590
|
+
'console_run': <function console_run at 0x797045c720>,
|
1591
|
+
'auto_reload': <function auto_reload at 0x79704ffa60>,
|
1592
|
+
'basename': <function basename at 0x797045e340>,
|
1593
|
+
'chr_to_int': <function chr_to_int at 0x797045e8e0>,
|
1594
|
+
'int_to_chr': <function int_to_chr at 0x797045e980>,
|
1595
|
+
'irange': <function irange at 0x797045ee80>,
|
1596
|
+
'batchmaker': <function batchmaker at 0x797045e660>,
|
1597
|
+
'calculate': <function calculate at 0x797045e200>,
|
1598
|
+
'batch_calculate': <function batch_calculate at 0x797045e3e0>,
|
1599
|
+
'bin_to_int': <function bin_to_int at 0x797045e5c0>,
|
1600
|
+
'is_empty': <function is_empty at 0x797045f740>,
|
1601
|
+
'exit_if_empty': <function exit_if_empty at 0x797045f600>,
|
1602
|
+
'input_char': <function input_char at 0x797045f6a0>,
|
1603
|
+
'choices': <function choices at 0x797045f9c0>,
|
1604
|
+
'chunk_array': <function chunk_array at 0x797045fa60>,
|
1605
|
+
'create_folder': <function create_folder at 0x797045fb00>,
|
1606
|
+
'datetime_from_string': <function datetime_from_string at 0x797045fba0>,
|
1607
|
+
'datetime_now': <function datetime_now at 0x797045fc40>,
|
1608
|
+
'dict_first': <function dict_first at 0x7970451ee0>,
|
1609
|
+
'dirname': <function dirname at 0x7970452020>,
|
1610
|
+
'django_clear_migrations': <function django_clear_migrations at 0x79704520c0>,
|
1611
|
+
'django_runserver': <function django_runserver at 0x79704523e0>,
|
1612
|
+
'is_iterable': <function is_iterable at 0x79704527a0>,
|
1613
|
+
'to_str': <function to_str at 0x79704528e0>,
|
1614
|
+
'filter_empty': <function filter_empty at 0x7970452660>,
|
1615
|
+
'get_by_index': <function get_by_index at 0x7970452840>,
|
1616
|
+
'get_class_method': <function get_class_method at 0x7970452980>,
|
1617
|
+
'get_filesize': <function get_filesize at 0x7970452ac0>,
|
1618
|
+
'github_init': <function github_init at 0x7970452b60>,
|
1619
|
+
'github_pull': <function github_pull at 0x7970452c00>,
|
1620
|
+
'github_push': <function github_push at 0x7970452d40>,
|
1621
|
+
'github_user': <function github_user at 0x7970452de0>,
|
1622
|
+
'hex_to_int': <function hex_to_int at 0x7970452e80>,
|
1623
|
+
'iargv': <function iargv at 0x7970452f20>,
|
1624
|
+
'idir': <function idir at 0x7970452fc0>,
|
1625
|
+
'idumps_html': <function idumps_html at 0x7970356a20>,
|
1626
|
+
'idumps': <function idumps at 0x7970453060>,
|
1627
|
+
'int_to_int': <function int_to_int at 0x7970356f20>,
|
1628
|
+
'ienumerate': <function ienumerate at 0x7970341260>,
|
1629
|
+
'ienv': <function ienv at 0x7970356de0>,
|
1630
|
+
'iexec': <function iexec at 0x7970356fc0>,
|
1631
|
+
'iinput': <function iinput at 0x7970357060>,
|
1632
|
+
'ijoin': <function ijoin at 0x7970357100>,
|
1633
|
+
'iloads_html': <function iloads_html at 0x7970357420>,
|
1634
|
+
'iloads': <function iloads at 0x7977f61260>,
|
1635
|
+
'int_to_bin': <function int_to_bin at 0x79703571a0>,
|
1636
|
+
'int_to_hex': <function int_to_hex at 0x7970357240>,
|
1637
|
+
'int_to_oct': <function int_to_oct at 0x79703574c0>,
|
1638
|
+
'is_valid_url': <function is_valid_url at 0x7970357740>,
|
1639
|
+
'iopen': <function iopen at 0x79700d72e0>,
|
1640
|
+
'iprint': <function iprint at 0x797012a2a0>,
|
1641
|
+
'is_raw_string': <function is_raw_string at 0x796ba64c20>,
|
1642
|
+
'ireplace': <function ireplace at 0x796ba5b100>,
|
1643
|
+
'is_html': <function is_html at 0x796ba64b80>,
|
1644
|
+
'iscandir': <function iscandir at 0x796ba64cc0>,
|
1645
|
+
'isplit': <function isplit at 0x796ba64d60>,
|
1646
|
+
'ivars': <function ivars at 0x796ba64e00>,
|
1647
|
+
'log': <function log at 0x796ba64ea0>,
|
1648
|
+
'no_indent': <function no_indent at 0x796ba64f40>,
|
1649
|
+
'oct_to_int': <function oct_to_int at 0x796ba64fe0>,
|
1650
|
+
'password_generator': <function password_generator at 0x796ba65080>,
|
1651
|
+
'path_to_module': <function path_to_module at 0x796ba65120>,
|
1652
|
+
'pip_freeze_without_version': <function pip_freeze_without_version at 0x796ba651c0>,
|
1653
|
+
'pip_update_pypipr': <function pip_update_pypipr at 0x796ba65260>,
|
1654
|
+
'poetry_publish': <function poetry_publish at 0x796ba65300>,
|
1655
|
+
'poetry_shell': <function poetry_shell at 0x796ba653a0>,
|
1656
|
+
'poetry_update_version': <function poetry_update_version at 0x796ba654e0>,
|
1657
|
+
'print_dir': <function print_dir at 0x796ba65620>,
|
1658
|
+
'print_to_last_line': <function print_to_last_line at 0x796ba656c0>,
|
1659
|
+
'random_bool': <function random_bool at 0x796ba65760>,
|
1660
|
+
'repath': <function repath at 0x796ba658a0>,
|
1661
|
+
'restart': <function restart at 0x796ba65940>,
|
1662
|
+
'set_timeout': <function set_timeout at 0x796ba659e0>,
|
1663
|
+
'sets_ordered': <function sets_ordered at 0x796ba65a80>,
|
1664
|
+
'sqlite_backup': <function sqlite_backup at 0x796ba65b20>,
|
1665
|
+
'sqlite_delete_table': <function sqlite_delete_table at 0x796ba65bc0>,
|
1666
|
+
'sqlite_get_all_tables': <function sqlite_get_all_tables at 0x796ba65c60>,
|
1667
|
+
'sqlite_get_data_table': <function sqlite_get_data_table at 0x796ba65d00>,
|
1668
|
+
'str_cmp': <function str_cmp at 0x796ba665c0>,
|
1669
|
+
'text_colorize': <function text_colorize at 0x796ba66660>,
|
1670
|
+
'tiles': <function tiles at 0x796ba66700>,
|
1671
|
+
'traceback_filename': <function traceback_filename at 0x796ba667a0>,
|
1672
|
+
'traceback_framename': <function traceback_framename at 0x796ba66840>},
|
1673
1673
|
'class': {'ComparePerformance': <class 'pypipr.ComparePerformance.ComparePerformance'>,
|
1674
1674
|
'PintUregQuantity': <class 'pint.Quantity'>,
|
1675
1675
|
'RunParallel': <class 'pypipr.RunParallel.RunParallel'>},
|
1676
1676
|
'variable': {'LINUX': True,
|
1677
|
-
'PintUreg': <pint.registry.UnitRegistry object at
|
1677
|
+
'PintUreg': <pint.registry.UnitRegistry object at 0x7977b60e00>,
|
1678
1678
|
'WINDOWS': False},
|
1679
1679
|
'module': {'asyncio': <module 'asyncio' from '/data/data/com.termux/files/usr/lib/python3.12/asyncio/__init__.py'>,
|
1680
1680
|
'colorama': <module 'colorama' from '/data/data/com.termux/files/home/.cache/pypoetry/virtualenvs/pypipr-C3uocabE-py3.12/lib/python3.12/site-packages/colorama/__init__.py'>,
|
@@ -1769,7 +1769,7 @@ print(password_generator())
|
|
1769
1769
|
|
1770
1770
|
Output:
|
1771
1771
|
```py
|
1772
|
-
|
1772
|
+
bSg~}ch3
|
1773
1773
|
```
|
1774
1774
|
|
1775
1775
|
## path_to_module
|
@@ -1858,7 +1858,7 @@ Output:
|
|
1858
1858
|
__enter__ : https:/www.google.com
|
1859
1859
|
__fspath__ : https:/www.google.com
|
1860
1860
|
__getstate__ : (None, {'_raw_paths': ['https://www.google.com/'], '_drv': '', '_root': '', '_tail_cached': ['https:', 'www.google.com'], '_str': 'https:/www.google.com'})
|
1861
|
-
__hash__ :
|
1861
|
+
__hash__ : 6711781137720003857
|
1862
1862
|
__init__ : None
|
1863
1863
|
__init_subclass__ : None
|
1864
1864
|
__module__ : pathlib
|
@@ -1870,7 +1870,7 @@ Output:
|
|
1870
1870
|
__subclasshook__ : NotImplemented
|
1871
1871
|
_drv :
|
1872
1872
|
_flavour : <module 'posixpath' (frozen)>
|
1873
|
-
_hash :
|
1873
|
+
_hash : 6711781137720003857
|
1874
1874
|
_lines : https:
|
1875
1875
|
www.google.com
|
1876
1876
|
_lines_cached : https:
|
@@ -1904,7 +1904,7 @@ _parts_normcase_cached : ['https:', 'www.google.com']
|
|
1904
1904
|
is_reserved : False
|
1905
1905
|
is_socket : False
|
1906
1906
|
is_symlink : False
|
1907
|
-
iterdir : <generator object Path.iterdir at
|
1907
|
+
iterdir : <generator object Path.iterdir at 0x796a65c110>
|
1908
1908
|
joinpath : .
|
1909
1909
|
name :
|
1910
1910
|
parent : https:/www.google.com
|
@@ -1915,7 +1915,7 @@ _parts_normcase_cached : ['https:', 'www.google.com']
|
|
1915
1915
|
stem :
|
1916
1916
|
suffix :
|
1917
1917
|
suffixes : []
|
1918
|
-
walk : <generator object Path.walk at
|
1918
|
+
walk : <generator object Path.walk at 0x796bb2f4c0>
|
1919
1919
|
with_segments : .
|
1920
1920
|
```
|
1921
1921
|
|
@@ -1995,7 +1995,7 @@ x.cancel()
|
|
1995
1995
|
|
1996
1996
|
Output:
|
1997
1997
|
```py
|
1998
|
-
<Timer(Thread-2, started
|
1998
|
+
<Timer(Thread-2, started 521401314544)>
|
1999
1999
|
menghentikan timeout 7
|
2000
2000
|
```
|
2001
2001
|
|
@@ -2013,7 +2013,7 @@ print(list(sets_ordered(array)))
|
|
2013
2013
|
|
2014
2014
|
Output:
|
2015
2015
|
```py
|
2016
|
-
<generator object sets_ordered at
|
2016
|
+
<generator object sets_ordered at 0x796a65ec20>
|
2017
2017
|
[2, 3, 12, 42, 1, 43, 41, 4, 24, 32]
|
2018
2018
|
```
|
2019
2019
|
|
@@ -2084,7 +2084,7 @@ Mendapatkan filename dimana fungsi yg memanggil
|
|
2084
2084
|
fungsi dimana fungsi ini diletakkan dipanggil.
|
2085
2085
|
|
2086
2086
|
```py
|
2087
|
-
print(traceback_filename())
|
2087
|
+
print(traceback_filename(-1))
|
2088
2088
|
```
|
2089
2089
|
|
2090
2090
|
## traceback_framename
|
@@ -2095,7 +2095,7 @@ Mendapatkan frame name dimana fungsi yg memanggil
|
|
2095
2095
|
fungsi dimana fungsi ini diletakan ini dipanggil.
|
2096
2096
|
|
2097
2097
|
```py
|
2098
|
-
print(traceback_framename())
|
2098
|
+
print(traceback_framename(-1))
|
2099
2099
|
```
|
2100
2100
|
|
2101
2101
|
# CLASS
|
@@ -2135,15 +2135,15 @@ print(ExampleComparePerformance().compare_performance())
|
|
2135
2135
|
|
2136
2136
|
Output:
|
2137
2137
|
```py
|
2138
|
-
{'a': <generator object ExampleComparePerformance.a.<locals>.<genexpr> at
|
2138
|
+
{'a': <generator object ExampleComparePerformance.a.<locals>.<genexpr> at 0x796a61ca00>,
|
2139
2139
|
'b': (0, 1, 2, 3, 4, 5, 6, 7, 8, 9),
|
2140
2140
|
'c': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
|
2141
2141
|
'd': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]}
|
2142
|
-
{'a':
|
2143
|
-
{'a':
|
2144
|
-
{'a':
|
2145
|
-
{'a':
|
2146
|
-
{'a':
|
2142
|
+
{'a': 126, 'b': 165, 'c': 100, 'd': 259}
|
2143
|
+
{'a': 105, 'b': 165, 'c': 100, 'd': 230}
|
2144
|
+
{'a': 100, 'b': 156, 'c': 100, 'd': 206}
|
2145
|
+
{'a': 106, 'b': 167, 'c': 100, 'd': 216}
|
2146
|
+
{'a': 105, 'b': 164, 'c': 100, 'd': 212}
|
2147
2147
|
```
|
2148
2148
|
|
2149
2149
|
## PintUregQuantity
|
@@ -52,7 +52,7 @@ pypipr/int_to_chr.py,sha256=Ae_cGhbwBCxmzqFrfjk0rLfAT049eYYjgMgJOtMpyhc,458
|
|
52
52
|
pypipr/int_to_hex.py,sha256=w6kOPSNhOzjip7SWX7Q9df6f0vwwuKdbuHQhFjwOqN4,215
|
53
53
|
pypipr/int_to_int.py,sha256=8qocfQtQowaVac4o4g1tpywMxm7OHDIbBqNl1RP6lGk,215
|
54
54
|
pypipr/int_to_oct.py,sha256=GWu7VbHJXJxC6IvLEjQofUrbbXjQSEYPZvT2f6wh_Is,215
|
55
|
-
pypipr/iopen.py,sha256=
|
55
|
+
pypipr/iopen.py,sha256=rO_mQ4JQExUkoZbbB59Bgij8B4q9EK04TGOZKZNNCtY,2773
|
56
56
|
pypipr/iprint.py,sha256=5ekT7RzcTd8Lsb8IQ9JeFJmFl2V6OYFbiHECt9W4iWg,838
|
57
57
|
pypipr/irange.py,sha256=-RfSWKq0HezABk6jW-Tnwt3fHuhJDHtippwDe5eki0o,3504
|
58
58
|
pypipr/ireplace.py,sha256=ce1vqq4kXs9yUPnNAi6p0o2O2zAoUetp4GhVvfv4B8s,873
|
@@ -91,9 +91,9 @@ pypipr/str_cmp.py,sha256=2kavWiT4VTddXcBotF1CxDOWSygk5rFrbllKxBjw9dc,377
|
|
91
91
|
pypipr/text_colorize.py,sha256=IVjaCnXBSBu4Rh8pTO3CxDvxpA265HVwyKX_-PRXCcI,396
|
92
92
|
pypipr/tiles.py,sha256=uSEYqvjBQHIz7pZKtdta1XwFhGrMFieMHOH2DKrlcXc,328
|
93
93
|
pypipr/to_str.py,sha256=vSuspf-ZQldf4enkssa9XH0WMjkmWug51G9ia0K5occ,597
|
94
|
-
pypipr/traceback_filename.py,sha256=
|
95
|
-
pypipr/traceback_framename.py,sha256=
|
96
|
-
pypipr-1.0.
|
97
|
-
pypipr-1.0.
|
98
|
-
pypipr-1.0.
|
99
|
-
pypipr-1.0.
|
94
|
+
pypipr/traceback_filename.py,sha256=8kN54uO3a3IVIUf6TIw1AkkUWKdG0f1VOypHf2yAFIk,290
|
95
|
+
pypipr/traceback_framename.py,sha256=QK--lQFZv_oyqofKYtVlN6DZ4u8hxuCAkGMDAuNqxhk,293
|
96
|
+
pypipr-1.0.179.dist-info/METADATA,sha256=-z__D6RfG9PtLLpOEfNJ0JZrieHCKQUNMtUg-YJVfiQ,58430
|
97
|
+
pypipr-1.0.179.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
98
|
+
pypipr-1.0.179.dist-info/entry_points.txt,sha256=XEBtOa61BCVW4cVvoqYQnyTcenJ1tzFFB09YnuqlKBY,51
|
99
|
+
pypipr-1.0.179.dist-info/RECORD,,
|
File without changes
|
File without changes
|