pypipr 1.0.94__py3-none-any.whl → 1.0.96__py3-none-any.whl
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/ibuiltins/restart.py +2 -2
- pypipr/iconsole/print_colorize.py +4 -0
- {pypipr-1.0.94.dist-info → pypipr-1.0.96.dist-info}/METADATA +178 -182
- {pypipr-1.0.94.dist-info → pypipr-1.0.96.dist-info}/RECORD +6 -6
- {pypipr-1.0.94.dist-info → pypipr-1.0.96.dist-info}/WHEEL +0 -0
- {pypipr-1.0.94.dist-info → pypipr-1.0.96.dist-info}/entry_points.txt +0 -0
pypipr/ibuiltins/restart.py
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
import colorama
|
2
|
+
import time
|
2
3
|
|
3
4
|
|
4
5
|
def print_colorize(
|
@@ -8,6 +9,7 @@ def print_colorize(
|
|
8
9
|
color_end=colorama.Style.RESET_ALL,
|
9
10
|
text_start="",
|
10
11
|
text_end="\n",
|
12
|
+
delay=0.05
|
11
13
|
):
|
12
14
|
"""
|
13
15
|
Print text dengan warna untuk menunjukan text penting
|
@@ -18,3 +20,5 @@ def print_colorize(
|
|
18
20
|
```
|
19
21
|
"""
|
20
22
|
print(f"{text_start}{color + bright}{text}{color_end}", end=text_end, flush=True)
|
23
|
+
if delay:
|
24
|
+
time.sleep(delay)
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: pypipr
|
3
|
-
Version: 1.0.
|
3
|
+
Version: 1.0.96
|
4
4
|
Summary: The Python Package Index Project
|
5
5
|
Author: ufiapjj
|
6
6
|
Author-email: ufiapjj@gmail.com
|
@@ -101,7 +101,7 @@ print(list(chunk_array(arr, 5)))
|
|
101
101
|
|
102
102
|
Output:
|
103
103
|
```py
|
104
|
-
<generator object chunk_array at
|
104
|
+
<generator object chunk_array at 0x7df6be0140>
|
105
105
|
[[2, 3, 12, 3, 3], [42, 42, 1, 43, 2], [42, 41, 4, 24, 32], [42, 3, 12, 32, 42], [42]]
|
106
106
|
```
|
107
107
|
|
@@ -152,9 +152,9 @@ print(datetime_now("Etc/GMT+7"))
|
|
152
152
|
|
153
153
|
Output:
|
154
154
|
```py
|
155
|
-
2024-04-
|
156
|
-
2024-04-
|
157
|
-
2024-04-
|
155
|
+
2024-04-27 14:44:59.719628+07:00
|
156
|
+
2024-04-27 07:44:59.726765+00:00
|
157
|
+
2024-04-27 00:44:59.731576-07:00
|
158
158
|
```
|
159
159
|
|
160
160
|
## dict_first
|
@@ -221,7 +221,7 @@ print(filter_empty(var))
|
|
221
221
|
|
222
222
|
Output:
|
223
223
|
```py
|
224
|
-
<generator object filter_empty at
|
224
|
+
<generator object filter_empty at 0x7df6b7ad40>
|
225
225
|
```
|
226
226
|
|
227
227
|
## get_by_index
|
@@ -267,8 +267,8 @@ print(list(get_class_method(ExampleGetClassMethod)))
|
|
267
267
|
|
268
268
|
Output:
|
269
269
|
```py
|
270
|
-
<generator object get_class_method at
|
271
|
-
[<function ExampleGetClassMethod.a at
|
270
|
+
<generator object get_class_method at 0x7df6b7b010>
|
271
|
+
[<function ExampleGetClassMethod.a at 0x7e109867a0>, <function ExampleGetClassMethod.b at 0x7df6be96c0>, <function ExampleGetClassMethod.c at 0x7df6be9620>, <function ExampleGetClassMethod.d at 0x7df6be9760>]
|
272
272
|
```
|
273
273
|
|
274
274
|
## get_filemtime
|
@@ -393,7 +393,7 @@ Output:
|
|
393
393
|
'idjango': <module 'pypipr.idjango' from '/data/data/com.termux/files/home/pypipr/pypipr/idjango/__init__.py'>,
|
394
394
|
'iengineering': <module 'pypipr.iengineering' from '/data/data/com.termux/files/home/pypipr/pypipr/iengineering/__init__.py'>,
|
395
395
|
'ifunctions': <module 'pypipr.ifunctions' from '/data/data/com.termux/files/home/pypipr/pypipr/ifunctions/__init__.py'>,
|
396
|
-
'iflow': <module 'pypipr.iflow' (<_frozen_importlib_external.NamespaceLoader object at
|
396
|
+
'iflow': <module 'pypipr.iflow' (<_frozen_importlib_external.NamespaceLoader object at 0x7dff9a1d10>)>,
|
397
397
|
'asyncio': <module 'asyncio' from '/data/data/com.termux/files/usr/lib/python3.11/asyncio/__init__.py'>,
|
398
398
|
'colorama': <module 'colorama' from '/data/data/com.termux/files/usr/lib/python3.11/site-packages/colorama/__init__.py'>,
|
399
399
|
'csv': <module 'csv' from '/data/data/com.termux/files/usr/lib/python3.11/csv.py'>,
|
@@ -431,65 +431,65 @@ Output:
|
|
431
431
|
'PintUregQuantity': <class 'pint.Quantity'>},
|
432
432
|
'variable': {'LINUX': True,
|
433
433
|
'WINDOWS': False,
|
434
|
-
'PintUreg': <pint.registry.UnitRegistry object at
|
435
|
-
'function': {'avg': <function avg at
|
436
|
-
'basename': <function basename at
|
437
|
-
'chunk_array': <function chunk_array at
|
438
|
-
'create_folder': <function create_folder at
|
439
|
-
'datetime_from_string': <function datetime_from_string at
|
440
|
-
'datetime_now': <function datetime_now at
|
441
|
-
'dict_first': <function dict_first at
|
442
|
-
'dirname': <function dirname at
|
443
|
-
'exit_if_empty': <function exit_if_empty at
|
444
|
-
'filter_empty': <function filter_empty at
|
445
|
-
'get_by_index': <function get_by_index at
|
446
|
-
'get_class_method': <function get_class_method at
|
447
|
-
'get_filemtime': <function get_filemtime at
|
448
|
-
'get_filesize': <function get_filesize at
|
449
|
-
'is_empty': <function is_empty at
|
450
|
-
'is_iterable': <function is_iterable at
|
451
|
-
'is_valid_url': <function is_valid_url at
|
452
|
-
'ivars': <function ivars at
|
453
|
-
'password_generator': <function password_generator at
|
454
|
-
'random_bool': <function random_bool at
|
455
|
-
'restart': <function restart at
|
456
|
-
'set_timeout': <function set_timeout at
|
457
|
-
'sets_ordered': <function sets_ordered at
|
458
|
-
'str_cmp': <function str_cmp at
|
459
|
-
'to_str': <function to_str at
|
460
|
-
'choices': <function choices at
|
461
|
-
'console_run': <function console_run at
|
462
|
-
'input_char': <function input_char at
|
463
|
-
'log': <function log at
|
464
|
-
'print_colorize': <function print_colorize at
|
465
|
-
'print_dir': <function print_dir at
|
466
|
-
'print_log': <function print_log at
|
467
|
-
'print_to_last_line': <function print_to_last_line at
|
468
|
-
'text_colorize': <function text_colorize at
|
469
|
-
'batch_calculate': <function batch_calculate at
|
470
|
-
'batchmaker': <function batchmaker at
|
471
|
-
'calculate': <function calculate at
|
472
|
-
'auto_reload': <function auto_reload at
|
473
|
-
'github_pull': <function github_pull at
|
474
|
-
'github_push': <function github_push at
|
475
|
-
'github_user': <function github_user at
|
476
|
-
'pip_freeze_without_version': <function pip_freeze_without_version at
|
477
|
-
'poetry_publish': <function poetry_publish at
|
478
|
-
'poetry_update_version': <function poetry_update_version at
|
479
|
-
'iargv': <function iargv at
|
480
|
-
'idumps': <function idumps at
|
481
|
-
'idumps_html': <function idumps_html at
|
482
|
-
'ienv': <function ienv at
|
483
|
-
'iexec': <function iexec at
|
484
|
-
'ijoin': <function ijoin at
|
485
|
-
'iloads': <function iloads at
|
486
|
-
'iloads_html': <function iloads_html at
|
487
|
-
'iopen': <function iopen at
|
488
|
-
'iprint': <function iprint at
|
489
|
-
'irange': <function irange at
|
490
|
-
'ireplace': <function ireplace at
|
491
|
-
'iscandir': <function iscandir at
|
492
|
-
'isplit': <function isplit at
|
434
|
+
'PintUreg': <pint.registry.UnitRegistry object at 0x7e03032750>},
|
435
|
+
'function': {'avg': <function avg at 0x7e109bed40>,
|
436
|
+
'basename': <function basename at 0x7e109868e0>,
|
437
|
+
'chunk_array': <function chunk_array at 0x7e0b601120>,
|
438
|
+
'create_folder': <function create_folder at 0x7e0b601300>,
|
439
|
+
'datetime_from_string': <function datetime_from_string at 0x7e0b6014e0>,
|
440
|
+
'datetime_now': <function datetime_now at 0x7e0b6a9620>,
|
441
|
+
'dict_first': <function dict_first at 0x7e0b6a9580>,
|
442
|
+
'dirname': <function dirname at 0x7e0b6a94e0>,
|
443
|
+
'exit_if_empty': <function exit_if_empty at 0x7e0b6834c0>,
|
444
|
+
'filter_empty': <function filter_empty at 0x7e0b6a91c0>,
|
445
|
+
'get_by_index': <function get_by_index at 0x7e0b6a8ea0>,
|
446
|
+
'get_class_method': <function get_class_method at 0x7e0b6a8cc0>,
|
447
|
+
'get_filemtime': <function get_filemtime at 0x7e0b6a8b80>,
|
448
|
+
'get_filesize': <function get_filesize at 0x7e0b6a89a0>,
|
449
|
+
'is_empty': <function is_empty at 0x7e0b6a9260>,
|
450
|
+
'is_iterable': <function is_iterable at 0x7e0b6a8fe0>,
|
451
|
+
'is_valid_url': <function is_valid_url at 0x7e0b6a8860>,
|
452
|
+
'ivars': <function ivars at 0x7e0b6a87c0>,
|
453
|
+
'password_generator': <function password_generator at 0x7e0b6a8680>,
|
454
|
+
'random_bool': <function random_bool at 0x7e0b6a8400>,
|
455
|
+
'restart': <function restart at 0x7e0b6ab740>,
|
456
|
+
'set_timeout': <function set_timeout at 0x7e0b6ab880>,
|
457
|
+
'sets_ordered': <function sets_ordered at 0x7e0b6ab9c0>,
|
458
|
+
'str_cmp': <function str_cmp at 0x7e0b6aba60>,
|
459
|
+
'to_str': <function to_str at 0x7e0b6a8f40>,
|
460
|
+
'choices': <function choices at 0x7e0b6abb00>,
|
461
|
+
'console_run': <function console_run at 0x7e0b6abd80>,
|
462
|
+
'input_char': <function input_char at 0x7e0b6abec0>,
|
463
|
+
'log': <function log at 0x7e0b6abc40>,
|
464
|
+
'print_colorize': <function print_colorize at 0x7e0b6d0180>,
|
465
|
+
'print_dir': <function print_dir at 0x7e0b6d02c0>,
|
466
|
+
'print_log': <function print_log at 0x7e0b6abf60>,
|
467
|
+
'print_to_last_line': <function print_to_last_line at 0x7e0b6abce0>,
|
468
|
+
'text_colorize': <function text_colorize at 0x7e0b6abe20>,
|
469
|
+
'batch_calculate': <function batch_calculate at 0x7dff995620>,
|
470
|
+
'batchmaker': <function batchmaker at 0x7dff9960c0>,
|
471
|
+
'calculate': <function calculate at 0x7dff996340>,
|
472
|
+
'auto_reload': <function auto_reload at 0x7dff9965c0>,
|
473
|
+
'github_pull': <function github_pull at 0x7dff996520>,
|
474
|
+
'github_push': <function github_push at 0x7dff9967a0>,
|
475
|
+
'github_user': <function github_user at 0x7dff996ac0>,
|
476
|
+
'pip_freeze_without_version': <function pip_freeze_without_version at 0x7dff6d6020>,
|
477
|
+
'poetry_publish': <function poetry_publish at 0x7dff6d6200>,
|
478
|
+
'poetry_update_version': <function poetry_update_version at 0x7dff6f6a20>,
|
479
|
+
'iargv': <function iargv at 0x7df6db4180>,
|
480
|
+
'idumps': <function idumps at 0x7df6db42c0>,
|
481
|
+
'idumps_html': <function idumps_html at 0x7df6e18cc0>,
|
482
|
+
'ienv': <function ienv at 0x7df6db4400>,
|
483
|
+
'iexec': <function iexec at 0x7df6e18f40>,
|
484
|
+
'ijoin': <function ijoin at 0x7dff6d5f80>,
|
485
|
+
'iloads': <function iloads at 0x7df6e18fe0>,
|
486
|
+
'iloads_html': <function iloads_html at 0x7df6e19260>,
|
487
|
+
'iopen': <function iopen at 0x7dff6d62a0>,
|
488
|
+
'iprint': <function iprint at 0x7df6e19120>,
|
489
|
+
'irange': <function irange at 0x7dff996480>,
|
490
|
+
'ireplace': <function ireplace at 0x7df6e19300>,
|
491
|
+
'iscandir': <function iscandir at 0x7df6e1af20>,
|
492
|
+
'isplit': <function isplit at 0x7df6e1afc0>}}
|
493
493
|
```
|
494
494
|
|
495
495
|
## password_generator
|
@@ -504,7 +504,7 @@ print(password_generator())
|
|
504
504
|
|
505
505
|
Output:
|
506
506
|
```py
|
507
|
-
|
507
|
+
1R=G^`/Y
|
508
508
|
```
|
509
509
|
|
510
510
|
## random_bool
|
@@ -527,7 +527,7 @@ False
|
|
527
527
|
|
528
528
|
## restart
|
529
529
|
|
530
|
-
`restart()`
|
530
|
+
`restart(*argv)`
|
531
531
|
|
532
532
|
## set_timeout
|
533
533
|
|
@@ -548,7 +548,7 @@ x.cancel()
|
|
548
548
|
|
549
549
|
Output:
|
550
550
|
```py
|
551
|
-
<Timer(Thread-2, started
|
551
|
+
<Timer(Thread-2, started 540986752240)>
|
552
552
|
menghentikan timeout 7
|
553
553
|
```
|
554
554
|
|
@@ -566,7 +566,7 @@ print(list(sets_ordered(array)))
|
|
566
566
|
|
567
567
|
Output:
|
568
568
|
```py
|
569
|
-
<generator object sets_ordered at
|
569
|
+
<generator object sets_ordered at 0x7df6bfc110>
|
570
570
|
[2, 3, 12, 42, 1, 43, 41, 4, 24, 32]
|
571
571
|
```
|
572
572
|
|
@@ -687,7 +687,7 @@ some_function_more()
|
|
687
687
|
|
688
688
|
## print_colorize
|
689
689
|
|
690
|
-
`print_colorize(text, color='\x1b[32m', bright='\x1b[1m', color_end='\x1b[0m', text_start='', text_end='\n')`
|
690
|
+
`print_colorize(text, color='\x1b[32m', bright='\x1b[1m', color_end='\x1b[0m', text_start='', text_end='\n', delay=0.05)`
|
691
691
|
|
692
692
|
Print text dengan warna untuk menunjukan text penting
|
693
693
|
|
@@ -720,7 +720,7 @@ Output:
|
|
720
720
|
__enter__ : https:/www.google.com
|
721
721
|
__fspath__ : https:/www.google.com
|
722
722
|
__getstate__ : (None, {'_drv': '', '_root': '', '_parts': ['https:', 'www.google.com'], '_str': 'https:/www.google.com'})
|
723
|
-
__hash__ :
|
723
|
+
__hash__ : -2229795873291381055
|
724
724
|
__init__ : None
|
725
725
|
__init_subclass__ : None
|
726
726
|
__module__ : pathlib
|
@@ -733,8 +733,8 @@ Output:
|
|
733
733
|
_cached_cparts : ['https:', 'www.google.com']
|
734
734
|
_cparts : ['https:', 'www.google.com']
|
735
735
|
_drv :
|
736
|
-
_flavour : <pathlib._PosixFlavour object at
|
737
|
-
_hash :
|
736
|
+
_flavour : <pathlib._PosixFlavour object at 0x7e0b67c690>
|
737
|
+
_hash : -2229795873291381055
|
738
738
|
_parts : ['https:', 'www.google.com']
|
739
739
|
_root :
|
740
740
|
_str : https:/www.google.com
|
@@ -756,7 +756,7 @@ Output:
|
|
756
756
|
is_reserved : False
|
757
757
|
is_socket : False
|
758
758
|
is_symlink : False
|
759
|
-
iterdir : <generator object Path.iterdir at
|
759
|
+
iterdir : <generator object Path.iterdir at 0x7df6bd0c80>
|
760
760
|
joinpath : https:/www.google.com
|
761
761
|
name : www.google.com
|
762
762
|
parent : https:
|
@@ -823,7 +823,7 @@ print(list(batch_calculate("{1 10} m ** {1 3}")))
|
|
823
823
|
|
824
824
|
Output:
|
825
825
|
```py
|
826
|
-
<generator object batch_calculate at
|
826
|
+
<generator object batch_calculate at 0x7df6b7bb50>
|
827
827
|
[('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')>)]
|
828
828
|
```
|
829
829
|
|
@@ -848,7 +848,7 @@ print(list(batchmaker(s)))
|
|
848
848
|
|
849
849
|
Output:
|
850
850
|
```py
|
851
|
-
<generator object batchmaker at
|
851
|
+
<generator object batchmaker at 0x7df6be4160>
|
852
852
|
['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.']
|
853
853
|
```
|
854
854
|
|
@@ -1212,7 +1212,7 @@ print(ijoin(10, ' '))
|
|
1212
1212
|
|
1213
1213
|
Output:
|
1214
1214
|
```py
|
1215
|
-
|
1215
|
+
qweqw, weq, dfs, asd
|
1216
1216
|
,ini,path,seperti,url,
|
1217
1217
|
ini,path,seperti,url
|
1218
1218
|
<li>satu</li>
|
@@ -1277,115 +1277,111 @@ pprint.pprint(iloads_html(iopen("https://harga-emas.org/1-gram/")), depth=10)
|
|
1277
1277
|
Output:
|
1278
1278
|
```py
|
1279
1279
|
(['Home', 'Emas 1 Gram', 'History', 'Trend', 'Perak 1 Gram', 'Pluang'],
|
1280
|
-
[['Harga Emas Hari Ini -
|
1281
|
-
['Spot Emas USD
|
1282
|
-
'Kurs
|
1283
|
-
'Emas IDR
|
1284
|
-
['LM Antam (Jual)
|
1285
|
-
'LM Antam (Beli)
|
1280
|
+
[['Harga Emas Hari Ini - Sabtu, 27 April 2024'],
|
1281
|
+
['Spot Emas USD↑2.337,94 (+3,37) / oz',
|
1282
|
+
'Kurs IDR16.208,00 / USD',
|
1283
|
+
'Emas IDR↑1.218.299 (+1.756) / gr'],
|
1284
|
+
['LM Antam (Jual)↑1.326.000 (+7.000) / gr',
|
1285
|
+
'LM Antam (Beli)↑1.222.000 (+5.000) / gr']],
|
1286
1286
|
[['Harga Emas Hari Ini'],
|
1287
1287
|
['Gram', 'Gedung Antam Jakarta', 'Pegadaian'],
|
1288
1288
|
['per Gram (Rp)', 'per Batangan (Rp)', 'per Gram (Rp)', 'per Batangan (Rp)'],
|
1289
1289
|
['1000',
|
1290
|
-
'1.
|
1291
|
-
'1.
|
1290
|
+
'1.267 (+7)',
|
1291
|
+
'1.266.600 (+7.000)',
|
1292
1292
|
'1.043.040 (+8.200)',
|
1293
1293
|
'1.043.040.000 (+8.200.000)'],
|
1294
1294
|
['500',
|
1295
|
-
'2.
|
1296
|
-
'1.
|
1295
|
+
'2.533 (+14)',
|
1296
|
+
'1.266.640 (+7.000)',
|
1297
1297
|
'1.043.082 (+8.200)',
|
1298
1298
|
'521.541.000 (+4.100.000)'],
|
1299
1299
|
['250',
|
1300
|
-
'5.
|
1301
|
-
'1.
|
1300
|
+
'5.068 (+28)',
|
1301
|
+
'1.267.060 (+7.000)',
|
1302
1302
|
'1.043.512 (+8.200)',
|
1303
1303
|
'260.878.000 (+2.050.000)'],
|
1304
1304
|
['100',
|
1305
|
-
'12.
|
1306
|
-
'1.
|
1305
|
+
'12.681 (+70)',
|
1306
|
+
'1.268.120 (+7.000)',
|
1307
1307
|
'1.044.600 (+8.200)',
|
1308
1308
|
'104.460.000 (+820.000)'],
|
1309
1309
|
['50',
|
1310
|
-
'25.
|
1311
|
-
'1.
|
1310
|
+
'25.378 (+140)',
|
1311
|
+
'1.268.900 (+7.000)',
|
1312
1312
|
'1.045.400 (+8.200)',
|
1313
1313
|
'52.270.000 (+410.000)'],
|
1314
1314
|
['25',
|
1315
|
-
'50.
|
1316
|
-
'1.
|
1315
|
+
'50.819 (+280)',
|
1316
|
+
'1.270.480 (+7.000)',
|
1317
1317
|
'1.047.040 (+8.200)',
|
1318
1318
|
'26.176.000 (+205.000)'],
|
1319
1319
|
['10',
|
1320
|
-
'
|
1321
|
-
'1.
|
1320
|
+
'127.550 (+700)',
|
1321
|
+
'1.275.500 (+7.000)',
|
1322
1322
|
'1.052.200 (+8.200)',
|
1323
1323
|
'10.522.000 (+82.000)'],
|
1324
1324
|
['5',
|
1325
|
-
'
|
1326
|
-
'1.
|
1325
|
+
'256.200 (+1.400)',
|
1326
|
+
'1.281.000 (+7.000)',
|
1327
1327
|
'1.057.800 (+8.200)',
|
1328
1328
|
'5.289.000 (+41.000)'],
|
1329
1329
|
['3',
|
1330
|
-
'
|
1331
|
-
'1.
|
1330
|
+
'429.222 (+2.333)',
|
1331
|
+
'1.287.667 (+7.000)',
|
1332
1332
|
'1.064.667 (+8.000)',
|
1333
1333
|
'3.194.000 (+24.000)'],
|
1334
1334
|
['2',
|
1335
|
-
'
|
1336
|
-
'1.
|
1335
|
+
'648.000 (+3.500)',
|
1336
|
+
'1.296.000 (+7.000)',
|
1337
1337
|
'1.073.500 (+8.500)',
|
1338
1338
|
'2.147.000 (+17.000)'],
|
1339
1339
|
['1',
|
1340
|
-
'1.
|
1341
|
-
'1.
|
1340
|
+
'1.326.000 (+7.000)',
|
1341
|
+
'1.326.000 (+7.000)',
|
1342
1342
|
'1.104.000 (+8.000)',
|
1343
1343
|
'1.104.000 (+8.000)'],
|
1344
1344
|
['0.5',
|
1345
|
-
'2.
|
1346
|
-
'1.
|
1345
|
+
'2.852.000 (+14.000)',
|
1346
|
+
'1.426.000 (+7.000)',
|
1347
1347
|
'1.208.000 (+8.000)',
|
1348
1348
|
'604.000 (+4.000)'],
|
1349
|
-
['Update harga LM Antam :
|
1350
|
-
':Rp. 1.
|
1349
|
+
['Update harga LM Antam :27 April 2024, pukul 08:30Harga pembelian kembali '
|
1350
|
+
':Rp. 1.222.000/gram (+5.000)',
|
1351
1351
|
'Update harga LM Pegadaian :31 Agustus 2023']],
|
1352
|
-
[['Spot Harga Emas Hari Ini (Market
|
1352
|
+
[['Spot Harga Emas Hari Ini (Market Close)'],
|
1353
1353
|
['Satuan', 'USD', 'Kurs\xa0Dollar', 'IDR'],
|
1354
|
-
['Ounce\xa0(oz)', '2.
|
1355
|
-
['Gram\xa0(gr)', '
|
1356
|
-
['Kilogram\xa0(kg)', '
|
1357
|
-
['Update harga emas :
|
1354
|
+
['Ounce\xa0(oz)', '2.337,94 (+3,37)', '16.208,00', '37.893.332'],
|
1355
|
+
['Gram\xa0(gr)', '75,17', '16.208,00', '1.218.299 (+1.756)'],
|
1356
|
+
['Kilogram\xa0(kg)', '75.166,52', '16.208,00', '1.218.298.900'],
|
1357
|
+
['Update harga emas :27 April 2024, pukul 14:45Update kurs :27 April 2024, '
|
1358
1358
|
'pukul 13:10']],
|
1359
1359
|
[['Gram', 'UBS Gold 99.99%'],
|
1360
1360
|
['Jual', 'Beli'],
|
1361
1361
|
['/ Batang', '/ Gram', '/ Batang', '/ Gram'],
|
1362
1362
|
['100',
|
1363
|
-
'126.000.000',
|
1364
|
-
'1.
|
1365
|
-
'124.
|
1366
|
-
'1.
|
1363
|
+
'126.812.000 (+812.000)',
|
1364
|
+
'1.268.120 (+8.120)',
|
1365
|
+
'124.985.000',
|
1366
|
+
'1.249.850'],
|
1367
1367
|
['50',
|
1368
|
-
'63.
|
1369
|
-
'1.
|
1370
|
-
'62.
|
1371
|
-
'1.
|
1368
|
+
'63.445.000 (+345.000)',
|
1369
|
+
'1.268.900 (+6.900)',
|
1370
|
+
'62.545.000',
|
1371
|
+
'1.250.900'],
|
1372
1372
|
['25',
|
1373
|
-
'31.
|
1374
|
-
'1.
|
1375
|
-
'31.
|
1376
|
-
'1.
|
1373
|
+
'31.762.000 (+162.000)',
|
1374
|
+
'1.270.480 (+6.480)',
|
1375
|
+
'31.375.000',
|
1376
|
+
'1.255.000'],
|
1377
1377
|
['10',
|
1378
|
-
'12.
|
1379
|
-
'1.
|
1380
|
-
'12.
|
1381
|
-
'1.
|
1382
|
-
['5', '6.
|
1383
|
-
['1',
|
1384
|
-
|
1385
|
-
'1.315.000 (-5.000)',
|
1386
|
-
'1.297.000 (+4.000)',
|
1387
|
-
'1.297.000 (+4.000)'],
|
1388
|
-
['', 'Update :25 April 2024, pukul 14:44']],
|
1378
|
+
'12.755.000 (+75.000)',
|
1379
|
+
'1.275.500 (+7.500)',
|
1380
|
+
'12.600.000',
|
1381
|
+
'1.260.000'],
|
1382
|
+
['5', '6.405.000 (+40.000)', '1.281.000 (+8.000)', '6.352.000', '1.270.400'],
|
1383
|
+
['1', '1.326.000 (+11.000)', '1.326.000 (+11.000)', '1.303.000', '1.303.000'],
|
1384
|
+
['', 'Update :26 April 2024, pukul 13:52']],
|
1389
1385
|
[['Konversi Satuan'],
|
1390
1386
|
['Satuan', 'Ounce (oz)', 'Gram (gr)', 'Kilogram (kg)'],
|
1391
1387
|
['Ounce\xa0(oz)', '1', '31,1034767696', '0,0311034768'],
|
@@ -1395,38 +1391,38 @@ Output:
|
|
1395
1391
|
['Waktu', 'Emas'],
|
1396
1392
|
['Unit', 'USD', 'IDR'],
|
1397
1393
|
['Angka', '+/-', 'Angka', '+/-'],
|
1398
|
-
['Hari Ini', 'Kurs', '', '', '16.
|
1399
|
-
['oz', '2.
|
1400
|
-
['gr', '
|
1401
|
-
['30 Hari', 'Kurs', '', '', '15.
|
1402
|
-
['oz', '2.
|
1403
|
-
['gr', '
|
1404
|
-
['2 Bulan', 'Kurs', '', '', '15.
|
1405
|
-
['oz', '2.
|
1406
|
-
['gr', '65,
|
1407
|
-
['6 Bulan', 'Kurs', '', '', '15.
|
1408
|
-
['oz', '
|
1409
|
-
['gr', '64,
|
1410
|
-
['1 Tahun', 'Kurs', '', '', '15.731', '+
|
1411
|
-
['oz', '1.823,86', '+
|
1412
|
-
['gr', '58,64', '+
|
1413
|
-
['2 Tahun', 'Kurs', '', '', '14.
|
1414
|
-
['oz', '1.
|
1415
|
-
['gr', '
|
1416
|
-
['3 Tahun', 'Kurs', '', '', '14.
|
1417
|
-
['oz', '1.
|
1418
|
-
['gr', '57,
|
1419
|
-
['5 Tahun', 'Kurs', '', '', '14.188', '+
|
1420
|
-
['oz', '1.
|
1421
|
-
['gr', '41,
|
1394
|
+
['Hari Ini', 'Kurs', '', '', '16.208', '%'],
|
1395
|
+
['oz', '2.334,57', '+3,37+0,14%', '37.838.711', '+54.621+0,14%'],
|
1396
|
+
['gr', '75,06', '+0,11+0,14%', '1.216.543', '+1.756+0,14%'],
|
1397
|
+
['30 Hari', 'Kurs', '', '', '15.853', '+355+2,24%'],
|
1398
|
+
['oz', '2.220,20', '+117,74+5,30%', '35.196.831', '+2.696.501+7,66%'],
|
1399
|
+
['gr', '71,38', '+3,79+5,30%', '1.131.604', '+86.695+7,66%'],
|
1400
|
+
['2 Bulan', 'Kurs', '', '', '15.635', '+573+3,66%'],
|
1401
|
+
['oz', '2.032,90', '+305,04+15,01%', '31.784.392', '+6.108.940+19,22%'],
|
1402
|
+
['gr', '65,36', '+9,81+15,01', '1.021.892', '+196.407+19,22%'],
|
1403
|
+
['6 Bulan', 'Kurs', '', '', '15.941', '+267+1,67%'],
|
1404
|
+
['oz', '1.999,31', '+338,63+16,94%', '31.871.001', '+6.022.331+18,90%'],
|
1405
|
+
['gr', '64,28', '+10,89+16,94%', '1.024.676', '+193.622+18,90%'],
|
1406
|
+
['1 Tahun', 'Kurs', '', '', '15.731', '+477+3,03%'],
|
1407
|
+
['oz', '1.823,86', '+514,08+28,19%', '28.691.142', '+9.202.190+32,07%'],
|
1408
|
+
['gr', '58,64', '+16,53+28,19%', '922.442', '+295.857+32,07%'],
|
1409
|
+
['2 Tahun', 'Kurs', '', '', '14.418', '+1.790+12,42%'],
|
1410
|
+
['oz', '1.888,61', '+449,33+23,79%', '27.229.979', '+10.663.353+39,16%'],
|
1411
|
+
['gr', '60,72', '+14,45+23,79%', '875.464', '+342.835+39,16%'],
|
1412
|
+
['3 Tahun', 'Kurs', '', '', '14.497', '+1.711+11,80%'],
|
1413
|
+
['oz', '1.775,08', '+562,86+31,71%', '25.733.353', '+12.159.979+47,25%'],
|
1414
|
+
['gr', '57,07', '+18,10+31,71%', '827.346', '+390.952+47,25%'],
|
1415
|
+
['5 Tahun', 'Kurs', '', '', '14.188', '+2.020+14,24%'],
|
1416
|
+
['oz', '1.279,13', '+1.058,81+82,78%', '18.148.296', '+19.745.035+108,80%'],
|
1417
|
+
['gr', '41,12', '+34,04+82,78%', '583.481', '+634.818+108,80%']])
|
1422
1418
|
Timeout 3
|
1423
1419
|
(['Home', 'Emas 1 Gram', 'History', 'Trend', 'Perak 1 Gram', 'Pluang'],
|
1424
1420
|
[[''],
|
1425
1421
|
['Emas 24 KaratHarga Emas 1 Gram', ''],
|
1426
|
-
['USD', '
|
1427
|
-
['KURS', '16.
|
1428
|
-
['IDR', '1.
|
1429
|
-
['
|
1422
|
+
['USD', '75,17↑', '+0,11+0,15%'],
|
1423
|
+
['KURS', '16.241,30↑', '+14,05+0,09%'],
|
1424
|
+
['IDR', '1.220.801,94↑', '+2.814,28+0,23%'],
|
1425
|
+
['Sabtu, 27 April 2024 14:45']],
|
1430
1426
|
[[''],
|
1431
1427
|
['Emas 1 Gram (IDR)Emas 1 Gram (USD)Kurs USD-IDR',
|
1432
1428
|
'Hari Ini',
|
@@ -1437,19 +1433,19 @@ Timeout 3
|
|
1437
1433
|
'']],
|
1438
1434
|
[['Pergerakkan Harga Emas 1 Gram'],
|
1439
1435
|
['', 'Penutupan Kemarin', 'Pergerakkan Hari Ini', 'Rata-rata'],
|
1440
|
-
['USD', '
|
1441
|
-
['KURS', '16.
|
1442
|
-
['IDR', '1.
|
1436
|
+
['USD', '75,06', '75,06 - 75,17', '75,12'],
|
1437
|
+
['KURS', '16.227,25', '16.227,25 - 16.241,30', '16.234,28'],
|
1438
|
+
['IDR', '1.217.987,66', '1.217.987,66 - 1.220.801,94', '1.219.394,80'],
|
1443
1439
|
[''],
|
1444
1440
|
['', 'Awal Tahun', 'Pergerakkan YTD', '+/- YTD'],
|
1445
|
-
['USD', '66,32', '64,07 - 77,14', '+8,
|
1446
|
-
['KURS', '15.390,10', '15.390,00 - 16.307,80', '+
|
1447
|
-
['IDR', '1.020.729,53', '997.660,12 - 1.256.829,06', '+
|
1441
|
+
['USD', '66,32', '64,07 - 77,14', '+8,85 (13,34%)'],
|
1442
|
+
['KURS', '15.390,10', '15.390,00 - 16.307,80', '+851,20 (5,53%)'],
|
1443
|
+
['IDR', '1.020.729,53', '997.660,12 - 1.256.829,06', '+200.072,41 (19,60%)'],
|
1448
1444
|
[''],
|
1449
1445
|
['', 'Tahun Lalu / 52 Minggu', 'Pergerakkan 52 Minggu', '+/- 52 Minggu'],
|
1450
|
-
['USD', '63,
|
1451
|
-
['KURS', '14.
|
1452
|
-
['IDR', '
|
1446
|
+
['USD', '63,87', '58,43 - 77,14', '+11,30 (17,69%)'],
|
1447
|
+
['KURS', '14.837,35', '14.669,40 - 16.307,80', '+1.403,95 (9,46%)'],
|
1448
|
+
['IDR', '947.661,99', '912.925,68 - 1.256.829,06', '+273.139,95 (28,82%)']])
|
1453
1449
|
```
|
1454
1450
|
|
1455
1451
|
## iopen
|
@@ -1491,7 +1487,7 @@ Output:
|
|
1491
1487
|
```py
|
1492
1488
|
8
|
1493
1489
|
['mana', 'aja']
|
1494
|
-
[<Element a at
|
1490
|
+
[<Element a at 0x7df6bdb070>, <Element a at 0x7df6c26670>, <Element a at 0x7df6c26710>, <Element a at 0x7df6c26760>, <Element a at 0x7df6c267b0>, <Element a at 0x7df6c26800>, <Element a at 0x7df6c26850>, <Element a at 0x7df6c268a0>, <Element a at 0x7df6c268f0>, <Element a at 0x7df6c26940>, <Element a at 0x7df6c26990>, <Element a at 0x7df6c269e0>, <Element a at 0x7df6c26a30>, <Element a at 0x7df6c26a80>, <Element a at 0x7df6c26ad0>, <Element a at 0x7df6c26b20>, <Element a at 0x7df6c26b70>, <Element a at 0x7df6c26bc0>]
|
1495
1491
|
False
|
1496
1492
|
```
|
1497
1493
|
|
@@ -1532,8 +1528,8 @@ print(list(irange(10, 5)))
|
|
1532
1528
|
|
1533
1529
|
Output:
|
1534
1530
|
```py
|
1535
|
-
<generator object irange at
|
1536
|
-
<generator object irange at
|
1531
|
+
<generator object irange at 0x7df6bae9b0>
|
1532
|
+
<generator object irange at 0x7df6bae9b0>
|
1537
1533
|
['a', 'k', 'u']
|
1538
1534
|
[1, 2, 3, 4, 5, 6, 7]
|
1539
1535
|
[10, 9, 8, 7, 6, 5]
|
@@ -1576,7 +1572,7 @@ print(list(iscandir("./", recursive=False, scan_file=False)))
|
|
1576
1572
|
|
1577
1573
|
Output:
|
1578
1574
|
```py
|
1579
|
-
<generator object iscandir at
|
1575
|
+
<generator object iscandir at 0x7df6be0740>
|
1580
1576
|
[PosixPath('.git'), PosixPath('.vscode'), PosixPath('pypipr'), PosixPath('__pycache__'), PosixPath('dist')]
|
1581
1577
|
```
|
1582
1578
|
|
@@ -1633,7 +1629,7 @@ print(ExampleComparePerformance().compare_performance())
|
|
1633
1629
|
|
1634
1630
|
Output:
|
1635
1631
|
```py
|
1636
|
-
{'a': <generator object ExampleComparePerformance.a.<locals>.<genexpr> at
|
1632
|
+
{'a': <generator object ExampleComparePerformance.a.<locals>.<genexpr> at 0x7df6bfc450>,
|
1637
1633
|
'b': (0, 1, 2, 3, 4, 5, 6, 7, 8, 9),
|
1638
1634
|
'c': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
|
1639
1635
|
'd': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]}
|
@@ -24,7 +24,7 @@ pypipr/ibuiltins/is_valid_url.py,sha256=g72vv4_9Zy8dtT0i1JvToRX-mgCzojQCBVHdO1KD
|
|
24
24
|
pypipr/ibuiltins/ivars.py,sha256=CM9HFjF9qLg9Bn385CZXLtTALCt_pxhEOEueTm1uNDM,899
|
25
25
|
pypipr/ibuiltins/password_generator.py,sha256=NnFAYkAr6kZiED4JZIJ15_VeGWSpBCCy9rSA5Re_CW4,496
|
26
26
|
pypipr/ibuiltins/random_bool.py,sha256=99kM1fy7figeG5mZhbPzQ3FFzV47Jxg1aPImF78298E,405
|
27
|
-
pypipr/ibuiltins/restart.py,sha256=
|
27
|
+
pypipr/ibuiltins/restart.py,sha256=yFqjvFAEtmEnv1wUubyW7sgIKUFqO441R9T1D3GSIFk,114
|
28
28
|
pypipr/ibuiltins/set_timeout.py,sha256=heg1J3jSArgG5_75BNLrujjh7I9meTyAzHpuAY_4IBc,698
|
29
29
|
pypipr/ibuiltins/sets_ordered.py,sha256=ve2Nc1eNYD_7QaTf_4otEAvzL1XpZP2MjX0KHSXF5nA,325
|
30
30
|
pypipr/ibuiltins/str_cmp.py,sha256=2kavWiT4VTddXcBotF1CxDOWSygk5rFrbllKxBjw9dc,377
|
@@ -34,7 +34,7 @@ pypipr/iconsole/choices.py,sha256=Yd_ioeS6XMyUNg-f73KbkWdXaCzzvJ6PE9QcntDpH7I,16
|
|
34
34
|
pypipr/iconsole/console_run.py,sha256=vCJqDa1rExisqaFLNeWM-hnuXHfUfiYcyNAOJjldOHs,525
|
35
35
|
pypipr/iconsole/input_char.py,sha256=oiB3ZI-MH8obmMjyPxN-3nUjRZF-Uu5DKBdu9c2eP-Y,1030
|
36
36
|
pypipr/iconsole/log.py,sha256=aQ9DeFG03xIAUQYR4TiBdh80M6WvxDtNDTSjpKOSXHk,1041
|
37
|
-
pypipr/iconsole/print_colorize.py,sha256=
|
37
|
+
pypipr/iconsole/print_colorize.py,sha256=Ld4cjI9E7C8NDLCOkJLtwiV7WYBjizJ6dvmE__lN2GY,541
|
38
38
|
pypipr/iconsole/print_dir.py,sha256=yCzy7ZF__euNIsf6AhzmI5bixyO-4m2OlKWOl37K3_8,930
|
39
39
|
pypipr/iconsole/print_log.py,sha256=Oct2xfcMv_8iK2ySioQYrtlTYou6Cd671PqgPL9IGUE,282
|
40
40
|
pypipr/iconsole/print_to_last_line.py,sha256=sggQngYMHH9P3cQO2m9Z5n7d_lin2CzDawWmokbrvXo,914
|
@@ -71,7 +71,7 @@ pypipr/ifunctions/iscandir.py,sha256=U1zvRZrz--5Kge0JooQbY4kQN17bRt-8XR26ZFxUyoA
|
|
71
71
|
pypipr/ifunctions/isplit.py,sha256=N2BiA_wVnrENYwokSzvo0CAiQWk3g7AnwuWFIUgevNM,383
|
72
72
|
pypipr/pypipr.py.bak,sha256=HF-ehQd6BY8hm9fRkQHravLNrJRlI5g_AzbCc3dbikQ,1061
|
73
73
|
pypipr/terminal.py,sha256=4w-2p_Rudm_dNdfG-rkO24heVgKLrve4xVXiRpWxVcc,1800
|
74
|
-
pypipr-1.0.
|
75
|
-
pypipr-1.0.
|
76
|
-
pypipr-1.0.
|
77
|
-
pypipr-1.0.
|
74
|
+
pypipr-1.0.96.dist-info/METADATA,sha256=u-UL84b2VpYSO0UXhZqrAYpFKd3AbHYr-PphcZdqIXU,50665
|
75
|
+
pypipr-1.0.96.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
76
|
+
pypipr-1.0.96.dist-info/entry_points.txt,sha256=ikcrTRCn3jaySem1mM9uhYEPDq2PVOs48CyEqLUkY38,47
|
77
|
+
pypipr-1.0.96.dist-info/RECORD,,
|
File without changes
|
File without changes
|