pypipr 1.0.151__tar.gz → 1.0.152__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.151 → pypipr-1.0.152}/PKG-INFO +112 -112
- {pypipr-1.0.151 → pypipr-1.0.152}/pypipr/console_run.py +4 -1
- {pypipr-1.0.151 → pypipr-1.0.152}/pypipr/repath.py +9 -9
- {pypipr-1.0.151 → pypipr-1.0.152}/pyproject.toml +1 -1
- {pypipr-1.0.151 → pypipr-1.0.152}/readme.md +111 -111
- {pypipr-1.0.151 → pypipr-1.0.152}/pypipr/ComparePerformance.py +0 -0
- {pypipr-1.0.151 → pypipr-1.0.152}/pypipr/LINUX.py +0 -0
- {pypipr-1.0.151 → pypipr-1.0.152}/pypipr/PintUreg.py +0 -0
- {pypipr-1.0.151 → pypipr-1.0.152}/pypipr/PintUregQuantity.py +0 -0
- {pypipr-1.0.151 → pypipr-1.0.152}/pypipr/RunParallel.py +0 -0
- {pypipr-1.0.151 → pypipr-1.0.152}/pypipr/TextCase.py +0 -0
- {pypipr-1.0.151 → pypipr-1.0.152}/pypipr/WINDOWS.py +0 -0
- {pypipr-1.0.151 → pypipr-1.0.152}/pypipr/__init__.py +0 -0
- {pypipr-1.0.151 → pypipr-1.0.152}/pypipr/__terminal__.py +0 -0
- {pypipr-1.0.151 → pypipr-1.0.152}/pypipr/auto_reload.py +0 -0
- {pypipr-1.0.151 → pypipr-1.0.152}/pypipr/avg.py +0 -0
- {pypipr-1.0.151 → pypipr-1.0.152}/pypipr/basename.py +0 -0
- {pypipr-1.0.151 → pypipr-1.0.152}/pypipr/batch_calculate.py +0 -0
- {pypipr-1.0.151 → pypipr-1.0.152}/pypipr/batchmaker.py +0 -0
- {pypipr-1.0.151 → pypipr-1.0.152}/pypipr/bin_to_int.py +0 -0
- {pypipr-1.0.151 → pypipr-1.0.152}/pypipr/calculate.py +0 -0
- {pypipr-1.0.151 → pypipr-1.0.152}/pypipr/choices.py +0 -0
- {pypipr-1.0.151 → pypipr-1.0.152}/pypipr/chr_to_int.py +0 -0
- {pypipr-1.0.151 → pypipr-1.0.152}/pypipr/chunk_array.py +0 -0
- {pypipr-1.0.151 → pypipr-1.0.152}/pypipr/create_folder.py +0 -0
- {pypipr-1.0.151 → pypipr-1.0.152}/pypipr/datetime_from_string.py +0 -0
- {pypipr-1.0.151 → pypipr-1.0.152}/pypipr/datetime_now.py +0 -0
- {pypipr-1.0.151 → pypipr-1.0.152}/pypipr/dict_first.py +0 -0
- {pypipr-1.0.151 → pypipr-1.0.152}/pypipr/dirname.py +0 -0
- {pypipr-1.0.151 → pypipr-1.0.152}/pypipr/django_runserver.py +0 -0
- {pypipr-1.0.151 → pypipr-1.0.152}/pypipr/exit_if_empty.py +0 -0
- {pypipr-1.0.151 → pypipr-1.0.152}/pypipr/filter_empty.py +0 -0
- {pypipr-1.0.151 → pypipr-1.0.152}/pypipr/get_by_index.py +0 -0
- {pypipr-1.0.151 → pypipr-1.0.152}/pypipr/get_class_method.py +0 -0
- {pypipr-1.0.151 → pypipr-1.0.152}/pypipr/get_filemtime.py +0 -0
- {pypipr-1.0.151 → pypipr-1.0.152}/pypipr/get_filesize.py +0 -0
- {pypipr-1.0.151 → pypipr-1.0.152}/pypipr/github_init.py +0 -0
- {pypipr-1.0.151 → pypipr-1.0.152}/pypipr/github_pull.py +0 -0
- {pypipr-1.0.151 → pypipr-1.0.152}/pypipr/github_push.py +0 -0
- {pypipr-1.0.151 → pypipr-1.0.152}/pypipr/github_user.py +0 -0
- {pypipr-1.0.151 → pypipr-1.0.152}/pypipr/hex_to_int.py +0 -0
- {pypipr-1.0.151 → pypipr-1.0.152}/pypipr/iargv.py +0 -0
- {pypipr-1.0.151 → pypipr-1.0.152}/pypipr/idir.py +0 -0
- {pypipr-1.0.151 → pypipr-1.0.152}/pypipr/idumps.py +0 -0
- {pypipr-1.0.151 → pypipr-1.0.152}/pypipr/idumps_html.py +0 -0
- {pypipr-1.0.151 → pypipr-1.0.152}/pypipr/ienumerate.py +0 -0
- {pypipr-1.0.151 → pypipr-1.0.152}/pypipr/ienv.py +0 -0
- {pypipr-1.0.151 → pypipr-1.0.152}/pypipr/iexec.py +0 -0
- {pypipr-1.0.151 → pypipr-1.0.152}/pypipr/ijoin.py +0 -0
- {pypipr-1.0.151 → pypipr-1.0.152}/pypipr/iloads.py +0 -0
- {pypipr-1.0.151 → pypipr-1.0.152}/pypipr/iloads_html.py +0 -0
- {pypipr-1.0.151 → pypipr-1.0.152}/pypipr/input_char.py +0 -0
- {pypipr-1.0.151 → pypipr-1.0.152}/pypipr/int_to_bin.py +0 -0
- {pypipr-1.0.151 → pypipr-1.0.152}/pypipr/int_to_chr.py +0 -0
- {pypipr-1.0.151 → pypipr-1.0.152}/pypipr/int_to_hex.py +0 -0
- {pypipr-1.0.151 → pypipr-1.0.152}/pypipr/int_to_int.py +0 -0
- {pypipr-1.0.151 → pypipr-1.0.152}/pypipr/int_to_oct.py +0 -0
- {pypipr-1.0.151 → pypipr-1.0.152}/pypipr/iopen.py +0 -0
- {pypipr-1.0.151 → pypipr-1.0.152}/pypipr/iprint.py +0 -0
- {pypipr-1.0.151 → pypipr-1.0.152}/pypipr/irange.py +0 -0
- {pypipr-1.0.151 → pypipr-1.0.152}/pypipr/ireplace.py +0 -0
- {pypipr-1.0.151 → pypipr-1.0.152}/pypipr/is_empty.py +0 -0
- {pypipr-1.0.151 → pypipr-1.0.152}/pypipr/is_iterable.py +0 -0
- {pypipr-1.0.151 → pypipr-1.0.152}/pypipr/is_valid_url.py +0 -0
- {pypipr-1.0.151 → pypipr-1.0.152}/pypipr/iscandir.py +0 -0
- {pypipr-1.0.151 → pypipr-1.0.152}/pypipr/isplit.py +0 -0
- {pypipr-1.0.151 → pypipr-1.0.152}/pypipr/ivars.py +0 -0
- {pypipr-1.0.151 → pypipr-1.0.152}/pypipr/log.py +0 -0
- {pypipr-1.0.151 → pypipr-1.0.152}/pypipr/oct_to_int.py +0 -0
- {pypipr-1.0.151 → pypipr-1.0.152}/pypipr/password_generator.py +0 -0
- {pypipr-1.0.151 → pypipr-1.0.152}/pypipr/pip_freeze_without_version.py +0 -0
- {pypipr-1.0.151 → pypipr-1.0.152}/pypipr/pip_update_pypipr.py +0 -0
- {pypipr-1.0.151 → pypipr-1.0.152}/pypipr/poetry_publish.py +0 -0
- {pypipr-1.0.151 → pypipr-1.0.152}/pypipr/poetry_update_version.py +0 -0
- {pypipr-1.0.151 → pypipr-1.0.152}/pypipr/print_colorize.py +0 -0
- {pypipr-1.0.151 → pypipr-1.0.152}/pypipr/print_dir.py +0 -0
- {pypipr-1.0.151 → pypipr-1.0.152}/pypipr/print_log.py +0 -0
- {pypipr-1.0.151 → pypipr-1.0.152}/pypipr/print_to_last_line.py +0 -0
- {pypipr-1.0.151 → pypipr-1.0.152}/pypipr/random_bool.py +0 -0
- {pypipr-1.0.151 → pypipr-1.0.152}/pypipr/restart.py +0 -0
- {pypipr-1.0.151 → pypipr-1.0.152}/pypipr/set_timeout.py +0 -0
- {pypipr-1.0.151 → pypipr-1.0.152}/pypipr/sets_ordered.py +0 -0
- {pypipr-1.0.151 → pypipr-1.0.152}/pypipr/sqlite_delete_table.py +0 -0
- {pypipr-1.0.151 → pypipr-1.0.152}/pypipr/sqlite_get_all_tables.py +0 -0
- {pypipr-1.0.151 → pypipr-1.0.152}/pypipr/sqlite_get_data_table.py +0 -0
- {pypipr-1.0.151 → pypipr-1.0.152}/pypipr/str_cmp.py +0 -0
- {pypipr-1.0.151 → pypipr-1.0.152}/pypipr/text_colorize.py +0 -0
- {pypipr-1.0.151 → pypipr-1.0.152}/pypipr/to_str.py +0 -0
- {pypipr-1.0.151 → pypipr-1.0.152}/pypipr/traceback_filename.py +0 -0
- {pypipr-1.0.151 → pypipr-1.0.152}/pypipr/traceback_framename.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.152
|
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 0x6f3862ec40>
|
252
|
+
<generator object int_range at 0x6f3862ec40>
|
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 0x6f38596d40>
|
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 0x6f382fc7c0>
|
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 0x6f3862ed40>
|
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-08-10
|
496
|
-
2024-08-10
|
497
|
-
2024-08-09
|
495
|
+
2024-08-10 23:21:16.894790+07:00
|
496
|
+
2024-08-10 16:21:16.896377+00:00
|
497
|
+
2024-08-10 09:21:16.899012-07:00
|
498
498
|
```
|
499
499
|
|
500
500
|
## dict_first
|
@@ -604,7 +604,7 @@ iprint(filter_empty(var))
|
|
604
604
|
|
605
605
|
Output:
|
606
606
|
```py
|
607
|
-
<generator object filter_empty at
|
607
|
+
<generator object filter_empty at 0x6f382fc4f0>
|
608
608
|
[1, '0', True, {}, ['eee']]
|
609
609
|
```
|
610
610
|
|
@@ -651,8 +651,8 @@ print(list(get_class_method(ExampleGetClassMethod)))
|
|
651
651
|
|
652
652
|
Output:
|
653
653
|
```py
|
654
|
-
<generator object get_class_method at
|
655
|
-
[<function ExampleGetClassMethod.a at
|
654
|
+
<generator object get_class_method at 0x6f382fca90>
|
655
|
+
[<function ExampleGetClassMethod.a at 0x6f383167a0>, <function ExampleGetClassMethod.b at 0x6f38316840>, <function ExampleGetClassMethod.c at 0x6f38314720>, <function ExampleGetClassMethod.d at 0x6f38316a20>]
|
656
656
|
```
|
657
657
|
|
658
658
|
## get_filesize
|
@@ -1072,7 +1072,7 @@ Output:
|
|
1072
1072
|
|
1073
1073
|
## ienumerate
|
1074
1074
|
|
1075
|
-
`ienumerate(iterator, start=0, key=<function int_to_int at
|
1075
|
+
`ienumerate(iterator, start=0, key=<function int_to_int at 0x6f398b6c00>)`
|
1076
1076
|
|
1077
1077
|
meningkatkan fungsi enumerate() pada python
|
1078
1078
|
untuk key menggunakan huruf dan basis angka lainnya.
|
@@ -1085,7 +1085,7 @@ iprint(ienumerate(it, key=int_to_chr))
|
|
1085
1085
|
|
1086
1086
|
Output:
|
1087
1087
|
```py
|
1088
|
-
<generator object ienumerate at
|
1088
|
+
<generator object ienumerate at 0x6f382fcb80>
|
1089
1089
|
[('a', 'ini'), ('b', 'contoh'), ('c', 'enumerator')]
|
1090
1090
|
```
|
1091
1091
|
|
@@ -1152,7 +1152,7 @@ print(ijoin(10, ' '))
|
|
1152
1152
|
|
1153
1153
|
Output:
|
1154
1154
|
```py
|
1155
|
-
|
1155
|
+
weq, asd, qweqw, dfs
|
1156
1156
|
,ini,path,seperti,url,
|
1157
1157
|
ini,path,seperti,url
|
1158
1158
|
<li>satu</li>
|
@@ -1274,7 +1274,7 @@ Output:
|
|
1274
1274
|
['Ounce\xa0(oz)', '2.431,10 (-2,66)', '15.952,00', '38.780.907'],
|
1275
1275
|
['Gram\xa0(gr)', '78,16', '15.952,00', '1.246.835 (-1.364)'],
|
1276
1276
|
['Kilogram\xa0(kg)', '78.161,68', '15.952,00', '1.246.835.120'],
|
1277
|
-
['Update harga emas :10 Agustus 2024, pukul
|
1277
|
+
['Update harga emas :10 Agustus 2024, pukul 23:21Update kurs :10 Agustus '
|
1278
1278
|
'2024, pukul 13:10']],
|
1279
1279
|
[['Gram', 'UBS Gold 99.99%'],
|
1280
1280
|
['Jual', 'Beli'],
|
@@ -1341,7 +1341,7 @@ Output:
|
|
1341
1341
|
['USD', '78,16↓', '-0,09-0,12%'],
|
1342
1342
|
['KURS', '15.949,90↑', '+7,15+0,04%'],
|
1343
1343
|
['IDR', '1.246.670,98↓', '-804,58-0,06%'],
|
1344
|
-
['Sabtu, 10 Agustus 2024
|
1344
|
+
['Sabtu, 10 Agustus 2024 23:21']],
|
1345
1345
|
[[''],
|
1346
1346
|
['Emas 1 Gram (IDR)Emas 1 Gram (USD)Kurs USD-IDR',
|
1347
1347
|
'Hari Ini',
|
@@ -1494,7 +1494,7 @@ Output:
|
|
1494
1494
|
```py
|
1495
1495
|
8
|
1496
1496
|
['mana', 'aja']
|
1497
|
-
[<Element a at
|
1497
|
+
[<Element a at 0x6f3831db80>, <Element a at 0x6f383716d0>, <Element a at 0x6f38371770>, <Element a at 0x6f383717c0>, <Element a at 0x6f38371810>, <Element a at 0x6f38371860>, <Element a at 0x6f383718b0>, <Element a at 0x6f38371900>, <Element a at 0x6f38371950>, <Element a at 0x6f383719a0>, <Element a at 0x6f383719f0>, <Element a at 0x6f38371a40>, <Element a at 0x6f38371a90>, <Element a at 0x6f38371ae0>, <Element a at 0x6f38371b30>, <Element a at 0x6f38371b80>, <Element a at 0x6f38371bd0>, <Element a at 0x6f38371c20>, <Element a at 0x6f38371c70>, <Element a at 0x6f38371cc0>]
|
1498
1498
|
False
|
1499
1499
|
```
|
1500
1500
|
|
@@ -1556,7 +1556,7 @@ print(list(iscandir("./", recursive=False, scan_file=False)))
|
|
1556
1556
|
|
1557
1557
|
Output:
|
1558
1558
|
```py
|
1559
|
-
<generator object iscandir at
|
1559
|
+
<generator object iscandir at 0x6f3862f140>
|
1560
1560
|
[PosixPath('.git'), PosixPath('.vscode'), PosixPath('pypipr'), PosixPath('__pycache__'), PosixPath('dist')]
|
1561
1561
|
```
|
1562
1562
|
|
@@ -1589,90 +1589,90 @@ iprint(ivars(__import__('pypipr')))
|
|
1589
1589
|
|
1590
1590
|
Output:
|
1591
1591
|
```py
|
1592
|
-
{'function': {'avg': <function avg at
|
1593
|
-
'get_filemtime': <function get_filemtime at
|
1594
|
-
'print_colorize': <function print_colorize at
|
1595
|
-
'print_log': <function print_log at
|
1596
|
-
'console_run': <function console_run at
|
1597
|
-
'auto_reload': <function auto_reload at
|
1598
|
-
'basename': <function basename at
|
1599
|
-
'chr_to_int': <function chr_to_int at
|
1600
|
-
'int_to_chr': <function int_to_chr at
|
1601
|
-
'irange': <function irange at
|
1602
|
-
'batchmaker': <function batchmaker at
|
1603
|
-
'calculate': <function calculate at
|
1604
|
-
'batch_calculate': <function batch_calculate at
|
1605
|
-
'bin_to_int': <function bin_to_int at
|
1606
|
-
'is_empty': <function is_empty at
|
1607
|
-
'exit_if_empty': <function exit_if_empty at
|
1608
|
-
'input_char': <function input_char at
|
1609
|
-
'choices': <function choices at
|
1610
|
-
'chunk_array': <function chunk_array at
|
1611
|
-
'create_folder': <function create_folder at
|
1612
|
-
'datetime_from_string': <function datetime_from_string at
|
1613
|
-
'datetime_now': <function datetime_now at
|
1614
|
-
'dict_first': <function dict_first at
|
1615
|
-
'dirname': <function dirname at
|
1616
|
-
'django_runserver': <function django_runserver at
|
1617
|
-
'is_iterable': <function is_iterable at
|
1618
|
-
'to_str': <function to_str at
|
1619
|
-
'filter_empty': <function filter_empty at
|
1620
|
-
'get_by_index': <function get_by_index at
|
1621
|
-
'get_class_method': <function get_class_method at
|
1622
|
-
'get_filesize': <function get_filesize at
|
1623
|
-
'github_init': <function github_init at
|
1624
|
-
'github_pull': <function github_pull at
|
1625
|
-
'github_push': <function github_push at
|
1626
|
-
'github_user': <function github_user at
|
1627
|
-
'hex_to_int': <function hex_to_int at
|
1628
|
-
'iargv': <function iargv at
|
1629
|
-
'idir': <function idir at
|
1630
|
-
'idumps_html': <function idumps_html at
|
1631
|
-
'idumps': <function idumps at
|
1632
|
-
'int_to_int': <function int_to_int at
|
1633
|
-
'ienumerate': <function ienumerate at
|
1634
|
-
'ienv': <function ienv at
|
1635
|
-
'iexec': <function iexec at
|
1636
|
-
'ijoin': <function ijoin at
|
1637
|
-
'iloads_html': <function iloads_html at
|
1638
|
-
'iloads': <function iloads at
|
1639
|
-
'int_to_bin': <function int_to_bin at
|
1640
|
-
'int_to_hex': <function int_to_hex at
|
1641
|
-
'int_to_oct': <function int_to_oct at
|
1642
|
-
'is_valid_url': <function is_valid_url at
|
1643
|
-
'iopen': <function iopen at
|
1644
|
-
'iprint': <function iprint at
|
1645
|
-
'ireplace': <function ireplace at
|
1646
|
-
'iscandir': <function iscandir at
|
1647
|
-
'isplit': <function isplit at
|
1648
|
-
'ivars': <function ivars at
|
1649
|
-
'log': <function log at
|
1650
|
-
'oct_to_int': <function oct_to_int at
|
1651
|
-
'password_generator': <function password_generator 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_update_version': <function poetry_update_version at
|
1656
|
-
'print_dir': <function print_dir at
|
1657
|
-
'print_to_last_line': <function print_to_last_line at
|
1658
|
-
'random_bool': <function random_bool at
|
1659
|
-
'repath': <function repath at
|
1660
|
-
'restart': <function restart at
|
1661
|
-
'set_timeout': <function set_timeout at
|
1662
|
-
'sets_ordered': <function sets_ordered at
|
1663
|
-
'sqlite_delete_table': <function sqlite_delete_table at
|
1664
|
-
'sqlite_get_all_tables': <function sqlite_get_all_tables at
|
1665
|
-
'sqlite_get_data_table': <function sqlite_get_data_table at
|
1666
|
-
'str_cmp': <function str_cmp at
|
1667
|
-
'text_colorize': <function text_colorize at
|
1668
|
-
'traceback_filename': <function traceback_filename at
|
1669
|
-
'traceback_framename': <function traceback_framename at
|
1592
|
+
{'function': {'avg': <function avg at 0x6f3e9e0040>,
|
1593
|
+
'get_filemtime': <function get_filemtime at 0x6f397f9d00>,
|
1594
|
+
'print_colorize': <function print_colorize at 0x6f397f9ee0>,
|
1595
|
+
'print_log': <function print_log at 0x6f397f9da0>,
|
1596
|
+
'console_run': <function console_run at 0x6f397f9f80>,
|
1597
|
+
'auto_reload': <function auto_reload at 0x6f397f9620>,
|
1598
|
+
'basename': <function basename at 0x6f397f9e40>,
|
1599
|
+
'chr_to_int': <function chr_to_int at 0x6f397fa520>,
|
1600
|
+
'int_to_chr': <function int_to_chr at 0x6f397fa5c0>,
|
1601
|
+
'irange': <function irange at 0x6f397fa840>,
|
1602
|
+
'batchmaker': <function batchmaker at 0x6f397fa200>,
|
1603
|
+
'calculate': <function calculate at 0x6f397fa340>,
|
1604
|
+
'batch_calculate': <function batch_calculate at 0x6f397fa0c0>,
|
1605
|
+
'bin_to_int': <function bin_to_int at 0x6f397fa160>,
|
1606
|
+
'is_empty': <function is_empty at 0x6f397fafc0>,
|
1607
|
+
'exit_if_empty': <function exit_if_empty at 0x6f397fae80>,
|
1608
|
+
'input_char': <function input_char at 0x6f397fa480>,
|
1609
|
+
'choices': <function choices at 0x6f397fb240>,
|
1610
|
+
'chunk_array': <function chunk_array at 0x6f397fb2e0>,
|
1611
|
+
'create_folder': <function create_folder at 0x6f397fb420>,
|
1612
|
+
'datetime_from_string': <function datetime_from_string at 0x6f397fb4c0>,
|
1613
|
+
'datetime_now': <function datetime_now at 0x6f397fb560>,
|
1614
|
+
'dict_first': <function dict_first at 0x6f39821760>,
|
1615
|
+
'dirname': <function dirname at 0x6f39821800>,
|
1616
|
+
'django_runserver': <function django_runserver at 0x6f39821b20>,
|
1617
|
+
'is_iterable': <function is_iterable at 0x6f39821ee0>,
|
1618
|
+
'to_str': <function to_str at 0x6f39821f80>,
|
1619
|
+
'filter_empty': <function filter_empty at 0x6f39821da0>,
|
1620
|
+
'get_by_index': <function get_by_index at 0x6f39821e40>,
|
1621
|
+
'get_class_method': <function get_class_method at 0x6f39822020>,
|
1622
|
+
'get_filesize': <function get_filesize at 0x6f39822160>,
|
1623
|
+
'github_init': <function github_init at 0x6f39822200>,
|
1624
|
+
'github_pull': <function github_pull at 0x6f398222a0>,
|
1625
|
+
'github_push': <function github_push at 0x6f398223e0>,
|
1626
|
+
'github_user': <function github_user at 0x6f39822480>,
|
1627
|
+
'hex_to_int': <function hex_to_int at 0x6f39822520>,
|
1628
|
+
'iargv': <function iargv at 0x6f398225c0>,
|
1629
|
+
'idir': <function idir at 0x6f39822660>,
|
1630
|
+
'idumps_html': <function idumps_html at 0x6f39822d40>,
|
1631
|
+
'idumps': <function idumps at 0x6f398227a0>,
|
1632
|
+
'int_to_int': <function int_to_int at 0x6f398b6c00>,
|
1633
|
+
'ienumerate': <function ienumerate at 0x6f39822ca0>,
|
1634
|
+
'ienv': <function ienv at 0x6f398a1120>,
|
1635
|
+
'iexec': <function iexec at 0x6f398b6ca0>,
|
1636
|
+
'ijoin': <function ijoin at 0x6f398b6de0>,
|
1637
|
+
'iloads_html': <function iloads_html at 0x6f398b6fc0>,
|
1638
|
+
'iloads': <function iloads at 0x6f3f3e2020>,
|
1639
|
+
'int_to_bin': <function int_to_bin at 0x6f398b6d40>,
|
1640
|
+
'int_to_hex': <function int_to_hex at 0x6f398b6f20>,
|
1641
|
+
'int_to_oct': <function int_to_oct at 0x6f398b7060>,
|
1642
|
+
'is_valid_url': <function is_valid_url at 0x6f396a2de0>,
|
1643
|
+
'iopen': <function iopen at 0x6f398b7240>,
|
1644
|
+
'iprint': <function iprint at 0x6f396a28e0>,
|
1645
|
+
'ireplace': <function ireplace at 0x6f396a2a20>,
|
1646
|
+
'iscandir': <function iscandir at 0x6f38b83ba0>,
|
1647
|
+
'isplit': <function isplit at 0x6f38b83c40>,
|
1648
|
+
'ivars': <function ivars at 0x6f38b83ce0>,
|
1649
|
+
'log': <function log at 0x6f38b83d80>,
|
1650
|
+
'oct_to_int': <function oct_to_int at 0x6f38b83e20>,
|
1651
|
+
'password_generator': <function password_generator at 0x6f38b83ec0>,
|
1652
|
+
'pip_freeze_without_version': <function pip_freeze_without_version at 0x6f38b84040>,
|
1653
|
+
'pip_update_pypipr': <function pip_update_pypipr at 0x6f38b840e0>,
|
1654
|
+
'poetry_publish': <function poetry_publish at 0x6f38b84180>,
|
1655
|
+
'poetry_update_version': <function poetry_update_version at 0x6f38b842c0>,
|
1656
|
+
'print_dir': <function print_dir at 0x6f38b844a0>,
|
1657
|
+
'print_to_last_line': <function print_to_last_line at 0x6f38b84540>,
|
1658
|
+
'random_bool': <function random_bool at 0x6f38b845e0>,
|
1659
|
+
'repath': <function repath at 0x6f38b84720>,
|
1660
|
+
'restart': <function restart at 0x6f38b847c0>,
|
1661
|
+
'set_timeout': <function set_timeout at 0x6f38b84860>,
|
1662
|
+
'sets_ordered': <function sets_ordered at 0x6f38b84900>,
|
1663
|
+
'sqlite_delete_table': <function sqlite_delete_table at 0x6f38b849a0>,
|
1664
|
+
'sqlite_get_all_tables': <function sqlite_get_all_tables at 0x6f38b84b80>,
|
1665
|
+
'sqlite_get_data_table': <function sqlite_get_data_table at 0x6f38b85300>,
|
1666
|
+
'str_cmp': <function str_cmp at 0x6f38b853a0>,
|
1667
|
+
'text_colorize': <function text_colorize at 0x6f38b85440>,
|
1668
|
+
'traceback_filename': <function traceback_filename at 0x6f38b854e0>,
|
1669
|
+
'traceback_framename': <function traceback_framename at 0x6f38b85580>},
|
1670
1670
|
'class': {'ComparePerformance': <class 'pypipr.ComparePerformance.ComparePerformance'>,
|
1671
1671
|
'PintUregQuantity': <class 'pint.Quantity'>,
|
1672
1672
|
'RunParallel': <class 'pypipr.RunParallel.RunParallel'>,
|
1673
1673
|
'TextCase': <class 'pypipr.TextCase.TextCase'>},
|
1674
1674
|
'variable': {'LINUX': True,
|
1675
|
-
'PintUreg': <pint.registry.UnitRegistry object at
|
1675
|
+
'PintUreg': <pint.registry.UnitRegistry object at 0x6f3e9ef4d0>,
|
1676
1676
|
'WINDOWS': False},
|
1677
1677
|
'module': {'asyncio': <module 'asyncio' from '/data/data/com.termux/files/usr/lib/python3.11/asyncio/__init__.py'>,
|
1678
1678
|
'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'>,
|
@@ -1763,7 +1763,7 @@ print(password_generator())
|
|
1763
1763
|
|
1764
1764
|
Output:
|
1765
1765
|
```py
|
1766
|
-
|
1766
|
+
$yz0M`.Z
|
1767
1767
|
```
|
1768
1768
|
|
1769
1769
|
## pip_freeze_without_version
|
@@ -1825,7 +1825,7 @@ Output:
|
|
1825
1825
|
__enter__ : https:/www.google.com
|
1826
1826
|
__fspath__ : https:/www.google.com
|
1827
1827
|
__getstate__ : (None, {'_drv': '', '_root': '', '_parts': ['https:', 'www.google.com'], '_str': 'https:/www.google.com'})
|
1828
|
-
__hash__ :
|
1828
|
+
__hash__ : 3036266806374847663
|
1829
1829
|
__init__ : None
|
1830
1830
|
__init_subclass__ : None
|
1831
1831
|
__module__ : pathlib
|
@@ -1838,8 +1838,8 @@ Output:
|
|
1838
1838
|
_cached_cparts : ['https:', 'www.google.com']
|
1839
1839
|
_cparts : ['https:', 'www.google.com']
|
1840
1840
|
_drv :
|
1841
|
-
_flavour : <pathlib._PosixFlavour object at
|
1842
|
-
_hash :
|
1841
|
+
_flavour : <pathlib._PosixFlavour object at 0x6f3e815790>
|
1842
|
+
_hash : 3036266806374847663
|
1843
1843
|
_parts : ['https:', 'www.google.com']
|
1844
1844
|
_root :
|
1845
1845
|
_str : https:/www.google.com
|
@@ -1861,7 +1861,7 @@ Output:
|
|
1861
1861
|
is_reserved : False
|
1862
1862
|
is_socket : False
|
1863
1863
|
is_symlink : False
|
1864
|
-
iterdir : <generator object Path.iterdir at
|
1864
|
+
iterdir : <generator object Path.iterdir at 0x6f3831a5e0>
|
1865
1865
|
joinpath : https:/www.google.com
|
1866
1866
|
name : www.google.com
|
1867
1867
|
parent : https:
|
@@ -1912,7 +1912,7 @@ print(random_bool())
|
|
1912
1912
|
|
1913
1913
|
Output:
|
1914
1914
|
```py
|
1915
|
-
|
1915
|
+
True
|
1916
1916
|
```
|
1917
1917
|
|
1918
1918
|
## repath
|
@@ -1950,7 +1950,7 @@ x.cancel()
|
|
1950
1950
|
|
1951
1951
|
Output:
|
1952
1952
|
```py
|
1953
|
-
<Timer(Thread-2, started
|
1953
|
+
<Timer(Thread-2, started 477661547760)>
|
1954
1954
|
menghentikan timeout 7
|
1955
1955
|
```
|
1956
1956
|
|
@@ -1968,7 +1968,7 @@ print(list(sets_ordered(array)))
|
|
1968
1968
|
|
1969
1969
|
Output:
|
1970
1970
|
```py
|
1971
|
-
<generator object sets_ordered at
|
1971
|
+
<generator object sets_ordered at 0x6f3833cd40>
|
1972
1972
|
[2, 3, 12, 42, 1, 43, 41, 4, 24, 32]
|
1973
1973
|
```
|
1974
1974
|
|
@@ -2082,15 +2082,15 @@ print(ExampleComparePerformance().compare_performance())
|
|
2082
2082
|
|
2083
2083
|
Output:
|
2084
2084
|
```py
|
2085
|
-
{'a': <generator object ExampleComparePerformance.a.<locals>.<genexpr> at
|
2085
|
+
{'a': <generator object ExampleComparePerformance.a.<locals>.<genexpr> at 0x6f3833c930>,
|
2086
2086
|
'b': (0, 1, 2, 3, 4, 5, 6, 7, 8, 9),
|
2087
2087
|
'c': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
|
2088
2088
|
'd': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]}
|
2089
|
-
{'a':
|
2090
|
-
{'a':
|
2091
|
-
{'a':
|
2092
|
-
{'a':
|
2093
|
-
{'a': 113, 'b':
|
2089
|
+
{'a': 131, 'b': 173, 'c': 100, 'd': 237}
|
2090
|
+
{'a': 125, 'b': 129, 'c': 100, 'd': 198}
|
2091
|
+
{'a': 120, 'b': 125, 'c': 100, 'd': 149}
|
2092
|
+
{'a': 103, 'b': 123, 'c': 100, 'd': 146}
|
2093
|
+
{'a': 113, 'b': 133, 'c': 100, 'd': 143}
|
2094
2094
|
```
|
2095
2095
|
|
2096
2096
|
## PintUregQuantity
|
@@ -22,4 +22,7 @@ def console_run(info, command=None, print_info=True, capture_output=False):
|
|
22
22
|
if capture_output:
|
23
23
|
param |= dict(capture_output=True, text=True)
|
24
24
|
|
25
|
-
|
25
|
+
if isinstance(command, str):
|
26
|
+
command = [command]
|
27
|
+
|
28
|
+
return subprocess.run(*command, **param)
|
@@ -15,29 +15,29 @@ def repath(
|
|
15
15
|
):
|
16
16
|
# Handle the directory (folder) part
|
17
17
|
parent = path.parent
|
18
|
-
if folder_name:
|
18
|
+
if folder_name is not None:
|
19
19
|
parent = Path(folder_name)
|
20
|
-
if prepand_folder:
|
20
|
+
if prepand_folder is not None:
|
21
21
|
parent = Path(prepand_folder) / parent
|
22
|
-
if append_folder:
|
22
|
+
if append_folder is not None:
|
23
23
|
parent = parent / append_folder
|
24
24
|
|
25
25
|
# Handle the file name part
|
26
26
|
name = path.stem # Gets the file name without the extension
|
27
|
-
if file_name:
|
27
|
+
if file_name is not None:
|
28
28
|
name = file_name
|
29
|
-
if prepand_filename:
|
29
|
+
if prepand_filename is not None:
|
30
30
|
name = prepand_filename + name
|
31
|
-
if append_filename:
|
31
|
+
if append_filename is not None:
|
32
32
|
name = name + append_filename
|
33
33
|
|
34
34
|
# Handle the extension part
|
35
35
|
ext = path.suffix # Gets the file extension (including the dot)
|
36
|
-
if extension:
|
36
|
+
if extension is not None:
|
37
37
|
ext = extension
|
38
|
-
if prepand_extension:
|
38
|
+
if prepand_extension is not None:
|
39
39
|
ext = prepand_extension + ext
|
40
|
-
if append_extension:
|
40
|
+
if append_extension is not None:
|
41
41
|
ext = ext + append_extension
|
42
42
|
|
43
43
|
# Combine everything into a new path
|
@@ -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 0x6f3862ec40>
|
229
|
+
<generator object int_range at 0x6f3862ec40>
|
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 0x6f38596d40>
|
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 0x6f382fc7c0>
|
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 0x6f3862ed40>
|
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-08-10
|
473
|
-
2024-08-10
|
474
|
-
2024-08-09
|
472
|
+
2024-08-10 23:21:16.894790+07:00
|
473
|
+
2024-08-10 16:21:16.896377+00:00
|
474
|
+
2024-08-10 09:21:16.899012-07:00
|
475
475
|
```
|
476
476
|
|
477
477
|
## dict_first
|
@@ -581,7 +581,7 @@ iprint(filter_empty(var))
|
|
581
581
|
|
582
582
|
Output:
|
583
583
|
```py
|
584
|
-
<generator object filter_empty at
|
584
|
+
<generator object filter_empty at 0x6f382fc4f0>
|
585
585
|
[1, '0', True, {}, ['eee']]
|
586
586
|
```
|
587
587
|
|
@@ -628,8 +628,8 @@ print(list(get_class_method(ExampleGetClassMethod)))
|
|
628
628
|
|
629
629
|
Output:
|
630
630
|
```py
|
631
|
-
<generator object get_class_method at
|
632
|
-
[<function ExampleGetClassMethod.a at
|
631
|
+
<generator object get_class_method at 0x6f382fca90>
|
632
|
+
[<function ExampleGetClassMethod.a at 0x6f383167a0>, <function ExampleGetClassMethod.b at 0x6f38316840>, <function ExampleGetClassMethod.c at 0x6f38314720>, <function ExampleGetClassMethod.d at 0x6f38316a20>]
|
633
633
|
```
|
634
634
|
|
635
635
|
## get_filesize
|
@@ -1049,7 +1049,7 @@ Output:
|
|
1049
1049
|
|
1050
1050
|
## ienumerate
|
1051
1051
|
|
1052
|
-
`ienumerate(iterator, start=0, key=<function int_to_int at
|
1052
|
+
`ienumerate(iterator, start=0, key=<function int_to_int at 0x6f398b6c00>)`
|
1053
1053
|
|
1054
1054
|
meningkatkan fungsi enumerate() pada python
|
1055
1055
|
untuk key menggunakan huruf dan basis angka lainnya.
|
@@ -1062,7 +1062,7 @@ iprint(ienumerate(it, key=int_to_chr))
|
|
1062
1062
|
|
1063
1063
|
Output:
|
1064
1064
|
```py
|
1065
|
-
<generator object ienumerate at
|
1065
|
+
<generator object ienumerate at 0x6f382fcb80>
|
1066
1066
|
[('a', 'ini'), ('b', 'contoh'), ('c', 'enumerator')]
|
1067
1067
|
```
|
1068
1068
|
|
@@ -1129,7 +1129,7 @@ print(ijoin(10, ' '))
|
|
1129
1129
|
|
1130
1130
|
Output:
|
1131
1131
|
```py
|
1132
|
-
|
1132
|
+
weq, asd, qweqw, dfs
|
1133
1133
|
,ini,path,seperti,url,
|
1134
1134
|
ini,path,seperti,url
|
1135
1135
|
<li>satu</li>
|
@@ -1251,7 +1251,7 @@ Output:
|
|
1251
1251
|
['Ounce\xa0(oz)', '2.431,10 (-2,66)', '15.952,00', '38.780.907'],
|
1252
1252
|
['Gram\xa0(gr)', '78,16', '15.952,00', '1.246.835 (-1.364)'],
|
1253
1253
|
['Kilogram\xa0(kg)', '78.161,68', '15.952,00', '1.246.835.120'],
|
1254
|
-
['Update harga emas :10 Agustus 2024, pukul
|
1254
|
+
['Update harga emas :10 Agustus 2024, pukul 23:21Update kurs :10 Agustus '
|
1255
1255
|
'2024, pukul 13:10']],
|
1256
1256
|
[['Gram', 'UBS Gold 99.99%'],
|
1257
1257
|
['Jual', 'Beli'],
|
@@ -1318,7 +1318,7 @@ Output:
|
|
1318
1318
|
['USD', '78,16↓', '-0,09-0,12%'],
|
1319
1319
|
['KURS', '15.949,90↑', '+7,15+0,04%'],
|
1320
1320
|
['IDR', '1.246.670,98↓', '-804,58-0,06%'],
|
1321
|
-
['Sabtu, 10 Agustus 2024
|
1321
|
+
['Sabtu, 10 Agustus 2024 23:21']],
|
1322
1322
|
[[''],
|
1323
1323
|
['Emas 1 Gram (IDR)Emas 1 Gram (USD)Kurs USD-IDR',
|
1324
1324
|
'Hari Ini',
|
@@ -1471,7 +1471,7 @@ Output:
|
|
1471
1471
|
```py
|
1472
1472
|
8
|
1473
1473
|
['mana', 'aja']
|
1474
|
-
[<Element a at
|
1474
|
+
[<Element a at 0x6f3831db80>, <Element a at 0x6f383716d0>, <Element a at 0x6f38371770>, <Element a at 0x6f383717c0>, <Element a at 0x6f38371810>, <Element a at 0x6f38371860>, <Element a at 0x6f383718b0>, <Element a at 0x6f38371900>, <Element a at 0x6f38371950>, <Element a at 0x6f383719a0>, <Element a at 0x6f383719f0>, <Element a at 0x6f38371a40>, <Element a at 0x6f38371a90>, <Element a at 0x6f38371ae0>, <Element a at 0x6f38371b30>, <Element a at 0x6f38371b80>, <Element a at 0x6f38371bd0>, <Element a at 0x6f38371c20>, <Element a at 0x6f38371c70>, <Element a at 0x6f38371cc0>]
|
1475
1475
|
False
|
1476
1476
|
```
|
1477
1477
|
|
@@ -1533,7 +1533,7 @@ print(list(iscandir("./", recursive=False, scan_file=False)))
|
|
1533
1533
|
|
1534
1534
|
Output:
|
1535
1535
|
```py
|
1536
|
-
<generator object iscandir at
|
1536
|
+
<generator object iscandir at 0x6f3862f140>
|
1537
1537
|
[PosixPath('.git'), PosixPath('.vscode'), PosixPath('pypipr'), PosixPath('__pycache__'), PosixPath('dist')]
|
1538
1538
|
```
|
1539
1539
|
|
@@ -1566,90 +1566,90 @@ iprint(ivars(__import__('pypipr')))
|
|
1566
1566
|
|
1567
1567
|
Output:
|
1568
1568
|
```py
|
1569
|
-
{'function': {'avg': <function avg at
|
1570
|
-
'get_filemtime': <function get_filemtime at
|
1571
|
-
'print_colorize': <function print_colorize at
|
1572
|
-
'print_log': <function print_log at
|
1573
|
-
'console_run': <function console_run at
|
1574
|
-
'auto_reload': <function auto_reload at
|
1575
|
-
'basename': <function basename at
|
1576
|
-
'chr_to_int': <function chr_to_int at
|
1577
|
-
'int_to_chr': <function int_to_chr at
|
1578
|
-
'irange': <function irange at
|
1579
|
-
'batchmaker': <function batchmaker at
|
1580
|
-
'calculate': <function calculate at
|
1581
|
-
'batch_calculate': <function batch_calculate at
|
1582
|
-
'bin_to_int': <function bin_to_int at
|
1583
|
-
'is_empty': <function is_empty at
|
1584
|
-
'exit_if_empty': <function exit_if_empty at
|
1585
|
-
'input_char': <function input_char at
|
1586
|
-
'choices': <function choices at
|
1587
|
-
'chunk_array': <function chunk_array at
|
1588
|
-
'create_folder': <function create_folder at
|
1589
|
-
'datetime_from_string': <function datetime_from_string at
|
1590
|
-
'datetime_now': <function datetime_now at
|
1591
|
-
'dict_first': <function dict_first at
|
1592
|
-
'dirname': <function dirname at
|
1593
|
-
'django_runserver': <function django_runserver at
|
1594
|
-
'is_iterable': <function is_iterable at
|
1595
|
-
'to_str': <function to_str at
|
1596
|
-
'filter_empty': <function filter_empty at
|
1597
|
-
'get_by_index': <function get_by_index at
|
1598
|
-
'get_class_method': <function get_class_method at
|
1599
|
-
'get_filesize': <function get_filesize at
|
1600
|
-
'github_init': <function github_init at
|
1601
|
-
'github_pull': <function github_pull at
|
1602
|
-
'github_push': <function github_push at
|
1603
|
-
'github_user': <function github_user at
|
1604
|
-
'hex_to_int': <function hex_to_int at
|
1605
|
-
'iargv': <function iargv at
|
1606
|
-
'idir': <function idir at
|
1607
|
-
'idumps_html': <function idumps_html at
|
1608
|
-
'idumps': <function idumps at
|
1609
|
-
'int_to_int': <function int_to_int at
|
1610
|
-
'ienumerate': <function ienumerate at
|
1611
|
-
'ienv': <function ienv at
|
1612
|
-
'iexec': <function iexec at
|
1613
|
-
'ijoin': <function ijoin at
|
1614
|
-
'iloads_html': <function iloads_html at
|
1615
|
-
'iloads': <function iloads at
|
1616
|
-
'int_to_bin': <function int_to_bin at
|
1617
|
-
'int_to_hex': <function int_to_hex at
|
1618
|
-
'int_to_oct': <function int_to_oct at
|
1619
|
-
'is_valid_url': <function is_valid_url at
|
1620
|
-
'iopen': <function iopen at
|
1621
|
-
'iprint': <function iprint at
|
1622
|
-
'ireplace': <function ireplace at
|
1623
|
-
'iscandir': <function iscandir at
|
1624
|
-
'isplit': <function isplit at
|
1625
|
-
'ivars': <function ivars at
|
1626
|
-
'log': <function log at
|
1627
|
-
'oct_to_int': <function oct_to_int at
|
1628
|
-
'password_generator': <function password_generator at
|
1629
|
-
'pip_freeze_without_version': <function pip_freeze_without_version at
|
1630
|
-
'pip_update_pypipr': <function pip_update_pypipr at
|
1631
|
-
'poetry_publish': <function poetry_publish at
|
1632
|
-
'poetry_update_version': <function poetry_update_version at
|
1633
|
-
'print_dir': <function print_dir at
|
1634
|
-
'print_to_last_line': <function print_to_last_line at
|
1635
|
-
'random_bool': <function random_bool at
|
1636
|
-
'repath': <function repath at
|
1637
|
-
'restart': <function restart at
|
1638
|
-
'set_timeout': <function set_timeout at
|
1639
|
-
'sets_ordered': <function sets_ordered at
|
1640
|
-
'sqlite_delete_table': <function sqlite_delete_table at
|
1641
|
-
'sqlite_get_all_tables': <function sqlite_get_all_tables at
|
1642
|
-
'sqlite_get_data_table': <function sqlite_get_data_table at
|
1643
|
-
'str_cmp': <function str_cmp at
|
1644
|
-
'text_colorize': <function text_colorize at
|
1645
|
-
'traceback_filename': <function traceback_filename at
|
1646
|
-
'traceback_framename': <function traceback_framename at
|
1569
|
+
{'function': {'avg': <function avg at 0x6f3e9e0040>,
|
1570
|
+
'get_filemtime': <function get_filemtime at 0x6f397f9d00>,
|
1571
|
+
'print_colorize': <function print_colorize at 0x6f397f9ee0>,
|
1572
|
+
'print_log': <function print_log at 0x6f397f9da0>,
|
1573
|
+
'console_run': <function console_run at 0x6f397f9f80>,
|
1574
|
+
'auto_reload': <function auto_reload at 0x6f397f9620>,
|
1575
|
+
'basename': <function basename at 0x6f397f9e40>,
|
1576
|
+
'chr_to_int': <function chr_to_int at 0x6f397fa520>,
|
1577
|
+
'int_to_chr': <function int_to_chr at 0x6f397fa5c0>,
|
1578
|
+
'irange': <function irange at 0x6f397fa840>,
|
1579
|
+
'batchmaker': <function batchmaker at 0x6f397fa200>,
|
1580
|
+
'calculate': <function calculate at 0x6f397fa340>,
|
1581
|
+
'batch_calculate': <function batch_calculate at 0x6f397fa0c0>,
|
1582
|
+
'bin_to_int': <function bin_to_int at 0x6f397fa160>,
|
1583
|
+
'is_empty': <function is_empty at 0x6f397fafc0>,
|
1584
|
+
'exit_if_empty': <function exit_if_empty at 0x6f397fae80>,
|
1585
|
+
'input_char': <function input_char at 0x6f397fa480>,
|
1586
|
+
'choices': <function choices at 0x6f397fb240>,
|
1587
|
+
'chunk_array': <function chunk_array at 0x6f397fb2e0>,
|
1588
|
+
'create_folder': <function create_folder at 0x6f397fb420>,
|
1589
|
+
'datetime_from_string': <function datetime_from_string at 0x6f397fb4c0>,
|
1590
|
+
'datetime_now': <function datetime_now at 0x6f397fb560>,
|
1591
|
+
'dict_first': <function dict_first at 0x6f39821760>,
|
1592
|
+
'dirname': <function dirname at 0x6f39821800>,
|
1593
|
+
'django_runserver': <function django_runserver at 0x6f39821b20>,
|
1594
|
+
'is_iterable': <function is_iterable at 0x6f39821ee0>,
|
1595
|
+
'to_str': <function to_str at 0x6f39821f80>,
|
1596
|
+
'filter_empty': <function filter_empty at 0x6f39821da0>,
|
1597
|
+
'get_by_index': <function get_by_index at 0x6f39821e40>,
|
1598
|
+
'get_class_method': <function get_class_method at 0x6f39822020>,
|
1599
|
+
'get_filesize': <function get_filesize at 0x6f39822160>,
|
1600
|
+
'github_init': <function github_init at 0x6f39822200>,
|
1601
|
+
'github_pull': <function github_pull at 0x6f398222a0>,
|
1602
|
+
'github_push': <function github_push at 0x6f398223e0>,
|
1603
|
+
'github_user': <function github_user at 0x6f39822480>,
|
1604
|
+
'hex_to_int': <function hex_to_int at 0x6f39822520>,
|
1605
|
+
'iargv': <function iargv at 0x6f398225c0>,
|
1606
|
+
'idir': <function idir at 0x6f39822660>,
|
1607
|
+
'idumps_html': <function idumps_html at 0x6f39822d40>,
|
1608
|
+
'idumps': <function idumps at 0x6f398227a0>,
|
1609
|
+
'int_to_int': <function int_to_int at 0x6f398b6c00>,
|
1610
|
+
'ienumerate': <function ienumerate at 0x6f39822ca0>,
|
1611
|
+
'ienv': <function ienv at 0x6f398a1120>,
|
1612
|
+
'iexec': <function iexec at 0x6f398b6ca0>,
|
1613
|
+
'ijoin': <function ijoin at 0x6f398b6de0>,
|
1614
|
+
'iloads_html': <function iloads_html at 0x6f398b6fc0>,
|
1615
|
+
'iloads': <function iloads at 0x6f3f3e2020>,
|
1616
|
+
'int_to_bin': <function int_to_bin at 0x6f398b6d40>,
|
1617
|
+
'int_to_hex': <function int_to_hex at 0x6f398b6f20>,
|
1618
|
+
'int_to_oct': <function int_to_oct at 0x6f398b7060>,
|
1619
|
+
'is_valid_url': <function is_valid_url at 0x6f396a2de0>,
|
1620
|
+
'iopen': <function iopen at 0x6f398b7240>,
|
1621
|
+
'iprint': <function iprint at 0x6f396a28e0>,
|
1622
|
+
'ireplace': <function ireplace at 0x6f396a2a20>,
|
1623
|
+
'iscandir': <function iscandir at 0x6f38b83ba0>,
|
1624
|
+
'isplit': <function isplit at 0x6f38b83c40>,
|
1625
|
+
'ivars': <function ivars at 0x6f38b83ce0>,
|
1626
|
+
'log': <function log at 0x6f38b83d80>,
|
1627
|
+
'oct_to_int': <function oct_to_int at 0x6f38b83e20>,
|
1628
|
+
'password_generator': <function password_generator at 0x6f38b83ec0>,
|
1629
|
+
'pip_freeze_without_version': <function pip_freeze_without_version at 0x6f38b84040>,
|
1630
|
+
'pip_update_pypipr': <function pip_update_pypipr at 0x6f38b840e0>,
|
1631
|
+
'poetry_publish': <function poetry_publish at 0x6f38b84180>,
|
1632
|
+
'poetry_update_version': <function poetry_update_version at 0x6f38b842c0>,
|
1633
|
+
'print_dir': <function print_dir at 0x6f38b844a0>,
|
1634
|
+
'print_to_last_line': <function print_to_last_line at 0x6f38b84540>,
|
1635
|
+
'random_bool': <function random_bool at 0x6f38b845e0>,
|
1636
|
+
'repath': <function repath at 0x6f38b84720>,
|
1637
|
+
'restart': <function restart at 0x6f38b847c0>,
|
1638
|
+
'set_timeout': <function set_timeout at 0x6f38b84860>,
|
1639
|
+
'sets_ordered': <function sets_ordered at 0x6f38b84900>,
|
1640
|
+
'sqlite_delete_table': <function sqlite_delete_table at 0x6f38b849a0>,
|
1641
|
+
'sqlite_get_all_tables': <function sqlite_get_all_tables at 0x6f38b84b80>,
|
1642
|
+
'sqlite_get_data_table': <function sqlite_get_data_table at 0x6f38b85300>,
|
1643
|
+
'str_cmp': <function str_cmp at 0x6f38b853a0>,
|
1644
|
+
'text_colorize': <function text_colorize at 0x6f38b85440>,
|
1645
|
+
'traceback_filename': <function traceback_filename at 0x6f38b854e0>,
|
1646
|
+
'traceback_framename': <function traceback_framename at 0x6f38b85580>},
|
1647
1647
|
'class': {'ComparePerformance': <class 'pypipr.ComparePerformance.ComparePerformance'>,
|
1648
1648
|
'PintUregQuantity': <class 'pint.Quantity'>,
|
1649
1649
|
'RunParallel': <class 'pypipr.RunParallel.RunParallel'>,
|
1650
1650
|
'TextCase': <class 'pypipr.TextCase.TextCase'>},
|
1651
1651
|
'variable': {'LINUX': True,
|
1652
|
-
'PintUreg': <pint.registry.UnitRegistry object at
|
1652
|
+
'PintUreg': <pint.registry.UnitRegistry object at 0x6f3e9ef4d0>,
|
1653
1653
|
'WINDOWS': False},
|
1654
1654
|
'module': {'asyncio': <module 'asyncio' from '/data/data/com.termux/files/usr/lib/python3.11/asyncio/__init__.py'>,
|
1655
1655
|
'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'>,
|
@@ -1740,7 +1740,7 @@ print(password_generator())
|
|
1740
1740
|
|
1741
1741
|
Output:
|
1742
1742
|
```py
|
1743
|
-
|
1743
|
+
$yz0M`.Z
|
1744
1744
|
```
|
1745
1745
|
|
1746
1746
|
## pip_freeze_without_version
|
@@ -1802,7 +1802,7 @@ Output:
|
|
1802
1802
|
__enter__ : https:/www.google.com
|
1803
1803
|
__fspath__ : https:/www.google.com
|
1804
1804
|
__getstate__ : (None, {'_drv': '', '_root': '', '_parts': ['https:', 'www.google.com'], '_str': 'https:/www.google.com'})
|
1805
|
-
__hash__ :
|
1805
|
+
__hash__ : 3036266806374847663
|
1806
1806
|
__init__ : None
|
1807
1807
|
__init_subclass__ : None
|
1808
1808
|
__module__ : pathlib
|
@@ -1815,8 +1815,8 @@ Output:
|
|
1815
1815
|
_cached_cparts : ['https:', 'www.google.com']
|
1816
1816
|
_cparts : ['https:', 'www.google.com']
|
1817
1817
|
_drv :
|
1818
|
-
_flavour : <pathlib._PosixFlavour object at
|
1819
|
-
_hash :
|
1818
|
+
_flavour : <pathlib._PosixFlavour object at 0x6f3e815790>
|
1819
|
+
_hash : 3036266806374847663
|
1820
1820
|
_parts : ['https:', 'www.google.com']
|
1821
1821
|
_root :
|
1822
1822
|
_str : https:/www.google.com
|
@@ -1838,7 +1838,7 @@ Output:
|
|
1838
1838
|
is_reserved : False
|
1839
1839
|
is_socket : False
|
1840
1840
|
is_symlink : False
|
1841
|
-
iterdir : <generator object Path.iterdir at
|
1841
|
+
iterdir : <generator object Path.iterdir at 0x6f3831a5e0>
|
1842
1842
|
joinpath : https:/www.google.com
|
1843
1843
|
name : www.google.com
|
1844
1844
|
parent : https:
|
@@ -1889,7 +1889,7 @@ print(random_bool())
|
|
1889
1889
|
|
1890
1890
|
Output:
|
1891
1891
|
```py
|
1892
|
-
|
1892
|
+
True
|
1893
1893
|
```
|
1894
1894
|
|
1895
1895
|
## repath
|
@@ -1927,7 +1927,7 @@ x.cancel()
|
|
1927
1927
|
|
1928
1928
|
Output:
|
1929
1929
|
```py
|
1930
|
-
<Timer(Thread-2, started
|
1930
|
+
<Timer(Thread-2, started 477661547760)>
|
1931
1931
|
menghentikan timeout 7
|
1932
1932
|
```
|
1933
1933
|
|
@@ -1945,7 +1945,7 @@ print(list(sets_ordered(array)))
|
|
1945
1945
|
|
1946
1946
|
Output:
|
1947
1947
|
```py
|
1948
|
-
<generator object sets_ordered at
|
1948
|
+
<generator object sets_ordered at 0x6f3833cd40>
|
1949
1949
|
[2, 3, 12, 42, 1, 43, 41, 4, 24, 32]
|
1950
1950
|
```
|
1951
1951
|
|
@@ -2059,15 +2059,15 @@ print(ExampleComparePerformance().compare_performance())
|
|
2059
2059
|
|
2060
2060
|
Output:
|
2061
2061
|
```py
|
2062
|
-
{'a': <generator object ExampleComparePerformance.a.<locals>.<genexpr> at
|
2062
|
+
{'a': <generator object ExampleComparePerformance.a.<locals>.<genexpr> at 0x6f3833c930>,
|
2063
2063
|
'b': (0, 1, 2, 3, 4, 5, 6, 7, 8, 9),
|
2064
2064
|
'c': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
|
2065
2065
|
'd': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]}
|
2066
|
-
{'a':
|
2067
|
-
{'a':
|
2068
|
-
{'a':
|
2069
|
-
{'a':
|
2070
|
-
{'a': 113, 'b':
|
2066
|
+
{'a': 131, 'b': 173, 'c': 100, 'd': 237}
|
2067
|
+
{'a': 125, 'b': 129, 'c': 100, 'd': 198}
|
2068
|
+
{'a': 120, 'b': 125, 'c': 100, 'd': 149}
|
2069
|
+
{'a': 103, 'b': 123, 'c': 100, 'd': 146}
|
2070
|
+
{'a': 113, 'b': 133, 'c': 100, 'd': 143}
|
2071
2071
|
```
|
2072
2072
|
|
2073
2073
|
## 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
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|