pypipr 1.0.87__py3-none-any.whl → 1.0.89__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/iconsole/print_to_last_line.py +23 -2
- {pypipr-1.0.87.dist-info → pypipr-1.0.89.dist-info}/METADATA +175 -183
- {pypipr-1.0.87.dist-info → pypipr-1.0.89.dist-info}/RECORD +5 -5
- {pypipr-1.0.87.dist-info → pypipr-1.0.89.dist-info}/WHEEL +0 -0
- {pypipr-1.0.87.dist-info → pypipr-1.0.89.dist-info}/entry_points.txt +0 -0
@@ -1,4 +1,4 @@
|
|
1
|
-
def print_to_last_line(text: str):
|
1
|
+
def print_to_last_line(text: str, latest=1, clear=True):
|
2
2
|
"""
|
3
3
|
Melakukan print ke konsol tetapi akan menimpa baris terakhir.
|
4
4
|
Berguna untuk memberikan progress secara interaktif.
|
@@ -8,9 +8,30 @@ def print_to_last_line(text: str):
|
|
8
8
|
print_to_last_line(f"masukkan apa saja : {c} [ok]")
|
9
9
|
```
|
10
10
|
"""
|
11
|
-
|
11
|
+
t = ""
|
12
|
+
|
13
|
+
if latest:
|
14
|
+
t += f"\033[{latest}A"
|
15
|
+
|
16
|
+
# if append:
|
17
|
+
# t += "\033[10000C"
|
18
|
+
# else:
|
19
|
+
# # t += "\r"
|
20
|
+
# t += "\033[F"
|
21
|
+
# # if clear:
|
22
|
+
# # t += "\033[K"
|
23
|
+
|
24
|
+
if clear:
|
25
|
+
t += "\033[K"
|
26
|
+
|
27
|
+
t += text
|
28
|
+
print(t)
|
12
29
|
|
13
30
|
|
14
31
|
if __name__ == "__main__":
|
15
32
|
c = input("masukkan apa saja : ")
|
16
33
|
print_to_last_line(f"masukkan apa saja : {c} [ok]")
|
34
|
+
print(f"masukkan apa saja : ")
|
35
|
+
print(f"masukkan apa saja : bsmsidoneoslwjsj ")
|
36
|
+
print(f"masukkan apa saja : ")
|
37
|
+
print_to_last_line(f"masukkan apa saja : {c} [ok]", latest=2, clear=False)
|
@@ -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-
|
149
|
-
2024-04-
|
150
|
-
2024-04-23
|
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:
|
@@ -774,7 +774,7 @@ Output:
|
|
774
774
|
|
775
775
|
## print_to_last_line
|
776
776
|
|
777
|
-
`print_to_last_line(text: str)`
|
777
|
+
`print_to_last_line(text: str, latest=1, clear=True)`
|
778
778
|
|
779
779
|
Melakukan print ke konsol tetapi akan menimpa baris terakhir.
|
780
780
|
Berguna untuk memberikan progress secara interaktif.
|
@@ -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
|
|
@@ -1264,119 +1264,111 @@ pprint.pprint(iloads_html(iopen("https://harga-emas.org/1-gram/")), depth=10)
|
|
1264
1264
|
Output:
|
1265
1265
|
```py
|
1266
1266
|
(['Home', 'Emas 1 Gram', 'History', 'Trend', 'Perak 1 Gram', 'Pluang'],
|
1267
|
-
[['Harga Emas Hari Ini -
|
1268
|
-
['Spot Emas USD↓2.
|
1269
|
-
'Kurs IDR
|
1270
|
-
'Emas IDR
|
1271
|
-
['LM Antam (Jual)↓1.
|
1272
|
-
'LM Antam (Beli)↓1.
|
1267
|
+
[['Harga Emas Hari Ini - Rabu, 24 April 2024'],
|
1268
|
+
['Spot Emas USD↓2.327,45 (-2,46) / oz',
|
1269
|
+
'Kurs IDR↑16.244,00 (+20,00) / USD',
|
1270
|
+
'Emas IDR↑1.215.526 (+213) / gr'],
|
1271
|
+
['LM Antam (Jual)↓1.320.000 (-5.000) / gr',
|
1272
|
+
'LM Antam (Beli)↓1.218.000 (-5.000) / gr']],
|
1273
1273
|
[['Harga Emas Hari Ini'],
|
1274
1274
|
['Gram', 'Gedung Antam Jakarta', 'Pegadaian'],
|
1275
1275
|
['per Gram (Rp)', 'per Batangan (Rp)', 'per Gram (Rp)', 'per Batangan (Rp)'],
|
1276
1276
|
['1000',
|
1277
|
-
'1.
|
1278
|
-
'1.
|
1277
|
+
'1.261 (-5)',
|
1278
|
+
'1.260.600 (-5.000)',
|
1279
1279
|
'1.043.040 (+8.200)',
|
1280
1280
|
'1.043.040.000 (+8.200.000)'],
|
1281
1281
|
['500',
|
1282
|
-
'2.
|
1283
|
-
'1.
|
1282
|
+
'2.521 (-10)',
|
1283
|
+
'1.260.640 (-5.000)',
|
1284
1284
|
'1.043.082 (+8.200)',
|
1285
1285
|
'521.541.000 (+4.100.000)'],
|
1286
1286
|
['250',
|
1287
|
-
'5.
|
1288
|
-
'1.
|
1287
|
+
'5.044 (-20)',
|
1288
|
+
'1.261.060 (-5.000)',
|
1289
1289
|
'1.043.512 (+8.200)',
|
1290
1290
|
'260.878.000 (+2.050.000)'],
|
1291
1291
|
['100',
|
1292
|
-
'12.
|
1293
|
-
'1.
|
1292
|
+
'12.621 (-50)',
|
1293
|
+
'1.262.120 (-5.000)',
|
1294
1294
|
'1.044.600 (+8.200)',
|
1295
1295
|
'104.460.000 (+820.000)'],
|
1296
1296
|
['50',
|
1297
|
-
'25.
|
1298
|
-
'1.
|
1297
|
+
'25.258 (-100)',
|
1298
|
+
'1.262.900 (-5.000)',
|
1299
1299
|
'1.045.400 (+8.200)',
|
1300
1300
|
'52.270.000 (+410.000)'],
|
1301
1301
|
['25',
|
1302
|
-
'50.
|
1303
|
-
'1.
|
1302
|
+
'50.579 (-200)',
|
1303
|
+
'1.264.480 (-5.000)',
|
1304
1304
|
'1.047.040 (+8.200)',
|
1305
1305
|
'26.176.000 (+205.000)'],
|
1306
1306
|
['10',
|
1307
|
-
'
|
1308
|
-
'1.
|
1307
|
+
'126.950 (-500)',
|
1308
|
+
'1.269.500 (-5.000)',
|
1309
1309
|
'1.052.200 (+8.200)',
|
1310
1310
|
'10.522.000 (+82.000)'],
|
1311
1311
|
['5',
|
1312
|
-
'
|
1313
|
-
'1.
|
1312
|
+
'255.000 (-1.000)',
|
1313
|
+
'1.275.000 (-5.000)',
|
1314
1314
|
'1.057.800 (+8.200)',
|
1315
1315
|
'5.289.000 (+41.000)'],
|
1316
1316
|
['3',
|
1317
|
-
'
|
1318
|
-
'1.
|
1317
|
+
'427.222 (-1.667)',
|
1318
|
+
'1.281.667 (-5.000)',
|
1319
1319
|
'1.064.667 (+8.000)',
|
1320
1320
|
'3.194.000 (+24.000)'],
|
1321
1321
|
['2',
|
1322
|
-
'
|
1323
|
-
'1.
|
1322
|
+
'645.000 (-2.500)',
|
1323
|
+
'1.290.000 (-5.000)',
|
1324
1324
|
'1.073.500 (+8.500)',
|
1325
1325
|
'2.147.000 (+17.000)'],
|
1326
1326
|
['1',
|
1327
|
-
'1.
|
1328
|
-
'1.
|
1327
|
+
'1.320.000 (-5.000)',
|
1328
|
+
'1.320.000 (-5.000)',
|
1329
1329
|
'1.104.000 (+8.000)',
|
1330
1330
|
'1.104.000 (+8.000)'],
|
1331
1331
|
['0.5',
|
1332
|
-
'2.
|
1333
|
-
'1.
|
1332
|
+
'2.840.000 (-10.000)',
|
1333
|
+
'1.420.000 (-5.000)',
|
1334
1334
|
'1.208.000 (+8.000)',
|
1335
1335
|
'604.000 (+4.000)'],
|
1336
|
-
['Update harga LM Antam :
|
1337
|
-
':Rp. 1.
|
1336
|
+
['Update harga LM Antam :24 April 2024, pukul 08:12Harga pembelian kembali '
|
1337
|
+
':Rp. 1.218.000/gram (-5.000)',
|
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 :
|
1345
|
-
'pukul
|
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
|
+
'pukul 09:10']],
|
1346
1346
|
[['Gram', 'UBS Gold 99.99%'],
|
1347
1347
|
['Jual', 'Beli'],
|
1348
1348
|
['/ Batang', '/ Gram', '/ Batang', '/ Gram'],
|
1349
1349
|
['100',
|
1350
|
-
'126.
|
1351
|
-
'1.
|
1352
|
-
'123.735.000
|
1353
|
-
'1.237.350
|
1350
|
+
'126.212.000 (-500.000)',
|
1351
|
+
'1.262.120 (-5.000)',
|
1352
|
+
'123.735.000',
|
1353
|
+
'1.237.350'],
|
1354
1354
|
['50',
|
1355
|
-
'63.
|
1356
|
-
'1.
|
1357
|
-
'61.920.000
|
1358
|
-
'1.238.400
|
1355
|
+
'63.145.000 (-250.000)',
|
1356
|
+
'1.262.900 (-5.000)',
|
1357
|
+
'61.920.000',
|
1358
|
+
'1.238.400'],
|
1359
1359
|
['25',
|
1360
|
-
'31.
|
1361
|
-
'1.
|
1362
|
-
'31.062.500
|
1363
|
-
'1.242.500
|
1360
|
+
'31.612.000 (-125.000)',
|
1361
|
+
'1.264.480 (-5.000)',
|
1362
|
+
'31.062.500',
|
1363
|
+
'1.242.500'],
|
1364
1364
|
['10',
|
1365
|
-
'12.
|
1366
|
-
'1.
|
1367
|
-
'12.475.000
|
1368
|
-
'1.247.500
|
1369
|
-
['5',
|
1370
|
-
|
1371
|
-
|
1372
|
-
'6.289.500 (-167.500)',
|
1373
|
-
'1.257.900 (-33.500)'],
|
1374
|
-
['1',
|
1375
|
-
'1.325.000 (-15.000)',
|
1376
|
-
'1.325.000 (-15.000)',
|
1377
|
-
'1.290.500 (-33.500)',
|
1378
|
-
'1.290.500 (-33.500)'],
|
1379
|
-
['', 'Update :23 April 2024, pukul 11:31']],
|
1365
|
+
'12.695.000 (-50.000)',
|
1366
|
+
'1.269.500 (-5.000)',
|
1367
|
+
'12.475.000',
|
1368
|
+
'1.247.500'],
|
1369
|
+
['5', '6.375.000 (-25.000)', '1.275.000 (-5.000)', '6.289.500', '1.257.900'],
|
1370
|
+
['1', '1.320.000 (-5.000)', '1.320.000 (-5.000)', '1.290.500', '1.290.500'],
|
1371
|
+
['', 'Update :24 April 2024, pukul 10:55']],
|
1380
1372
|
[['Konversi Satuan'],
|
1381
1373
|
['Satuan', 'Ounce (oz)', 'Gram (gr)', 'Kilogram (kg)'],
|
1382
1374
|
['Ounce\xa0(oz)', '1', '31,1034767696', '0,0311034768'],
|
@@ -1386,37 +1378,37 @@ Output:
|
|
1386
1378
|
['Waktu', 'Emas'],
|
1387
1379
|
['Unit', 'USD', 'IDR'],
|
1388
1380
|
['Angka', '+/-', 'Angka', '+/-'],
|
1389
|
-
['Hari Ini', 'Kurs', '', '', '16.
|
1390
|
-
['oz', '2.
|
1391
|
-
['gr', '74,
|
1392
|
-
['30 Hari', 'Kurs', '', '', '15.
|
1393
|
-
['oz', '2.
|
1394
|
-
['gr', '69,
|
1395
|
-
['2 Bulan', 'Kurs', '', '', '15.630', '+
|
1396
|
-
['oz', '2.
|
1397
|
-
['gr', '65,
|
1398
|
-
['6 Bulan', 'Kurs', '', '', '15.
|
1399
|
-
['oz', '1.
|
1400
|
-
['gr', '63,
|
1401
|
-
['1 Tahun', 'Kurs', '', '', '15.731', '+
|
1402
|
-
['oz', '1.823,86', '+
|
1403
|
-
['gr', '58,64', '+
|
1404
|
-
['2 Tahun', 'Kurs', '', '', '14.
|
1405
|
-
['oz', '1.
|
1406
|
-
['gr', '
|
1407
|
-
['3 Tahun', 'Kurs', '', '', '14.530', '+1.
|
1408
|
-
['oz', '1.777,11', '+
|
1409
|
-
['gr', '57,14', '+17,
|
1410
|
-
['5 Tahun', 'Kurs', '', '', '14.
|
1411
|
-
['oz', '1.
|
1412
|
-
['gr', '41,
|
1381
|
+
['Hari Ini', 'Kurs', '', '', '16.224', '+20+0,12%'],
|
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
|
+
['30 Hari', 'Kurs', '', '', '15.773', '+471+2,99%'],
|
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
|
+
['2 Bulan', 'Kurs', '', '', '15.630', '+614+3,93%'],
|
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
|
+
['6 Bulan', 'Kurs', '', '', '15.933', '+311+1,95%'],
|
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
|
+
['1 Tahun', 'Kurs', '', '', '15.731', '+513+3,26%'],
|
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
|
+
['2 Tahun', 'Kurs', '', '', '14.361', '+1.883+13,11%'],
|
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
|
+
['3 Tahun', 'Kurs', '', '', '14.530', '+1.714+11,80%'],
|
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
|
+
['5 Tahun', 'Kurs', '', '', '14.188', '+2.056+14,49%'],
|
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%']])
|
1413
1405
|
(['Home', 'Emas 1 Gram', 'History', 'Trend', 'Perak 1 Gram', 'Pluang'],
|
1414
1406
|
[[''],
|
1415
1407
|
['Emas 24 KaratHarga Emas 1 Gram', ''],
|
1416
|
-
['USD', '74,
|
1417
|
-
['KURS', '16.
|
1418
|
-
['IDR', '1.
|
1419
|
-
['
|
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']],
|
1420
1412
|
[[''],
|
1421
1413
|
['Emas 1 Gram (IDR)Emas 1 Gram (USD)Kurs USD-IDR',
|
1422
1414
|
'Hari Ini',
|
@@ -1427,19 +1419,19 @@ Output:
|
|
1427
1419
|
'']],
|
1428
1420
|
[['Pergerakkan Harga Emas 1 Gram'],
|
1429
1421
|
['', 'Penutupan Kemarin', 'Pergerakkan Hari Ini', 'Rata-rata'],
|
1430
|
-
['USD', '74,
|
1431
|
-
['KURS', '16.
|
1432
|
-
['IDR', '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'],
|
1433
1425
|
[''],
|
1434
1426
|
['', 'Awal Tahun', 'Pergerakkan YTD', '+/- YTD'],
|
1435
|
-
['USD', '66,32', '64,07 - 77,14', '+8,
|
1436
|
-
['KURS', '15.390,10', '15.390,00 - 16.307,80', '+
|
1437
|
-
['IDR', '1.020.729,53', '997.660,12 - 1.256.829,06', '+
|
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%)'],
|
1438
1430
|
[''],
|
1439
1431
|
['', 'Tahun Lalu / 52 Minggu', 'Pergerakkan 52 Minggu', '+/- 52 Minggu'],
|
1440
|
-
['USD', '63,76', '58,43 - 77,14', '+
|
1441
|
-
['KURS', '14.936,00', '14.669,40 - 16.307,80', '+1.
|
1442
|
-
['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%)']])
|
1443
1435
|
```
|
1444
1436
|
|
1445
1437
|
## iopen
|
@@ -1481,7 +1473,7 @@ Output:
|
|
1481
1473
|
```py
|
1482
1474
|
8
|
1483
1475
|
['mana', 'aja']
|
1484
|
-
[<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>]
|
1485
1477
|
False
|
1486
1478
|
```
|
1487
1479
|
|
@@ -1522,8 +1514,8 @@ print(list(irange(10, 5)))
|
|
1522
1514
|
|
1523
1515
|
Output:
|
1524
1516
|
```py
|
1525
|
-
<generator object irange at
|
1526
|
-
<generator object irange at
|
1517
|
+
<generator object irange at 0x7260da6bd0>
|
1518
|
+
<generator object irange at 0x7260da6bd0>
|
1527
1519
|
['a', 'k', 'u']
|
1528
1520
|
[1, 2, 3, 4, 5, 6, 7]
|
1529
1521
|
[10, 9, 8, 7, 6, 5]
|
@@ -1566,7 +1558,7 @@ print(list(iscandir("./", recursive=False, scan_file=False)))
|
|
1566
1558
|
|
1567
1559
|
Output:
|
1568
1560
|
```py
|
1569
|
-
<generator object iscandir at
|
1561
|
+
<generator object iscandir at 0x7260dd4940>
|
1570
1562
|
[PosixPath('.git'), PosixPath('.vscode'), PosixPath('pypipr'), PosixPath('__pycache__'), PosixPath('dist')]
|
1571
1563
|
```
|
1572
1564
|
|
@@ -1623,7 +1615,7 @@ print(ExampleComparePerformance().compare_performance())
|
|
1623
1615
|
|
1624
1616
|
Output:
|
1625
1617
|
```py
|
1626
|
-
{'a': <generator object ExampleComparePerformance.a.<locals>.<genexpr> at
|
1618
|
+
{'a': <generator object ExampleComparePerformance.a.<locals>.<genexpr> at 0x7260df4450>,
|
1627
1619
|
'b': (0, 1, 2, 3, 4, 5, 6, 7, 8, 9),
|
1628
1620
|
'c': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
|
1629
1621
|
'd': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]}
|
@@ -36,7 +36,7 @@ pypipr/iconsole/log.py,sha256=aQ9DeFG03xIAUQYR4TiBdh80M6WvxDtNDTSjpKOSXHk,1041
|
|
36
36
|
pypipr/iconsole/print_colorize.py,sha256=cubx_9U1H1peqwxhP1cUId8vhPUgGVqxCtc32YS4gdU,474
|
37
37
|
pypipr/iconsole/print_dir.py,sha256=yCzy7ZF__euNIsf6AhzmI5bixyO-4m2OlKWOl37K3_8,930
|
38
38
|
pypipr/iconsole/print_log.py,sha256=Oct2xfcMv_8iK2ySioQYrtlTYou6Cd671PqgPL9IGUE,282
|
39
|
-
pypipr/iconsole/print_to_last_line.py,sha256=
|
39
|
+
pypipr/iconsole/print_to_last_line.py,sha256=sggQngYMHH9P3cQO2m9Z5n7d_lin2CzDawWmokbrvXo,914
|
40
40
|
pypipr/iconsole/text_colorize.py,sha256=IVjaCnXBSBu4Rh8pTO3CxDvxpA265HVwyKX_-PRXCcI,396
|
41
41
|
pypipr/idjango/APIMixinView.py,sha256=ECROEfZpGcojFq1gMWaMLkF5jeft5dnR_5zO1b2RdNw,1093
|
42
42
|
pypipr/idjango/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -70,7 +70,7 @@ pypipr/ifunctions/iscandir.py,sha256=U1zvRZrz--5Kge0JooQbY4kQN17bRt-8XR26ZFxUyoA
|
|
70
70
|
pypipr/ifunctions/isplit.py,sha256=N2BiA_wVnrENYwokSzvo0CAiQWk3g7AnwuWFIUgevNM,383
|
71
71
|
pypipr/pypipr.py.bak,sha256=HF-ehQd6BY8hm9fRkQHravLNrJRlI5g_AzbCc3dbikQ,1061
|
72
72
|
pypipr/terminal.py,sha256=4w-2p_Rudm_dNdfG-rkO24heVgKLrve4xVXiRpWxVcc,1800
|
73
|
-
pypipr-1.0.
|
74
|
-
pypipr-1.0.
|
75
|
-
pypipr-1.0.
|
76
|
-
pypipr-1.0.
|
73
|
+
pypipr-1.0.89.dist-info/METADATA,sha256=6uVYHL48B_RFXHuRyzJPd-OKXoJxl5rEx6T3jkit0sQ,50390
|
74
|
+
pypipr-1.0.89.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
75
|
+
pypipr-1.0.89.dist-info/entry_points.txt,sha256=ikcrTRCn3jaySem1mM9uhYEPDq2PVOs48CyEqLUkY38,47
|
76
|
+
pypipr-1.0.89.dist-info/RECORD,,
|
File without changes
|
File without changes
|