pypipr 1.0.122__tar.gz → 1.0.123__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.122 → pypipr-1.0.123}/PKG-INFO +102 -102
- {pypipr-1.0.122 → pypipr-1.0.123}/pypipr/ComparePerformance.py +1 -1
- {pypipr-1.0.122 → pypipr-1.0.123}/pyproject.toml +1 -1
- {pypipr-1.0.122 → pypipr-1.0.123}/readme.md +101 -101
- {pypipr-1.0.122 → pypipr-1.0.123}/pypipr/APIMixinView.py +0 -0
- {pypipr-1.0.122 → pypipr-1.0.123}/pypipr/LINUX.py +0 -0
- {pypipr-1.0.122 → pypipr-1.0.123}/pypipr/PintUreg.py +0 -0
- {pypipr-1.0.122 → pypipr-1.0.123}/pypipr/PintUregQuantity.py +0 -0
- {pypipr-1.0.122 → pypipr-1.0.123}/pypipr/RunParallel.py +0 -0
- {pypipr-1.0.122 → pypipr-1.0.123}/pypipr/WINDOWS.py +0 -0
- {pypipr-1.0.122 → pypipr-1.0.123}/pypipr/__init__.py +0 -0
- {pypipr-1.0.122 → pypipr-1.0.123}/pypipr/__terminal__.py +0 -0
- {pypipr-1.0.122 → pypipr-1.0.123}/pypipr/auto_reload.py +0 -0
- {pypipr-1.0.122 → pypipr-1.0.123}/pypipr/avg.py +0 -0
- {pypipr-1.0.122 → pypipr-1.0.123}/pypipr/basename.py +0 -0
- {pypipr-1.0.122 → pypipr-1.0.123}/pypipr/batch_calculate.py +0 -0
- {pypipr-1.0.122 → pypipr-1.0.123}/pypipr/batchmaker.py +0 -0
- {pypipr-1.0.122 → pypipr-1.0.123}/pypipr/bin_to_int.py +0 -0
- {pypipr-1.0.122 → pypipr-1.0.123}/pypipr/calculate.py +0 -0
- {pypipr-1.0.122 → pypipr-1.0.123}/pypipr/choices.py +0 -0
- {pypipr-1.0.122 → pypipr-1.0.123}/pypipr/choices.py.bak +0 -0
- {pypipr-1.0.122 → pypipr-1.0.123}/pypipr/chr_to_int.py +0 -0
- {pypipr-1.0.122 → pypipr-1.0.123}/pypipr/chunk_array.py +0 -0
- {pypipr-1.0.122 → pypipr-1.0.123}/pypipr/console_run.py +0 -0
- {pypipr-1.0.122 → pypipr-1.0.123}/pypipr/create_folder.py +0 -0
- {pypipr-1.0.122 → pypipr-1.0.123}/pypipr/datetime_from_string.py +0 -0
- {pypipr-1.0.122 → pypipr-1.0.123}/pypipr/datetime_now.py +0 -0
- {pypipr-1.0.122 → pypipr-1.0.123}/pypipr/dict_first.py +0 -0
- {pypipr-1.0.122 → pypipr-1.0.123}/pypipr/dirname.py +0 -0
- {pypipr-1.0.122 → pypipr-1.0.123}/pypipr/exit_if_empty.py +0 -0
- {pypipr-1.0.122 → pypipr-1.0.123}/pypipr/filter_empty.py +0 -0
- {pypipr-1.0.122 → pypipr-1.0.123}/pypipr/get_by_index.py +0 -0
- {pypipr-1.0.122 → pypipr-1.0.123}/pypipr/get_class_method.py +0 -0
- {pypipr-1.0.122 → pypipr-1.0.123}/pypipr/get_filemtime.py +0 -0
- {pypipr-1.0.122 → pypipr-1.0.123}/pypipr/get_filesize.py +0 -0
- {pypipr-1.0.122 → pypipr-1.0.123}/pypipr/github_pull.py +0 -0
- {pypipr-1.0.122 → pypipr-1.0.123}/pypipr/github_push.py +0 -0
- {pypipr-1.0.122 → pypipr-1.0.123}/pypipr/github_user.py +0 -0
- {pypipr-1.0.122 → pypipr-1.0.123}/pypipr/hex_to_int.py +0 -0
- {pypipr-1.0.122 → pypipr-1.0.123}/pypipr/iargv.py +0 -0
- {pypipr-1.0.122 → pypipr-1.0.123}/pypipr/idumps.py +0 -0
- {pypipr-1.0.122 → pypipr-1.0.123}/pypipr/idumps_html.py +0 -0
- {pypipr-1.0.122 → pypipr-1.0.123}/pypipr/ienumerate.py +0 -0
- {pypipr-1.0.122 → pypipr-1.0.123}/pypipr/ienv.py +0 -0
- {pypipr-1.0.122 → pypipr-1.0.123}/pypipr/iexec.py +0 -0
- {pypipr-1.0.122 → pypipr-1.0.123}/pypipr/ijoin.py +0 -0
- {pypipr-1.0.122 → pypipr-1.0.123}/pypipr/iloads.py +0 -0
- {pypipr-1.0.122 → pypipr-1.0.123}/pypipr/iloads_html.py +0 -0
- {pypipr-1.0.122 → pypipr-1.0.123}/pypipr/input_char.py +0 -0
- {pypipr-1.0.122 → pypipr-1.0.123}/pypipr/int_to_bin.py +0 -0
- {pypipr-1.0.122 → pypipr-1.0.123}/pypipr/int_to_chr.py +0 -0
- {pypipr-1.0.122 → pypipr-1.0.123}/pypipr/int_to_hex.py +0 -0
- {pypipr-1.0.122 → pypipr-1.0.123}/pypipr/int_to_int.py +0 -0
- {pypipr-1.0.122 → pypipr-1.0.123}/pypipr/int_to_oct.py +0 -0
- {pypipr-1.0.122 → pypipr-1.0.123}/pypipr/iopen.py +0 -0
- {pypipr-1.0.122 → pypipr-1.0.123}/pypipr/iprint.py +0 -0
- {pypipr-1.0.122 → pypipr-1.0.123}/pypipr/irange.py +0 -0
- {pypipr-1.0.122 → pypipr-1.0.123}/pypipr/ireplace.py +0 -0
- {pypipr-1.0.122 → pypipr-1.0.123}/pypipr/is_empty.py +0 -0
- {pypipr-1.0.122 → pypipr-1.0.123}/pypipr/is_iterable.py +0 -0
- {pypipr-1.0.122 → pypipr-1.0.123}/pypipr/is_valid_url.py +0 -0
- {pypipr-1.0.122 → pypipr-1.0.123}/pypipr/iscandir.py +0 -0
- {pypipr-1.0.122 → pypipr-1.0.123}/pypipr/isplit.py +0 -0
- {pypipr-1.0.122 → pypipr-1.0.123}/pypipr/ivars.py +0 -0
- {pypipr-1.0.122 → pypipr-1.0.123}/pypipr/log.py +0 -0
- {pypipr-1.0.122 → pypipr-1.0.123}/pypipr/oct_to_int.py +0 -0
- {pypipr-1.0.122 → pypipr-1.0.123}/pypipr/password_generator.py +0 -0
- {pypipr-1.0.122 → pypipr-1.0.123}/pypipr/pip_freeze_without_version.py +0 -0
- {pypipr-1.0.122 → pypipr-1.0.123}/pypipr/poetry_publish.py +0 -0
- {pypipr-1.0.122 → pypipr-1.0.123}/pypipr/poetry_update_version.py +0 -0
- {pypipr-1.0.122 → pypipr-1.0.123}/pypipr/print_colorize.py +0 -0
- {pypipr-1.0.122 → pypipr-1.0.123}/pypipr/print_dir.py +0 -0
- {pypipr-1.0.122 → pypipr-1.0.123}/pypipr/print_log.py +0 -0
- {pypipr-1.0.122 → pypipr-1.0.123}/pypipr/print_to_last_line.py +0 -0
- {pypipr-1.0.122 → pypipr-1.0.123}/pypipr/random_bool.py +0 -0
- {pypipr-1.0.122 → pypipr-1.0.123}/pypipr/restart.py +0 -0
- {pypipr-1.0.122 → pypipr-1.0.123}/pypipr/set_timeout.py +0 -0
- {pypipr-1.0.122 → pypipr-1.0.123}/pypipr/sets_ordered.py +0 -0
- {pypipr-1.0.122 → pypipr-1.0.123}/pypipr/str_cmp.py +0 -0
- {pypipr-1.0.122 → pypipr-1.0.123}/pypipr/text_colorize.py +0 -0
- {pypipr-1.0.122 → pypipr-1.0.123}/pypipr/to_str.py +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: pypipr
|
3
|
-
Version: 1.0.
|
3
|
+
Version: 1.0.123
|
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 0x7b05a58440>
|
252
|
+
<generator object int_range at 0x7b05a58440>
|
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 0x7b05a50280>
|
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 0x7b059cb010>
|
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
|
|
@@ -458,7 +458,7 @@ print(list(chunk_array(arr, 5)))
|
|
458
458
|
|
459
459
|
Output:
|
460
460
|
```py
|
461
|
-
<generator object chunk_array at
|
461
|
+
<generator object chunk_array at 0x7b05a58440>
|
462
462
|
[[2, 3, 12, 3, 3], [42, 42, 1, 43, 2], [42, 41, 4, 24, 32], [42, 3, 12, 32, 42], [42]]
|
463
463
|
```
|
464
464
|
|
@@ -509,9 +509,9 @@ print(datetime_now("Etc/GMT+7"))
|
|
509
509
|
|
510
510
|
Output:
|
511
511
|
```py
|
512
|
-
2024-05-05
|
513
|
-
2024-05-05
|
514
|
-
2024-05-
|
512
|
+
2024-05-05 22:19:00.834179+07:00
|
513
|
+
2024-05-05 15:19:00.837046+00:00
|
514
|
+
2024-05-05 08:19:00.842776-07:00
|
515
515
|
```
|
516
516
|
|
517
517
|
## dict_first
|
@@ -617,7 +617,7 @@ iprint(filter_empty(var))
|
|
617
617
|
|
618
618
|
Output:
|
619
619
|
```py
|
620
|
-
<generator object filter_empty at
|
620
|
+
<generator object filter_empty at 0x7b059c95d0>
|
621
621
|
[1, '0', True, {}, ['eee']]
|
622
622
|
```
|
623
623
|
|
@@ -647,8 +647,8 @@ print(list(get_class_method(ExampleGetClassMethod)))
|
|
647
647
|
|
648
648
|
Output:
|
649
649
|
```py
|
650
|
-
<generator object get_class_method at
|
651
|
-
[<function ExampleGetClassMethod.a at
|
650
|
+
<generator object get_class_method at 0x7b059cb2e0>
|
651
|
+
[<function ExampleGetClassMethod.a at 0x7b05a68e00>, <function ExampleGetClassMethod.b at 0x7b05a69120>, <function ExampleGetClassMethod.c at 0x7b05a68fe0>, <function ExampleGetClassMethod.d at 0x7b05a691c0>]
|
652
652
|
```
|
653
653
|
|
654
654
|
## get_filesize
|
@@ -918,7 +918,7 @@ Output:
|
|
918
918
|
|
919
919
|
## ienumerate
|
920
920
|
|
921
|
-
`ienumerate(iterator, start=0, key=<function int_to_int at
|
921
|
+
`ienumerate(iterator, start=0, key=<function int_to_int at 0x7b0a90d9e0>)`
|
922
922
|
|
923
923
|
meningkatkan fungsi enumerate() pada python
|
924
924
|
untuk key menggunakan huruf dan basis angka lainnya.
|
@@ -931,7 +931,7 @@ iprint(ienumerate(it, key=int_to_chr))
|
|
931
931
|
|
932
932
|
Output:
|
933
933
|
```py
|
934
|
-
<generator object ienumerate at
|
934
|
+
<generator object ienumerate at 0x7b059cb3d0>
|
935
935
|
[('a', 'ini'), ('b', 'contoh'), ('c', 'enumerator')]
|
936
936
|
```
|
937
937
|
|
@@ -998,7 +998,7 @@ print(ijoin(10, ' '))
|
|
998
998
|
|
999
999
|
Output:
|
1000
1000
|
```py
|
1001
|
-
weq, asd, dfs
|
1001
|
+
weq, qweqw, asd, dfs
|
1002
1002
|
,ini,path,seperti,url,
|
1003
1003
|
ini,path,seperti,url
|
1004
1004
|
<li>satu</li>
|
@@ -1087,7 +1087,7 @@ Output:
|
|
1087
1087
|
['Ounce\xa0(oz)', '2.302,57 (+2,84)', '16.202,00', '37.306.239'],
|
1088
1088
|
['Gram\xa0(gr)', '74,03', '16.202,00', '1.199.423 (+1.479)'],
|
1089
1089
|
['Kilogram\xa0(kg)', '74.029,34', '16.202,00', '1.199.423.441'],
|
1090
|
-
['Update harga emas :05 Mei 2024, pukul
|
1090
|
+
['Update harga emas :05 Mei 2024, pukul 22:18Update kurs :05 Mei 2024, pukul '
|
1091
1091
|
'13:10']],
|
1092
1092
|
[['Gram', 'UBS Gold 99.99%'],
|
1093
1093
|
['Jual', 'Beli'],
|
@@ -1138,7 +1138,7 @@ Output:
|
|
1138
1138
|
['USD', '74,03↓', '%'],
|
1139
1139
|
['KURS', '15.968,70↓', '%'],
|
1140
1140
|
['IDR', '1.182.152,40↓', '%'],
|
1141
|
-
['Minggu, 05 Mei 2024
|
1141
|
+
['Minggu, 05 Mei 2024 22:18']],
|
1142
1142
|
[[''],
|
1143
1143
|
['Emas 1 Gram (IDR)Emas 1 Gram (USD)Kurs USD-IDR',
|
1144
1144
|
'Hari Ini',
|
@@ -1291,7 +1291,7 @@ Output:
|
|
1291
1291
|
```py
|
1292
1292
|
8
|
1293
1293
|
['mana', 'aja']
|
1294
|
-
[<Element a at
|
1294
|
+
[<Element a at 0x7b05a62b20>, <Element a at 0x7b05aa0fa0>, <Element a at 0x7b05aa1040>, <Element a at 0x7b05aa1090>, <Element a at 0x7b05aa10e0>, <Element a at 0x7b05aa1130>, <Element a at 0x7b05aa1180>, <Element a at 0x7b05aa11d0>, <Element a at 0x7b05aa1220>, <Element a at 0x7b05aa1270>, <Element a at 0x7b05aa12c0>, <Element a at 0x7b05aa1310>, <Element a at 0x7b05aa1360>, <Element a at 0x7b05aa13b0>, <Element a at 0x7b05aa1400>, <Element a at 0x7b05aa1450>, <Element a at 0x7b05aa14a0>, <Element a at 0x7b05aa14f0>]
|
1295
1295
|
False
|
1296
1296
|
```
|
1297
1297
|
|
@@ -1353,7 +1353,7 @@ print(list(iscandir("./", recursive=False, scan_file=False)))
|
|
1353
1353
|
|
1354
1354
|
Output:
|
1355
1355
|
```py
|
1356
|
-
<generator object iscandir at
|
1356
|
+
<generator object iscandir at 0x7b05a58740>
|
1357
1357
|
[PosixPath('.git'), PosixPath('.vscode'), PosixPath('pypipr'), PosixPath('__pycache__'), PosixPath('dist')]
|
1358
1358
|
```
|
1359
1359
|
|
@@ -1390,76 +1390,76 @@ Output:
|
|
1390
1390
|
'ComparePerformance': <class 'pypipr.ComparePerformance.ComparePerformance'>,
|
1391
1391
|
'PintUregQuantity': <class 'pint.Quantity'>,
|
1392
1392
|
'RunParallel': <class 'pypipr.RunParallel.RunParallel'>},
|
1393
|
-
'function': {'avg': <function avg at
|
1394
|
-
'get_filemtime': <function get_filemtime at
|
1395
|
-
'print_colorize': <function print_colorize at
|
1396
|
-
'print_log': <function print_log at
|
1397
|
-
'console_run': <function console_run at
|
1398
|
-
'auto_reload': <function auto_reload at
|
1399
|
-
'basename': <function basename at
|
1400
|
-
'chr_to_int': <function chr_to_int at
|
1401
|
-
'int_to_chr': <function int_to_chr at
|
1402
|
-
'irange': <function irange at
|
1403
|
-
'batchmaker': <function batchmaker at
|
1404
|
-
'calculate': <function calculate at
|
1405
|
-
'batch_calculate': <function batch_calculate at
|
1406
|
-
'bin_to_int': <function bin_to_int at
|
1407
|
-
'is_empty': <function is_empty at
|
1408
|
-
'exit_if_empty': <function exit_if_empty at
|
1409
|
-
'input_char': <function input_char at
|
1410
|
-
'get_by_index': <function get_by_index at
|
1411
|
-
'choices': <function choices at
|
1412
|
-
'chunk_array': <function chunk_array at
|
1413
|
-
'create_folder': <function create_folder at
|
1414
|
-
'datetime_from_string': <function datetime_from_string at
|
1415
|
-
'datetime_now': <function datetime_now at
|
1416
|
-
'dict_first': <function dict_first at
|
1417
|
-
'dirname': <function dirname at
|
1418
|
-
'is_iterable': <function is_iterable at
|
1419
|
-
'to_str': <function to_str at
|
1420
|
-
'filter_empty': <function filter_empty at
|
1421
|
-
'get_class_method': <function get_class_method at
|
1422
|
-
'get_filesize': <function get_filesize at
|
1423
|
-
'github_pull': <function github_pull at
|
1424
|
-
'github_push': <function github_push at
|
1425
|
-
'github_user': <function github_user at
|
1426
|
-
'hex_to_int': <function hex_to_int at
|
1427
|
-
'iargv': <function iargv at
|
1428
|
-
'idumps_html': <function idumps_html at
|
1429
|
-
'idumps': <function idumps at
|
1430
|
-
'int_to_int': <function int_to_int at
|
1431
|
-
'ienumerate': <function ienumerate at
|
1432
|
-
'ienv': <function ienv at
|
1433
|
-
'iexec': <function iexec at
|
1434
|
-
'ijoin': <function ijoin at
|
1435
|
-
'iloads_html': <function iloads_html at
|
1436
|
-
'iloads': <function iloads at
|
1437
|
-
'int_to_bin': <function int_to_bin at
|
1438
|
-
'int_to_hex': <function int_to_hex at
|
1439
|
-
'int_to_oct': <function int_to_oct at
|
1440
|
-
'is_valid_url': <function is_valid_url at
|
1441
|
-
'iopen': <function iopen at
|
1442
|
-
'iprint': <function iprint at
|
1443
|
-
'ireplace': <function ireplace at
|
1444
|
-
'iscandir': <function iscandir at
|
1445
|
-
'isplit': <function isplit at
|
1446
|
-
'ivars': <function ivars at
|
1447
|
-
'log': <function log at
|
1448
|
-
'oct_to_int': <function oct_to_int at
|
1449
|
-
'password_generator': <function password_generator at
|
1450
|
-
'pip_freeze_without_version': <function pip_freeze_without_version at
|
1451
|
-
'poetry_publish': <function poetry_publish at
|
1452
|
-
'poetry_update_version': <function poetry_update_version at
|
1453
|
-
'print_dir': <function print_dir at
|
1454
|
-
'print_to_last_line': <function print_to_last_line at
|
1455
|
-
'random_bool': <function random_bool at
|
1456
|
-
'restart': <function restart at
|
1457
|
-
'set_timeout': <function set_timeout at
|
1458
|
-
'sets_ordered': <function sets_ordered at
|
1459
|
-
'str_cmp': <function str_cmp at
|
1460
|
-
'text_colorize': <function text_colorize at
|
1393
|
+
'function': {'avg': <function avg at 0x7b0db66700>,
|
1394
|
+
'get_filemtime': <function get_filemtime at 0x7b0aa0ede0>,
|
1395
|
+
'print_colorize': <function print_colorize at 0x7b0aa0efc0>,
|
1396
|
+
'print_log': <function print_log at 0x7b0aacab60>,
|
1397
|
+
'console_run': <function console_run at 0x7b0aa0ee80>,
|
1398
|
+
'auto_reload': <function auto_reload at 0x7b0a9f7ec0>,
|
1399
|
+
'basename': <function basename at 0x7b0aa0ed40>,
|
1400
|
+
'chr_to_int': <function chr_to_int at 0x7b0aa0f560>,
|
1401
|
+
'int_to_chr': <function int_to_chr at 0x7b0aa0f600>,
|
1402
|
+
'irange': <function irange at 0x7b0aa0f880>,
|
1403
|
+
'batchmaker': <function batchmaker at 0x7b0aa0f240>,
|
1404
|
+
'calculate': <function calculate at 0x7b0aa0f380>,
|
1405
|
+
'batch_calculate': <function batch_calculate at 0x7b0aa0f100>,
|
1406
|
+
'bin_to_int': <function bin_to_int at 0x7b0aa0f1a0>,
|
1407
|
+
'is_empty': <function is_empty at 0x7b0a834040>,
|
1408
|
+
'exit_if_empty': <function exit_if_empty at 0x7b0aa0fec0>,
|
1409
|
+
'input_char': <function input_char at 0x7b0aa0ff60>,
|
1410
|
+
'get_by_index': <function get_by_index at 0x7b0a8340e0>,
|
1411
|
+
'choices': <function choices at 0x7b0a8342c0>,
|
1412
|
+
'chunk_array': <function chunk_array at 0x7b0a834360>,
|
1413
|
+
'create_folder': <function create_folder at 0x7b0a834400>,
|
1414
|
+
'datetime_from_string': <function datetime_from_string at 0x7b0a8344a0>,
|
1415
|
+
'datetime_now': <function datetime_now at 0x7b0a834540>,
|
1416
|
+
'dict_first': <function dict_first at 0x7b0a8345e0>,
|
1417
|
+
'dirname': <function dirname at 0x7b0a834680>,
|
1418
|
+
'is_iterable': <function is_iterable at 0x7b0a834860>,
|
1419
|
+
'to_str': <function to_str at 0x7b0a834900>,
|
1420
|
+
'filter_empty': <function filter_empty at 0x7b0a834720>,
|
1421
|
+
'get_class_method': <function get_class_method at 0x7b0a8347c0>,
|
1422
|
+
'get_filesize': <function get_filesize at 0x7b0a834a40>,
|
1423
|
+
'github_pull': <function github_pull at 0x7b0a834ae0>,
|
1424
|
+
'github_push': <function github_push at 0x7b0a834c20>,
|
1425
|
+
'github_user': <function github_user at 0x7b0a834cc0>,
|
1426
|
+
'hex_to_int': <function hex_to_int at 0x7b0a834d60>,
|
1427
|
+
'iargv': <function iargv at 0x7b0a834e00>,
|
1428
|
+
'idumps_html': <function idumps_html at 0x7b0a835080>,
|
1429
|
+
'idumps': <function idumps at 0x7b0a834f40>,
|
1430
|
+
'int_to_int': <function int_to_int at 0x7b0a90d9e0>,
|
1431
|
+
'ienumerate': <function ienumerate at 0x7b0a835580>,
|
1432
|
+
'ienv': <function ienv at 0x7b0a90d8a0>,
|
1433
|
+
'iexec': <function iexec at 0x7b0a90da80>,
|
1434
|
+
'ijoin': <function ijoin at 0x7b0a90dbc0>,
|
1435
|
+
'iloads_html': <function iloads_html at 0x7b0a90dda0>,
|
1436
|
+
'iloads': <function iloads at 0x7b0a90db20>,
|
1437
|
+
'int_to_bin': <function int_to_bin at 0x7b0a90dd00>,
|
1438
|
+
'int_to_hex': <function int_to_hex at 0x7b0a90de40>,
|
1439
|
+
'int_to_oct': <function int_to_oct at 0x7b0a90dee0>,
|
1440
|
+
'is_valid_url': <function is_valid_url at 0x7b0a90e0c0>,
|
1441
|
+
'iopen': <function iopen at 0x7b0a726520>,
|
1442
|
+
'iprint': <function iprint at 0x7b0a90e020>,
|
1443
|
+
'ireplace': <function ireplace at 0x7b0a90e3e0>,
|
1444
|
+
'iscandir': <function iscandir at 0x7b0a7ddc60>,
|
1445
|
+
'isplit': <function isplit at 0x7b0a7ddd00>,
|
1446
|
+
'ivars': <function ivars at 0x7b0a7ddda0>,
|
1447
|
+
'log': <function log at 0x7b0a7dde40>,
|
1448
|
+
'oct_to_int': <function oct_to_int at 0x7b0a7ddee0>,
|
1449
|
+
'password_generator': <function password_generator at 0x7b0a7ddf80>,
|
1450
|
+
'pip_freeze_without_version': <function pip_freeze_without_version at 0x7b0a7de0c0>,
|
1451
|
+
'poetry_publish': <function poetry_publish at 0x7b0a7de160>,
|
1452
|
+
'poetry_update_version': <function poetry_update_version at 0x7b0a7de2a0>,
|
1453
|
+
'print_dir': <function print_dir at 0x7b0a7de480>,
|
1454
|
+
'print_to_last_line': <function print_to_last_line at 0x7b0a7de520>,
|
1455
|
+
'random_bool': <function random_bool at 0x7b0a7de5c0>,
|
1456
|
+
'restart': <function restart at 0x7b0a7de660>,
|
1457
|
+
'set_timeout': <function set_timeout at 0x7b0a7de700>,
|
1458
|
+
'sets_ordered': <function sets_ordered at 0x7b0a7de7a0>,
|
1459
|
+
'str_cmp': <function str_cmp at 0x7b0a7de840>,
|
1460
|
+
'text_colorize': <function text_colorize at 0x7b0a7de8e0>},
|
1461
1461
|
'variable': {'LINUX': True,
|
1462
|
-
'PintUreg': <pint.registry.UnitRegistry object at
|
1462
|
+
'PintUreg': <pint.registry.UnitRegistry object at 0x7b0db68950>,
|
1463
1463
|
'WINDOWS': False},
|
1464
1464
|
'module': {'asyncio': <module 'asyncio' from '/data/data/com.termux/files/usr/lib/python3.11/asyncio/__init__.py'>,
|
1465
1465
|
'colorama': <module 'colorama' from '/data/data/com.termux/files/usr/lib/python3.11/site-packages/colorama/__init__.py'>,
|
@@ -1549,7 +1549,7 @@ print(password_generator())
|
|
1549
1549
|
|
1550
1550
|
Output:
|
1551
1551
|
```py
|
1552
|
-
|
1552
|
+
kT~|*@9(
|
1553
1553
|
```
|
1554
1554
|
|
1555
1555
|
## pip_freeze_without_version
|
@@ -1607,7 +1607,7 @@ Output:
|
|
1607
1607
|
__enter__ : https:/www.google.com
|
1608
1608
|
__fspath__ : https:/www.google.com
|
1609
1609
|
__getstate__ : (None, {'_drv': '', '_root': '', '_parts': ['https:', 'www.google.com'], '_str': 'https:/www.google.com'})
|
1610
|
-
__hash__ :
|
1610
|
+
__hash__ : 4371941438919300075
|
1611
1611
|
__init__ : None
|
1612
1612
|
__init_subclass__ : None
|
1613
1613
|
__module__ : pathlib
|
@@ -1620,8 +1620,8 @@ Output:
|
|
1620
1620
|
_cached_cparts : ['https:', 'www.google.com']
|
1621
1621
|
_cparts : ['https:', 'www.google.com']
|
1622
1622
|
_drv :
|
1623
|
-
_flavour : <pathlib._PosixFlavour object at
|
1624
|
-
_hash :
|
1623
|
+
_flavour : <pathlib._PosixFlavour object at 0x7b14328d10>
|
1624
|
+
_hash : 4371941438919300075
|
1625
1625
|
_parts : ['https:', 'www.google.com']
|
1626
1626
|
_root :
|
1627
1627
|
_str : https:/www.google.com
|
@@ -1643,7 +1643,7 @@ Output:
|
|
1643
1643
|
is_reserved : False
|
1644
1644
|
is_socket : False
|
1645
1645
|
is_symlink : False
|
1646
|
-
iterdir : <generator object Path.iterdir at
|
1646
|
+
iterdir : <generator object Path.iterdir at 0x7b05a4a960>
|
1647
1647
|
joinpath : https:/www.google.com
|
1648
1648
|
name : www.google.com
|
1649
1649
|
parent : https:
|
@@ -1683,7 +1683,7 @@ print(random_bool())
|
|
1683
1683
|
|
1684
1684
|
Output:
|
1685
1685
|
```py
|
1686
|
-
|
1686
|
+
True
|
1687
1687
|
```
|
1688
1688
|
|
1689
1689
|
## restart
|
@@ -1717,7 +1717,7 @@ x.cancel()
|
|
1717
1717
|
|
1718
1718
|
Output:
|
1719
1719
|
```py
|
1720
|
-
<Timer(Thread-2, started
|
1720
|
+
<Timer(Thread-2, started 528345971952)>
|
1721
1721
|
menghentikan timeout 7
|
1722
1722
|
```
|
1723
1723
|
|
@@ -1735,7 +1735,7 @@ print(list(sets_ordered(array)))
|
|
1735
1735
|
|
1736
1736
|
Output:
|
1737
1737
|
```py
|
1738
|
-
<generator object sets_ordered at
|
1738
|
+
<generator object sets_ordered at 0x7b05a7cfb0>
|
1739
1739
|
[2, 3, 12, 42, 1, 43, 41, 4, 24, 32]
|
1740
1740
|
```
|
1741
1741
|
|
@@ -1829,15 +1829,15 @@ print(ExampleComparePerformance().compare_performance())
|
|
1829
1829
|
|
1830
1830
|
Output:
|
1831
1831
|
```py
|
1832
|
-
{'a': <generator object ExampleComparePerformance.a.<locals>.<genexpr> at
|
1832
|
+
{'a': <generator object ExampleComparePerformance.a.<locals>.<genexpr> at 0x7b05a7cad0>,
|
1833
1833
|
'b': (0, 1, 2, 3, 4, 5, 6, 7, 8, 9),
|
1834
1834
|
'c': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
|
1835
1835
|
'd': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]}
|
1836
|
-
{'a':
|
1837
|
-
{'a':
|
1838
|
-
{'a':
|
1839
|
-
{'a':
|
1840
|
-
{'a':
|
1836
|
+
{'a': 165, 'b': 138, 'c': 100, 'd': 164}
|
1837
|
+
{'a': 148, 'b': 141, 'c': 100, 'd': 124}
|
1838
|
+
{'a': 105, 'b': 517, 'c': 100, 'd': 107}
|
1839
|
+
{'a': 134, 'b': 132, 'c': 100, 'd': 131}
|
1840
|
+
{'a': 134, 'b': 133, 'c': 100, 'd': 130}
|
1841
1841
|
```
|
1842
1842
|
|
1843
1843
|
## 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 0x7b05a58440>
|
229
|
+
<generator object int_range at 0x7b05a58440>
|
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 0x7b05a50280>
|
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 0x7b059cb010>
|
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
|
|
@@ -435,7 +435,7 @@ print(list(chunk_array(arr, 5)))
|
|
435
435
|
|
436
436
|
Output:
|
437
437
|
```py
|
438
|
-
<generator object chunk_array at
|
438
|
+
<generator object chunk_array at 0x7b05a58440>
|
439
439
|
[[2, 3, 12, 3, 3], [42, 42, 1, 43, 2], [42, 41, 4, 24, 32], [42, 3, 12, 32, 42], [42]]
|
440
440
|
```
|
441
441
|
|
@@ -486,9 +486,9 @@ print(datetime_now("Etc/GMT+7"))
|
|
486
486
|
|
487
487
|
Output:
|
488
488
|
```py
|
489
|
-
2024-05-05
|
490
|
-
2024-05-05
|
491
|
-
2024-05-
|
489
|
+
2024-05-05 22:19:00.834179+07:00
|
490
|
+
2024-05-05 15:19:00.837046+00:00
|
491
|
+
2024-05-05 08:19:00.842776-07:00
|
492
492
|
```
|
493
493
|
|
494
494
|
## dict_first
|
@@ -594,7 +594,7 @@ iprint(filter_empty(var))
|
|
594
594
|
|
595
595
|
Output:
|
596
596
|
```py
|
597
|
-
<generator object filter_empty at
|
597
|
+
<generator object filter_empty at 0x7b059c95d0>
|
598
598
|
[1, '0', True, {}, ['eee']]
|
599
599
|
```
|
600
600
|
|
@@ -624,8 +624,8 @@ print(list(get_class_method(ExampleGetClassMethod)))
|
|
624
624
|
|
625
625
|
Output:
|
626
626
|
```py
|
627
|
-
<generator object get_class_method at
|
628
|
-
[<function ExampleGetClassMethod.a at
|
627
|
+
<generator object get_class_method at 0x7b059cb2e0>
|
628
|
+
[<function ExampleGetClassMethod.a at 0x7b05a68e00>, <function ExampleGetClassMethod.b at 0x7b05a69120>, <function ExampleGetClassMethod.c at 0x7b05a68fe0>, <function ExampleGetClassMethod.d at 0x7b05a691c0>]
|
629
629
|
```
|
630
630
|
|
631
631
|
## get_filesize
|
@@ -895,7 +895,7 @@ Output:
|
|
895
895
|
|
896
896
|
## ienumerate
|
897
897
|
|
898
|
-
`ienumerate(iterator, start=0, key=<function int_to_int at
|
898
|
+
`ienumerate(iterator, start=0, key=<function int_to_int at 0x7b0a90d9e0>)`
|
899
899
|
|
900
900
|
meningkatkan fungsi enumerate() pada python
|
901
901
|
untuk key menggunakan huruf dan basis angka lainnya.
|
@@ -908,7 +908,7 @@ iprint(ienumerate(it, key=int_to_chr))
|
|
908
908
|
|
909
909
|
Output:
|
910
910
|
```py
|
911
|
-
<generator object ienumerate at
|
911
|
+
<generator object ienumerate at 0x7b059cb3d0>
|
912
912
|
[('a', 'ini'), ('b', 'contoh'), ('c', 'enumerator')]
|
913
913
|
```
|
914
914
|
|
@@ -975,7 +975,7 @@ print(ijoin(10, ' '))
|
|
975
975
|
|
976
976
|
Output:
|
977
977
|
```py
|
978
|
-
weq, asd, dfs
|
978
|
+
weq, qweqw, asd, dfs
|
979
979
|
,ini,path,seperti,url,
|
980
980
|
ini,path,seperti,url
|
981
981
|
<li>satu</li>
|
@@ -1064,7 +1064,7 @@ Output:
|
|
1064
1064
|
['Ounce\xa0(oz)', '2.302,57 (+2,84)', '16.202,00', '37.306.239'],
|
1065
1065
|
['Gram\xa0(gr)', '74,03', '16.202,00', '1.199.423 (+1.479)'],
|
1066
1066
|
['Kilogram\xa0(kg)', '74.029,34', '16.202,00', '1.199.423.441'],
|
1067
|
-
['Update harga emas :05 Mei 2024, pukul
|
1067
|
+
['Update harga emas :05 Mei 2024, pukul 22:18Update kurs :05 Mei 2024, pukul '
|
1068
1068
|
'13:10']],
|
1069
1069
|
[['Gram', 'UBS Gold 99.99%'],
|
1070
1070
|
['Jual', 'Beli'],
|
@@ -1115,7 +1115,7 @@ Output:
|
|
1115
1115
|
['USD', '74,03↓', '%'],
|
1116
1116
|
['KURS', '15.968,70↓', '%'],
|
1117
1117
|
['IDR', '1.182.152,40↓', '%'],
|
1118
|
-
['Minggu, 05 Mei 2024
|
1118
|
+
['Minggu, 05 Mei 2024 22:18']],
|
1119
1119
|
[[''],
|
1120
1120
|
['Emas 1 Gram (IDR)Emas 1 Gram (USD)Kurs USD-IDR',
|
1121
1121
|
'Hari Ini',
|
@@ -1268,7 +1268,7 @@ Output:
|
|
1268
1268
|
```py
|
1269
1269
|
8
|
1270
1270
|
['mana', 'aja']
|
1271
|
-
[<Element a at
|
1271
|
+
[<Element a at 0x7b05a62b20>, <Element a at 0x7b05aa0fa0>, <Element a at 0x7b05aa1040>, <Element a at 0x7b05aa1090>, <Element a at 0x7b05aa10e0>, <Element a at 0x7b05aa1130>, <Element a at 0x7b05aa1180>, <Element a at 0x7b05aa11d0>, <Element a at 0x7b05aa1220>, <Element a at 0x7b05aa1270>, <Element a at 0x7b05aa12c0>, <Element a at 0x7b05aa1310>, <Element a at 0x7b05aa1360>, <Element a at 0x7b05aa13b0>, <Element a at 0x7b05aa1400>, <Element a at 0x7b05aa1450>, <Element a at 0x7b05aa14a0>, <Element a at 0x7b05aa14f0>]
|
1272
1272
|
False
|
1273
1273
|
```
|
1274
1274
|
|
@@ -1330,7 +1330,7 @@ print(list(iscandir("./", recursive=False, scan_file=False)))
|
|
1330
1330
|
|
1331
1331
|
Output:
|
1332
1332
|
```py
|
1333
|
-
<generator object iscandir at
|
1333
|
+
<generator object iscandir at 0x7b05a58740>
|
1334
1334
|
[PosixPath('.git'), PosixPath('.vscode'), PosixPath('pypipr'), PosixPath('__pycache__'), PosixPath('dist')]
|
1335
1335
|
```
|
1336
1336
|
|
@@ -1367,76 +1367,76 @@ Output:
|
|
1367
1367
|
'ComparePerformance': <class 'pypipr.ComparePerformance.ComparePerformance'>,
|
1368
1368
|
'PintUregQuantity': <class 'pint.Quantity'>,
|
1369
1369
|
'RunParallel': <class 'pypipr.RunParallel.RunParallel'>},
|
1370
|
-
'function': {'avg': <function avg at
|
1371
|
-
'get_filemtime': <function get_filemtime at
|
1372
|
-
'print_colorize': <function print_colorize at
|
1373
|
-
'print_log': <function print_log at
|
1374
|
-
'console_run': <function console_run at
|
1375
|
-
'auto_reload': <function auto_reload at
|
1376
|
-
'basename': <function basename at
|
1377
|
-
'chr_to_int': <function chr_to_int at
|
1378
|
-
'int_to_chr': <function int_to_chr at
|
1379
|
-
'irange': <function irange at
|
1380
|
-
'batchmaker': <function batchmaker at
|
1381
|
-
'calculate': <function calculate at
|
1382
|
-
'batch_calculate': <function batch_calculate at
|
1383
|
-
'bin_to_int': <function bin_to_int at
|
1384
|
-
'is_empty': <function is_empty at
|
1385
|
-
'exit_if_empty': <function exit_if_empty at
|
1386
|
-
'input_char': <function input_char at
|
1387
|
-
'get_by_index': <function get_by_index at
|
1388
|
-
'choices': <function choices at
|
1389
|
-
'chunk_array': <function chunk_array at
|
1390
|
-
'create_folder': <function create_folder at
|
1391
|
-
'datetime_from_string': <function datetime_from_string at
|
1392
|
-
'datetime_now': <function datetime_now at
|
1393
|
-
'dict_first': <function dict_first at
|
1394
|
-
'dirname': <function dirname at
|
1395
|
-
'is_iterable': <function is_iterable at
|
1396
|
-
'to_str': <function to_str at
|
1397
|
-
'filter_empty': <function filter_empty at
|
1398
|
-
'get_class_method': <function get_class_method at
|
1399
|
-
'get_filesize': <function get_filesize at
|
1400
|
-
'github_pull': <function github_pull at
|
1401
|
-
'github_push': <function github_push at
|
1402
|
-
'github_user': <function github_user at
|
1403
|
-
'hex_to_int': <function hex_to_int at
|
1404
|
-
'iargv': <function iargv at
|
1405
|
-
'idumps_html': <function idumps_html at
|
1406
|
-
'idumps': <function idumps at
|
1407
|
-
'int_to_int': <function int_to_int at
|
1408
|
-
'ienumerate': <function ienumerate at
|
1409
|
-
'ienv': <function ienv at
|
1410
|
-
'iexec': <function iexec at
|
1411
|
-
'ijoin': <function ijoin at
|
1412
|
-
'iloads_html': <function iloads_html at
|
1413
|
-
'iloads': <function iloads at
|
1414
|
-
'int_to_bin': <function int_to_bin at
|
1415
|
-
'int_to_hex': <function int_to_hex at
|
1416
|
-
'int_to_oct': <function int_to_oct at
|
1417
|
-
'is_valid_url': <function is_valid_url at
|
1418
|
-
'iopen': <function iopen at
|
1419
|
-
'iprint': <function iprint at
|
1420
|
-
'ireplace': <function ireplace at
|
1421
|
-
'iscandir': <function iscandir at
|
1422
|
-
'isplit': <function isplit at
|
1423
|
-
'ivars': <function ivars at
|
1424
|
-
'log': <function log at
|
1425
|
-
'oct_to_int': <function oct_to_int at
|
1426
|
-
'password_generator': <function password_generator at
|
1427
|
-
'pip_freeze_without_version': <function pip_freeze_without_version at
|
1428
|
-
'poetry_publish': <function poetry_publish at
|
1429
|
-
'poetry_update_version': <function poetry_update_version at
|
1430
|
-
'print_dir': <function print_dir at
|
1431
|
-
'print_to_last_line': <function print_to_last_line at
|
1432
|
-
'random_bool': <function random_bool at
|
1433
|
-
'restart': <function restart at
|
1434
|
-
'set_timeout': <function set_timeout at
|
1435
|
-
'sets_ordered': <function sets_ordered at
|
1436
|
-
'str_cmp': <function str_cmp at
|
1437
|
-
'text_colorize': <function text_colorize at
|
1370
|
+
'function': {'avg': <function avg at 0x7b0db66700>,
|
1371
|
+
'get_filemtime': <function get_filemtime at 0x7b0aa0ede0>,
|
1372
|
+
'print_colorize': <function print_colorize at 0x7b0aa0efc0>,
|
1373
|
+
'print_log': <function print_log at 0x7b0aacab60>,
|
1374
|
+
'console_run': <function console_run at 0x7b0aa0ee80>,
|
1375
|
+
'auto_reload': <function auto_reload at 0x7b0a9f7ec0>,
|
1376
|
+
'basename': <function basename at 0x7b0aa0ed40>,
|
1377
|
+
'chr_to_int': <function chr_to_int at 0x7b0aa0f560>,
|
1378
|
+
'int_to_chr': <function int_to_chr at 0x7b0aa0f600>,
|
1379
|
+
'irange': <function irange at 0x7b0aa0f880>,
|
1380
|
+
'batchmaker': <function batchmaker at 0x7b0aa0f240>,
|
1381
|
+
'calculate': <function calculate at 0x7b0aa0f380>,
|
1382
|
+
'batch_calculate': <function batch_calculate at 0x7b0aa0f100>,
|
1383
|
+
'bin_to_int': <function bin_to_int at 0x7b0aa0f1a0>,
|
1384
|
+
'is_empty': <function is_empty at 0x7b0a834040>,
|
1385
|
+
'exit_if_empty': <function exit_if_empty at 0x7b0aa0fec0>,
|
1386
|
+
'input_char': <function input_char at 0x7b0aa0ff60>,
|
1387
|
+
'get_by_index': <function get_by_index at 0x7b0a8340e0>,
|
1388
|
+
'choices': <function choices at 0x7b0a8342c0>,
|
1389
|
+
'chunk_array': <function chunk_array at 0x7b0a834360>,
|
1390
|
+
'create_folder': <function create_folder at 0x7b0a834400>,
|
1391
|
+
'datetime_from_string': <function datetime_from_string at 0x7b0a8344a0>,
|
1392
|
+
'datetime_now': <function datetime_now at 0x7b0a834540>,
|
1393
|
+
'dict_first': <function dict_first at 0x7b0a8345e0>,
|
1394
|
+
'dirname': <function dirname at 0x7b0a834680>,
|
1395
|
+
'is_iterable': <function is_iterable at 0x7b0a834860>,
|
1396
|
+
'to_str': <function to_str at 0x7b0a834900>,
|
1397
|
+
'filter_empty': <function filter_empty at 0x7b0a834720>,
|
1398
|
+
'get_class_method': <function get_class_method at 0x7b0a8347c0>,
|
1399
|
+
'get_filesize': <function get_filesize at 0x7b0a834a40>,
|
1400
|
+
'github_pull': <function github_pull at 0x7b0a834ae0>,
|
1401
|
+
'github_push': <function github_push at 0x7b0a834c20>,
|
1402
|
+
'github_user': <function github_user at 0x7b0a834cc0>,
|
1403
|
+
'hex_to_int': <function hex_to_int at 0x7b0a834d60>,
|
1404
|
+
'iargv': <function iargv at 0x7b0a834e00>,
|
1405
|
+
'idumps_html': <function idumps_html at 0x7b0a835080>,
|
1406
|
+
'idumps': <function idumps at 0x7b0a834f40>,
|
1407
|
+
'int_to_int': <function int_to_int at 0x7b0a90d9e0>,
|
1408
|
+
'ienumerate': <function ienumerate at 0x7b0a835580>,
|
1409
|
+
'ienv': <function ienv at 0x7b0a90d8a0>,
|
1410
|
+
'iexec': <function iexec at 0x7b0a90da80>,
|
1411
|
+
'ijoin': <function ijoin at 0x7b0a90dbc0>,
|
1412
|
+
'iloads_html': <function iloads_html at 0x7b0a90dda0>,
|
1413
|
+
'iloads': <function iloads at 0x7b0a90db20>,
|
1414
|
+
'int_to_bin': <function int_to_bin at 0x7b0a90dd00>,
|
1415
|
+
'int_to_hex': <function int_to_hex at 0x7b0a90de40>,
|
1416
|
+
'int_to_oct': <function int_to_oct at 0x7b0a90dee0>,
|
1417
|
+
'is_valid_url': <function is_valid_url at 0x7b0a90e0c0>,
|
1418
|
+
'iopen': <function iopen at 0x7b0a726520>,
|
1419
|
+
'iprint': <function iprint at 0x7b0a90e020>,
|
1420
|
+
'ireplace': <function ireplace at 0x7b0a90e3e0>,
|
1421
|
+
'iscandir': <function iscandir at 0x7b0a7ddc60>,
|
1422
|
+
'isplit': <function isplit at 0x7b0a7ddd00>,
|
1423
|
+
'ivars': <function ivars at 0x7b0a7ddda0>,
|
1424
|
+
'log': <function log at 0x7b0a7dde40>,
|
1425
|
+
'oct_to_int': <function oct_to_int at 0x7b0a7ddee0>,
|
1426
|
+
'password_generator': <function password_generator at 0x7b0a7ddf80>,
|
1427
|
+
'pip_freeze_without_version': <function pip_freeze_without_version at 0x7b0a7de0c0>,
|
1428
|
+
'poetry_publish': <function poetry_publish at 0x7b0a7de160>,
|
1429
|
+
'poetry_update_version': <function poetry_update_version at 0x7b0a7de2a0>,
|
1430
|
+
'print_dir': <function print_dir at 0x7b0a7de480>,
|
1431
|
+
'print_to_last_line': <function print_to_last_line at 0x7b0a7de520>,
|
1432
|
+
'random_bool': <function random_bool at 0x7b0a7de5c0>,
|
1433
|
+
'restart': <function restart at 0x7b0a7de660>,
|
1434
|
+
'set_timeout': <function set_timeout at 0x7b0a7de700>,
|
1435
|
+
'sets_ordered': <function sets_ordered at 0x7b0a7de7a0>,
|
1436
|
+
'str_cmp': <function str_cmp at 0x7b0a7de840>,
|
1437
|
+
'text_colorize': <function text_colorize at 0x7b0a7de8e0>},
|
1438
1438
|
'variable': {'LINUX': True,
|
1439
|
-
'PintUreg': <pint.registry.UnitRegistry object at
|
1439
|
+
'PintUreg': <pint.registry.UnitRegistry object at 0x7b0db68950>,
|
1440
1440
|
'WINDOWS': False},
|
1441
1441
|
'module': {'asyncio': <module 'asyncio' from '/data/data/com.termux/files/usr/lib/python3.11/asyncio/__init__.py'>,
|
1442
1442
|
'colorama': <module 'colorama' from '/data/data/com.termux/files/usr/lib/python3.11/site-packages/colorama/__init__.py'>,
|
@@ -1526,7 +1526,7 @@ print(password_generator())
|
|
1526
1526
|
|
1527
1527
|
Output:
|
1528
1528
|
```py
|
1529
|
-
|
1529
|
+
kT~|*@9(
|
1530
1530
|
```
|
1531
1531
|
|
1532
1532
|
## pip_freeze_without_version
|
@@ -1584,7 +1584,7 @@ Output:
|
|
1584
1584
|
__enter__ : https:/www.google.com
|
1585
1585
|
__fspath__ : https:/www.google.com
|
1586
1586
|
__getstate__ : (None, {'_drv': '', '_root': '', '_parts': ['https:', 'www.google.com'], '_str': 'https:/www.google.com'})
|
1587
|
-
__hash__ :
|
1587
|
+
__hash__ : 4371941438919300075
|
1588
1588
|
__init__ : None
|
1589
1589
|
__init_subclass__ : None
|
1590
1590
|
__module__ : pathlib
|
@@ -1597,8 +1597,8 @@ Output:
|
|
1597
1597
|
_cached_cparts : ['https:', 'www.google.com']
|
1598
1598
|
_cparts : ['https:', 'www.google.com']
|
1599
1599
|
_drv :
|
1600
|
-
_flavour : <pathlib._PosixFlavour object at
|
1601
|
-
_hash :
|
1600
|
+
_flavour : <pathlib._PosixFlavour object at 0x7b14328d10>
|
1601
|
+
_hash : 4371941438919300075
|
1602
1602
|
_parts : ['https:', 'www.google.com']
|
1603
1603
|
_root :
|
1604
1604
|
_str : https:/www.google.com
|
@@ -1620,7 +1620,7 @@ Output:
|
|
1620
1620
|
is_reserved : False
|
1621
1621
|
is_socket : False
|
1622
1622
|
is_symlink : False
|
1623
|
-
iterdir : <generator object Path.iterdir at
|
1623
|
+
iterdir : <generator object Path.iterdir at 0x7b05a4a960>
|
1624
1624
|
joinpath : https:/www.google.com
|
1625
1625
|
name : www.google.com
|
1626
1626
|
parent : https:
|
@@ -1660,7 +1660,7 @@ print(random_bool())
|
|
1660
1660
|
|
1661
1661
|
Output:
|
1662
1662
|
```py
|
1663
|
-
|
1663
|
+
True
|
1664
1664
|
```
|
1665
1665
|
|
1666
1666
|
## restart
|
@@ -1694,7 +1694,7 @@ x.cancel()
|
|
1694
1694
|
|
1695
1695
|
Output:
|
1696
1696
|
```py
|
1697
|
-
<Timer(Thread-2, started
|
1697
|
+
<Timer(Thread-2, started 528345971952)>
|
1698
1698
|
menghentikan timeout 7
|
1699
1699
|
```
|
1700
1700
|
|
@@ -1712,7 +1712,7 @@ print(list(sets_ordered(array)))
|
|
1712
1712
|
|
1713
1713
|
Output:
|
1714
1714
|
```py
|
1715
|
-
<generator object sets_ordered at
|
1715
|
+
<generator object sets_ordered at 0x7b05a7cfb0>
|
1716
1716
|
[2, 3, 12, 42, 1, 43, 41, 4, 24, 32]
|
1717
1717
|
```
|
1718
1718
|
|
@@ -1806,15 +1806,15 @@ print(ExampleComparePerformance().compare_performance())
|
|
1806
1806
|
|
1807
1807
|
Output:
|
1808
1808
|
```py
|
1809
|
-
{'a': <generator object ExampleComparePerformance.a.<locals>.<genexpr> at
|
1809
|
+
{'a': <generator object ExampleComparePerformance.a.<locals>.<genexpr> at 0x7b05a7cad0>,
|
1810
1810
|
'b': (0, 1, 2, 3, 4, 5, 6, 7, 8, 9),
|
1811
1811
|
'c': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
|
1812
1812
|
'd': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]}
|
1813
|
-
{'a':
|
1814
|
-
{'a':
|
1815
|
-
{'a':
|
1816
|
-
{'a':
|
1817
|
-
{'a':
|
1813
|
+
{'a': 165, 'b': 138, 'c': 100, 'd': 164}
|
1814
|
+
{'a': 148, 'b': 141, 'c': 100, 'd': 124}
|
1815
|
+
{'a': 105, 'b': 517, 'c': 100, 'd': 107}
|
1816
|
+
{'a': 134, 'b': 132, 'c': 100, 'd': 131}
|
1817
|
+
{'a': 134, 'b': 133, 'c': 100, 'd': 130}
|
1818
1818
|
```
|
1819
1819
|
|
1820
1820
|
## 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
|