pypipr 1.0.141__tar.gz → 1.0.142__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.141 → pypipr-1.0.142}/PKG-INFO +111 -111
- {pypipr-1.0.141 → pypipr-1.0.142}/pypipr/traceback_filename.py +2 -2
- {pypipr-1.0.141 → pypipr-1.0.142}/pypipr/traceback_framename.py +2 -2
- {pypipr-1.0.141 → pypipr-1.0.142}/pyproject.toml +1 -1
- {pypipr-1.0.141 → pypipr-1.0.142}/readme.md +110 -110
- {pypipr-1.0.141 → pypipr-1.0.142}/pypipr/ComparePerformance.py +0 -0
- {pypipr-1.0.141 → pypipr-1.0.142}/pypipr/LINUX.py +0 -0
- {pypipr-1.0.141 → pypipr-1.0.142}/pypipr/PintUreg.py +0 -0
- {pypipr-1.0.141 → pypipr-1.0.142}/pypipr/PintUregQuantity.py +0 -0
- {pypipr-1.0.141 → pypipr-1.0.142}/pypipr/RunParallel.py +0 -0
- {pypipr-1.0.141 → pypipr-1.0.142}/pypipr/WINDOWS.py +0 -0
- {pypipr-1.0.141 → pypipr-1.0.142}/pypipr/__init__.py +0 -0
- {pypipr-1.0.141 → pypipr-1.0.142}/pypipr/__terminal__.py +0 -0
- {pypipr-1.0.141 → pypipr-1.0.142}/pypipr/auto_reload.py +0 -0
- {pypipr-1.0.141 → pypipr-1.0.142}/pypipr/avg.py +0 -0
- {pypipr-1.0.141 → pypipr-1.0.142}/pypipr/basename.py +0 -0
- {pypipr-1.0.141 → pypipr-1.0.142}/pypipr/batch_calculate.py +0 -0
- {pypipr-1.0.141 → pypipr-1.0.142}/pypipr/batchmaker.py +0 -0
- {pypipr-1.0.141 → pypipr-1.0.142}/pypipr/bin_to_int.py +0 -0
- {pypipr-1.0.141 → pypipr-1.0.142}/pypipr/calculate.py +0 -0
- {pypipr-1.0.141 → pypipr-1.0.142}/pypipr/choices.py +0 -0
- {pypipr-1.0.141 → pypipr-1.0.142}/pypipr/chr_to_int.py +0 -0
- {pypipr-1.0.141 → pypipr-1.0.142}/pypipr/chunk_array.py +0 -0
- {pypipr-1.0.141 → pypipr-1.0.142}/pypipr/console_run.py +0 -0
- {pypipr-1.0.141 → pypipr-1.0.142}/pypipr/create_folder.py +0 -0
- {pypipr-1.0.141 → pypipr-1.0.142}/pypipr/datetime_from_string.py +0 -0
- {pypipr-1.0.141 → pypipr-1.0.142}/pypipr/datetime_now.py +0 -0
- {pypipr-1.0.141 → pypipr-1.0.142}/pypipr/dict_first.py +0 -0
- {pypipr-1.0.141 → pypipr-1.0.142}/pypipr/dirname.py +0 -0
- {pypipr-1.0.141 → pypipr-1.0.142}/pypipr/exit_if_empty.py +0 -0
- {pypipr-1.0.141 → pypipr-1.0.142}/pypipr/filter_empty.py +0 -0
- {pypipr-1.0.141 → pypipr-1.0.142}/pypipr/get_by_index.py +0 -0
- {pypipr-1.0.141 → pypipr-1.0.142}/pypipr/get_class_method.py +0 -0
- {pypipr-1.0.141 → pypipr-1.0.142}/pypipr/get_filemtime.py +0 -0
- {pypipr-1.0.141 → pypipr-1.0.142}/pypipr/get_filesize.py +0 -0
- {pypipr-1.0.141 → pypipr-1.0.142}/pypipr/github_init.py +0 -0
- {pypipr-1.0.141 → pypipr-1.0.142}/pypipr/github_pull.py +0 -0
- {pypipr-1.0.141 → pypipr-1.0.142}/pypipr/github_push.py +0 -0
- {pypipr-1.0.141 → pypipr-1.0.142}/pypipr/github_user.py +0 -0
- {pypipr-1.0.141 → pypipr-1.0.142}/pypipr/hex_to_int.py +0 -0
- {pypipr-1.0.141 → pypipr-1.0.142}/pypipr/iargv.py +0 -0
- {pypipr-1.0.141 → pypipr-1.0.142}/pypipr/idir.py +0 -0
- {pypipr-1.0.141 → pypipr-1.0.142}/pypipr/idumps.py +0 -0
- {pypipr-1.0.141 → pypipr-1.0.142}/pypipr/idumps_html.py +0 -0
- {pypipr-1.0.141 → pypipr-1.0.142}/pypipr/ienumerate.py +0 -0
- {pypipr-1.0.141 → pypipr-1.0.142}/pypipr/ienv.py +0 -0
- {pypipr-1.0.141 → pypipr-1.0.142}/pypipr/iexec.py +0 -0
- {pypipr-1.0.141 → pypipr-1.0.142}/pypipr/ijoin.py +0 -0
- {pypipr-1.0.141 → pypipr-1.0.142}/pypipr/iloads.py +0 -0
- {pypipr-1.0.141 → pypipr-1.0.142}/pypipr/iloads_html.py +0 -0
- {pypipr-1.0.141 → pypipr-1.0.142}/pypipr/input_char.py +0 -0
- {pypipr-1.0.141 → pypipr-1.0.142}/pypipr/int_to_bin.py +0 -0
- {pypipr-1.0.141 → pypipr-1.0.142}/pypipr/int_to_chr.py +0 -0
- {pypipr-1.0.141 → pypipr-1.0.142}/pypipr/int_to_hex.py +0 -0
- {pypipr-1.0.141 → pypipr-1.0.142}/pypipr/int_to_int.py +0 -0
- {pypipr-1.0.141 → pypipr-1.0.142}/pypipr/int_to_oct.py +0 -0
- {pypipr-1.0.141 → pypipr-1.0.142}/pypipr/iopen.py +0 -0
- {pypipr-1.0.141 → pypipr-1.0.142}/pypipr/iprint.py +0 -0
- {pypipr-1.0.141 → pypipr-1.0.142}/pypipr/irange.py +0 -0
- {pypipr-1.0.141 → pypipr-1.0.142}/pypipr/ireplace.py +0 -0
- {pypipr-1.0.141 → pypipr-1.0.142}/pypipr/is_empty.py +0 -0
- {pypipr-1.0.141 → pypipr-1.0.142}/pypipr/is_iterable.py +0 -0
- {pypipr-1.0.141 → pypipr-1.0.142}/pypipr/is_valid_url.py +0 -0
- {pypipr-1.0.141 → pypipr-1.0.142}/pypipr/iscandir.py +0 -0
- {pypipr-1.0.141 → pypipr-1.0.142}/pypipr/isplit.py +0 -0
- {pypipr-1.0.141 → pypipr-1.0.142}/pypipr/ivars.py +0 -0
- {pypipr-1.0.141 → pypipr-1.0.142}/pypipr/log.py +0 -0
- {pypipr-1.0.141 → pypipr-1.0.142}/pypipr/oct_to_int.py +0 -0
- {pypipr-1.0.141 → pypipr-1.0.142}/pypipr/password_generator.py +0 -0
- {pypipr-1.0.141 → pypipr-1.0.142}/pypipr/pip_freeze_without_version.py +0 -0
- {pypipr-1.0.141 → pypipr-1.0.142}/pypipr/poetry_publish.py +0 -0
- {pypipr-1.0.141 → pypipr-1.0.142}/pypipr/poetry_update_version.py +0 -0
- {pypipr-1.0.141 → pypipr-1.0.142}/pypipr/print_colorize.py +0 -0
- {pypipr-1.0.141 → pypipr-1.0.142}/pypipr/print_dir.py +0 -0
- {pypipr-1.0.141 → pypipr-1.0.142}/pypipr/print_log.py +0 -0
- {pypipr-1.0.141 → pypipr-1.0.142}/pypipr/print_to_last_line.py +0 -0
- {pypipr-1.0.141 → pypipr-1.0.142}/pypipr/random_bool.py +0 -0
- {pypipr-1.0.141 → pypipr-1.0.142}/pypipr/restart.py +0 -0
- {pypipr-1.0.141 → pypipr-1.0.142}/pypipr/set_timeout.py +0 -0
- {pypipr-1.0.141 → pypipr-1.0.142}/pypipr/sets_ordered.py +0 -0
- {pypipr-1.0.141 → pypipr-1.0.142}/pypipr/sqlite_delete_table.py +0 -0
- {pypipr-1.0.141 → pypipr-1.0.142}/pypipr/sqlite_get_all_tables.py +0 -0
- {pypipr-1.0.141 → pypipr-1.0.142}/pypipr/sqlite_get_data_table.py +0 -0
- {pypipr-1.0.141 → pypipr-1.0.142}/pypipr/str_cmp.py +0 -0
- {pypipr-1.0.141 → pypipr-1.0.142}/pypipr/text_colorize.py +0 -0
- {pypipr-1.0.141 → pypipr-1.0.142}/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.142
|
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 0x7992437940>
|
252
|
+
<generator object int_range at 0x7992437940>
|
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 0x79924c1480>
|
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 0x79924ca110>
|
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 0x7992437a40>
|
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-25
|
496
|
-
2024-05-25
|
497
|
-
2024-05-
|
495
|
+
2024-05-25 23:31:33.469787+07:00
|
496
|
+
2024-05-25 16:31:33.471476+00:00
|
497
|
+
2024-05-25 09:31:33.476526-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 0x79924c9e40>
|
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 0x79924ca3e0>
|
651
|
+
[<function ExampleGetClassMethod.a at 0x7992507060>, <function ExampleGetClassMethod.b at 0x7992506fc0>, <function ExampleGetClassMethod.c at 0x79925071a0>, <function ExampleGetClassMethod.d at 0x7992507240>]
|
652
652
|
```
|
653
653
|
|
654
654
|
## get_filesize
|
@@ -1064,7 +1064,7 @@ Output:
|
|
1064
1064
|
|
1065
1065
|
## ienumerate
|
1066
1066
|
|
1067
|
-
`ienumerate(iterator, start=0, key=<function int_to_int at
|
1067
|
+
`ienumerate(iterator, start=0, key=<function int_to_int at 0x799dc539c0>)`
|
1068
1068
|
|
1069
1069
|
meningkatkan fungsi enumerate() pada python
|
1070
1070
|
untuk key menggunakan huruf dan basis angka lainnya.
|
@@ -1077,7 +1077,7 @@ iprint(ienumerate(it, key=int_to_chr))
|
|
1077
1077
|
|
1078
1078
|
Output:
|
1079
1079
|
```py
|
1080
|
-
<generator object ienumerate at
|
1080
|
+
<generator object ienumerate at 0x79924ca4d0>
|
1081
1081
|
[('a', 'ini'), ('b', 'contoh'), ('c', 'enumerator')]
|
1082
1082
|
```
|
1083
1083
|
|
@@ -1144,7 +1144,7 @@ print(ijoin(10, ' '))
|
|
1144
1144
|
|
1145
1145
|
Output:
|
1146
1146
|
```py
|
1147
|
-
qweqw,
|
1147
|
+
qweqw, dfs, asd, weq
|
1148
1148
|
,ini,path,seperti,url,
|
1149
1149
|
ini,path,seperti,url
|
1150
1150
|
<li>satu</li>
|
@@ -1233,7 +1233,7 @@ Output:
|
|
1233
1233
|
['Ounce\xa0(oz)', '2.334,20 (-0,64)', '16.024,00', '37.403.221'],
|
1234
1234
|
['Gram\xa0(gr)', '75,05', '16.024,00', '1.202.541 (-330)'],
|
1235
1235
|
['Kilogram\xa0(kg)', '75.046,27', '16.024,00', '1.202.541.474'],
|
1236
|
-
['Update harga emas :25 Mei 2024, pukul
|
1236
|
+
['Update harga emas :25 Mei 2024, pukul 23:31Update kurs :25 Mei 2024, pukul '
|
1237
1237
|
'13:10']],
|
1238
1238
|
[['Gram', 'UBS Gold 99.99%'],
|
1239
1239
|
['Jual', 'Beli'],
|
@@ -1284,7 +1284,7 @@ Output:
|
|
1284
1284
|
['USD', '75,05↓', '-0,02-0,03%'],
|
1285
1285
|
['KURS', '16.045,00↑', '+12,60+0,08%'],
|
1286
1286
|
['IDR', '1.204.117,45↑', '+615,70+0,05%'],
|
1287
|
-
['Sabtu, 25 Mei 2024
|
1287
|
+
['Sabtu, 25 Mei 2024 23:31']],
|
1288
1288
|
[[''],
|
1289
1289
|
['Emas 1 Gram (IDR)Emas 1 Gram (USD)Kurs USD-IDR',
|
1290
1290
|
'Hari Ini',
|
@@ -1437,7 +1437,7 @@ Output:
|
|
1437
1437
|
```py
|
1438
1438
|
8
|
1439
1439
|
['mana', 'aja']
|
1440
|
-
[<Element a at
|
1440
|
+
[<Element a at 0x7992515590>, <Element a at 0x7991c08780>, <Element a at 0x7991c08820>, <Element a at 0x7991c08870>, <Element a at 0x7991c088c0>, <Element a at 0x7991c08910>, <Element a at 0x7991c08960>, <Element a at 0x7991c089b0>, <Element a at 0x7991c08a00>, <Element a at 0x7991c08a50>, <Element a at 0x7991c08aa0>, <Element a at 0x7991c08af0>, <Element a at 0x7991c08b40>, <Element a at 0x7991c08b90>, <Element a at 0x7991c08be0>, <Element a at 0x7991c08c30>, <Element a at 0x7991c08c80>, <Element a at 0x7991c08cd0>]
|
1441
1441
|
False
|
1442
1442
|
```
|
1443
1443
|
|
@@ -1499,7 +1499,7 @@ print(list(iscandir("./", recursive=False, scan_file=False)))
|
|
1499
1499
|
|
1500
1500
|
Output:
|
1501
1501
|
```py
|
1502
|
-
<generator object iscandir at
|
1502
|
+
<generator object iscandir at 0x7992437b40>
|
1503
1503
|
[PosixPath('.git'), PosixPath('.vscode'), PosixPath('pypipr'), PosixPath('__pycache__'), PosixPath('dist')]
|
1504
1504
|
```
|
1505
1505
|
|
@@ -1532,86 +1532,86 @@ iprint(ivars(__import__('pypipr')))
|
|
1532
1532
|
|
1533
1533
|
Output:
|
1534
1534
|
```py
|
1535
|
-
{'function': {'avg': <function avg at
|
1536
|
-
'get_filemtime': <function get_filemtime at
|
1537
|
-
'print_colorize': <function print_colorize at
|
1538
|
-
'print_log': <function print_log at
|
1539
|
-
'console_run': <function console_run at
|
1540
|
-
'auto_reload': <function auto_reload at
|
1541
|
-
'basename': <function basename at
|
1542
|
-
'chr_to_int': <function chr_to_int at
|
1543
|
-
'int_to_chr': <function int_to_chr at
|
1544
|
-
'irange': <function irange at
|
1545
|
-
'batchmaker': <function batchmaker at
|
1546
|
-
'calculate': <function calculate at
|
1547
|
-
'batch_calculate': <function batch_calculate at
|
1548
|
-
'bin_to_int': <function bin_to_int at
|
1549
|
-
'is_empty': <function is_empty at
|
1550
|
-
'exit_if_empty': <function exit_if_empty at
|
1551
|
-
'input_char': <function input_char at
|
1552
|
-
'choices': <function choices at
|
1553
|
-
'chunk_array': <function chunk_array at
|
1554
|
-
'create_folder': <function create_folder at
|
1555
|
-
'datetime_from_string': <function datetime_from_string at
|
1556
|
-
'datetime_now': <function datetime_now at
|
1557
|
-
'dict_first': <function dict_first at
|
1558
|
-
'dirname': <function dirname at
|
1559
|
-
'is_iterable': <function is_iterable at
|
1560
|
-
'to_str': <function to_str at
|
1561
|
-
'filter_empty': <function filter_empty at
|
1562
|
-
'get_by_index': <function get_by_index at
|
1563
|
-
'get_class_method': <function get_class_method at
|
1564
|
-
'get_filesize': <function get_filesize at
|
1565
|
-
'github_init': <function github_init at
|
1566
|
-
'github_pull': <function github_pull at
|
1567
|
-
'github_push': <function github_push at
|
1568
|
-
'github_user': <function github_user at
|
1569
|
-
'hex_to_int': <function hex_to_int at
|
1570
|
-
'iargv': <function iargv at
|
1571
|
-
'idir': <function idir at
|
1572
|
-
'idumps_html': <function idumps_html at
|
1573
|
-
'idumps': <function idumps at
|
1574
|
-
'int_to_int': <function int_to_int at
|
1575
|
-
'ienumerate': <function ienumerate at
|
1576
|
-
'ienv': <function ienv at
|
1577
|
-
'iexec': <function iexec at
|
1578
|
-
'ijoin': <function ijoin at
|
1579
|
-
'iloads_html': <function iloads_html at
|
1580
|
-
'iloads': <function iloads at
|
1581
|
-
'int_to_bin': <function int_to_bin at
|
1582
|
-
'int_to_hex': <function int_to_hex at
|
1583
|
-
'int_to_oct': <function int_to_oct at
|
1584
|
-
'is_valid_url': <function is_valid_url at
|
1585
|
-
'iopen': <function iopen at
|
1586
|
-
'iprint': <function iprint at
|
1587
|
-
'ireplace': <function ireplace at
|
1588
|
-
'iscandir': <function iscandir at
|
1589
|
-
'isplit': <function isplit at
|
1590
|
-
'ivars': <function ivars at
|
1591
|
-
'log': <function log at
|
1592
|
-
'oct_to_int': <function oct_to_int at
|
1593
|
-
'password_generator': <function password_generator at
|
1594
|
-
'pip_freeze_without_version': <function pip_freeze_without_version at
|
1595
|
-
'poetry_publish': <function poetry_publish at
|
1596
|
-
'poetry_update_version': <function poetry_update_version at
|
1597
|
-
'print_dir': <function print_dir at
|
1598
|
-
'print_to_last_line': <function print_to_last_line at
|
1599
|
-
'random_bool': <function random_bool at
|
1600
|
-
'restart': <function restart at
|
1601
|
-
'set_timeout': <function set_timeout at
|
1602
|
-
'sets_ordered': <function sets_ordered at
|
1603
|
-
'sqlite_delete_table': <function sqlite_delete_table at
|
1604
|
-
'sqlite_get_all_tables': <function sqlite_get_all_tables at
|
1605
|
-
'sqlite_get_data_table': <function sqlite_get_data_table at
|
1606
|
-
'str_cmp': <function str_cmp at
|
1607
|
-
'text_colorize': <function text_colorize at
|
1608
|
-
'traceback_filename': <function traceback_filename at
|
1609
|
-
'traceback_framename': <function traceback_framename at
|
1535
|
+
{'function': {'avg': <function avg at 0x79a2dd8040>,
|
1536
|
+
'get_filemtime': <function get_filemtime at 0x799de1f060>,
|
1537
|
+
'print_colorize': <function print_colorize at 0x799de1f240>,
|
1538
|
+
'print_log': <function print_log at 0x799de1f100>,
|
1539
|
+
'console_run': <function console_run at 0x799de1f1a0>,
|
1540
|
+
'auto_reload': <function auto_reload at 0x799e798f40>,
|
1541
|
+
'basename': <function basename at 0x799ddba980>,
|
1542
|
+
'chr_to_int': <function chr_to_int at 0x799de1f7e0>,
|
1543
|
+
'int_to_chr': <function int_to_chr at 0x799de1f880>,
|
1544
|
+
'irange': <function irange at 0x799de1fb00>,
|
1545
|
+
'batchmaker': <function batchmaker at 0x799de1f4c0>,
|
1546
|
+
'calculate': <function calculate at 0x799de1f600>,
|
1547
|
+
'batch_calculate': <function batch_calculate at 0x799de1f380>,
|
1548
|
+
'bin_to_int': <function bin_to_int at 0x799e798ea0>,
|
1549
|
+
'is_empty': <function is_empty at 0x799de2c2c0>,
|
1550
|
+
'exit_if_empty': <function exit_if_empty at 0x799de2c180>,
|
1551
|
+
'input_char': <function input_char at 0x799de2c220>,
|
1552
|
+
'choices': <function choices at 0x799de2c540>,
|
1553
|
+
'chunk_array': <function chunk_array at 0x799de2c5e0>,
|
1554
|
+
'create_folder': <function create_folder at 0x799de2c680>,
|
1555
|
+
'datetime_from_string': <function datetime_from_string at 0x799de2c720>,
|
1556
|
+
'datetime_now': <function datetime_now at 0x799de2c0e0>,
|
1557
|
+
'dict_first': <function dict_first at 0x799de2ea20>,
|
1558
|
+
'dirname': <function dirname at 0x799de2eac0>,
|
1559
|
+
'is_iterable': <function is_iterable at 0x799de2eca0>,
|
1560
|
+
'to_str': <function to_str at 0x799de2ed40>,
|
1561
|
+
'filter_empty': <function filter_empty at 0x799de1f2e0>,
|
1562
|
+
'get_by_index': <function get_by_index at 0x799de2eb60>,
|
1563
|
+
'get_class_method': <function get_class_method at 0x799de2ede0>,
|
1564
|
+
'get_filesize': <function get_filesize at 0x799de2ef20>,
|
1565
|
+
'github_init': <function github_init at 0x799de2efc0>,
|
1566
|
+
'github_pull': <function github_pull at 0x799de2f060>,
|
1567
|
+
'github_push': <function github_push at 0x799de2f1a0>,
|
1568
|
+
'github_user': <function github_user at 0x799de2f240>,
|
1569
|
+
'hex_to_int': <function hex_to_int at 0x799de2f2e0>,
|
1570
|
+
'iargv': <function iargv at 0x799de2f380>,
|
1571
|
+
'idir': <function idir at 0x799de2f420>,
|
1572
|
+
'idumps_html': <function idumps_html at 0x799de2fb00>,
|
1573
|
+
'idumps': <function idumps at 0x799de2f560>,
|
1574
|
+
'int_to_int': <function int_to_int at 0x799dc539c0>,
|
1575
|
+
'ienumerate': <function ienumerate at 0x799dc46020>,
|
1576
|
+
'ienv': <function ienv at 0x799dc536a0>,
|
1577
|
+
'iexec': <function iexec at 0x799dc53a60>,
|
1578
|
+
'ijoin': <function ijoin at 0x799dc53ba0>,
|
1579
|
+
'iloads_html': <function iloads_html at 0x799dc53d80>,
|
1580
|
+
'iloads': <function iloads at 0x79a37da020>,
|
1581
|
+
'int_to_bin': <function int_to_bin at 0x799dc53b00>,
|
1582
|
+
'int_to_hex': <function int_to_hex at 0x799dc53ce0>,
|
1583
|
+
'int_to_oct': <function int_to_oct at 0x799dc53e20>,
|
1584
|
+
'is_valid_url': <function is_valid_url at 0x799daafba0>,
|
1585
|
+
'iopen': <function iopen at 0x799dc68040>,
|
1586
|
+
'iprint': <function iprint at 0x799daaf6a0>,
|
1587
|
+
'ireplace': <function ireplace at 0x799daaf7e0>,
|
1588
|
+
'iscandir': <function iscandir at 0x799db749a0>,
|
1589
|
+
'isplit': <function isplit at 0x799db74a40>,
|
1590
|
+
'ivars': <function ivars at 0x799db74ae0>,
|
1591
|
+
'log': <function log at 0x799db74b80>,
|
1592
|
+
'oct_to_int': <function oct_to_int at 0x799db74c20>,
|
1593
|
+
'password_generator': <function password_generator at 0x799db74cc0>,
|
1594
|
+
'pip_freeze_without_version': <function pip_freeze_without_version at 0x799db74e00>,
|
1595
|
+
'poetry_publish': <function poetry_publish at 0x799db74ea0>,
|
1596
|
+
'poetry_update_version': <function poetry_update_version at 0x799db74fe0>,
|
1597
|
+
'print_dir': <function print_dir at 0x799db751c0>,
|
1598
|
+
'print_to_last_line': <function print_to_last_line at 0x799db75260>,
|
1599
|
+
'random_bool': <function random_bool at 0x799db75300>,
|
1600
|
+
'restart': <function restart at 0x799db753a0>,
|
1601
|
+
'set_timeout': <function set_timeout at 0x799db75440>,
|
1602
|
+
'sets_ordered': <function sets_ordered at 0x799db754e0>,
|
1603
|
+
'sqlite_delete_table': <function sqlite_delete_table at 0x799db75580>,
|
1604
|
+
'sqlite_get_all_tables': <function sqlite_get_all_tables at 0x799db75120>,
|
1605
|
+
'sqlite_get_data_table': <function sqlite_get_data_table at 0x799db75ee0>,
|
1606
|
+
'str_cmp': <function str_cmp at 0x799db75f80>,
|
1607
|
+
'text_colorize': <function text_colorize at 0x799db76020>,
|
1608
|
+
'traceback_filename': <function traceback_filename at 0x799db760c0>,
|
1609
|
+
'traceback_framename': <function traceback_framename at 0x799db76160>},
|
1610
1610
|
'class': {'ComparePerformance': <class 'pypipr.ComparePerformance.ComparePerformance'>,
|
1611
1611
|
'PintUregQuantity': <class 'pint.Quantity'>,
|
1612
1612
|
'RunParallel': <class 'pypipr.RunParallel.RunParallel'>},
|
1613
1613
|
'variable': {'LINUX': True,
|
1614
|
-
'PintUreg': <pint.registry.UnitRegistry object at
|
1614
|
+
'PintUreg': <pint.registry.UnitRegistry object at 0x79a2de6890>,
|
1615
1615
|
'WINDOWS': False},
|
1616
1616
|
'module': {'asyncio': <module 'asyncio' from '/data/data/com.termux/files/usr/lib/python3.11/asyncio/__init__.py'>,
|
1617
1617
|
'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'>,
|
@@ -1702,7 +1702,7 @@ print(password_generator())
|
|
1702
1702
|
|
1703
1703
|
Output:
|
1704
1704
|
```py
|
1705
|
-
|
1705
|
+
TDg3SjEo
|
1706
1706
|
```
|
1707
1707
|
|
1708
1708
|
## pip_freeze_without_version
|
@@ -1760,7 +1760,7 @@ Output:
|
|
1760
1760
|
__enter__ : https:/www.google.com
|
1761
1761
|
__fspath__ : https:/www.google.com
|
1762
1762
|
__getstate__ : (None, {'_drv': '', '_root': '', '_parts': ['https:', 'www.google.com'], '_str': 'https:/www.google.com'})
|
1763
|
-
__hash__ : -
|
1763
|
+
__hash__ : -8320060757596931504
|
1764
1764
|
__init__ : None
|
1765
1765
|
__init_subclass__ : None
|
1766
1766
|
__module__ : pathlib
|
@@ -1773,8 +1773,8 @@ Output:
|
|
1773
1773
|
_cached_cparts : ['https:', 'www.google.com']
|
1774
1774
|
_cparts : ['https:', 'www.google.com']
|
1775
1775
|
_drv :
|
1776
|
-
_flavour : <pathlib._PosixFlavour object at
|
1777
|
-
_hash : -
|
1776
|
+
_flavour : <pathlib._PosixFlavour object at 0x79a2c1d350>
|
1777
|
+
_hash : -8320060757596931504
|
1778
1778
|
_parts : ['https:', 'www.google.com']
|
1779
1779
|
_root :
|
1780
1780
|
_str : https:/www.google.com
|
@@ -1796,7 +1796,7 @@ Output:
|
|
1796
1796
|
is_reserved : False
|
1797
1797
|
is_socket : False
|
1798
1798
|
is_symlink : False
|
1799
|
-
iterdir : <generator object Path.iterdir at
|
1799
|
+
iterdir : <generator object Path.iterdir at 0x79924bf060>
|
1800
1800
|
joinpath : https:/www.google.com
|
1801
1801
|
name : www.google.com
|
1802
1802
|
parent : https:
|
@@ -1847,7 +1847,7 @@ print(random_bool())
|
|
1847
1847
|
|
1848
1848
|
Output:
|
1849
1849
|
```py
|
1850
|
-
|
1850
|
+
False
|
1851
1851
|
```
|
1852
1852
|
|
1853
1853
|
## restart
|
@@ -1881,7 +1881,7 @@ x.cancel()
|
|
1881
1881
|
|
1882
1882
|
Output:
|
1883
1883
|
```py
|
1884
|
-
<Timer(Thread-2, started
|
1884
|
+
<Timer(Thread-2, started 522113236208)>
|
1885
1885
|
menghentikan timeout 7
|
1886
1886
|
```
|
1887
1887
|
|
@@ -1899,7 +1899,7 @@ print(list(sets_ordered(array)))
|
|
1899
1899
|
|
1900
1900
|
Output:
|
1901
1901
|
```py
|
1902
|
-
<generator object sets_ordered at
|
1902
|
+
<generator object sets_ordered at 0x799251db10>
|
1903
1903
|
[2, 3, 12, 42, 1, 43, 41, 4, 24, 32]
|
1904
1904
|
```
|
1905
1905
|
|
@@ -1956,7 +1956,7 @@ text_colorize("Print some text", color=colorama.Fore.RED)
|
|
1956
1956
|
|
1957
1957
|
## traceback_filename
|
1958
1958
|
|
1959
|
-
`traceback_filename()`
|
1959
|
+
`traceback_filename(stack_level=-3)`
|
1960
1960
|
|
1961
1961
|
Mendapatkan filename dimana fungsi yg memanggil
|
1962
1962
|
fungsi dimana fungsi ini diletakkan dipanggil.
|
@@ -1967,7 +1967,7 @@ print(traceback_filename())
|
|
1967
1967
|
|
1968
1968
|
## traceback_framename
|
1969
1969
|
|
1970
|
-
`traceback_framename()`
|
1970
|
+
`traceback_framename(stack_level=-3)`
|
1971
1971
|
|
1972
1972
|
Mendapatkan frame name dimana fungsi yg memanggil
|
1973
1973
|
fungsi dimana fungsi ini diletakan ini dipanggil.
|
@@ -2013,15 +2013,15 @@ print(ExampleComparePerformance().compare_performance())
|
|
2013
2013
|
|
2014
2014
|
Output:
|
2015
2015
|
```py
|
2016
|
-
{'a': <generator object ExampleComparePerformance.a.<locals>.<genexpr> at
|
2016
|
+
{'a': <generator object ExampleComparePerformance.a.<locals>.<genexpr> at 0x799251cd40>,
|
2017
2017
|
'b': (0, 1, 2, 3, 4, 5, 6, 7, 8, 9),
|
2018
2018
|
'c': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
|
2019
2019
|
'd': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]}
|
2020
|
-
{'a':
|
2021
|
-
{'a':
|
2022
|
-
{'a':
|
2023
|
-
{'a':
|
2024
|
-
{'a':
|
2020
|
+
{'a': 163, 'b': 136, 'c': 100, 'd': 155}
|
2021
|
+
{'a': 146, 'b': 145, 'c': 100, 'd': 124}
|
2022
|
+
{'a': 135, 'b': 135, 'c': 100, 'd': 125}
|
2023
|
+
{'a': 124, 'b': 129, 'c': 100, 'd': 127}
|
2024
|
+
{'a': 127, 'b': 135, 'c': 100, 'd': 130}
|
2025
2025
|
```
|
2026
2026
|
|
2027
2027
|
## PintUregQuantity
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import traceback
|
2
2
|
|
3
3
|
|
4
|
-
def traceback_filename():
|
4
|
+
def traceback_filename(stack_level=-3):
|
5
5
|
"""
|
6
6
|
Mendapatkan filename dimana fungsi yg memanggil
|
7
7
|
fungsi dimana fungsi ini diletakkan dipanggil.
|
@@ -10,4 +10,4 @@ def traceback_filename():
|
|
10
10
|
print(traceback_filename())
|
11
11
|
```
|
12
12
|
"""
|
13
|
-
return traceback.extract_stack()[
|
13
|
+
return traceback.extract_stack()[stack_level].filename
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import traceback
|
2
2
|
|
3
3
|
|
4
|
-
def traceback_framename():
|
4
|
+
def traceback_framename(stack_level=-3):
|
5
5
|
"""
|
6
6
|
Mendapatkan frame name dimana fungsi yg memanggil
|
7
7
|
fungsi dimana fungsi ini diletakan ini dipanggil.
|
@@ -10,4 +10,4 @@ def traceback_framename():
|
|
10
10
|
print(traceback_framename())
|
11
11
|
```
|
12
12
|
"""
|
13
|
-
return traceback.extract_stack()[
|
13
|
+
return traceback.extract_stack()[stack_level].name
|
@@ -225,8 +225,8 @@ iprint(irange("z", "a", 4))
|
|
225
225
|
|
226
226
|
Output:
|
227
227
|
```py
|
228
|
-
<generator object int_range at
|
229
|
-
<generator object int_range at
|
228
|
+
<generator object int_range at 0x7992437940>
|
229
|
+
<generator object int_range at 0x7992437940>
|
230
230
|
[13, 12, 11, 10, 9, 8, 7, 6]
|
231
231
|
[2, 5, 8]
|
232
232
|
[2, 5, 8]
|
@@ -258,7 +258,7 @@ print(list(batchmaker(s)))
|
|
258
258
|
|
259
259
|
Output:
|
260
260
|
```py
|
261
|
-
<generator object batchmaker at
|
261
|
+
<generator object batchmaker at 0x79924c1480>
|
262
262
|
['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.']
|
263
263
|
```
|
264
264
|
|
@@ -312,7 +312,7 @@ print(list(batch_calculate("{1 10} m ** {1 3}")))
|
|
312
312
|
|
313
313
|
Output:
|
314
314
|
```py
|
315
|
-
<generator object batch_calculate at
|
315
|
+
<generator object batch_calculate at 0x79924ca110>
|
316
316
|
[('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')>)]
|
317
317
|
```
|
318
318
|
|
@@ -418,7 +418,7 @@ print(list(chunk_array(arr, 5)))
|
|
418
418
|
|
419
419
|
Output:
|
420
420
|
```py
|
421
|
-
<generator object chunk_array at
|
421
|
+
<generator object chunk_array at 0x7992437a40>
|
422
422
|
[[2, 3, 12, 3, 3], [42, 42, 1, 43, 2], [42, 41, 4, 24, 32], [42, 3, 12, 32, 42], [42]]
|
423
423
|
```
|
424
424
|
|
@@ -469,9 +469,9 @@ print(datetime_now("Etc/GMT+7"))
|
|
469
469
|
|
470
470
|
Output:
|
471
471
|
```py
|
472
|
-
2024-05-25
|
473
|
-
2024-05-25
|
474
|
-
2024-05-
|
472
|
+
2024-05-25 23:31:33.469787+07:00
|
473
|
+
2024-05-25 16:31:33.471476+00:00
|
474
|
+
2024-05-25 09:31:33.476526-07:00
|
475
475
|
```
|
476
476
|
|
477
477
|
## dict_first
|
@@ -577,7 +577,7 @@ iprint(filter_empty(var))
|
|
577
577
|
|
578
578
|
Output:
|
579
579
|
```py
|
580
|
-
<generator object filter_empty at
|
580
|
+
<generator object filter_empty at 0x79924c9e40>
|
581
581
|
[1, '0', True, {}, ['eee']]
|
582
582
|
```
|
583
583
|
|
@@ -624,8 +624,8 @@ print(list(get_class_method(ExampleGetClassMethod)))
|
|
624
624
|
|
625
625
|
Output:
|
626
626
|
```py
|
627
|
-
<generator object get_class_method at
|
628
|
-
[<function ExampleGetClassMethod.a at
|
627
|
+
<generator object get_class_method at 0x79924ca3e0>
|
628
|
+
[<function ExampleGetClassMethod.a at 0x7992507060>, <function ExampleGetClassMethod.b at 0x7992506fc0>, <function ExampleGetClassMethod.c at 0x79925071a0>, <function ExampleGetClassMethod.d at 0x7992507240>]
|
629
629
|
```
|
630
630
|
|
631
631
|
## get_filesize
|
@@ -1041,7 +1041,7 @@ Output:
|
|
1041
1041
|
|
1042
1042
|
## ienumerate
|
1043
1043
|
|
1044
|
-
`ienumerate(iterator, start=0, key=<function int_to_int at
|
1044
|
+
`ienumerate(iterator, start=0, key=<function int_to_int at 0x799dc539c0>)`
|
1045
1045
|
|
1046
1046
|
meningkatkan fungsi enumerate() pada python
|
1047
1047
|
untuk key menggunakan huruf dan basis angka lainnya.
|
@@ -1054,7 +1054,7 @@ iprint(ienumerate(it, key=int_to_chr))
|
|
1054
1054
|
|
1055
1055
|
Output:
|
1056
1056
|
```py
|
1057
|
-
<generator object ienumerate at
|
1057
|
+
<generator object ienumerate at 0x79924ca4d0>
|
1058
1058
|
[('a', 'ini'), ('b', 'contoh'), ('c', 'enumerator')]
|
1059
1059
|
```
|
1060
1060
|
|
@@ -1121,7 +1121,7 @@ print(ijoin(10, ' '))
|
|
1121
1121
|
|
1122
1122
|
Output:
|
1123
1123
|
```py
|
1124
|
-
qweqw,
|
1124
|
+
qweqw, dfs, asd, weq
|
1125
1125
|
,ini,path,seperti,url,
|
1126
1126
|
ini,path,seperti,url
|
1127
1127
|
<li>satu</li>
|
@@ -1210,7 +1210,7 @@ Output:
|
|
1210
1210
|
['Ounce\xa0(oz)', '2.334,20 (-0,64)', '16.024,00', '37.403.221'],
|
1211
1211
|
['Gram\xa0(gr)', '75,05', '16.024,00', '1.202.541 (-330)'],
|
1212
1212
|
['Kilogram\xa0(kg)', '75.046,27', '16.024,00', '1.202.541.474'],
|
1213
|
-
['Update harga emas :25 Mei 2024, pukul
|
1213
|
+
['Update harga emas :25 Mei 2024, pukul 23:31Update kurs :25 Mei 2024, pukul '
|
1214
1214
|
'13:10']],
|
1215
1215
|
[['Gram', 'UBS Gold 99.99%'],
|
1216
1216
|
['Jual', 'Beli'],
|
@@ -1261,7 +1261,7 @@ Output:
|
|
1261
1261
|
['USD', '75,05↓', '-0,02-0,03%'],
|
1262
1262
|
['KURS', '16.045,00↑', '+12,60+0,08%'],
|
1263
1263
|
['IDR', '1.204.117,45↑', '+615,70+0,05%'],
|
1264
|
-
['Sabtu, 25 Mei 2024
|
1264
|
+
['Sabtu, 25 Mei 2024 23:31']],
|
1265
1265
|
[[''],
|
1266
1266
|
['Emas 1 Gram (IDR)Emas 1 Gram (USD)Kurs USD-IDR',
|
1267
1267
|
'Hari Ini',
|
@@ -1414,7 +1414,7 @@ Output:
|
|
1414
1414
|
```py
|
1415
1415
|
8
|
1416
1416
|
['mana', 'aja']
|
1417
|
-
[<Element a at
|
1417
|
+
[<Element a at 0x7992515590>, <Element a at 0x7991c08780>, <Element a at 0x7991c08820>, <Element a at 0x7991c08870>, <Element a at 0x7991c088c0>, <Element a at 0x7991c08910>, <Element a at 0x7991c08960>, <Element a at 0x7991c089b0>, <Element a at 0x7991c08a00>, <Element a at 0x7991c08a50>, <Element a at 0x7991c08aa0>, <Element a at 0x7991c08af0>, <Element a at 0x7991c08b40>, <Element a at 0x7991c08b90>, <Element a at 0x7991c08be0>, <Element a at 0x7991c08c30>, <Element a at 0x7991c08c80>, <Element a at 0x7991c08cd0>]
|
1418
1418
|
False
|
1419
1419
|
```
|
1420
1420
|
|
@@ -1476,7 +1476,7 @@ print(list(iscandir("./", recursive=False, scan_file=False)))
|
|
1476
1476
|
|
1477
1477
|
Output:
|
1478
1478
|
```py
|
1479
|
-
<generator object iscandir at
|
1479
|
+
<generator object iscandir at 0x7992437b40>
|
1480
1480
|
[PosixPath('.git'), PosixPath('.vscode'), PosixPath('pypipr'), PosixPath('__pycache__'), PosixPath('dist')]
|
1481
1481
|
```
|
1482
1482
|
|
@@ -1509,86 +1509,86 @@ iprint(ivars(__import__('pypipr')))
|
|
1509
1509
|
|
1510
1510
|
Output:
|
1511
1511
|
```py
|
1512
|
-
{'function': {'avg': <function avg at
|
1513
|
-
'get_filemtime': <function get_filemtime at
|
1514
|
-
'print_colorize': <function print_colorize at
|
1515
|
-
'print_log': <function print_log at
|
1516
|
-
'console_run': <function console_run at
|
1517
|
-
'auto_reload': <function auto_reload at
|
1518
|
-
'basename': <function basename at
|
1519
|
-
'chr_to_int': <function chr_to_int at
|
1520
|
-
'int_to_chr': <function int_to_chr at
|
1521
|
-
'irange': <function irange at
|
1522
|
-
'batchmaker': <function batchmaker at
|
1523
|
-
'calculate': <function calculate at
|
1524
|
-
'batch_calculate': <function batch_calculate at
|
1525
|
-
'bin_to_int': <function bin_to_int at
|
1526
|
-
'is_empty': <function is_empty at
|
1527
|
-
'exit_if_empty': <function exit_if_empty at
|
1528
|
-
'input_char': <function input_char at
|
1529
|
-
'choices': <function choices at
|
1530
|
-
'chunk_array': <function chunk_array at
|
1531
|
-
'create_folder': <function create_folder at
|
1532
|
-
'datetime_from_string': <function datetime_from_string at
|
1533
|
-
'datetime_now': <function datetime_now at
|
1534
|
-
'dict_first': <function dict_first at
|
1535
|
-
'dirname': <function dirname at
|
1536
|
-
'is_iterable': <function is_iterable at
|
1537
|
-
'to_str': <function to_str at
|
1538
|
-
'filter_empty': <function filter_empty at
|
1539
|
-
'get_by_index': <function get_by_index at
|
1540
|
-
'get_class_method': <function get_class_method at
|
1541
|
-
'get_filesize': <function get_filesize at
|
1542
|
-
'github_init': <function github_init at
|
1543
|
-
'github_pull': <function github_pull at
|
1544
|
-
'github_push': <function github_push at
|
1545
|
-
'github_user': <function github_user at
|
1546
|
-
'hex_to_int': <function hex_to_int at
|
1547
|
-
'iargv': <function iargv at
|
1548
|
-
'idir': <function idir at
|
1549
|
-
'idumps_html': <function idumps_html at
|
1550
|
-
'idumps': <function idumps at
|
1551
|
-
'int_to_int': <function int_to_int at
|
1552
|
-
'ienumerate': <function ienumerate at
|
1553
|
-
'ienv': <function ienv at
|
1554
|
-
'iexec': <function iexec at
|
1555
|
-
'ijoin': <function ijoin at
|
1556
|
-
'iloads_html': <function iloads_html at
|
1557
|
-
'iloads': <function iloads at
|
1558
|
-
'int_to_bin': <function int_to_bin at
|
1559
|
-
'int_to_hex': <function int_to_hex at
|
1560
|
-
'int_to_oct': <function int_to_oct at
|
1561
|
-
'is_valid_url': <function is_valid_url at
|
1562
|
-
'iopen': <function iopen at
|
1563
|
-
'iprint': <function iprint at
|
1564
|
-
'ireplace': <function ireplace at
|
1565
|
-
'iscandir': <function iscandir at
|
1566
|
-
'isplit': <function isplit at
|
1567
|
-
'ivars': <function ivars at
|
1568
|
-
'log': <function log at
|
1569
|
-
'oct_to_int': <function oct_to_int at
|
1570
|
-
'password_generator': <function password_generator at
|
1571
|
-
'pip_freeze_without_version': <function pip_freeze_without_version at
|
1572
|
-
'poetry_publish': <function poetry_publish at
|
1573
|
-
'poetry_update_version': <function poetry_update_version at
|
1574
|
-
'print_dir': <function print_dir at
|
1575
|
-
'print_to_last_line': <function print_to_last_line at
|
1576
|
-
'random_bool': <function random_bool at
|
1577
|
-
'restart': <function restart at
|
1578
|
-
'set_timeout': <function set_timeout at
|
1579
|
-
'sets_ordered': <function sets_ordered at
|
1580
|
-
'sqlite_delete_table': <function sqlite_delete_table at
|
1581
|
-
'sqlite_get_all_tables': <function sqlite_get_all_tables at
|
1582
|
-
'sqlite_get_data_table': <function sqlite_get_data_table at
|
1583
|
-
'str_cmp': <function str_cmp at
|
1584
|
-
'text_colorize': <function text_colorize at
|
1585
|
-
'traceback_filename': <function traceback_filename at
|
1586
|
-
'traceback_framename': <function traceback_framename at
|
1512
|
+
{'function': {'avg': <function avg at 0x79a2dd8040>,
|
1513
|
+
'get_filemtime': <function get_filemtime at 0x799de1f060>,
|
1514
|
+
'print_colorize': <function print_colorize at 0x799de1f240>,
|
1515
|
+
'print_log': <function print_log at 0x799de1f100>,
|
1516
|
+
'console_run': <function console_run at 0x799de1f1a0>,
|
1517
|
+
'auto_reload': <function auto_reload at 0x799e798f40>,
|
1518
|
+
'basename': <function basename at 0x799ddba980>,
|
1519
|
+
'chr_to_int': <function chr_to_int at 0x799de1f7e0>,
|
1520
|
+
'int_to_chr': <function int_to_chr at 0x799de1f880>,
|
1521
|
+
'irange': <function irange at 0x799de1fb00>,
|
1522
|
+
'batchmaker': <function batchmaker at 0x799de1f4c0>,
|
1523
|
+
'calculate': <function calculate at 0x799de1f600>,
|
1524
|
+
'batch_calculate': <function batch_calculate at 0x799de1f380>,
|
1525
|
+
'bin_to_int': <function bin_to_int at 0x799e798ea0>,
|
1526
|
+
'is_empty': <function is_empty at 0x799de2c2c0>,
|
1527
|
+
'exit_if_empty': <function exit_if_empty at 0x799de2c180>,
|
1528
|
+
'input_char': <function input_char at 0x799de2c220>,
|
1529
|
+
'choices': <function choices at 0x799de2c540>,
|
1530
|
+
'chunk_array': <function chunk_array at 0x799de2c5e0>,
|
1531
|
+
'create_folder': <function create_folder at 0x799de2c680>,
|
1532
|
+
'datetime_from_string': <function datetime_from_string at 0x799de2c720>,
|
1533
|
+
'datetime_now': <function datetime_now at 0x799de2c0e0>,
|
1534
|
+
'dict_first': <function dict_first at 0x799de2ea20>,
|
1535
|
+
'dirname': <function dirname at 0x799de2eac0>,
|
1536
|
+
'is_iterable': <function is_iterable at 0x799de2eca0>,
|
1537
|
+
'to_str': <function to_str at 0x799de2ed40>,
|
1538
|
+
'filter_empty': <function filter_empty at 0x799de1f2e0>,
|
1539
|
+
'get_by_index': <function get_by_index at 0x799de2eb60>,
|
1540
|
+
'get_class_method': <function get_class_method at 0x799de2ede0>,
|
1541
|
+
'get_filesize': <function get_filesize at 0x799de2ef20>,
|
1542
|
+
'github_init': <function github_init at 0x799de2efc0>,
|
1543
|
+
'github_pull': <function github_pull at 0x799de2f060>,
|
1544
|
+
'github_push': <function github_push at 0x799de2f1a0>,
|
1545
|
+
'github_user': <function github_user at 0x799de2f240>,
|
1546
|
+
'hex_to_int': <function hex_to_int at 0x799de2f2e0>,
|
1547
|
+
'iargv': <function iargv at 0x799de2f380>,
|
1548
|
+
'idir': <function idir at 0x799de2f420>,
|
1549
|
+
'idumps_html': <function idumps_html at 0x799de2fb00>,
|
1550
|
+
'idumps': <function idumps at 0x799de2f560>,
|
1551
|
+
'int_to_int': <function int_to_int at 0x799dc539c0>,
|
1552
|
+
'ienumerate': <function ienumerate at 0x799dc46020>,
|
1553
|
+
'ienv': <function ienv at 0x799dc536a0>,
|
1554
|
+
'iexec': <function iexec at 0x799dc53a60>,
|
1555
|
+
'ijoin': <function ijoin at 0x799dc53ba0>,
|
1556
|
+
'iloads_html': <function iloads_html at 0x799dc53d80>,
|
1557
|
+
'iloads': <function iloads at 0x79a37da020>,
|
1558
|
+
'int_to_bin': <function int_to_bin at 0x799dc53b00>,
|
1559
|
+
'int_to_hex': <function int_to_hex at 0x799dc53ce0>,
|
1560
|
+
'int_to_oct': <function int_to_oct at 0x799dc53e20>,
|
1561
|
+
'is_valid_url': <function is_valid_url at 0x799daafba0>,
|
1562
|
+
'iopen': <function iopen at 0x799dc68040>,
|
1563
|
+
'iprint': <function iprint at 0x799daaf6a0>,
|
1564
|
+
'ireplace': <function ireplace at 0x799daaf7e0>,
|
1565
|
+
'iscandir': <function iscandir at 0x799db749a0>,
|
1566
|
+
'isplit': <function isplit at 0x799db74a40>,
|
1567
|
+
'ivars': <function ivars at 0x799db74ae0>,
|
1568
|
+
'log': <function log at 0x799db74b80>,
|
1569
|
+
'oct_to_int': <function oct_to_int at 0x799db74c20>,
|
1570
|
+
'password_generator': <function password_generator at 0x799db74cc0>,
|
1571
|
+
'pip_freeze_without_version': <function pip_freeze_without_version at 0x799db74e00>,
|
1572
|
+
'poetry_publish': <function poetry_publish at 0x799db74ea0>,
|
1573
|
+
'poetry_update_version': <function poetry_update_version at 0x799db74fe0>,
|
1574
|
+
'print_dir': <function print_dir at 0x799db751c0>,
|
1575
|
+
'print_to_last_line': <function print_to_last_line at 0x799db75260>,
|
1576
|
+
'random_bool': <function random_bool at 0x799db75300>,
|
1577
|
+
'restart': <function restart at 0x799db753a0>,
|
1578
|
+
'set_timeout': <function set_timeout at 0x799db75440>,
|
1579
|
+
'sets_ordered': <function sets_ordered at 0x799db754e0>,
|
1580
|
+
'sqlite_delete_table': <function sqlite_delete_table at 0x799db75580>,
|
1581
|
+
'sqlite_get_all_tables': <function sqlite_get_all_tables at 0x799db75120>,
|
1582
|
+
'sqlite_get_data_table': <function sqlite_get_data_table at 0x799db75ee0>,
|
1583
|
+
'str_cmp': <function str_cmp at 0x799db75f80>,
|
1584
|
+
'text_colorize': <function text_colorize at 0x799db76020>,
|
1585
|
+
'traceback_filename': <function traceback_filename at 0x799db760c0>,
|
1586
|
+
'traceback_framename': <function traceback_framename at 0x799db76160>},
|
1587
1587
|
'class': {'ComparePerformance': <class 'pypipr.ComparePerformance.ComparePerformance'>,
|
1588
1588
|
'PintUregQuantity': <class 'pint.Quantity'>,
|
1589
1589
|
'RunParallel': <class 'pypipr.RunParallel.RunParallel'>},
|
1590
1590
|
'variable': {'LINUX': True,
|
1591
|
-
'PintUreg': <pint.registry.UnitRegistry object at
|
1591
|
+
'PintUreg': <pint.registry.UnitRegistry object at 0x79a2de6890>,
|
1592
1592
|
'WINDOWS': False},
|
1593
1593
|
'module': {'asyncio': <module 'asyncio' from '/data/data/com.termux/files/usr/lib/python3.11/asyncio/__init__.py'>,
|
1594
1594
|
'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'>,
|
@@ -1679,7 +1679,7 @@ print(password_generator())
|
|
1679
1679
|
|
1680
1680
|
Output:
|
1681
1681
|
```py
|
1682
|
-
|
1682
|
+
TDg3SjEo
|
1683
1683
|
```
|
1684
1684
|
|
1685
1685
|
## pip_freeze_without_version
|
@@ -1737,7 +1737,7 @@ Output:
|
|
1737
1737
|
__enter__ : https:/www.google.com
|
1738
1738
|
__fspath__ : https:/www.google.com
|
1739
1739
|
__getstate__ : (None, {'_drv': '', '_root': '', '_parts': ['https:', 'www.google.com'], '_str': 'https:/www.google.com'})
|
1740
|
-
__hash__ : -
|
1740
|
+
__hash__ : -8320060757596931504
|
1741
1741
|
__init__ : None
|
1742
1742
|
__init_subclass__ : None
|
1743
1743
|
__module__ : pathlib
|
@@ -1750,8 +1750,8 @@ Output:
|
|
1750
1750
|
_cached_cparts : ['https:', 'www.google.com']
|
1751
1751
|
_cparts : ['https:', 'www.google.com']
|
1752
1752
|
_drv :
|
1753
|
-
_flavour : <pathlib._PosixFlavour object at
|
1754
|
-
_hash : -
|
1753
|
+
_flavour : <pathlib._PosixFlavour object at 0x79a2c1d350>
|
1754
|
+
_hash : -8320060757596931504
|
1755
1755
|
_parts : ['https:', 'www.google.com']
|
1756
1756
|
_root :
|
1757
1757
|
_str : https:/www.google.com
|
@@ -1773,7 +1773,7 @@ Output:
|
|
1773
1773
|
is_reserved : False
|
1774
1774
|
is_socket : False
|
1775
1775
|
is_symlink : False
|
1776
|
-
iterdir : <generator object Path.iterdir at
|
1776
|
+
iterdir : <generator object Path.iterdir at 0x79924bf060>
|
1777
1777
|
joinpath : https:/www.google.com
|
1778
1778
|
name : www.google.com
|
1779
1779
|
parent : https:
|
@@ -1824,7 +1824,7 @@ print(random_bool())
|
|
1824
1824
|
|
1825
1825
|
Output:
|
1826
1826
|
```py
|
1827
|
-
|
1827
|
+
False
|
1828
1828
|
```
|
1829
1829
|
|
1830
1830
|
## restart
|
@@ -1858,7 +1858,7 @@ x.cancel()
|
|
1858
1858
|
|
1859
1859
|
Output:
|
1860
1860
|
```py
|
1861
|
-
<Timer(Thread-2, started
|
1861
|
+
<Timer(Thread-2, started 522113236208)>
|
1862
1862
|
menghentikan timeout 7
|
1863
1863
|
```
|
1864
1864
|
|
@@ -1876,7 +1876,7 @@ print(list(sets_ordered(array)))
|
|
1876
1876
|
|
1877
1877
|
Output:
|
1878
1878
|
```py
|
1879
|
-
<generator object sets_ordered at
|
1879
|
+
<generator object sets_ordered at 0x799251db10>
|
1880
1880
|
[2, 3, 12, 42, 1, 43, 41, 4, 24, 32]
|
1881
1881
|
```
|
1882
1882
|
|
@@ -1933,7 +1933,7 @@ text_colorize("Print some text", color=colorama.Fore.RED)
|
|
1933
1933
|
|
1934
1934
|
## traceback_filename
|
1935
1935
|
|
1936
|
-
`traceback_filename()`
|
1936
|
+
`traceback_filename(stack_level=-3)`
|
1937
1937
|
|
1938
1938
|
Mendapatkan filename dimana fungsi yg memanggil
|
1939
1939
|
fungsi dimana fungsi ini diletakkan dipanggil.
|
@@ -1944,7 +1944,7 @@ print(traceback_filename())
|
|
1944
1944
|
|
1945
1945
|
## traceback_framename
|
1946
1946
|
|
1947
|
-
`traceback_framename()`
|
1947
|
+
`traceback_framename(stack_level=-3)`
|
1948
1948
|
|
1949
1949
|
Mendapatkan frame name dimana fungsi yg memanggil
|
1950
1950
|
fungsi dimana fungsi ini diletakan ini dipanggil.
|
@@ -1990,15 +1990,15 @@ print(ExampleComparePerformance().compare_performance())
|
|
1990
1990
|
|
1991
1991
|
Output:
|
1992
1992
|
```py
|
1993
|
-
{'a': <generator object ExampleComparePerformance.a.<locals>.<genexpr> at
|
1993
|
+
{'a': <generator object ExampleComparePerformance.a.<locals>.<genexpr> at 0x799251cd40>,
|
1994
1994
|
'b': (0, 1, 2, 3, 4, 5, 6, 7, 8, 9),
|
1995
1995
|
'c': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
|
1996
1996
|
'd': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]}
|
1997
|
-
{'a':
|
1998
|
-
{'a':
|
1999
|
-
{'a':
|
2000
|
-
{'a':
|
2001
|
-
{'a':
|
1997
|
+
{'a': 163, 'b': 136, 'c': 100, 'd': 155}
|
1998
|
+
{'a': 146, 'b': 145, 'c': 100, 'd': 124}
|
1999
|
+
{'a': 135, 'b': 135, 'c': 100, 'd': 125}
|
2000
|
+
{'a': 124, 'b': 129, 'c': 100, 'd': 127}
|
2001
|
+
{'a': 127, 'b': 135, 'c': 100, 'd': 130}
|
2002
2002
|
```
|
2003
2003
|
|
2004
2004
|
## PintUregQuantity
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|