pypipr 1.0.88__tar.gz → 1.0.89__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.88 → pypipr-1.0.89}/PKG-INFO +118 -118
- {pypipr-1.0.88 → pypipr-1.0.89}/pyproject.toml +1 -1
- {pypipr-1.0.88 → pypipr-1.0.89}/readme.md +117 -117
- {pypipr-1.0.88 → pypipr-1.0.89}/pypipr/__init__.py +0 -0
- {pypipr-1.0.88 → pypipr-1.0.89}/pypipr/ibuiltins/ComparePerformance.py +0 -0
- {pypipr-1.0.88 → pypipr-1.0.89}/pypipr/ibuiltins/LINUX.py +0 -0
- {pypipr-1.0.88 → pypipr-1.0.89}/pypipr/ibuiltins/RunParallel.py +0 -0
- {pypipr-1.0.88 → pypipr-1.0.89}/pypipr/ibuiltins/WINDOWS.py +0 -0
- {pypipr-1.0.88 → pypipr-1.0.89}/pypipr/ibuiltins/__init__.py +0 -0
- {pypipr-1.0.88 → pypipr-1.0.89}/pypipr/ibuiltins/avg.py +0 -0
- {pypipr-1.0.88 → pypipr-1.0.89}/pypipr/ibuiltins/basename.py +0 -0
- {pypipr-1.0.88 → pypipr-1.0.89}/pypipr/ibuiltins/chunk_array.py +0 -0
- {pypipr-1.0.88 → pypipr-1.0.89}/pypipr/ibuiltins/create_folder.py +0 -0
- {pypipr-1.0.88 → pypipr-1.0.89}/pypipr/ibuiltins/datetime_from_string.py +0 -0
- {pypipr-1.0.88 → pypipr-1.0.89}/pypipr/ibuiltins/datetime_now.py +0 -0
- {pypipr-1.0.88 → pypipr-1.0.89}/pypipr/ibuiltins/dict_first.py +0 -0
- {pypipr-1.0.88 → pypipr-1.0.89}/pypipr/ibuiltins/dirname.py +0 -0
- {pypipr-1.0.88 → pypipr-1.0.89}/pypipr/ibuiltins/exit_if_empty.py +0 -0
- {pypipr-1.0.88 → pypipr-1.0.89}/pypipr/ibuiltins/filter_empty.py +0 -0
- {pypipr-1.0.88 → pypipr-1.0.89}/pypipr/ibuiltins/get_by_index.py +0 -0
- {pypipr-1.0.88 → pypipr-1.0.89}/pypipr/ibuiltins/get_class_method.py +0 -0
- {pypipr-1.0.88 → pypipr-1.0.89}/pypipr/ibuiltins/get_filemtime.py +0 -0
- {pypipr-1.0.88 → pypipr-1.0.89}/pypipr/ibuiltins/get_filesize.py +0 -0
- {pypipr-1.0.88 → pypipr-1.0.89}/pypipr/ibuiltins/is_empty.py +0 -0
- {pypipr-1.0.88 → pypipr-1.0.89}/pypipr/ibuiltins/is_iterable.py +0 -0
- {pypipr-1.0.88 → pypipr-1.0.89}/pypipr/ibuiltins/is_valid_url.py +0 -0
- {pypipr-1.0.88 → pypipr-1.0.89}/pypipr/ibuiltins/ivars.py +0 -0
- {pypipr-1.0.88 → pypipr-1.0.89}/pypipr/ibuiltins/password_generator.py +0 -0
- {pypipr-1.0.88 → pypipr-1.0.89}/pypipr/ibuiltins/random_bool.py +0 -0
- {pypipr-1.0.88 → pypipr-1.0.89}/pypipr/ibuiltins/set_timeout.py +0 -0
- {pypipr-1.0.88 → pypipr-1.0.89}/pypipr/ibuiltins/sets_ordered.py +0 -0
- {pypipr-1.0.88 → pypipr-1.0.89}/pypipr/ibuiltins/str_cmp.py +0 -0
- {pypipr-1.0.88 → pypipr-1.0.89}/pypipr/ibuiltins/to_str.py +0 -0
- {pypipr-1.0.88 → pypipr-1.0.89}/pypipr/iconsole/__init__.py +0 -0
- {pypipr-1.0.88 → pypipr-1.0.89}/pypipr/iconsole/choices.py +0 -0
- {pypipr-1.0.88 → pypipr-1.0.89}/pypipr/iconsole/console_run.py +0 -0
- {pypipr-1.0.88 → pypipr-1.0.89}/pypipr/iconsole/input_char.py +0 -0
- {pypipr-1.0.88 → pypipr-1.0.89}/pypipr/iconsole/log.py +0 -0
- {pypipr-1.0.88 → pypipr-1.0.89}/pypipr/iconsole/print_colorize.py +0 -0
- {pypipr-1.0.88 → pypipr-1.0.89}/pypipr/iconsole/print_dir.py +0 -0
- {pypipr-1.0.88 → pypipr-1.0.89}/pypipr/iconsole/print_log.py +0 -0
- {pypipr-1.0.88 → pypipr-1.0.89}/pypipr/iconsole/print_to_last_line.py +0 -0
- {pypipr-1.0.88 → pypipr-1.0.89}/pypipr/iconsole/text_colorize.py +0 -0
- {pypipr-1.0.88 → pypipr-1.0.89}/pypipr/idjango/APIMixinView.py +0 -0
- {pypipr-1.0.88 → pypipr-1.0.89}/pypipr/idjango/__init__.py +0 -0
- {pypipr-1.0.88 → pypipr-1.0.89}/pypipr/iengineering/PintUreg.py +0 -0
- {pypipr-1.0.88 → pypipr-1.0.89}/pypipr/iengineering/PintUregQuantity.py +0 -0
- {pypipr-1.0.88 → pypipr-1.0.89}/pypipr/iengineering/__init__.py +0 -0
- {pypipr-1.0.88 → pypipr-1.0.89}/pypipr/iengineering/batch_calculate.py +0 -0
- {pypipr-1.0.88 → pypipr-1.0.89}/pypipr/iengineering/batchmaker.py +0 -0
- {pypipr-1.0.88 → pypipr-1.0.89}/pypipr/iengineering/calculate.py +0 -0
- {pypipr-1.0.88 → pypipr-1.0.89}/pypipr/iflow/auto_reload.py +0 -0
- {pypipr-1.0.88 → pypipr-1.0.89}/pypipr/iflow/github_pull.py +0 -0
- {pypipr-1.0.88 → pypipr-1.0.89}/pypipr/iflow/github_push.py +0 -0
- {pypipr-1.0.88 → pypipr-1.0.89}/pypipr/iflow/github_user.py +0 -0
- {pypipr-1.0.88 → pypipr-1.0.89}/pypipr/iflow/pip_freeze_without_version.py +0 -0
- {pypipr-1.0.88 → pypipr-1.0.89}/pypipr/iflow/poetry_publish.py +0 -0
- {pypipr-1.0.88 → pypipr-1.0.89}/pypipr/iflow/poetry_update_version.py +0 -0
- {pypipr-1.0.88 → pypipr-1.0.89}/pypipr/ifunctions/__init__.py +0 -0
- {pypipr-1.0.88 → pypipr-1.0.89}/pypipr/ifunctions/iargv.py +0 -0
- {pypipr-1.0.88 → pypipr-1.0.89}/pypipr/ifunctions/idumps.py +0 -0
- {pypipr-1.0.88 → pypipr-1.0.89}/pypipr/ifunctions/idumps_html.py +0 -0
- {pypipr-1.0.88 → pypipr-1.0.89}/pypipr/ifunctions/ienv.py +0 -0
- {pypipr-1.0.88 → pypipr-1.0.89}/pypipr/ifunctions/iexec.py +0 -0
- {pypipr-1.0.88 → pypipr-1.0.89}/pypipr/ifunctions/ijoin.py +0 -0
- {pypipr-1.0.88 → pypipr-1.0.89}/pypipr/ifunctions/iloads.py +0 -0
- {pypipr-1.0.88 → pypipr-1.0.89}/pypipr/ifunctions/iloads_html.py +0 -0
- {pypipr-1.0.88 → pypipr-1.0.89}/pypipr/ifunctions/iopen.py +0 -0
- {pypipr-1.0.88 → pypipr-1.0.89}/pypipr/ifunctions/iprint.py +0 -0
- {pypipr-1.0.88 → pypipr-1.0.89}/pypipr/ifunctions/irange.py +0 -0
- {pypipr-1.0.88 → pypipr-1.0.89}/pypipr/ifunctions/ireplace.py +0 -0
- {pypipr-1.0.88 → pypipr-1.0.89}/pypipr/ifunctions/iscandir.py +0 -0
- {pypipr-1.0.88 → pypipr-1.0.89}/pypipr/ifunctions/isplit.py +0 -0
- {pypipr-1.0.88 → pypipr-1.0.89}/pypipr/pypipr.py.bak +0 -0
- {pypipr-1.0.88 → pypipr-1.0.89}/pypipr/terminal.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.89
|
4
4
|
Summary: The Python Package Index Project
|
5
5
|
Author: ufiapjj
|
6
6
|
Author-email: ufiapjj@gmail.com
|
@@ -94,7 +94,7 @@ print(list(chunk_array(arr, 5)))
|
|
94
94
|
|
95
95
|
Output:
|
96
96
|
```py
|
97
|
-
<generator object chunk_array at
|
97
|
+
<generator object chunk_array at 0x7260dd4340>
|
98
98
|
[[2, 3, 12, 3, 3], [42, 42, 1, 43, 2], [42, 41, 4, 24, 32], [42, 3, 12, 32, 42], [42]]
|
99
99
|
```
|
100
100
|
|
@@ -145,9 +145,9 @@ print(datetime_now("Etc/GMT+7"))
|
|
145
145
|
|
146
146
|
Output:
|
147
147
|
```py
|
148
|
-
2024-04-24 11:
|
149
|
-
2024-04-24 04:
|
150
|
-
2024-04-23 21:
|
148
|
+
2024-04-24 11:15:25.931160+07:00
|
149
|
+
2024-04-24 04:15:25.931940+00:00
|
150
|
+
2024-04-23 21:15:25.933202-07:00
|
151
151
|
```
|
152
152
|
|
153
153
|
## dict_first
|
@@ -214,7 +214,7 @@ print(filter_empty(var))
|
|
214
214
|
|
215
215
|
Output:
|
216
216
|
```py
|
217
|
-
<generator object filter_empty at
|
217
|
+
<generator object filter_empty at 0x7260f4ae30>
|
218
218
|
```
|
219
219
|
|
220
220
|
## get_by_index
|
@@ -260,8 +260,8 @@ print(list(get_class_method(ExampleGetClassMethod)))
|
|
260
260
|
|
261
261
|
Output:
|
262
262
|
```py
|
263
|
-
<generator object get_class_method at
|
264
|
-
[<function ExampleGetClassMethod.a at
|
263
|
+
<generator object get_class_method at 0x7260f4b100>
|
264
|
+
[<function ExampleGetClassMethod.a at 0x72740dc540>, <function ExampleGetClassMethod.b at 0x72735b6c00>, <function ExampleGetClassMethod.c at 0x7260de5580>, <function ExampleGetClassMethod.d at 0x7260de5620>]
|
265
265
|
```
|
266
266
|
|
267
267
|
## get_filemtime
|
@@ -386,7 +386,7 @@ Output:
|
|
386
386
|
'idjango': <module 'pypipr.idjango' from '/data/data/com.termux/files/home/pypipr/pypipr/idjango/__init__.py'>,
|
387
387
|
'iengineering': <module 'pypipr.iengineering' from '/data/data/com.termux/files/home/pypipr/pypipr/iengineering/__init__.py'>,
|
388
388
|
'ifunctions': <module 'pypipr.ifunctions' from '/data/data/com.termux/files/home/pypipr/pypipr/ifunctions/__init__.py'>,
|
389
|
-
'iflow': <module 'pypipr.iflow' (<_frozen_importlib_external.NamespaceLoader object at
|
389
|
+
'iflow': <module 'pypipr.iflow' (<_frozen_importlib_external.NamespaceLoader object at 0x72656eb810>)>,
|
390
390
|
'asyncio': <module 'asyncio' from '/data/data/com.termux/files/usr/lib/python3.11/asyncio/__init__.py'>,
|
391
391
|
'colorama': <module 'colorama' from '/data/data/com.termux/files/usr/lib/python3.11/site-packages/colorama/__init__.py'>,
|
392
392
|
'datetime': <module 'datetime' from '/data/data/com.termux/files/usr/lib/python3.11/datetime.py'>,
|
@@ -423,64 +423,64 @@ Output:
|
|
423
423
|
'PintUregQuantity': <class 'pint.Quantity'>},
|
424
424
|
'variable': {'LINUX': True,
|
425
425
|
'WINDOWS': False,
|
426
|
-
'PintUreg': <pint.registry.UnitRegistry object at
|
427
|
-
'function': {'avg': <function avg at
|
428
|
-
'basename': <function basename at
|
429
|
-
'chunk_array': <function chunk_array at
|
430
|
-
'create_folder': <function create_folder at
|
431
|
-
'datetime_from_string': <function datetime_from_string at
|
432
|
-
'datetime_now': <function datetime_now at
|
433
|
-
'dict_first': <function dict_first at
|
434
|
-
'dirname': <function dirname at
|
435
|
-
'exit_if_empty': <function exit_if_empty at
|
436
|
-
'filter_empty': <function filter_empty at
|
437
|
-
'get_by_index': <function get_by_index at
|
438
|
-
'get_class_method': <function get_class_method at
|
439
|
-
'get_filemtime': <function get_filemtime at
|
440
|
-
'get_filesize': <function get_filesize at
|
441
|
-
'is_empty': <function is_empty at
|
442
|
-
'is_iterable': <function is_iterable at
|
443
|
-
'is_valid_url': <function is_valid_url at
|
444
|
-
'ivars': <function ivars at
|
445
|
-
'password_generator': <function password_generator at
|
446
|
-
'random_bool': <function random_bool at
|
447
|
-
'set_timeout': <function set_timeout at
|
448
|
-
'sets_ordered': <function sets_ordered at
|
449
|
-
'str_cmp': <function str_cmp at
|
450
|
-
'to_str': <function to_str at
|
451
|
-
'choices': <function choices at
|
452
|
-
'console_run': <function console_run at
|
453
|
-
'input_char': <function input_char at
|
454
|
-
'log': <function log at
|
455
|
-
'print_colorize': <function print_colorize at
|
456
|
-
'print_dir': <function print_dir at
|
457
|
-
'print_log': <function print_log at
|
458
|
-
'print_to_last_line': <function print_to_last_line at
|
459
|
-
'text_colorize': <function text_colorize at
|
460
|
-
'batch_calculate': <function batch_calculate at
|
461
|
-
'batchmaker': <function batchmaker at
|
462
|
-
'calculate': <function calculate at
|
463
|
-
'auto_reload': <function auto_reload at
|
464
|
-
'github_pull': <function github_pull at
|
465
|
-
'github_push': <function github_push at
|
466
|
-
'github_user': <function github_user at
|
467
|
-
'pip_freeze_without_version': <function pip_freeze_without_version at
|
468
|
-
'poetry_publish': <function poetry_publish at
|
469
|
-
'poetry_update_version': <function poetry_update_version at
|
470
|
-
'iargv': <function iargv at
|
471
|
-
'idumps': <function idumps at
|
472
|
-
'idumps_html': <function idumps_html at
|
473
|
-
'ienv': <function ienv at
|
474
|
-
'iexec': <function iexec at
|
475
|
-
'ijoin': <function ijoin at
|
476
|
-
'iloads': <function iloads at
|
477
|
-
'iloads_html': <function iloads_html at
|
478
|
-
'iopen': <function iopen at
|
479
|
-
'iprint': <function iprint at
|
480
|
-
'irange': <function irange at
|
481
|
-
'ireplace': <function ireplace at
|
482
|
-
'iscandir': <function iscandir at
|
483
|
-
'isplit': <function isplit at
|
426
|
+
'PintUreg': <pint.registry.UnitRegistry object at 0x726c87b510>},
|
427
|
+
'function': {'avg': <function avg at 0x72735b6d40>,
|
428
|
+
'basename': <function basename at 0x72735868e0>,
|
429
|
+
'chunk_array': <function chunk_array at 0x726c7b5120>,
|
430
|
+
'create_folder': <function create_folder at 0x726c7b5300>,
|
431
|
+
'datetime_from_string': <function datetime_from_string at 0x726c7b54e0>,
|
432
|
+
'datetime_now': <function datetime_now at 0x726c85d620>,
|
433
|
+
'dict_first': <function dict_first at 0x726c85d580>,
|
434
|
+
'dirname': <function dirname at 0x726c85d4e0>,
|
435
|
+
'exit_if_empty': <function exit_if_empty at 0x726c8374c0>,
|
436
|
+
'filter_empty': <function filter_empty at 0x726c85d1c0>,
|
437
|
+
'get_by_index': <function get_by_index at 0x726c85cea0>,
|
438
|
+
'get_class_method': <function get_class_method at 0x726c85ccc0>,
|
439
|
+
'get_filemtime': <function get_filemtime at 0x726c85cb80>,
|
440
|
+
'get_filesize': <function get_filesize at 0x726c85c9a0>,
|
441
|
+
'is_empty': <function is_empty at 0x726c85d260>,
|
442
|
+
'is_iterable': <function is_iterable at 0x726c85cfe0>,
|
443
|
+
'is_valid_url': <function is_valid_url at 0x726c85c860>,
|
444
|
+
'ivars': <function ivars at 0x726c85c7c0>,
|
445
|
+
'password_generator': <function password_generator at 0x726c85c680>,
|
446
|
+
'random_bool': <function random_bool at 0x726c85c400>,
|
447
|
+
'set_timeout': <function set_timeout at 0x726c85f7e0>,
|
448
|
+
'sets_ordered': <function sets_ordered at 0x726c85f920>,
|
449
|
+
'str_cmp': <function str_cmp at 0x726c85f9c0>,
|
450
|
+
'to_str': <function to_str at 0x726c85cf40>,
|
451
|
+
'choices': <function choices at 0x726c85fa60>,
|
452
|
+
'console_run': <function console_run at 0x726c85fce0>,
|
453
|
+
'input_char': <function input_char at 0x726c85fe20>,
|
454
|
+
'log': <function log at 0x726c880040>,
|
455
|
+
'print_colorize': <function print_colorize at 0x726c8800e0>,
|
456
|
+
'print_dir': <function print_dir at 0x726c880220>,
|
457
|
+
'print_log': <function print_log at 0x726c85fec0>,
|
458
|
+
'print_to_last_line': <function print_to_last_line at 0x726c85fc40>,
|
459
|
+
'text_colorize': <function text_colorize at 0x726c85fd80>,
|
460
|
+
'batch_calculate': <function batch_calculate at 0x72656f9580>,
|
461
|
+
'batchmaker': <function batchmaker at 0x72656da980>,
|
462
|
+
'calculate': <function calculate at 0x72656fa2a0>,
|
463
|
+
'auto_reload': <function auto_reload at 0x72656fa480>,
|
464
|
+
'github_pull': <function github_pull at 0x72656fa020>,
|
465
|
+
'github_push': <function github_push at 0x72656fa700>,
|
466
|
+
'github_user': <function github_user at 0x72656faa20>,
|
467
|
+
'pip_freeze_without_version': <function pip_freeze_without_version at 0x7265425f80>,
|
468
|
+
'poetry_publish': <function poetry_publish at 0x7265426160>,
|
469
|
+
'poetry_update_version': <function poetry_update_version at 0x726544e980>,
|
470
|
+
'iargv': <function iargv at 0x7260fb40e0>,
|
471
|
+
'idumps': <function idumps at 0x7260fb4220>,
|
472
|
+
'idumps_html': <function idumps_html at 0x7261014c20>,
|
473
|
+
'ienv': <function ienv at 0x7260fb4360>,
|
474
|
+
'iexec': <function iexec at 0x7261014ea0>,
|
475
|
+
'ijoin': <function ijoin at 0x7265425ee0>,
|
476
|
+
'iloads': <function iloads at 0x7261014f40>,
|
477
|
+
'iloads_html': <function iloads_html at 0x72610151c0>,
|
478
|
+
'iopen': <function iopen at 0x7265426200>,
|
479
|
+
'iprint': <function iprint at 0x7260fb4180>,
|
480
|
+
'irange': <function irange at 0x72656fa3e0>,
|
481
|
+
'ireplace': <function ireplace at 0x7261015080>,
|
482
|
+
'iscandir': <function iscandir at 0x7261016e80>,
|
483
|
+
'isplit': <function isplit at 0x7261016f20>}}
|
484
484
|
```
|
485
485
|
|
486
486
|
## password_generator
|
@@ -495,7 +495,7 @@ print(password_generator())
|
|
495
495
|
|
496
496
|
Output:
|
497
497
|
```py
|
498
|
-
|
498
|
+
m,s2mxbv
|
499
499
|
```
|
500
500
|
|
501
501
|
## random_bool
|
@@ -535,7 +535,7 @@ x.cancel()
|
|
535
535
|
|
536
536
|
Output:
|
537
537
|
```py
|
538
|
-
<Timer(Thread-2, started
|
538
|
+
<Timer(Thread-2, started 491227757808)>
|
539
539
|
menghentikan timeout 7
|
540
540
|
```
|
541
541
|
|
@@ -553,7 +553,7 @@ print(list(sets_ordered(array)))
|
|
553
553
|
|
554
554
|
Output:
|
555
555
|
```py
|
556
|
-
<generator object sets_ordered at
|
556
|
+
<generator object sets_ordered at 0x7260df4110>
|
557
557
|
[2, 3, 12, 42, 1, 43, 41, 4, 24, 32]
|
558
558
|
```
|
559
559
|
|
@@ -707,7 +707,7 @@ Output:
|
|
707
707
|
__enter__ : https:/www.google.com
|
708
708
|
__fspath__ : https:/www.google.com
|
709
709
|
__getstate__ : (None, {'_drv': '', '_root': '', '_parts': ['https:', 'www.google.com'], '_str': 'https:/www.google.com'})
|
710
|
-
__hash__ :
|
710
|
+
__hash__ : 7377720213998407932
|
711
711
|
__init__ : None
|
712
712
|
__init_subclass__ : None
|
713
713
|
__module__ : pathlib
|
@@ -720,8 +720,8 @@ Output:
|
|
720
720
|
_cached_cparts : ['https:', 'www.google.com']
|
721
721
|
_cparts : ['https:', 'www.google.com']
|
722
722
|
_drv :
|
723
|
-
_flavour : <pathlib._PosixFlavour object at
|
724
|
-
_hash :
|
723
|
+
_flavour : <pathlib._PosixFlavour object at 0x726c830350>
|
724
|
+
_hash : 7377720213998407932
|
725
725
|
_parts : ['https:', 'www.google.com']
|
726
726
|
_root :
|
727
727
|
_str : https:/www.google.com
|
@@ -743,7 +743,7 @@ Output:
|
|
743
743
|
is_reserved : False
|
744
744
|
is_socket : False
|
745
745
|
is_symlink : False
|
746
|
-
iterdir : <generator object Path.iterdir at
|
746
|
+
iterdir : <generator object Path.iterdir at 0x7260dcc900>
|
747
747
|
joinpath : https:/www.google.com
|
748
748
|
name : www.google.com
|
749
749
|
parent : https:
|
@@ -810,7 +810,7 @@ print(list(batch_calculate("{1 10} m ** {1 3}")))
|
|
810
810
|
|
811
811
|
Output:
|
812
812
|
```py
|
813
|
-
<generator object batch_calculate at
|
813
|
+
<generator object batch_calculate at 0x7260f4ba60>
|
814
814
|
[('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')>)]
|
815
815
|
```
|
816
816
|
|
@@ -835,7 +835,7 @@ print(list(batchmaker(s)))
|
|
835
835
|
|
836
836
|
Output:
|
837
837
|
```py
|
838
|
-
<generator object batchmaker at
|
838
|
+
<generator object batchmaker at 0x7260de0040>
|
839
839
|
['Urutan 1 dan 10 dan j dan Z saja.', 'Urutan 1 dan 10 dan j dan K saja.', 'Urutan 1 dan 10 dan k dan Z saja.', 'Urutan 1 dan 10 dan k dan K saja.', 'Urutan 1 dan 9 dan j dan Z saja.', 'Urutan 1 dan 9 dan j dan K saja.', 'Urutan 1 dan 9 dan k dan Z saja.', 'Urutan 1 dan 9 dan k dan K saja.', 'Urutan 4 dan 10 dan j dan Z saja.', 'Urutan 4 dan 10 dan j dan K saja.', 'Urutan 4 dan 10 dan k dan Z saja.', 'Urutan 4 dan 10 dan k dan K saja.', 'Urutan 4 dan 9 dan j dan Z saja.', 'Urutan 4 dan 9 dan j dan K saja.', 'Urutan 4 dan 9 dan k dan Z saja.', 'Urutan 4 dan 9 dan k dan K saja.']
|
840
840
|
```
|
841
841
|
|
@@ -1199,7 +1199,7 @@ print(ijoin(10, ' '))
|
|
1199
1199
|
|
1200
1200
|
Output:
|
1201
1201
|
```py
|
1202
|
-
qweqw, dfs,
|
1202
|
+
qweqw, dfs, weq, asd
|
1203
1203
|
,ini,path,seperti,url,
|
1204
1204
|
ini,path,seperti,url
|
1205
1205
|
<li>satu</li>
|
@@ -1265,9 +1265,9 @@ Output:
|
|
1265
1265
|
```py
|
1266
1266
|
(['Home', 'Emas 1 Gram', 'History', 'Trend', 'Perak 1 Gram', 'Pluang'],
|
1267
1267
|
[['Harga Emas Hari Ini - Rabu, 24 April 2024'],
|
1268
|
-
['Spot Emas USD↓2.
|
1268
|
+
['Spot Emas USD↓2.327,45 (-2,46) / oz',
|
1269
1269
|
'Kurs IDR↑16.244,00 (+20,00) / USD',
|
1270
|
-
'Emas IDR↑1.
|
1270
|
+
'Emas IDR↑1.215.526 (+213) / gr'],
|
1271
1271
|
['LM Antam (Jual)↓1.320.000 (-5.000) / gr',
|
1272
1272
|
'LM Antam (Beli)↓1.218.000 (-5.000) / gr']],
|
1273
1273
|
[['Harga Emas Hari Ini'],
|
@@ -1338,10 +1338,10 @@ Output:
|
|
1338
1338
|
'Update harga LM Pegadaian :31 Agustus 2023']],
|
1339
1339
|
[['Spot Harga Emas Hari Ini (Market Open)'],
|
1340
1340
|
['Satuan', 'USD', 'Kurs\xa0Dollar', 'IDR'],
|
1341
|
-
['Ounce\xa0(oz)', '2.
|
1342
|
-
['Gram\xa0(gr)', '74,
|
1343
|
-
['Kilogram\xa0(kg)', '74.
|
1344
|
-
['Update harga emas :24 April 2024, pukul 11:
|
1341
|
+
['Ounce\xa0(oz)', '2.327,45 (-2,46)', '16.244,00 (+20,00)', '37.807.098'],
|
1342
|
+
['Gram\xa0(gr)', '74,83', '16.244,00', '1.215.526 (+213)'],
|
1343
|
+
['Kilogram\xa0(kg)', '74.829,26', '16.244,00', '1.215.526.421'],
|
1344
|
+
['Update harga emas :24 April 2024, pukul 11:15Update kurs :24 April 2024, '
|
1345
1345
|
'pukul 09:10']],
|
1346
1346
|
[['Gram', 'UBS Gold 99.99%'],
|
1347
1347
|
['Jual', 'Beli'],
|
@@ -1368,7 +1368,7 @@ Output:
|
|
1368
1368
|
'1.247.500'],
|
1369
1369
|
['5', '6.375.000 (-25.000)', '1.275.000 (-5.000)', '6.289.500', '1.257.900'],
|
1370
1370
|
['1', '1.320.000 (-5.000)', '1.320.000 (-5.000)', '1.290.500', '1.290.500'],
|
1371
|
-
['', 'Update :
|
1371
|
+
['', 'Update :24 April 2024, pukul 10:55']],
|
1372
1372
|
[['Konversi Satuan'],
|
1373
1373
|
['Satuan', 'Ounce (oz)', 'Gram (gr)', 'Kilogram (kg)'],
|
1374
1374
|
['Ounce\xa0(oz)', '1', '31,1034767696', '0,0311034768'],
|
@@ -1379,36 +1379,36 @@ Output:
|
|
1379
1379
|
['Unit', 'USD', 'IDR'],
|
1380
1380
|
['Angka', '+/-', 'Angka', '+/-'],
|
1381
1381
|
['Hari Ini', 'Kurs', '', '', '16.224', '+20+0,12%'],
|
1382
|
-
['oz', '2.329,91', '-
|
1383
|
-
['gr', '74,91', '-0,
|
1382
|
+
['oz', '2.329,91', '-2,46-0,11%', '37.800.460', '+6.638+0,02%'],
|
1383
|
+
['gr', '74,91', '-0,08-0,11%', '1.215.313', '+213+0,02%'],
|
1384
1384
|
['30 Hari', 'Kurs', '', '', '15.773', '+471+2,99%'],
|
1385
|
-
['oz', '2.175,55', '+
|
1386
|
-
['gr', '69,95', '+4,
|
1385
|
+
['oz', '2.175,55', '+151,90+6,98%', '34.314.950', '+3.492.148+10,18%'],
|
1386
|
+
['gr', '69,95', '+4,88+6,98%', '1.103.251', '+112.275+10,18%'],
|
1387
1387
|
['2 Bulan', 'Kurs', '', '', '15.630', '+614+3,93%'],
|
1388
|
-
['oz', '2.035,57', '+
|
1389
|
-
['gr', '65,45', '+9,
|
1388
|
+
['oz', '2.035,57', '+291,88+14,34%', '31.815.959', '+5.991.139+18,83%'],
|
1389
|
+
['gr', '65,45', '+9,38+14,34', '1.022.907', '+192.620+18,83%'],
|
1390
1390
|
['6 Bulan', 'Kurs', '', '', '15.933', '+311+1,95%'],
|
1391
|
-
['oz', '1.983,13', '+
|
1392
|
-
['gr', '63,76', '+11,
|
1391
|
+
['oz', '1.983,13', '+344,32+17,36%', '31.597.210', '+6.209.888+19,65%'],
|
1392
|
+
['gr', '63,76', '+11,07+17,36%', '1.015.874', '+199.653+19,65%'],
|
1393
1393
|
['1 Tahun', 'Kurs', '', '', '15.731', '+513+3,26%'],
|
1394
|
-
['oz', '1.823,86', '+
|
1395
|
-
['gr', '58,64', '+16,
|
1394
|
+
['oz', '1.823,86', '+503,59+27,61%', '28.691.142', '+9.115.956+31,77%'],
|
1395
|
+
['gr', '58,64', '+16,19+27,61%', '922.442', '+293.085+31,77%'],
|
1396
1396
|
['2 Tahun', 'Kurs', '', '', '14.361', '+1.883+13,11%'],
|
1397
|
-
['oz', '1.896,13', '+
|
1398
|
-
['gr', '60,96', '+13,
|
1397
|
+
['oz', '1.896,13', '+431,32+22,75%', '27.230.342', '+10.576.756+38,84%'],
|
1398
|
+
['gr', '60,96', '+13,87+22,75%', '875.476', '+340.051+38,84%'],
|
1399
1399
|
['3 Tahun', 'Kurs', '', '', '14.530', '+1.714+11,80%'],
|
1400
|
-
['oz', '1.777,11', '+
|
1401
|
-
['gr', '57,14', '+17,
|
1400
|
+
['oz', '1.777,11', '+550,34+30,97%', '25.821.408', '+11.985.690+46,42%'],
|
1401
|
+
['gr', '57,14', '+17,69+30,97%', '830.178', '+385.349+46,42%'],
|
1402
1402
|
['5 Tahun', 'Kurs', '', '', '14.188', '+2.056+14,49%'],
|
1403
|
-
['oz', '1.288,10', '+1.
|
1404
|
-
['gr', '41,41', '+33,
|
1403
|
+
['oz', '1.288,10', '+1.039,35+80,69%', '18.275.563', '+19.531.535+106,87%'],
|
1404
|
+
['gr', '41,41', '+33,42+80,69%', '587.573', '+627.953+106,87%']])
|
1405
1405
|
(['Home', 'Emas 1 Gram', 'History', 'Trend', 'Perak 1 Gram', 'Pluang'],
|
1406
1406
|
[[''],
|
1407
1407
|
['Emas 24 KaratHarga Emas 1 Gram', ''],
|
1408
|
-
['USD', '74,
|
1409
|
-
['KURS', '16.
|
1410
|
-
['IDR', '1.
|
1411
|
-
['Rabu, 24 April 2024 11:
|
1408
|
+
['USD', '74,83↓', '-0,08-0,11%'],
|
1409
|
+
['KURS', '16.154,30↑', '+7,40+0,05%'],
|
1410
|
+
['IDR', '1.208.814,24↓', '-723,33-0,06%'],
|
1411
|
+
['Rabu, 24 April 2024 11:15']],
|
1412
1412
|
[[''],
|
1413
1413
|
['Emas 1 Gram (IDR)Emas 1 Gram (USD)Kurs USD-IDR',
|
1414
1414
|
'Hari Ini',
|
@@ -1419,19 +1419,19 @@ Output:
|
|
1419
1419
|
'']],
|
1420
1420
|
[['Pergerakkan Harga Emas 1 Gram'],
|
1421
1421
|
['', 'Penutupan Kemarin', 'Pergerakkan Hari Ini', 'Rata-rata'],
|
1422
|
-
['USD', '74,91', '74,
|
1423
|
-
['KURS', '16.146,90', '16.146,90 - 16.
|
1424
|
-
['IDR', '1.209.537,57', '1.
|
1422
|
+
['USD', '74,91', '74,83 - 74,91', '74,87'],
|
1423
|
+
['KURS', '16.146,90', '16.146,90 - 16.154,30', '16.150,60'],
|
1424
|
+
['IDR', '1.209.537,57', '1.208.814,24 - 1.209.537,57', '1.209.175,91'],
|
1425
1425
|
[''],
|
1426
1426
|
['', 'Awal Tahun', 'Pergerakkan YTD', '+/- YTD'],
|
1427
|
-
['USD', '66,32', '64,07 - 77,14', '+8,
|
1428
|
-
['KURS', '15.390,10', '15.390,00 - 16.307,80', '+
|
1429
|
-
['IDR', '1.020.729,53', '997.660,12 - 1.256.829,06', '+188.
|
1427
|
+
['USD', '66,32', '64,07 - 77,14', '+8,51 (12,83%)'],
|
1428
|
+
['KURS', '15.390,10', '15.390,00 - 16.307,80', '+764,20 (4,97%)'],
|
1429
|
+
['IDR', '1.020.729,53', '997.660,12 - 1.256.829,06', '+188.084,71 (18,43%)'],
|
1430
1430
|
[''],
|
1431
1431
|
['', 'Tahun Lalu / 52 Minggu', 'Pergerakkan 52 Minggu', '+/- 52 Minggu'],
|
1432
|
-
['USD', '63,76', '58,43 - 77,14', '+11,
|
1433
|
-
['KURS', '14.936,00', '14.669,40 - 16.307,80', '+1.
|
1434
|
-
['IDR', '952.339,68', '912.925,68 - 1.256.829,06', '+
|
1432
|
+
['USD', '63,76', '58,43 - 77,14', '+11,07 (17,36%)'],
|
1433
|
+
['KURS', '14.936,00', '14.669,40 - 16.307,80', '+1.218,30 (8,16%)'],
|
1434
|
+
['IDR', '952.339,68', '912.925,68 - 1.256.829,06', '+256.474,56 (26,93%)']])
|
1435
1435
|
```
|
1436
1436
|
|
1437
1437
|
## iopen
|
@@ -1473,7 +1473,7 @@ Output:
|
|
1473
1473
|
```py
|
1474
1474
|
8
|
1475
1475
|
['mana', 'aja']
|
1476
|
-
[<Element a at
|
1476
|
+
[<Element a at 0x7260dd3070>, <Element a at 0x7260e223f0>, <Element a at 0x7260e22490>, <Element a at 0x7260e224e0>, <Element a at 0x7260e22530>, <Element a at 0x7260e22580>, <Element a at 0x7260e225d0>, <Element a at 0x7260e22620>, <Element a at 0x7260e22670>, <Element a at 0x7260e226c0>, <Element a at 0x7260e22710>, <Element a at 0x7260e22760>, <Element a at 0x7260e227b0>, <Element a at 0x7260e22800>, <Element a at 0x7260e22850>, <Element a at 0x7260e228a0>, <Element a at 0x7260e228f0>, <Element a at 0x7260e22940>]
|
1477
1477
|
False
|
1478
1478
|
```
|
1479
1479
|
|
@@ -1514,8 +1514,8 @@ print(list(irange(10, 5)))
|
|
1514
1514
|
|
1515
1515
|
Output:
|
1516
1516
|
```py
|
1517
|
-
<generator object irange at
|
1518
|
-
<generator object irange at
|
1517
|
+
<generator object irange at 0x7260da6bd0>
|
1518
|
+
<generator object irange at 0x7260da6bd0>
|
1519
1519
|
['a', 'k', 'u']
|
1520
1520
|
[1, 2, 3, 4, 5, 6, 7]
|
1521
1521
|
[10, 9, 8, 7, 6, 5]
|
@@ -1558,7 +1558,7 @@ print(list(iscandir("./", recursive=False, scan_file=False)))
|
|
1558
1558
|
|
1559
1559
|
Output:
|
1560
1560
|
```py
|
1561
|
-
<generator object iscandir at
|
1561
|
+
<generator object iscandir at 0x7260dd4940>
|
1562
1562
|
[PosixPath('.git'), PosixPath('.vscode'), PosixPath('pypipr'), PosixPath('__pycache__'), PosixPath('dist')]
|
1563
1563
|
```
|
1564
1564
|
|
@@ -1615,7 +1615,7 @@ print(ExampleComparePerformance().compare_performance())
|
|
1615
1615
|
|
1616
1616
|
Output:
|
1617
1617
|
```py
|
1618
|
-
{'a': <generator object ExampleComparePerformance.a.<locals>.<genexpr> at
|
1618
|
+
{'a': <generator object ExampleComparePerformance.a.<locals>.<genexpr> at 0x7260df4450>,
|
1619
1619
|
'b': (0, 1, 2, 3, 4, 5, 6, 7, 8, 9),
|
1620
1620
|
'c': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
|
1621
1621
|
'd': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]}
|
@@ -71,7 +71,7 @@ print(list(chunk_array(arr, 5)))
|
|
71
71
|
|
72
72
|
Output:
|
73
73
|
```py
|
74
|
-
<generator object chunk_array at
|
74
|
+
<generator object chunk_array at 0x7260dd4340>
|
75
75
|
[[2, 3, 12, 3, 3], [42, 42, 1, 43, 2], [42, 41, 4, 24, 32], [42, 3, 12, 32, 42], [42]]
|
76
76
|
```
|
77
77
|
|
@@ -122,9 +122,9 @@ print(datetime_now("Etc/GMT+7"))
|
|
122
122
|
|
123
123
|
Output:
|
124
124
|
```py
|
125
|
-
2024-04-24 11:
|
126
|
-
2024-04-24 04:
|
127
|
-
2024-04-23 21:
|
125
|
+
2024-04-24 11:15:25.931160+07:00
|
126
|
+
2024-04-24 04:15:25.931940+00:00
|
127
|
+
2024-04-23 21:15:25.933202-07:00
|
128
128
|
```
|
129
129
|
|
130
130
|
## dict_first
|
@@ -191,7 +191,7 @@ print(filter_empty(var))
|
|
191
191
|
|
192
192
|
Output:
|
193
193
|
```py
|
194
|
-
<generator object filter_empty at
|
194
|
+
<generator object filter_empty at 0x7260f4ae30>
|
195
195
|
```
|
196
196
|
|
197
197
|
## get_by_index
|
@@ -237,8 +237,8 @@ print(list(get_class_method(ExampleGetClassMethod)))
|
|
237
237
|
|
238
238
|
Output:
|
239
239
|
```py
|
240
|
-
<generator object get_class_method at
|
241
|
-
[<function ExampleGetClassMethod.a at
|
240
|
+
<generator object get_class_method at 0x7260f4b100>
|
241
|
+
[<function ExampleGetClassMethod.a at 0x72740dc540>, <function ExampleGetClassMethod.b at 0x72735b6c00>, <function ExampleGetClassMethod.c at 0x7260de5580>, <function ExampleGetClassMethod.d at 0x7260de5620>]
|
242
242
|
```
|
243
243
|
|
244
244
|
## get_filemtime
|
@@ -363,7 +363,7 @@ Output:
|
|
363
363
|
'idjango': <module 'pypipr.idjango' from '/data/data/com.termux/files/home/pypipr/pypipr/idjango/__init__.py'>,
|
364
364
|
'iengineering': <module 'pypipr.iengineering' from '/data/data/com.termux/files/home/pypipr/pypipr/iengineering/__init__.py'>,
|
365
365
|
'ifunctions': <module 'pypipr.ifunctions' from '/data/data/com.termux/files/home/pypipr/pypipr/ifunctions/__init__.py'>,
|
366
|
-
'iflow': <module 'pypipr.iflow' (<_frozen_importlib_external.NamespaceLoader object at
|
366
|
+
'iflow': <module 'pypipr.iflow' (<_frozen_importlib_external.NamespaceLoader object at 0x72656eb810>)>,
|
367
367
|
'asyncio': <module 'asyncio' from '/data/data/com.termux/files/usr/lib/python3.11/asyncio/__init__.py'>,
|
368
368
|
'colorama': <module 'colorama' from '/data/data/com.termux/files/usr/lib/python3.11/site-packages/colorama/__init__.py'>,
|
369
369
|
'datetime': <module 'datetime' from '/data/data/com.termux/files/usr/lib/python3.11/datetime.py'>,
|
@@ -400,64 +400,64 @@ Output:
|
|
400
400
|
'PintUregQuantity': <class 'pint.Quantity'>},
|
401
401
|
'variable': {'LINUX': True,
|
402
402
|
'WINDOWS': False,
|
403
|
-
'PintUreg': <pint.registry.UnitRegistry object at
|
404
|
-
'function': {'avg': <function avg at
|
405
|
-
'basename': <function basename at
|
406
|
-
'chunk_array': <function chunk_array at
|
407
|
-
'create_folder': <function create_folder at
|
408
|
-
'datetime_from_string': <function datetime_from_string at
|
409
|
-
'datetime_now': <function datetime_now at
|
410
|
-
'dict_first': <function dict_first at
|
411
|
-
'dirname': <function dirname at
|
412
|
-
'exit_if_empty': <function exit_if_empty at
|
413
|
-
'filter_empty': <function filter_empty at
|
414
|
-
'get_by_index': <function get_by_index at
|
415
|
-
'get_class_method': <function get_class_method at
|
416
|
-
'get_filemtime': <function get_filemtime at
|
417
|
-
'get_filesize': <function get_filesize at
|
418
|
-
'is_empty': <function is_empty at
|
419
|
-
'is_iterable': <function is_iterable at
|
420
|
-
'is_valid_url': <function is_valid_url at
|
421
|
-
'ivars': <function ivars at
|
422
|
-
'password_generator': <function password_generator at
|
423
|
-
'random_bool': <function random_bool at
|
424
|
-
'set_timeout': <function set_timeout at
|
425
|
-
'sets_ordered': <function sets_ordered at
|
426
|
-
'str_cmp': <function str_cmp at
|
427
|
-
'to_str': <function to_str at
|
428
|
-
'choices': <function choices at
|
429
|
-
'console_run': <function console_run at
|
430
|
-
'input_char': <function input_char at
|
431
|
-
'log': <function log at
|
432
|
-
'print_colorize': <function print_colorize at
|
433
|
-
'print_dir': <function print_dir at
|
434
|
-
'print_log': <function print_log at
|
435
|
-
'print_to_last_line': <function print_to_last_line at
|
436
|
-
'text_colorize': <function text_colorize at
|
437
|
-
'batch_calculate': <function batch_calculate at
|
438
|
-
'batchmaker': <function batchmaker at
|
439
|
-
'calculate': <function calculate at
|
440
|
-
'auto_reload': <function auto_reload at
|
441
|
-
'github_pull': <function github_pull at
|
442
|
-
'github_push': <function github_push at
|
443
|
-
'github_user': <function github_user at
|
444
|
-
'pip_freeze_without_version': <function pip_freeze_without_version at
|
445
|
-
'poetry_publish': <function poetry_publish at
|
446
|
-
'poetry_update_version': <function poetry_update_version at
|
447
|
-
'iargv': <function iargv at
|
448
|
-
'idumps': <function idumps at
|
449
|
-
'idumps_html': <function idumps_html at
|
450
|
-
'ienv': <function ienv at
|
451
|
-
'iexec': <function iexec at
|
452
|
-
'ijoin': <function ijoin at
|
453
|
-
'iloads': <function iloads at
|
454
|
-
'iloads_html': <function iloads_html at
|
455
|
-
'iopen': <function iopen at
|
456
|
-
'iprint': <function iprint at
|
457
|
-
'irange': <function irange at
|
458
|
-
'ireplace': <function ireplace at
|
459
|
-
'iscandir': <function iscandir at
|
460
|
-
'isplit': <function isplit at
|
403
|
+
'PintUreg': <pint.registry.UnitRegistry object at 0x726c87b510>},
|
404
|
+
'function': {'avg': <function avg at 0x72735b6d40>,
|
405
|
+
'basename': <function basename at 0x72735868e0>,
|
406
|
+
'chunk_array': <function chunk_array at 0x726c7b5120>,
|
407
|
+
'create_folder': <function create_folder at 0x726c7b5300>,
|
408
|
+
'datetime_from_string': <function datetime_from_string at 0x726c7b54e0>,
|
409
|
+
'datetime_now': <function datetime_now at 0x726c85d620>,
|
410
|
+
'dict_first': <function dict_first at 0x726c85d580>,
|
411
|
+
'dirname': <function dirname at 0x726c85d4e0>,
|
412
|
+
'exit_if_empty': <function exit_if_empty at 0x726c8374c0>,
|
413
|
+
'filter_empty': <function filter_empty at 0x726c85d1c0>,
|
414
|
+
'get_by_index': <function get_by_index at 0x726c85cea0>,
|
415
|
+
'get_class_method': <function get_class_method at 0x726c85ccc0>,
|
416
|
+
'get_filemtime': <function get_filemtime at 0x726c85cb80>,
|
417
|
+
'get_filesize': <function get_filesize at 0x726c85c9a0>,
|
418
|
+
'is_empty': <function is_empty at 0x726c85d260>,
|
419
|
+
'is_iterable': <function is_iterable at 0x726c85cfe0>,
|
420
|
+
'is_valid_url': <function is_valid_url at 0x726c85c860>,
|
421
|
+
'ivars': <function ivars at 0x726c85c7c0>,
|
422
|
+
'password_generator': <function password_generator at 0x726c85c680>,
|
423
|
+
'random_bool': <function random_bool at 0x726c85c400>,
|
424
|
+
'set_timeout': <function set_timeout at 0x726c85f7e0>,
|
425
|
+
'sets_ordered': <function sets_ordered at 0x726c85f920>,
|
426
|
+
'str_cmp': <function str_cmp at 0x726c85f9c0>,
|
427
|
+
'to_str': <function to_str at 0x726c85cf40>,
|
428
|
+
'choices': <function choices at 0x726c85fa60>,
|
429
|
+
'console_run': <function console_run at 0x726c85fce0>,
|
430
|
+
'input_char': <function input_char at 0x726c85fe20>,
|
431
|
+
'log': <function log at 0x726c880040>,
|
432
|
+
'print_colorize': <function print_colorize at 0x726c8800e0>,
|
433
|
+
'print_dir': <function print_dir at 0x726c880220>,
|
434
|
+
'print_log': <function print_log at 0x726c85fec0>,
|
435
|
+
'print_to_last_line': <function print_to_last_line at 0x726c85fc40>,
|
436
|
+
'text_colorize': <function text_colorize at 0x726c85fd80>,
|
437
|
+
'batch_calculate': <function batch_calculate at 0x72656f9580>,
|
438
|
+
'batchmaker': <function batchmaker at 0x72656da980>,
|
439
|
+
'calculate': <function calculate at 0x72656fa2a0>,
|
440
|
+
'auto_reload': <function auto_reload at 0x72656fa480>,
|
441
|
+
'github_pull': <function github_pull at 0x72656fa020>,
|
442
|
+
'github_push': <function github_push at 0x72656fa700>,
|
443
|
+
'github_user': <function github_user at 0x72656faa20>,
|
444
|
+
'pip_freeze_without_version': <function pip_freeze_without_version at 0x7265425f80>,
|
445
|
+
'poetry_publish': <function poetry_publish at 0x7265426160>,
|
446
|
+
'poetry_update_version': <function poetry_update_version at 0x726544e980>,
|
447
|
+
'iargv': <function iargv at 0x7260fb40e0>,
|
448
|
+
'idumps': <function idumps at 0x7260fb4220>,
|
449
|
+
'idumps_html': <function idumps_html at 0x7261014c20>,
|
450
|
+
'ienv': <function ienv at 0x7260fb4360>,
|
451
|
+
'iexec': <function iexec at 0x7261014ea0>,
|
452
|
+
'ijoin': <function ijoin at 0x7265425ee0>,
|
453
|
+
'iloads': <function iloads at 0x7261014f40>,
|
454
|
+
'iloads_html': <function iloads_html at 0x72610151c0>,
|
455
|
+
'iopen': <function iopen at 0x7265426200>,
|
456
|
+
'iprint': <function iprint at 0x7260fb4180>,
|
457
|
+
'irange': <function irange at 0x72656fa3e0>,
|
458
|
+
'ireplace': <function ireplace at 0x7261015080>,
|
459
|
+
'iscandir': <function iscandir at 0x7261016e80>,
|
460
|
+
'isplit': <function isplit at 0x7261016f20>}}
|
461
461
|
```
|
462
462
|
|
463
463
|
## password_generator
|
@@ -472,7 +472,7 @@ print(password_generator())
|
|
472
472
|
|
473
473
|
Output:
|
474
474
|
```py
|
475
|
-
|
475
|
+
m,s2mxbv
|
476
476
|
```
|
477
477
|
|
478
478
|
## random_bool
|
@@ -512,7 +512,7 @@ x.cancel()
|
|
512
512
|
|
513
513
|
Output:
|
514
514
|
```py
|
515
|
-
<Timer(Thread-2, started
|
515
|
+
<Timer(Thread-2, started 491227757808)>
|
516
516
|
menghentikan timeout 7
|
517
517
|
```
|
518
518
|
|
@@ -530,7 +530,7 @@ print(list(sets_ordered(array)))
|
|
530
530
|
|
531
531
|
Output:
|
532
532
|
```py
|
533
|
-
<generator object sets_ordered at
|
533
|
+
<generator object sets_ordered at 0x7260df4110>
|
534
534
|
[2, 3, 12, 42, 1, 43, 41, 4, 24, 32]
|
535
535
|
```
|
536
536
|
|
@@ -684,7 +684,7 @@ Output:
|
|
684
684
|
__enter__ : https:/www.google.com
|
685
685
|
__fspath__ : https:/www.google.com
|
686
686
|
__getstate__ : (None, {'_drv': '', '_root': '', '_parts': ['https:', 'www.google.com'], '_str': 'https:/www.google.com'})
|
687
|
-
__hash__ :
|
687
|
+
__hash__ : 7377720213998407932
|
688
688
|
__init__ : None
|
689
689
|
__init_subclass__ : None
|
690
690
|
__module__ : pathlib
|
@@ -697,8 +697,8 @@ Output:
|
|
697
697
|
_cached_cparts : ['https:', 'www.google.com']
|
698
698
|
_cparts : ['https:', 'www.google.com']
|
699
699
|
_drv :
|
700
|
-
_flavour : <pathlib._PosixFlavour object at
|
701
|
-
_hash :
|
700
|
+
_flavour : <pathlib._PosixFlavour object at 0x726c830350>
|
701
|
+
_hash : 7377720213998407932
|
702
702
|
_parts : ['https:', 'www.google.com']
|
703
703
|
_root :
|
704
704
|
_str : https:/www.google.com
|
@@ -720,7 +720,7 @@ Output:
|
|
720
720
|
is_reserved : False
|
721
721
|
is_socket : False
|
722
722
|
is_symlink : False
|
723
|
-
iterdir : <generator object Path.iterdir at
|
723
|
+
iterdir : <generator object Path.iterdir at 0x7260dcc900>
|
724
724
|
joinpath : https:/www.google.com
|
725
725
|
name : www.google.com
|
726
726
|
parent : https:
|
@@ -787,7 +787,7 @@ print(list(batch_calculate("{1 10} m ** {1 3}")))
|
|
787
787
|
|
788
788
|
Output:
|
789
789
|
```py
|
790
|
-
<generator object batch_calculate at
|
790
|
+
<generator object batch_calculate at 0x7260f4ba60>
|
791
791
|
[('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')>)]
|
792
792
|
```
|
793
793
|
|
@@ -812,7 +812,7 @@ print(list(batchmaker(s)))
|
|
812
812
|
|
813
813
|
Output:
|
814
814
|
```py
|
815
|
-
<generator object batchmaker at
|
815
|
+
<generator object batchmaker at 0x7260de0040>
|
816
816
|
['Urutan 1 dan 10 dan j dan Z saja.', 'Urutan 1 dan 10 dan j dan K saja.', 'Urutan 1 dan 10 dan k dan Z saja.', 'Urutan 1 dan 10 dan k dan K saja.', 'Urutan 1 dan 9 dan j dan Z saja.', 'Urutan 1 dan 9 dan j dan K saja.', 'Urutan 1 dan 9 dan k dan Z saja.', 'Urutan 1 dan 9 dan k dan K saja.', 'Urutan 4 dan 10 dan j dan Z saja.', 'Urutan 4 dan 10 dan j dan K saja.', 'Urutan 4 dan 10 dan k dan Z saja.', 'Urutan 4 dan 10 dan k dan K saja.', 'Urutan 4 dan 9 dan j dan Z saja.', 'Urutan 4 dan 9 dan j dan K saja.', 'Urutan 4 dan 9 dan k dan Z saja.', 'Urutan 4 dan 9 dan k dan K saja.']
|
817
817
|
```
|
818
818
|
|
@@ -1176,7 +1176,7 @@ print(ijoin(10, ' '))
|
|
1176
1176
|
|
1177
1177
|
Output:
|
1178
1178
|
```py
|
1179
|
-
qweqw, dfs,
|
1179
|
+
qweqw, dfs, weq, asd
|
1180
1180
|
,ini,path,seperti,url,
|
1181
1181
|
ini,path,seperti,url
|
1182
1182
|
<li>satu</li>
|
@@ -1242,9 +1242,9 @@ Output:
|
|
1242
1242
|
```py
|
1243
1243
|
(['Home', 'Emas 1 Gram', 'History', 'Trend', 'Perak 1 Gram', 'Pluang'],
|
1244
1244
|
[['Harga Emas Hari Ini - Rabu, 24 April 2024'],
|
1245
|
-
['Spot Emas USD↓2.
|
1245
|
+
['Spot Emas USD↓2.327,45 (-2,46) / oz',
|
1246
1246
|
'Kurs IDR↑16.244,00 (+20,00) / USD',
|
1247
|
-
'Emas IDR↑1.
|
1247
|
+
'Emas IDR↑1.215.526 (+213) / gr'],
|
1248
1248
|
['LM Antam (Jual)↓1.320.000 (-5.000) / gr',
|
1249
1249
|
'LM Antam (Beli)↓1.218.000 (-5.000) / gr']],
|
1250
1250
|
[['Harga Emas Hari Ini'],
|
@@ -1315,10 +1315,10 @@ Output:
|
|
1315
1315
|
'Update harga LM Pegadaian :31 Agustus 2023']],
|
1316
1316
|
[['Spot Harga Emas Hari Ini (Market Open)'],
|
1317
1317
|
['Satuan', 'USD', 'Kurs\xa0Dollar', 'IDR'],
|
1318
|
-
['Ounce\xa0(oz)', '2.
|
1319
|
-
['Gram\xa0(gr)', '74,
|
1320
|
-
['Kilogram\xa0(kg)', '74.
|
1321
|
-
['Update harga emas :24 April 2024, pukul 11:
|
1318
|
+
['Ounce\xa0(oz)', '2.327,45 (-2,46)', '16.244,00 (+20,00)', '37.807.098'],
|
1319
|
+
['Gram\xa0(gr)', '74,83', '16.244,00', '1.215.526 (+213)'],
|
1320
|
+
['Kilogram\xa0(kg)', '74.829,26', '16.244,00', '1.215.526.421'],
|
1321
|
+
['Update harga emas :24 April 2024, pukul 11:15Update kurs :24 April 2024, '
|
1322
1322
|
'pukul 09:10']],
|
1323
1323
|
[['Gram', 'UBS Gold 99.99%'],
|
1324
1324
|
['Jual', 'Beli'],
|
@@ -1345,7 +1345,7 @@ Output:
|
|
1345
1345
|
'1.247.500'],
|
1346
1346
|
['5', '6.375.000 (-25.000)', '1.275.000 (-5.000)', '6.289.500', '1.257.900'],
|
1347
1347
|
['1', '1.320.000 (-5.000)', '1.320.000 (-5.000)', '1.290.500', '1.290.500'],
|
1348
|
-
['', 'Update :
|
1348
|
+
['', 'Update :24 April 2024, pukul 10:55']],
|
1349
1349
|
[['Konversi Satuan'],
|
1350
1350
|
['Satuan', 'Ounce (oz)', 'Gram (gr)', 'Kilogram (kg)'],
|
1351
1351
|
['Ounce\xa0(oz)', '1', '31,1034767696', '0,0311034768'],
|
@@ -1356,36 +1356,36 @@ Output:
|
|
1356
1356
|
['Unit', 'USD', 'IDR'],
|
1357
1357
|
['Angka', '+/-', 'Angka', '+/-'],
|
1358
1358
|
['Hari Ini', 'Kurs', '', '', '16.224', '+20+0,12%'],
|
1359
|
-
['oz', '2.329,91', '-
|
1360
|
-
['gr', '74,91', '-0,
|
1359
|
+
['oz', '2.329,91', '-2,46-0,11%', '37.800.460', '+6.638+0,02%'],
|
1360
|
+
['gr', '74,91', '-0,08-0,11%', '1.215.313', '+213+0,02%'],
|
1361
1361
|
['30 Hari', 'Kurs', '', '', '15.773', '+471+2,99%'],
|
1362
|
-
['oz', '2.175,55', '+
|
1363
|
-
['gr', '69,95', '+4,
|
1362
|
+
['oz', '2.175,55', '+151,90+6,98%', '34.314.950', '+3.492.148+10,18%'],
|
1363
|
+
['gr', '69,95', '+4,88+6,98%', '1.103.251', '+112.275+10,18%'],
|
1364
1364
|
['2 Bulan', 'Kurs', '', '', '15.630', '+614+3,93%'],
|
1365
|
-
['oz', '2.035,57', '+
|
1366
|
-
['gr', '65,45', '+9,
|
1365
|
+
['oz', '2.035,57', '+291,88+14,34%', '31.815.959', '+5.991.139+18,83%'],
|
1366
|
+
['gr', '65,45', '+9,38+14,34', '1.022.907', '+192.620+18,83%'],
|
1367
1367
|
['6 Bulan', 'Kurs', '', '', '15.933', '+311+1,95%'],
|
1368
|
-
['oz', '1.983,13', '+
|
1369
|
-
['gr', '63,76', '+11,
|
1368
|
+
['oz', '1.983,13', '+344,32+17,36%', '31.597.210', '+6.209.888+19,65%'],
|
1369
|
+
['gr', '63,76', '+11,07+17,36%', '1.015.874', '+199.653+19,65%'],
|
1370
1370
|
['1 Tahun', 'Kurs', '', '', '15.731', '+513+3,26%'],
|
1371
|
-
['oz', '1.823,86', '+
|
1372
|
-
['gr', '58,64', '+16,
|
1371
|
+
['oz', '1.823,86', '+503,59+27,61%', '28.691.142', '+9.115.956+31,77%'],
|
1372
|
+
['gr', '58,64', '+16,19+27,61%', '922.442', '+293.085+31,77%'],
|
1373
1373
|
['2 Tahun', 'Kurs', '', '', '14.361', '+1.883+13,11%'],
|
1374
|
-
['oz', '1.896,13', '+
|
1375
|
-
['gr', '60,96', '+13,
|
1374
|
+
['oz', '1.896,13', '+431,32+22,75%', '27.230.342', '+10.576.756+38,84%'],
|
1375
|
+
['gr', '60,96', '+13,87+22,75%', '875.476', '+340.051+38,84%'],
|
1376
1376
|
['3 Tahun', 'Kurs', '', '', '14.530', '+1.714+11,80%'],
|
1377
|
-
['oz', '1.777,11', '+
|
1378
|
-
['gr', '57,14', '+17,
|
1377
|
+
['oz', '1.777,11', '+550,34+30,97%', '25.821.408', '+11.985.690+46,42%'],
|
1378
|
+
['gr', '57,14', '+17,69+30,97%', '830.178', '+385.349+46,42%'],
|
1379
1379
|
['5 Tahun', 'Kurs', '', '', '14.188', '+2.056+14,49%'],
|
1380
|
-
['oz', '1.288,10', '+1.
|
1381
|
-
['gr', '41,41', '+33,
|
1380
|
+
['oz', '1.288,10', '+1.039,35+80,69%', '18.275.563', '+19.531.535+106,87%'],
|
1381
|
+
['gr', '41,41', '+33,42+80,69%', '587.573', '+627.953+106,87%']])
|
1382
1382
|
(['Home', 'Emas 1 Gram', 'History', 'Trend', 'Perak 1 Gram', 'Pluang'],
|
1383
1383
|
[[''],
|
1384
1384
|
['Emas 24 KaratHarga Emas 1 Gram', ''],
|
1385
|
-
['USD', '74,
|
1386
|
-
['KURS', '16.
|
1387
|
-
['IDR', '1.
|
1388
|
-
['Rabu, 24 April 2024 11:
|
1385
|
+
['USD', '74,83↓', '-0,08-0,11%'],
|
1386
|
+
['KURS', '16.154,30↑', '+7,40+0,05%'],
|
1387
|
+
['IDR', '1.208.814,24↓', '-723,33-0,06%'],
|
1388
|
+
['Rabu, 24 April 2024 11:15']],
|
1389
1389
|
[[''],
|
1390
1390
|
['Emas 1 Gram (IDR)Emas 1 Gram (USD)Kurs USD-IDR',
|
1391
1391
|
'Hari Ini',
|
@@ -1396,19 +1396,19 @@ Output:
|
|
1396
1396
|
'']],
|
1397
1397
|
[['Pergerakkan Harga Emas 1 Gram'],
|
1398
1398
|
['', 'Penutupan Kemarin', 'Pergerakkan Hari Ini', 'Rata-rata'],
|
1399
|
-
['USD', '74,91', '74,
|
1400
|
-
['KURS', '16.146,90', '16.146,90 - 16.
|
1401
|
-
['IDR', '1.209.537,57', '1.
|
1399
|
+
['USD', '74,91', '74,83 - 74,91', '74,87'],
|
1400
|
+
['KURS', '16.146,90', '16.146,90 - 16.154,30', '16.150,60'],
|
1401
|
+
['IDR', '1.209.537,57', '1.208.814,24 - 1.209.537,57', '1.209.175,91'],
|
1402
1402
|
[''],
|
1403
1403
|
['', 'Awal Tahun', 'Pergerakkan YTD', '+/- YTD'],
|
1404
|
-
['USD', '66,32', '64,07 - 77,14', '+8,
|
1405
|
-
['KURS', '15.390,10', '15.390,00 - 16.307,80', '+
|
1406
|
-
['IDR', '1.020.729,53', '997.660,12 - 1.256.829,06', '+188.
|
1404
|
+
['USD', '66,32', '64,07 - 77,14', '+8,51 (12,83%)'],
|
1405
|
+
['KURS', '15.390,10', '15.390,00 - 16.307,80', '+764,20 (4,97%)'],
|
1406
|
+
['IDR', '1.020.729,53', '997.660,12 - 1.256.829,06', '+188.084,71 (18,43%)'],
|
1407
1407
|
[''],
|
1408
1408
|
['', 'Tahun Lalu / 52 Minggu', 'Pergerakkan 52 Minggu', '+/- 52 Minggu'],
|
1409
|
-
['USD', '63,76', '58,43 - 77,14', '+11,
|
1410
|
-
['KURS', '14.936,00', '14.669,40 - 16.307,80', '+1.
|
1411
|
-
['IDR', '952.339,68', '912.925,68 - 1.256.829,06', '+
|
1409
|
+
['USD', '63,76', '58,43 - 77,14', '+11,07 (17,36%)'],
|
1410
|
+
['KURS', '14.936,00', '14.669,40 - 16.307,80', '+1.218,30 (8,16%)'],
|
1411
|
+
['IDR', '952.339,68', '912.925,68 - 1.256.829,06', '+256.474,56 (26,93%)']])
|
1412
1412
|
```
|
1413
1413
|
|
1414
1414
|
## iopen
|
@@ -1450,7 +1450,7 @@ Output:
|
|
1450
1450
|
```py
|
1451
1451
|
8
|
1452
1452
|
['mana', 'aja']
|
1453
|
-
[<Element a at
|
1453
|
+
[<Element a at 0x7260dd3070>, <Element a at 0x7260e223f0>, <Element a at 0x7260e22490>, <Element a at 0x7260e224e0>, <Element a at 0x7260e22530>, <Element a at 0x7260e22580>, <Element a at 0x7260e225d0>, <Element a at 0x7260e22620>, <Element a at 0x7260e22670>, <Element a at 0x7260e226c0>, <Element a at 0x7260e22710>, <Element a at 0x7260e22760>, <Element a at 0x7260e227b0>, <Element a at 0x7260e22800>, <Element a at 0x7260e22850>, <Element a at 0x7260e228a0>, <Element a at 0x7260e228f0>, <Element a at 0x7260e22940>]
|
1454
1454
|
False
|
1455
1455
|
```
|
1456
1456
|
|
@@ -1491,8 +1491,8 @@ print(list(irange(10, 5)))
|
|
1491
1491
|
|
1492
1492
|
Output:
|
1493
1493
|
```py
|
1494
|
-
<generator object irange at
|
1495
|
-
<generator object irange at
|
1494
|
+
<generator object irange at 0x7260da6bd0>
|
1495
|
+
<generator object irange at 0x7260da6bd0>
|
1496
1496
|
['a', 'k', 'u']
|
1497
1497
|
[1, 2, 3, 4, 5, 6, 7]
|
1498
1498
|
[10, 9, 8, 7, 6, 5]
|
@@ -1535,7 +1535,7 @@ print(list(iscandir("./", recursive=False, scan_file=False)))
|
|
1535
1535
|
|
1536
1536
|
Output:
|
1537
1537
|
```py
|
1538
|
-
<generator object iscandir at
|
1538
|
+
<generator object iscandir at 0x7260dd4940>
|
1539
1539
|
[PosixPath('.git'), PosixPath('.vscode'), PosixPath('pypipr'), PosixPath('__pycache__'), PosixPath('dist')]
|
1540
1540
|
```
|
1541
1541
|
|
@@ -1592,7 +1592,7 @@ print(ExampleComparePerformance().compare_performance())
|
|
1592
1592
|
|
1593
1593
|
Output:
|
1594
1594
|
```py
|
1595
|
-
{'a': <generator object ExampleComparePerformance.a.<locals>.<genexpr> at
|
1595
|
+
{'a': <generator object ExampleComparePerformance.a.<locals>.<genexpr> at 0x7260df4450>,
|
1596
1596
|
'b': (0, 1, 2, 3, 4, 5, 6, 7, 8, 9),
|
1597
1597
|
'c': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
|
1598
1598
|
'd': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]}
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|