pypipr 1.0.155__tar.gz → 1.0.156__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.155 → pypipr-1.0.156}/PKG-INFO +113 -113
- {pypipr-1.0.155 → pypipr-1.0.156}/pypipr/choices.py +1 -1
- {pypipr-1.0.155 → pypipr-1.0.156}/pyproject.toml +1 -1
- {pypipr-1.0.155 → pypipr-1.0.156}/readme.md +112 -112
- {pypipr-1.0.155 → pypipr-1.0.156}/pypipr/ComparePerformance.py +0 -0
- {pypipr-1.0.155 → pypipr-1.0.156}/pypipr/LINUX.py +0 -0
- {pypipr-1.0.155 → pypipr-1.0.156}/pypipr/PintUreg.py +0 -0
- {pypipr-1.0.155 → pypipr-1.0.156}/pypipr/PintUregQuantity.py +0 -0
- {pypipr-1.0.155 → pypipr-1.0.156}/pypipr/RunParallel.py +0 -0
- {pypipr-1.0.155 → pypipr-1.0.156}/pypipr/TextCase.py +0 -0
- {pypipr-1.0.155 → pypipr-1.0.156}/pypipr/WINDOWS.py +0 -0
- {pypipr-1.0.155 → pypipr-1.0.156}/pypipr/__init__.py +0 -0
- {pypipr-1.0.155 → pypipr-1.0.156}/pypipr/__terminal__.py +0 -0
- {pypipr-1.0.155 → pypipr-1.0.156}/pypipr/auto_reload.py +0 -0
- {pypipr-1.0.155 → pypipr-1.0.156}/pypipr/avg.py +0 -0
- {pypipr-1.0.155 → pypipr-1.0.156}/pypipr/basename.py +0 -0
- {pypipr-1.0.155 → pypipr-1.0.156}/pypipr/batch_calculate.py +0 -0
- {pypipr-1.0.155 → pypipr-1.0.156}/pypipr/batchmaker.py +0 -0
- {pypipr-1.0.155 → pypipr-1.0.156}/pypipr/bin_to_int.py +0 -0
- {pypipr-1.0.155 → pypipr-1.0.156}/pypipr/calculate.py +0 -0
- {pypipr-1.0.155 → pypipr-1.0.156}/pypipr/chr_to_int.py +0 -0
- {pypipr-1.0.155 → pypipr-1.0.156}/pypipr/chunk_array.py +0 -0
- {pypipr-1.0.155 → pypipr-1.0.156}/pypipr/console_run.py +0 -0
- {pypipr-1.0.155 → pypipr-1.0.156}/pypipr/create_folder.py +0 -0
- {pypipr-1.0.155 → pypipr-1.0.156}/pypipr/datetime_from_string.py +0 -0
- {pypipr-1.0.155 → pypipr-1.0.156}/pypipr/datetime_now.py +0 -0
- {pypipr-1.0.155 → pypipr-1.0.156}/pypipr/dict_first.py +0 -0
- {pypipr-1.0.155 → pypipr-1.0.156}/pypipr/dirname.py +0 -0
- {pypipr-1.0.155 → pypipr-1.0.156}/pypipr/django_runserver.py +0 -0
- {pypipr-1.0.155 → pypipr-1.0.156}/pypipr/exit_if_empty.py +0 -0
- {pypipr-1.0.155 → pypipr-1.0.156}/pypipr/filter_empty.py +0 -0
- {pypipr-1.0.155 → pypipr-1.0.156}/pypipr/get_by_index.py +0 -0
- {pypipr-1.0.155 → pypipr-1.0.156}/pypipr/get_class_method.py +0 -0
- {pypipr-1.0.155 → pypipr-1.0.156}/pypipr/get_filemtime.py +0 -0
- {pypipr-1.0.155 → pypipr-1.0.156}/pypipr/get_filesize.py +0 -0
- {pypipr-1.0.155 → pypipr-1.0.156}/pypipr/github_init.py +0 -0
- {pypipr-1.0.155 → pypipr-1.0.156}/pypipr/github_pull.py +0 -0
- {pypipr-1.0.155 → pypipr-1.0.156}/pypipr/github_push.py +0 -0
- {pypipr-1.0.155 → pypipr-1.0.156}/pypipr/github_user.py +0 -0
- {pypipr-1.0.155 → pypipr-1.0.156}/pypipr/hex_to_int.py +0 -0
- {pypipr-1.0.155 → pypipr-1.0.156}/pypipr/iargv.py +0 -0
- {pypipr-1.0.155 → pypipr-1.0.156}/pypipr/idir.py +0 -0
- {pypipr-1.0.155 → pypipr-1.0.156}/pypipr/idumps.py +0 -0
- {pypipr-1.0.155 → pypipr-1.0.156}/pypipr/idumps_html.py +0 -0
- {pypipr-1.0.155 → pypipr-1.0.156}/pypipr/ienumerate.py +0 -0
- {pypipr-1.0.155 → pypipr-1.0.156}/pypipr/ienv.py +0 -0
- {pypipr-1.0.155 → pypipr-1.0.156}/pypipr/iexec.py +0 -0
- {pypipr-1.0.155 → pypipr-1.0.156}/pypipr/ijoin.py +0 -0
- {pypipr-1.0.155 → pypipr-1.0.156}/pypipr/iloads.py +0 -0
- {pypipr-1.0.155 → pypipr-1.0.156}/pypipr/iloads_html.py +0 -0
- {pypipr-1.0.155 → pypipr-1.0.156}/pypipr/input_char.py +0 -0
- {pypipr-1.0.155 → pypipr-1.0.156}/pypipr/int_to_bin.py +0 -0
- {pypipr-1.0.155 → pypipr-1.0.156}/pypipr/int_to_chr.py +0 -0
- {pypipr-1.0.155 → pypipr-1.0.156}/pypipr/int_to_hex.py +0 -0
- {pypipr-1.0.155 → pypipr-1.0.156}/pypipr/int_to_int.py +0 -0
- {pypipr-1.0.155 → pypipr-1.0.156}/pypipr/int_to_oct.py +0 -0
- {pypipr-1.0.155 → pypipr-1.0.156}/pypipr/iopen.py +0 -0
- {pypipr-1.0.155 → pypipr-1.0.156}/pypipr/iprint.py +0 -0
- {pypipr-1.0.155 → pypipr-1.0.156}/pypipr/irange.py +0 -0
- {pypipr-1.0.155 → pypipr-1.0.156}/pypipr/ireplace.py +0 -0
- {pypipr-1.0.155 → pypipr-1.0.156}/pypipr/is_empty.py +0 -0
- {pypipr-1.0.155 → pypipr-1.0.156}/pypipr/is_html.py +0 -0
- {pypipr-1.0.155 → pypipr-1.0.156}/pypipr/is_iterable.py +0 -0
- {pypipr-1.0.155 → pypipr-1.0.156}/pypipr/is_raw_string.py +0 -0
- {pypipr-1.0.155 → pypipr-1.0.156}/pypipr/is_valid_url.py +0 -0
- {pypipr-1.0.155 → pypipr-1.0.156}/pypipr/iscandir.py +0 -0
- {pypipr-1.0.155 → pypipr-1.0.156}/pypipr/isplit.py +0 -0
- {pypipr-1.0.155 → pypipr-1.0.156}/pypipr/ivars.py +0 -0
- {pypipr-1.0.155 → pypipr-1.0.156}/pypipr/log.py +0 -0
- {pypipr-1.0.155 → pypipr-1.0.156}/pypipr/oct_to_int.py +0 -0
- {pypipr-1.0.155 → pypipr-1.0.156}/pypipr/password_generator.py +0 -0
- {pypipr-1.0.155 → pypipr-1.0.156}/pypipr/pip_freeze_without_version.py +0 -0
- {pypipr-1.0.155 → pypipr-1.0.156}/pypipr/pip_update_pypipr.py +0 -0
- {pypipr-1.0.155 → pypipr-1.0.156}/pypipr/poetry_publish.py +0 -0
- {pypipr-1.0.155 → pypipr-1.0.156}/pypipr/poetry_update_version.py +0 -0
- {pypipr-1.0.155 → pypipr-1.0.156}/pypipr/print_colorize.py +0 -0
- {pypipr-1.0.155 → pypipr-1.0.156}/pypipr/print_dir.py +0 -0
- {pypipr-1.0.155 → pypipr-1.0.156}/pypipr/print_log.py +0 -0
- {pypipr-1.0.155 → pypipr-1.0.156}/pypipr/print_to_last_line.py +0 -0
- {pypipr-1.0.155 → pypipr-1.0.156}/pypipr/random_bool.py +0 -0
- {pypipr-1.0.155 → pypipr-1.0.156}/pypipr/repath.py +0 -0
- {pypipr-1.0.155 → pypipr-1.0.156}/pypipr/restart.py +0 -0
- {pypipr-1.0.155 → pypipr-1.0.156}/pypipr/set_timeout.py +0 -0
- {pypipr-1.0.155 → pypipr-1.0.156}/pypipr/sets_ordered.py +0 -0
- {pypipr-1.0.155 → pypipr-1.0.156}/pypipr/sqlite_delete_table.py +0 -0
- {pypipr-1.0.155 → pypipr-1.0.156}/pypipr/sqlite_get_all_tables.py +0 -0
- {pypipr-1.0.155 → pypipr-1.0.156}/pypipr/sqlite_get_data_table.py +0 -0
- {pypipr-1.0.155 → pypipr-1.0.156}/pypipr/str_cmp.py +0 -0
- {pypipr-1.0.155 → pypipr-1.0.156}/pypipr/text_colorize.py +0 -0
- {pypipr-1.0.155 → pypipr-1.0.156}/pypipr/to_str.py +0 -0
- {pypipr-1.0.155 → pypipr-1.0.156}/pypipr/traceback_filename.py +0 -0
- {pypipr-1.0.155 → pypipr-1.0.156}/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.156
|
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 0x727baee9b0>
|
252
|
+
<generator object int_range at 0x727baee9b0>
|
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 0x727ba5ae60>
|
285
285
|
['Urutan 1 dan 10 dan j dan Z saja.', 'Urutan 1 dan 10 dan j dan K saja.', 'Urutan 1 dan 10 dan j dan saja.', 'Urutan 1 dan 10 dan k dan Z saja.', 'Urutan 1 dan 10 dan k dan K saja.', 'Urutan 1 dan 10 dan k dan saja.', 'Urutan 1 dan 9 dan j dan Z saja.', 'Urutan 1 dan 9 dan j dan K saja.', 'Urutan 1 dan 9 dan j dan saja.', 'Urutan 1 dan 9 dan k dan Z saja.', 'Urutan 1 dan 9 dan k dan K saja.', 'Urutan 1 dan 9 dan k dan saja.', 'Urutan 4 dan 10 dan j dan Z saja.', 'Urutan 4 dan 10 dan j dan K saja.', 'Urutan 4 dan 10 dan j dan saja.', 'Urutan 4 dan 10 dan k dan Z saja.', 'Urutan 4 dan 10 dan k dan K saja.', 'Urutan 4 dan 10 dan k dan saja.', 'Urutan 4 dan 9 dan j dan Z saja.', 'Urutan 4 dan 9 dan j dan K saja.', 'Urutan 4 dan 9 dan j dan saja.', 'Urutan 4 dan 9 dan k dan Z saja.', 'Urutan 4 dan 9 dan k dan K saja.', 'Urutan 4 dan 9 dan k dan saja.', 'Urutan 7 dan 10 dan j dan Z saja.', 'Urutan 7 dan 10 dan j dan K saja.', 'Urutan 7 dan 10 dan j dan saja.', 'Urutan 7 dan 10 dan k dan Z saja.', 'Urutan 7 dan 10 dan k dan K saja.', 'Urutan 7 dan 10 dan k dan saja.', 'Urutan 7 dan 9 dan j dan Z saja.', 'Urutan 7 dan 9 dan j dan K saja.', 'Urutan 7 dan 9 dan j dan saja.', 'Urutan 7 dan 9 dan k dan Z saja.', 'Urutan 7 dan 9 dan k dan K saja.', 'Urutan 7 dan 9 dan k dan 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 0x7279418a90>
|
339
339
|
[('1 m ** 1', <Quantity(1, 'meter')>), ('1 m ** 2', <Quantity(1, 'meter ** 2')>), ('1 m ** 3', <Quantity(1, 'meter ** 3')>), ('2 m ** 1', <Quantity(2, 'meter')>), ('2 m ** 2', <Quantity(2, 'meter ** 2')>), ('2 m ** 3', <Quantity(2, 'meter ** 3')>), ('3 m ** 1', <Quantity(3, 'meter')>), ('3 m ** 2', <Quantity(3, 'meter ** 2')>), ('3 m ** 3', <Quantity(3, 'meter ** 3')>), ('4 m ** 1', <Quantity(4, 'meter')>), ('4 m ** 2', <Quantity(4, 'meter ** 2')>), ('4 m ** 3', <Quantity(4, 'meter ** 3')>), ('5 m ** 1', <Quantity(5, 'meter')>), ('5 m ** 2', <Quantity(5, 'meter ** 2')>), ('5 m ** 3', <Quantity(5, 'meter ** 3')>), ('6 m ** 1', <Quantity(6, 'meter')>), ('6 m ** 2', <Quantity(6, 'meter ** 2')>), ('6 m ** 3', <Quantity(6, 'meter ** 3')>), ('7 m ** 1', <Quantity(7, 'meter')>), ('7 m ** 2', <Quantity(7, 'meter ** 2')>), ('7 m ** 3', <Quantity(7, 'meter ** 3')>), ('8 m ** 1', <Quantity(8, 'meter')>), ('8 m ** 2', <Quantity(8, 'meter ** 2')>), ('8 m ** 3', <Quantity(8, 'meter ** 3')>), ('9 m ** 1', <Quantity(9, 'meter')>), ('9 m ** 2', <Quantity(9, 'meter ** 2')>), ('9 m ** 3', <Quantity(9, 'meter ** 3')>), ('10 m ** 1', <Quantity(10, 'meter')>), ('10 m ** 2', <Quantity(10, 'meter ** 2')>), ('10 m ** 3', <Quantity(10, 'meter ** 3')>)]
|
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 0x727bb02840>
|
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-09-29 19:
|
496
|
-
2024-09-29 12:
|
497
|
-
2024-09-29 05:
|
495
|
+
2024-09-29 19:25:15.259893+07:00
|
496
|
+
2024-09-29 12:25:15.262406+00:00
|
497
|
+
2024-09-29 05:25:15.270780-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 0x72794187c0>
|
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 0x7279418d60>
|
655
|
+
[<function ExampleGetClassMethod.a at 0x7279436e80>, <function ExampleGetClassMethod.b at 0x7279436de0>, <function ExampleGetClassMethod.c at 0x7279436fc0>, <function ExampleGetClassMethod.d at 0x7279437060>]
|
656
656
|
```
|
657
657
|
|
658
658
|
## get_filesize
|
@@ -1074,7 +1074,7 @@ Output:
|
|
1074
1074
|
|
1075
1075
|
## ienumerate
|
1076
1076
|
|
1077
|
-
`ienumerate(iterator, start=0, key=<function int_to_int at
|
1077
|
+
`ienumerate(iterator, start=0, key=<function int_to_int at 0x72832fae80>)`
|
1078
1078
|
|
1079
1079
|
meningkatkan fungsi enumerate() pada python
|
1080
1080
|
untuk key menggunakan huruf dan basis angka lainnya.
|
@@ -1087,7 +1087,7 @@ iprint(ienumerate(it, key=int_to_chr))
|
|
1087
1087
|
|
1088
1088
|
Output:
|
1089
1089
|
```py
|
1090
|
-
<generator object ienumerate at
|
1090
|
+
<generator object ienumerate at 0x7279418e50>
|
1091
1091
|
[('a', 'ini'), ('b', 'contoh'), ('c', 'enumerator')]
|
1092
1092
|
```
|
1093
1093
|
|
@@ -1154,7 +1154,7 @@ print(ijoin(10, ' '))
|
|
1154
1154
|
|
1155
1155
|
Output:
|
1156
1156
|
```py
|
1157
|
-
|
1157
|
+
qweqw, dfs, asd, weq
|
1158
1158
|
,ini,path,seperti,url,
|
1159
1159
|
ini,path,seperti,url
|
1160
1160
|
<li>satu</li>
|
@@ -1243,7 +1243,7 @@ Output:
|
|
1243
1243
|
['Ounce\xa0(oz)', '2.658,34 (+5,84)', '15.171,00', '40.329.676'],
|
1244
1244
|
['Gram\xa0(gr)', '85,47', '15.171,00', '1.296.629 (+2.849)'],
|
1245
1245
|
['Kilogram\xa0(kg)', '85.467,62', '15.171,00', '1.296.629.198'],
|
1246
|
-
['Update harga emas :29 September 2024, pukul 19:
|
1246
|
+
['Update harga emas :29 September 2024, pukul 19:24Update kurs :29 September '
|
1247
1247
|
'2024, pukul 13:10']],
|
1248
1248
|
[['Gram', 'UBS Gold 99.99%'],
|
1249
1249
|
['Jual', 'Beli'],
|
@@ -1294,7 +1294,7 @@ Output:
|
|
1294
1294
|
['USD', '85,47↓', '%'],
|
1295
1295
|
['KURS', '15.124,85↓', '%'],
|
1296
1296
|
['IDR', '1.292.684,87↓', '%'],
|
1297
|
-
['Minggu, 29 September 2024 19:
|
1297
|
+
['Minggu, 29 September 2024 19:25']],
|
1298
1298
|
[[''],
|
1299
1299
|
['Emas 1 Gram (IDR)Emas 1 Gram (USD)Kurs USD-IDR',
|
1300
1300
|
'Hari Ini',
|
@@ -1447,7 +1447,7 @@ Output:
|
|
1447
1447
|
```py
|
1448
1448
|
8
|
1449
1449
|
['mana', 'aja']
|
1450
|
-
[<Element a at
|
1450
|
+
[<Element a at 0x727943f2a0>, <Element a at 0x727948a990>, <Element a at 0x727948aa30>, <Element a at 0x727948aa80>, <Element a at 0x727948aad0>, <Element a at 0x727948ab20>, <Element a at 0x727948ab70>, <Element a at 0x727948abc0>, <Element a at 0x727948ac10>, <Element a at 0x727948ac60>, <Element a at 0x727948acb0>, <Element a at 0x727948ad00>, <Element a at 0x727948ad50>, <Element a at 0x727948ada0>, <Element a at 0x727948adf0>, <Element a at 0x727948ae40>, <Element a at 0x727948ae90>, <Element a at 0x727948aee0>]
|
1451
1451
|
False
|
1452
1452
|
```
|
1453
1453
|
|
@@ -1517,7 +1517,7 @@ print(list(iscandir("./", recursive=False, scan_file=False)))
|
|
1517
1517
|
|
1518
1518
|
Output:
|
1519
1519
|
```py
|
1520
|
-
<generator object iscandir at
|
1520
|
+
<generator object iscandir at 0x727bb02c40>
|
1521
1521
|
[PosixPath('.git'), PosixPath('.vscode'), PosixPath('pypipr'), PosixPath('__pycache__'), PosixPath('dist')]
|
1522
1522
|
```
|
1523
1523
|
|
@@ -1550,92 +1550,92 @@ iprint(ivars(__import__('pypipr')))
|
|
1550
1550
|
|
1551
1551
|
Output:
|
1552
1552
|
```py
|
1553
|
-
{'function': {'avg': <function avg at
|
1554
|
-
'get_filemtime': <function get_filemtime at
|
1555
|
-
'print_colorize': <function print_colorize at
|
1556
|
-
'print_log': <function print_log at
|
1557
|
-
'console_run': <function console_run at
|
1558
|
-
'auto_reload': <function auto_reload at
|
1559
|
-
'basename': <function basename at
|
1560
|
-
'chr_to_int': <function chr_to_int at
|
1561
|
-
'int_to_chr': <function int_to_chr at
|
1562
|
-
'irange': <function irange at
|
1563
|
-
'batchmaker': <function batchmaker at
|
1564
|
-
'calculate': <function calculate at
|
1565
|
-
'batch_calculate': <function batch_calculate at
|
1566
|
-
'bin_to_int': <function bin_to_int at
|
1567
|
-
'is_empty': <function is_empty at
|
1568
|
-
'exit_if_empty': <function exit_if_empty at
|
1569
|
-
'input_char': <function input_char at
|
1570
|
-
'choices': <function choices at
|
1571
|
-
'chunk_array': <function chunk_array at
|
1572
|
-
'create_folder': <function create_folder at
|
1573
|
-
'datetime_from_string': <function datetime_from_string at
|
1574
|
-
'datetime_now': <function datetime_now at
|
1575
|
-
'dict_first': <function dict_first at
|
1576
|
-
'dirname': <function dirname at
|
1577
|
-
'django_runserver': <function django_runserver at
|
1578
|
-
'is_iterable': <function is_iterable at
|
1579
|
-
'to_str': <function to_str at
|
1580
|
-
'filter_empty': <function filter_empty at
|
1581
|
-
'get_by_index': <function get_by_index at
|
1582
|
-
'get_class_method': <function get_class_method at
|
1583
|
-
'get_filesize': <function get_filesize at
|
1584
|
-
'github_init': <function github_init at
|
1585
|
-
'github_pull': <function github_pull at
|
1586
|
-
'github_push': <function github_push at
|
1587
|
-
'github_user': <function github_user at
|
1588
|
-
'hex_to_int': <function hex_to_int at
|
1589
|
-
'iargv': <function iargv at
|
1590
|
-
'idir': <function idir at
|
1591
|
-
'idumps_html': <function idumps_html at
|
1592
|
-
'idumps': <function idumps at
|
1593
|
-
'int_to_int': <function int_to_int at
|
1594
|
-
'ienumerate': <function ienumerate at
|
1595
|
-
'ienv': <function ienv at
|
1596
|
-
'iexec': <function iexec at
|
1597
|
-
'ijoin': <function ijoin at
|
1598
|
-
'iloads_html': <function iloads_html at
|
1599
|
-
'iloads': <function iloads at
|
1600
|
-
'int_to_bin': <function int_to_bin at
|
1601
|
-
'int_to_hex': <function int_to_hex at
|
1602
|
-
'int_to_oct': <function int_to_oct at
|
1603
|
-
'is_valid_url': <function is_valid_url at
|
1604
|
-
'iopen': <function iopen at
|
1605
|
-
'iprint': <function iprint at
|
1606
|
-
'is_raw_string': <function is_raw_string at
|
1607
|
-
'ireplace': <function ireplace at
|
1608
|
-
'is_html': <function is_html at
|
1609
|
-
'iscandir': <function iscandir at
|
1610
|
-
'isplit': <function isplit at
|
1611
|
-
'ivars': <function ivars at
|
1612
|
-
'log': <function log at
|
1613
|
-
'oct_to_int': <function oct_to_int at
|
1614
|
-
'password_generator': <function password_generator at
|
1615
|
-
'pip_freeze_without_version': <function pip_freeze_without_version at
|
1616
|
-
'pip_update_pypipr': <function pip_update_pypipr at
|
1617
|
-
'poetry_publish': <function poetry_publish at
|
1618
|
-
'poetry_update_version': <function poetry_update_version at
|
1619
|
-
'print_dir': <function print_dir at
|
1620
|
-
'print_to_last_line': <function print_to_last_line at
|
1621
|
-
'random_bool': <function random_bool at
|
1622
|
-
'repath': <function repath at
|
1623
|
-
'restart': <function restart at
|
1624
|
-
'set_timeout': <function set_timeout at
|
1625
|
-
'sets_ordered': <function sets_ordered at
|
1626
|
-
'sqlite_delete_table': <function sqlite_delete_table at
|
1627
|
-
'sqlite_get_all_tables': <function sqlite_get_all_tables at
|
1628
|
-
'sqlite_get_data_table': <function sqlite_get_data_table at
|
1629
|
-
'str_cmp': <function str_cmp at
|
1630
|
-
'text_colorize': <function text_colorize at
|
1631
|
-
'traceback_filename': <function traceback_filename at
|
1632
|
-
'traceback_framename': <function traceback_framename at
|
1553
|
+
{'function': {'avg': <function avg at 0x7286d9be20>,
|
1554
|
+
'get_filemtime': <function get_filemtime at 0x728324df80>,
|
1555
|
+
'print_colorize': <function print_colorize at 0x728324e160>,
|
1556
|
+
'print_log': <function print_log at 0x728324e020>,
|
1557
|
+
'console_run': <function console_run at 0x728324e0c0>,
|
1558
|
+
'auto_reload': <function auto_reload at 0x728324d8a0>,
|
1559
|
+
'basename': <function basename at 0x728324dee0>,
|
1560
|
+
'chr_to_int': <function chr_to_int at 0x728324e700>,
|
1561
|
+
'int_to_chr': <function int_to_chr at 0x728324e7a0>,
|
1562
|
+
'irange': <function irange at 0x728324ea20>,
|
1563
|
+
'batchmaker': <function batchmaker at 0x728324e3e0>,
|
1564
|
+
'calculate': <function calculate at 0x728324e520>,
|
1565
|
+
'batch_calculate': <function batch_calculate at 0x728324e2a0>,
|
1566
|
+
'bin_to_int': <function bin_to_int at 0x728324e340>,
|
1567
|
+
'is_empty': <function is_empty at 0x728324f240>,
|
1568
|
+
'exit_if_empty': <function exit_if_empty at 0x728324f100>,
|
1569
|
+
'input_char': <function input_char at 0x728324e660>,
|
1570
|
+
'choices': <function choices at 0x728324f4c0>,
|
1571
|
+
'chunk_array': <function chunk_array at 0x728324f560>,
|
1572
|
+
'create_folder': <function create_folder at 0x728324f6a0>,
|
1573
|
+
'datetime_from_string': <function datetime_from_string at 0x728324f740>,
|
1574
|
+
'datetime_now': <function datetime_now at 0x728324f7e0>,
|
1575
|
+
'dict_first': <function dict_first at 0x72832699e0>,
|
1576
|
+
'dirname': <function dirname at 0x7283269a80>,
|
1577
|
+
'django_runserver': <function django_runserver at 0x7283269da0>,
|
1578
|
+
'is_iterable': <function is_iterable at 0x728326a160>,
|
1579
|
+
'to_str': <function to_str at 0x728326a200>,
|
1580
|
+
'filter_empty': <function filter_empty at 0x728326a020>,
|
1581
|
+
'get_by_index': <function get_by_index at 0x728326a0c0>,
|
1582
|
+
'get_class_method': <function get_class_method at 0x728326a2a0>,
|
1583
|
+
'get_filesize': <function get_filesize at 0x728326a3e0>,
|
1584
|
+
'github_init': <function github_init at 0x728326a480>,
|
1585
|
+
'github_pull': <function github_pull at 0x728326a520>,
|
1586
|
+
'github_push': <function github_push at 0x728326a660>,
|
1587
|
+
'github_user': <function github_user at 0x728326a700>,
|
1588
|
+
'hex_to_int': <function hex_to_int at 0x728326a7a0>,
|
1589
|
+
'iargv': <function iargv at 0x728326a840>,
|
1590
|
+
'idir': <function idir at 0x728326a8e0>,
|
1591
|
+
'idumps_html': <function idumps_html at 0x728326afc0>,
|
1592
|
+
'idumps': <function idumps at 0x728326aa20>,
|
1593
|
+
'int_to_int': <function int_to_int at 0x72832fae80>,
|
1594
|
+
'ienumerate': <function ienumerate at 0x728326af20>,
|
1595
|
+
'ienv': <function ienv at 0x72832e93a0>,
|
1596
|
+
'iexec': <function iexec at 0x72832faf20>,
|
1597
|
+
'ijoin': <function ijoin at 0x72832fb060>,
|
1598
|
+
'iloads_html': <function iloads_html at 0x72832fb240>,
|
1599
|
+
'iloads': <function iloads at 0x72877e1ee0>,
|
1600
|
+
'int_to_bin': <function int_to_bin at 0x72832fafc0>,
|
1601
|
+
'int_to_hex': <function int_to_hex at 0x72832fb1a0>,
|
1602
|
+
'int_to_oct': <function int_to_oct at 0x72832fb2e0>,
|
1603
|
+
'is_valid_url': <function is_valid_url at 0x72830df100>,
|
1604
|
+
'iopen': <function iopen at 0x72832fb4c0>,
|
1605
|
+
'iprint': <function iprint at 0x72830dec00>,
|
1606
|
+
'is_raw_string': <function is_raw_string at 0x727bf200e0>,
|
1607
|
+
'ireplace': <function ireplace at 0x727bf13f60>,
|
1608
|
+
'is_html': <function is_html at 0x728313b880>,
|
1609
|
+
'iscandir': <function iscandir at 0x727bf20180>,
|
1610
|
+
'isplit': <function isplit at 0x727bf20220>,
|
1611
|
+
'ivars': <function ivars at 0x727bf202c0>,
|
1612
|
+
'log': <function log at 0x727bf20360>,
|
1613
|
+
'oct_to_int': <function oct_to_int at 0x727bf20400>,
|
1614
|
+
'password_generator': <function password_generator at 0x727bf204a0>,
|
1615
|
+
'pip_freeze_without_version': <function pip_freeze_without_version at 0x727bf205e0>,
|
1616
|
+
'pip_update_pypipr': <function pip_update_pypipr at 0x727bf20680>,
|
1617
|
+
'poetry_publish': <function poetry_publish at 0x727bf20720>,
|
1618
|
+
'poetry_update_version': <function poetry_update_version at 0x727bf20860>,
|
1619
|
+
'print_dir': <function print_dir at 0x727bf20a40>,
|
1620
|
+
'print_to_last_line': <function print_to_last_line at 0x727bf20ae0>,
|
1621
|
+
'random_bool': <function random_bool at 0x727bf20b80>,
|
1622
|
+
'repath': <function repath at 0x727bf20cc0>,
|
1623
|
+
'restart': <function restart at 0x727bf20d60>,
|
1624
|
+
'set_timeout': <function set_timeout at 0x727bf20e00>,
|
1625
|
+
'sets_ordered': <function sets_ordered at 0x727bf20ea0>,
|
1626
|
+
'sqlite_delete_table': <function sqlite_delete_table at 0x727bf20f40>,
|
1627
|
+
'sqlite_get_all_tables': <function sqlite_get_all_tables at 0x727bf21120>,
|
1628
|
+
'sqlite_get_data_table': <function sqlite_get_data_table at 0x727bf218a0>,
|
1629
|
+
'str_cmp': <function str_cmp at 0x727bf21940>,
|
1630
|
+
'text_colorize': <function text_colorize at 0x727bf219e0>,
|
1631
|
+
'traceback_filename': <function traceback_filename at 0x727bf21a80>,
|
1632
|
+
'traceback_framename': <function traceback_framename at 0x727bf21b20>},
|
1633
1633
|
'class': {'ComparePerformance': <class 'pypipr.ComparePerformance.ComparePerformance'>,
|
1634
1634
|
'PintUregQuantity': <class 'pint.Quantity'>,
|
1635
1635
|
'RunParallel': <class 'pypipr.RunParallel.RunParallel'>,
|
1636
1636
|
'TextCase': <class 'pypipr.TextCase.TextCase'>},
|
1637
1637
|
'variable': {'LINUX': True,
|
1638
|
-
'PintUreg': <pint.registry.UnitRegistry object at
|
1638
|
+
'PintUreg': <pint.registry.UnitRegistry object at 0x7286df3510>,
|
1639
1639
|
'WINDOWS': False},
|
1640
1640
|
'module': {'asyncio': <module 'asyncio' from '/data/data/com.termux/files/usr/lib/python3.11/asyncio/__init__.py'>,
|
1641
1641
|
'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'>,
|
@@ -1726,7 +1726,7 @@ print(password_generator())
|
|
1726
1726
|
|
1727
1727
|
Output:
|
1728
1728
|
```py
|
1729
|
-
|
1729
|
+
W5sj}?L*
|
1730
1730
|
```
|
1731
1731
|
|
1732
1732
|
## pip_freeze_without_version
|
@@ -1788,7 +1788,7 @@ Output:
|
|
1788
1788
|
__enter__ : https:/www.google.com
|
1789
1789
|
__fspath__ : https:/www.google.com
|
1790
1790
|
__getstate__ : (None, {'_drv': '', '_root': '', '_parts': ['https:', 'www.google.com'], '_str': 'https:/www.google.com'})
|
1791
|
-
__hash__ :
|
1791
|
+
__hash__ : 71762221691150464
|
1792
1792
|
__init__ : None
|
1793
1793
|
__init_subclass__ : None
|
1794
1794
|
__module__ : pathlib
|
@@ -1801,8 +1801,8 @@ Output:
|
|
1801
1801
|
_cached_cparts : ['https:', 'www.google.com']
|
1802
1802
|
_cparts : ['https:', 'www.google.com']
|
1803
1803
|
_drv :
|
1804
|
-
_flavour : <pathlib._PosixFlavour object at
|
1805
|
-
_hash :
|
1804
|
+
_flavour : <pathlib._PosixFlavour object at 0x7286c21a10>
|
1805
|
+
_hash : 71762221691150464
|
1806
1806
|
_parts : ['https:', 'www.google.com']
|
1807
1807
|
_root :
|
1808
1808
|
_str : https:/www.google.com
|
@@ -1824,7 +1824,7 @@ Output:
|
|
1824
1824
|
is_reserved : False
|
1825
1825
|
is_socket : False
|
1826
1826
|
is_symlink : False
|
1827
|
-
iterdir : <generator object Path.iterdir at
|
1827
|
+
iterdir : <generator object Path.iterdir at 0x7279442500>
|
1828
1828
|
joinpath : https:/www.google.com
|
1829
1829
|
name : www.google.com
|
1830
1830
|
parent : https:
|
@@ -1913,7 +1913,7 @@ x.cancel()
|
|
1913
1913
|
|
1914
1914
|
Output:
|
1915
1915
|
```py
|
1916
|
-
<Timer(Thread-2, started
|
1916
|
+
<Timer(Thread-2, started 491633229040)>
|
1917
1917
|
menghentikan timeout 7
|
1918
1918
|
```
|
1919
1919
|
|
@@ -1931,7 +1931,7 @@ print(list(sets_ordered(array)))
|
|
1931
1931
|
|
1932
1932
|
Output:
|
1933
1933
|
```py
|
1934
|
-
<generator object sets_ordered at
|
1934
|
+
<generator object sets_ordered at 0x7279458930>
|
1935
1935
|
[2, 3, 12, 42, 1, 43, 41, 4, 24, 32]
|
1936
1936
|
```
|
1937
1937
|
|
@@ -2045,15 +2045,15 @@ print(ExampleComparePerformance().compare_performance())
|
|
2045
2045
|
|
2046
2046
|
Output:
|
2047
2047
|
```py
|
2048
|
-
{'a': <generator object ExampleComparePerformance.a.<locals>.<genexpr> at
|
2048
|
+
{'a': <generator object ExampleComparePerformance.a.<locals>.<genexpr> at 0x72793efac0>,
|
2049
2049
|
'b': (0, 1, 2, 3, 4, 5, 6, 7, 8, 9),
|
2050
2050
|
'c': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
|
2051
2051
|
'd': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]}
|
2052
|
-
{'a':
|
2053
|
-
{'a':
|
2054
|
-
{'a':
|
2055
|
-
{'a':
|
2056
|
-
{'a':
|
2052
|
+
{'a': 162, 'b': 139, 'c': 100, 'd': 153}
|
2053
|
+
{'a': 141, 'b': 137, 'c': 100, 'd': 124}
|
2054
|
+
{'a': 133, 'b': 134, 'c': 100, 'd': 131}
|
2055
|
+
{'a': 125, 'b': 131, 'c': 100, 'd': 132}
|
2056
|
+
{'a': 124, 'b': 132, 'c': 100, 'd': 131}
|
2057
2057
|
```
|
2058
2058
|
|
2059
2059
|
## PintUregQuantity
|
@@ -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 0x727baee9b0>
|
229
|
+
<generator object int_range at 0x727baee9b0>
|
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 0x727ba5ae60>
|
262
262
|
['Urutan 1 dan 10 dan j dan Z saja.', 'Urutan 1 dan 10 dan j dan K saja.', 'Urutan 1 dan 10 dan j dan saja.', 'Urutan 1 dan 10 dan k dan Z saja.', 'Urutan 1 dan 10 dan k dan K saja.', 'Urutan 1 dan 10 dan k dan saja.', 'Urutan 1 dan 9 dan j dan Z saja.', 'Urutan 1 dan 9 dan j dan K saja.', 'Urutan 1 dan 9 dan j dan saja.', 'Urutan 1 dan 9 dan k dan Z saja.', 'Urutan 1 dan 9 dan k dan K saja.', 'Urutan 1 dan 9 dan k dan saja.', 'Urutan 4 dan 10 dan j dan Z saja.', 'Urutan 4 dan 10 dan j dan K saja.', 'Urutan 4 dan 10 dan j dan saja.', 'Urutan 4 dan 10 dan k dan Z saja.', 'Urutan 4 dan 10 dan k dan K saja.', 'Urutan 4 dan 10 dan k dan saja.', 'Urutan 4 dan 9 dan j dan Z saja.', 'Urutan 4 dan 9 dan j dan K saja.', 'Urutan 4 dan 9 dan j dan saja.', 'Urutan 4 dan 9 dan k dan Z saja.', 'Urutan 4 dan 9 dan k dan K saja.', 'Urutan 4 dan 9 dan k dan saja.', 'Urutan 7 dan 10 dan j dan Z saja.', 'Urutan 7 dan 10 dan j dan K saja.', 'Urutan 7 dan 10 dan j dan saja.', 'Urutan 7 dan 10 dan k dan Z saja.', 'Urutan 7 dan 10 dan k dan K saja.', 'Urutan 7 dan 10 dan k dan saja.', 'Urutan 7 dan 9 dan j dan Z saja.', 'Urutan 7 dan 9 dan j dan K saja.', 'Urutan 7 dan 9 dan j dan saja.', 'Urutan 7 dan 9 dan k dan Z saja.', 'Urutan 7 dan 9 dan k dan K saja.', 'Urutan 7 dan 9 dan k dan 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 0x7279418a90>
|
316
316
|
[('1 m ** 1', <Quantity(1, 'meter')>), ('1 m ** 2', <Quantity(1, 'meter ** 2')>), ('1 m ** 3', <Quantity(1, 'meter ** 3')>), ('2 m ** 1', <Quantity(2, 'meter')>), ('2 m ** 2', <Quantity(2, 'meter ** 2')>), ('2 m ** 3', <Quantity(2, 'meter ** 3')>), ('3 m ** 1', <Quantity(3, 'meter')>), ('3 m ** 2', <Quantity(3, 'meter ** 2')>), ('3 m ** 3', <Quantity(3, 'meter ** 3')>), ('4 m ** 1', <Quantity(4, 'meter')>), ('4 m ** 2', <Quantity(4, 'meter ** 2')>), ('4 m ** 3', <Quantity(4, 'meter ** 3')>), ('5 m ** 1', <Quantity(5, 'meter')>), ('5 m ** 2', <Quantity(5, 'meter ** 2')>), ('5 m ** 3', <Quantity(5, 'meter ** 3')>), ('6 m ** 1', <Quantity(6, 'meter')>), ('6 m ** 2', <Quantity(6, 'meter ** 2')>), ('6 m ** 3', <Quantity(6, 'meter ** 3')>), ('7 m ** 1', <Quantity(7, 'meter')>), ('7 m ** 2', <Quantity(7, 'meter ** 2')>), ('7 m ** 3', <Quantity(7, 'meter ** 3')>), ('8 m ** 1', <Quantity(8, 'meter')>), ('8 m ** 2', <Quantity(8, 'meter ** 2')>), ('8 m ** 3', <Quantity(8, 'meter ** 3')>), ('9 m ** 1', <Quantity(9, 'meter')>), ('9 m ** 2', <Quantity(9, 'meter ** 2')>), ('9 m ** 3', <Quantity(9, 'meter ** 3')>), ('10 m ** 1', <Quantity(10, 'meter')>), ('10 m ** 2', <Quantity(10, 'meter ** 2')>), ('10 m ** 3', <Quantity(10, 'meter ** 3')>)]
|
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 0x727bb02840>
|
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-09-29 19:
|
473
|
-
2024-09-29 12:
|
474
|
-
2024-09-29 05:
|
472
|
+
2024-09-29 19:25:15.259893+07:00
|
473
|
+
2024-09-29 12:25:15.262406+00:00
|
474
|
+
2024-09-29 05:25:15.270780-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 0x72794187c0>
|
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 0x7279418d60>
|
632
|
+
[<function ExampleGetClassMethod.a at 0x7279436e80>, <function ExampleGetClassMethod.b at 0x7279436de0>, <function ExampleGetClassMethod.c at 0x7279436fc0>, <function ExampleGetClassMethod.d at 0x7279437060>]
|
633
633
|
```
|
634
634
|
|
635
635
|
## get_filesize
|
@@ -1051,7 +1051,7 @@ Output:
|
|
1051
1051
|
|
1052
1052
|
## ienumerate
|
1053
1053
|
|
1054
|
-
`ienumerate(iterator, start=0, key=<function int_to_int at
|
1054
|
+
`ienumerate(iterator, start=0, key=<function int_to_int at 0x72832fae80>)`
|
1055
1055
|
|
1056
1056
|
meningkatkan fungsi enumerate() pada python
|
1057
1057
|
untuk key menggunakan huruf dan basis angka lainnya.
|
@@ -1064,7 +1064,7 @@ iprint(ienumerate(it, key=int_to_chr))
|
|
1064
1064
|
|
1065
1065
|
Output:
|
1066
1066
|
```py
|
1067
|
-
<generator object ienumerate at
|
1067
|
+
<generator object ienumerate at 0x7279418e50>
|
1068
1068
|
[('a', 'ini'), ('b', 'contoh'), ('c', 'enumerator')]
|
1069
1069
|
```
|
1070
1070
|
|
@@ -1131,7 +1131,7 @@ print(ijoin(10, ' '))
|
|
1131
1131
|
|
1132
1132
|
Output:
|
1133
1133
|
```py
|
1134
|
-
|
1134
|
+
qweqw, dfs, asd, weq
|
1135
1135
|
,ini,path,seperti,url,
|
1136
1136
|
ini,path,seperti,url
|
1137
1137
|
<li>satu</li>
|
@@ -1220,7 +1220,7 @@ Output:
|
|
1220
1220
|
['Ounce\xa0(oz)', '2.658,34 (+5,84)', '15.171,00', '40.329.676'],
|
1221
1221
|
['Gram\xa0(gr)', '85,47', '15.171,00', '1.296.629 (+2.849)'],
|
1222
1222
|
['Kilogram\xa0(kg)', '85.467,62', '15.171,00', '1.296.629.198'],
|
1223
|
-
['Update harga emas :29 September 2024, pukul 19:
|
1223
|
+
['Update harga emas :29 September 2024, pukul 19:24Update kurs :29 September '
|
1224
1224
|
'2024, pukul 13:10']],
|
1225
1225
|
[['Gram', 'UBS Gold 99.99%'],
|
1226
1226
|
['Jual', 'Beli'],
|
@@ -1271,7 +1271,7 @@ Output:
|
|
1271
1271
|
['USD', '85,47↓', '%'],
|
1272
1272
|
['KURS', '15.124,85↓', '%'],
|
1273
1273
|
['IDR', '1.292.684,87↓', '%'],
|
1274
|
-
['Minggu, 29 September 2024 19:
|
1274
|
+
['Minggu, 29 September 2024 19:25']],
|
1275
1275
|
[[''],
|
1276
1276
|
['Emas 1 Gram (IDR)Emas 1 Gram (USD)Kurs USD-IDR',
|
1277
1277
|
'Hari Ini',
|
@@ -1424,7 +1424,7 @@ Output:
|
|
1424
1424
|
```py
|
1425
1425
|
8
|
1426
1426
|
['mana', 'aja']
|
1427
|
-
[<Element a at
|
1427
|
+
[<Element a at 0x727943f2a0>, <Element a at 0x727948a990>, <Element a at 0x727948aa30>, <Element a at 0x727948aa80>, <Element a at 0x727948aad0>, <Element a at 0x727948ab20>, <Element a at 0x727948ab70>, <Element a at 0x727948abc0>, <Element a at 0x727948ac10>, <Element a at 0x727948ac60>, <Element a at 0x727948acb0>, <Element a at 0x727948ad00>, <Element a at 0x727948ad50>, <Element a at 0x727948ada0>, <Element a at 0x727948adf0>, <Element a at 0x727948ae40>, <Element a at 0x727948ae90>, <Element a at 0x727948aee0>]
|
1428
1428
|
False
|
1429
1429
|
```
|
1430
1430
|
|
@@ -1494,7 +1494,7 @@ print(list(iscandir("./", recursive=False, scan_file=False)))
|
|
1494
1494
|
|
1495
1495
|
Output:
|
1496
1496
|
```py
|
1497
|
-
<generator object iscandir at
|
1497
|
+
<generator object iscandir at 0x727bb02c40>
|
1498
1498
|
[PosixPath('.git'), PosixPath('.vscode'), PosixPath('pypipr'), PosixPath('__pycache__'), PosixPath('dist')]
|
1499
1499
|
```
|
1500
1500
|
|
@@ -1527,92 +1527,92 @@ iprint(ivars(__import__('pypipr')))
|
|
1527
1527
|
|
1528
1528
|
Output:
|
1529
1529
|
```py
|
1530
|
-
{'function': {'avg': <function avg at
|
1531
|
-
'get_filemtime': <function get_filemtime at
|
1532
|
-
'print_colorize': <function print_colorize at
|
1533
|
-
'print_log': <function print_log at
|
1534
|
-
'console_run': <function console_run at
|
1535
|
-
'auto_reload': <function auto_reload at
|
1536
|
-
'basename': <function basename at
|
1537
|
-
'chr_to_int': <function chr_to_int at
|
1538
|
-
'int_to_chr': <function int_to_chr at
|
1539
|
-
'irange': <function irange at
|
1540
|
-
'batchmaker': <function batchmaker at
|
1541
|
-
'calculate': <function calculate at
|
1542
|
-
'batch_calculate': <function batch_calculate at
|
1543
|
-
'bin_to_int': <function bin_to_int at
|
1544
|
-
'is_empty': <function is_empty at
|
1545
|
-
'exit_if_empty': <function exit_if_empty at
|
1546
|
-
'input_char': <function input_char at
|
1547
|
-
'choices': <function choices at
|
1548
|
-
'chunk_array': <function chunk_array at
|
1549
|
-
'create_folder': <function create_folder at
|
1550
|
-
'datetime_from_string': <function datetime_from_string at
|
1551
|
-
'datetime_now': <function datetime_now at
|
1552
|
-
'dict_first': <function dict_first at
|
1553
|
-
'dirname': <function dirname at
|
1554
|
-
'django_runserver': <function django_runserver at
|
1555
|
-
'is_iterable': <function is_iterable at
|
1556
|
-
'to_str': <function to_str at
|
1557
|
-
'filter_empty': <function filter_empty at
|
1558
|
-
'get_by_index': <function get_by_index at
|
1559
|
-
'get_class_method': <function get_class_method at
|
1560
|
-
'get_filesize': <function get_filesize at
|
1561
|
-
'github_init': <function github_init at
|
1562
|
-
'github_pull': <function github_pull at
|
1563
|
-
'github_push': <function github_push at
|
1564
|
-
'github_user': <function github_user at
|
1565
|
-
'hex_to_int': <function hex_to_int at
|
1566
|
-
'iargv': <function iargv at
|
1567
|
-
'idir': <function idir at
|
1568
|
-
'idumps_html': <function idumps_html at
|
1569
|
-
'idumps': <function idumps at
|
1570
|
-
'int_to_int': <function int_to_int at
|
1571
|
-
'ienumerate': <function ienumerate at
|
1572
|
-
'ienv': <function ienv at
|
1573
|
-
'iexec': <function iexec at
|
1574
|
-
'ijoin': <function ijoin at
|
1575
|
-
'iloads_html': <function iloads_html at
|
1576
|
-
'iloads': <function iloads at
|
1577
|
-
'int_to_bin': <function int_to_bin at
|
1578
|
-
'int_to_hex': <function int_to_hex at
|
1579
|
-
'int_to_oct': <function int_to_oct at
|
1580
|
-
'is_valid_url': <function is_valid_url at
|
1581
|
-
'iopen': <function iopen at
|
1582
|
-
'iprint': <function iprint at
|
1583
|
-
'is_raw_string': <function is_raw_string at
|
1584
|
-
'ireplace': <function ireplace at
|
1585
|
-
'is_html': <function is_html at
|
1586
|
-
'iscandir': <function iscandir at
|
1587
|
-
'isplit': <function isplit at
|
1588
|
-
'ivars': <function ivars at
|
1589
|
-
'log': <function log at
|
1590
|
-
'oct_to_int': <function oct_to_int at
|
1591
|
-
'password_generator': <function password_generator at
|
1592
|
-
'pip_freeze_without_version': <function pip_freeze_without_version at
|
1593
|
-
'pip_update_pypipr': <function pip_update_pypipr at
|
1594
|
-
'poetry_publish': <function poetry_publish at
|
1595
|
-
'poetry_update_version': <function poetry_update_version at
|
1596
|
-
'print_dir': <function print_dir at
|
1597
|
-
'print_to_last_line': <function print_to_last_line at
|
1598
|
-
'random_bool': <function random_bool at
|
1599
|
-
'repath': <function repath 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
|
1530
|
+
{'function': {'avg': <function avg at 0x7286d9be20>,
|
1531
|
+
'get_filemtime': <function get_filemtime at 0x728324df80>,
|
1532
|
+
'print_colorize': <function print_colorize at 0x728324e160>,
|
1533
|
+
'print_log': <function print_log at 0x728324e020>,
|
1534
|
+
'console_run': <function console_run at 0x728324e0c0>,
|
1535
|
+
'auto_reload': <function auto_reload at 0x728324d8a0>,
|
1536
|
+
'basename': <function basename at 0x728324dee0>,
|
1537
|
+
'chr_to_int': <function chr_to_int at 0x728324e700>,
|
1538
|
+
'int_to_chr': <function int_to_chr at 0x728324e7a0>,
|
1539
|
+
'irange': <function irange at 0x728324ea20>,
|
1540
|
+
'batchmaker': <function batchmaker at 0x728324e3e0>,
|
1541
|
+
'calculate': <function calculate at 0x728324e520>,
|
1542
|
+
'batch_calculate': <function batch_calculate at 0x728324e2a0>,
|
1543
|
+
'bin_to_int': <function bin_to_int at 0x728324e340>,
|
1544
|
+
'is_empty': <function is_empty at 0x728324f240>,
|
1545
|
+
'exit_if_empty': <function exit_if_empty at 0x728324f100>,
|
1546
|
+
'input_char': <function input_char at 0x728324e660>,
|
1547
|
+
'choices': <function choices at 0x728324f4c0>,
|
1548
|
+
'chunk_array': <function chunk_array at 0x728324f560>,
|
1549
|
+
'create_folder': <function create_folder at 0x728324f6a0>,
|
1550
|
+
'datetime_from_string': <function datetime_from_string at 0x728324f740>,
|
1551
|
+
'datetime_now': <function datetime_now at 0x728324f7e0>,
|
1552
|
+
'dict_first': <function dict_first at 0x72832699e0>,
|
1553
|
+
'dirname': <function dirname at 0x7283269a80>,
|
1554
|
+
'django_runserver': <function django_runserver at 0x7283269da0>,
|
1555
|
+
'is_iterable': <function is_iterable at 0x728326a160>,
|
1556
|
+
'to_str': <function to_str at 0x728326a200>,
|
1557
|
+
'filter_empty': <function filter_empty at 0x728326a020>,
|
1558
|
+
'get_by_index': <function get_by_index at 0x728326a0c0>,
|
1559
|
+
'get_class_method': <function get_class_method at 0x728326a2a0>,
|
1560
|
+
'get_filesize': <function get_filesize at 0x728326a3e0>,
|
1561
|
+
'github_init': <function github_init at 0x728326a480>,
|
1562
|
+
'github_pull': <function github_pull at 0x728326a520>,
|
1563
|
+
'github_push': <function github_push at 0x728326a660>,
|
1564
|
+
'github_user': <function github_user at 0x728326a700>,
|
1565
|
+
'hex_to_int': <function hex_to_int at 0x728326a7a0>,
|
1566
|
+
'iargv': <function iargv at 0x728326a840>,
|
1567
|
+
'idir': <function idir at 0x728326a8e0>,
|
1568
|
+
'idumps_html': <function idumps_html at 0x728326afc0>,
|
1569
|
+
'idumps': <function idumps at 0x728326aa20>,
|
1570
|
+
'int_to_int': <function int_to_int at 0x72832fae80>,
|
1571
|
+
'ienumerate': <function ienumerate at 0x728326af20>,
|
1572
|
+
'ienv': <function ienv at 0x72832e93a0>,
|
1573
|
+
'iexec': <function iexec at 0x72832faf20>,
|
1574
|
+
'ijoin': <function ijoin at 0x72832fb060>,
|
1575
|
+
'iloads_html': <function iloads_html at 0x72832fb240>,
|
1576
|
+
'iloads': <function iloads at 0x72877e1ee0>,
|
1577
|
+
'int_to_bin': <function int_to_bin at 0x72832fafc0>,
|
1578
|
+
'int_to_hex': <function int_to_hex at 0x72832fb1a0>,
|
1579
|
+
'int_to_oct': <function int_to_oct at 0x72832fb2e0>,
|
1580
|
+
'is_valid_url': <function is_valid_url at 0x72830df100>,
|
1581
|
+
'iopen': <function iopen at 0x72832fb4c0>,
|
1582
|
+
'iprint': <function iprint at 0x72830dec00>,
|
1583
|
+
'is_raw_string': <function is_raw_string at 0x727bf200e0>,
|
1584
|
+
'ireplace': <function ireplace at 0x727bf13f60>,
|
1585
|
+
'is_html': <function is_html at 0x728313b880>,
|
1586
|
+
'iscandir': <function iscandir at 0x727bf20180>,
|
1587
|
+
'isplit': <function isplit at 0x727bf20220>,
|
1588
|
+
'ivars': <function ivars at 0x727bf202c0>,
|
1589
|
+
'log': <function log at 0x727bf20360>,
|
1590
|
+
'oct_to_int': <function oct_to_int at 0x727bf20400>,
|
1591
|
+
'password_generator': <function password_generator at 0x727bf204a0>,
|
1592
|
+
'pip_freeze_without_version': <function pip_freeze_without_version at 0x727bf205e0>,
|
1593
|
+
'pip_update_pypipr': <function pip_update_pypipr at 0x727bf20680>,
|
1594
|
+
'poetry_publish': <function poetry_publish at 0x727bf20720>,
|
1595
|
+
'poetry_update_version': <function poetry_update_version at 0x727bf20860>,
|
1596
|
+
'print_dir': <function print_dir at 0x727bf20a40>,
|
1597
|
+
'print_to_last_line': <function print_to_last_line at 0x727bf20ae0>,
|
1598
|
+
'random_bool': <function random_bool at 0x727bf20b80>,
|
1599
|
+
'repath': <function repath at 0x727bf20cc0>,
|
1600
|
+
'restart': <function restart at 0x727bf20d60>,
|
1601
|
+
'set_timeout': <function set_timeout at 0x727bf20e00>,
|
1602
|
+
'sets_ordered': <function sets_ordered at 0x727bf20ea0>,
|
1603
|
+
'sqlite_delete_table': <function sqlite_delete_table at 0x727bf20f40>,
|
1604
|
+
'sqlite_get_all_tables': <function sqlite_get_all_tables at 0x727bf21120>,
|
1605
|
+
'sqlite_get_data_table': <function sqlite_get_data_table at 0x727bf218a0>,
|
1606
|
+
'str_cmp': <function str_cmp at 0x727bf21940>,
|
1607
|
+
'text_colorize': <function text_colorize at 0x727bf219e0>,
|
1608
|
+
'traceback_filename': <function traceback_filename at 0x727bf21a80>,
|
1609
|
+
'traceback_framename': <function traceback_framename at 0x727bf21b20>},
|
1610
1610
|
'class': {'ComparePerformance': <class 'pypipr.ComparePerformance.ComparePerformance'>,
|
1611
1611
|
'PintUregQuantity': <class 'pint.Quantity'>,
|
1612
1612
|
'RunParallel': <class 'pypipr.RunParallel.RunParallel'>,
|
1613
1613
|
'TextCase': <class 'pypipr.TextCase.TextCase'>},
|
1614
1614
|
'variable': {'LINUX': True,
|
1615
|
-
'PintUreg': <pint.registry.UnitRegistry object at
|
1615
|
+
'PintUreg': <pint.registry.UnitRegistry object at 0x7286df3510>,
|
1616
1616
|
'WINDOWS': False},
|
1617
1617
|
'module': {'asyncio': <module 'asyncio' from '/data/data/com.termux/files/usr/lib/python3.11/asyncio/__init__.py'>,
|
1618
1618
|
'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'>,
|
@@ -1703,7 +1703,7 @@ print(password_generator())
|
|
1703
1703
|
|
1704
1704
|
Output:
|
1705
1705
|
```py
|
1706
|
-
|
1706
|
+
W5sj}?L*
|
1707
1707
|
```
|
1708
1708
|
|
1709
1709
|
## pip_freeze_without_version
|
@@ -1765,7 +1765,7 @@ Output:
|
|
1765
1765
|
__enter__ : https:/www.google.com
|
1766
1766
|
__fspath__ : https:/www.google.com
|
1767
1767
|
__getstate__ : (None, {'_drv': '', '_root': '', '_parts': ['https:', 'www.google.com'], '_str': 'https:/www.google.com'})
|
1768
|
-
__hash__ :
|
1768
|
+
__hash__ : 71762221691150464
|
1769
1769
|
__init__ : None
|
1770
1770
|
__init_subclass__ : None
|
1771
1771
|
__module__ : pathlib
|
@@ -1778,8 +1778,8 @@ Output:
|
|
1778
1778
|
_cached_cparts : ['https:', 'www.google.com']
|
1779
1779
|
_cparts : ['https:', 'www.google.com']
|
1780
1780
|
_drv :
|
1781
|
-
_flavour : <pathlib._PosixFlavour object at
|
1782
|
-
_hash :
|
1781
|
+
_flavour : <pathlib._PosixFlavour object at 0x7286c21a10>
|
1782
|
+
_hash : 71762221691150464
|
1783
1783
|
_parts : ['https:', 'www.google.com']
|
1784
1784
|
_root :
|
1785
1785
|
_str : https:/www.google.com
|
@@ -1801,7 +1801,7 @@ Output:
|
|
1801
1801
|
is_reserved : False
|
1802
1802
|
is_socket : False
|
1803
1803
|
is_symlink : False
|
1804
|
-
iterdir : <generator object Path.iterdir at
|
1804
|
+
iterdir : <generator object Path.iterdir at 0x7279442500>
|
1805
1805
|
joinpath : https:/www.google.com
|
1806
1806
|
name : www.google.com
|
1807
1807
|
parent : https:
|
@@ -1890,7 +1890,7 @@ x.cancel()
|
|
1890
1890
|
|
1891
1891
|
Output:
|
1892
1892
|
```py
|
1893
|
-
<Timer(Thread-2, started
|
1893
|
+
<Timer(Thread-2, started 491633229040)>
|
1894
1894
|
menghentikan timeout 7
|
1895
1895
|
```
|
1896
1896
|
|
@@ -1908,7 +1908,7 @@ print(list(sets_ordered(array)))
|
|
1908
1908
|
|
1909
1909
|
Output:
|
1910
1910
|
```py
|
1911
|
-
<generator object sets_ordered at
|
1911
|
+
<generator object sets_ordered at 0x7279458930>
|
1912
1912
|
[2, 3, 12, 42, 1, 43, 41, 4, 24, 32]
|
1913
1913
|
```
|
1914
1914
|
|
@@ -2022,15 +2022,15 @@ print(ExampleComparePerformance().compare_performance())
|
|
2022
2022
|
|
2023
2023
|
Output:
|
2024
2024
|
```py
|
2025
|
-
{'a': <generator object ExampleComparePerformance.a.<locals>.<genexpr> at
|
2025
|
+
{'a': <generator object ExampleComparePerformance.a.<locals>.<genexpr> at 0x72793efac0>,
|
2026
2026
|
'b': (0, 1, 2, 3, 4, 5, 6, 7, 8, 9),
|
2027
2027
|
'c': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
|
2028
2028
|
'd': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]}
|
2029
|
-
{'a':
|
2030
|
-
{'a':
|
2031
|
-
{'a':
|
2032
|
-
{'a':
|
2033
|
-
{'a':
|
2029
|
+
{'a': 162, 'b': 139, 'c': 100, 'd': 153}
|
2030
|
+
{'a': 141, 'b': 137, 'c': 100, 'd': 124}
|
2031
|
+
{'a': 133, 'b': 134, 'c': 100, 'd': 131}
|
2032
|
+
{'a': 125, 'b': 131, 'c': 100, 'd': 132}
|
2033
|
+
{'a': 124, 'b': 132, 'c': 100, 'd': 131}
|
2034
2034
|
```
|
2035
2035
|
|
2036
2036
|
## 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
|
File without changes
|
File without changes
|
File without changes
|