pypipr 1.0.87__py3-none-any.whl → 1.0.88__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.88.dist-info}/METADATA +175 -183
- {pypipr-1.0.87.dist-info → pypipr-1.0.88.dist-info}/RECORD +5 -5
- {pypipr-1.0.87.dist-info → pypipr-1.0.88.dist-info}/WHEEL +0 -0
- {pypipr-1.0.87.dist-info → pypipr-1.0.88.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.88
|
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 0x7658e6c340>
|
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:09:16.854830+07:00
|
149
|
+
2024-04-24 04:09:16.856256+00:00
|
150
|
+
2024-04-23 21:09:16.860015-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 0x7658de2e30>
|
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 0x7658de3100>
|
264
|
+
[<function ExampleGetClassMethod.a at 0x766aedc540>, <function ExampleGetClassMethod.b at 0x766a3b6c00>, <function ExampleGetClassMethod.c at 0x7658e7d580>, <function ExampleGetClassMethod.d at 0x7658e7d620>]
|
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 0x765fb0b190>)>,
|
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 0x766056a750>},
|
427
|
+
'function': {'avg': <function avg at 0x766a3b6d40>,
|
428
|
+
'basename': <function basename at 0x766a3868e0>,
|
429
|
+
'chunk_array': <function chunk_array at 0x7667e4d120>,
|
430
|
+
'create_folder': <function create_folder at 0x7667e4d300>,
|
431
|
+
'datetime_from_string': <function datetime_from_string at 0x7667e4d4e0>,
|
432
|
+
'datetime_now': <function datetime_now at 0x7667ef5620>,
|
433
|
+
'dict_first': <function dict_first at 0x7667ef5580>,
|
434
|
+
'dirname': <function dirname at 0x7667ef54e0>,
|
435
|
+
'exit_if_empty': <function exit_if_empty at 0x7667ecf4c0>,
|
436
|
+
'filter_empty': <function filter_empty at 0x7667ef51c0>,
|
437
|
+
'get_by_index': <function get_by_index at 0x7667ef4ea0>,
|
438
|
+
'get_class_method': <function get_class_method at 0x7667ef4cc0>,
|
439
|
+
'get_filemtime': <function get_filemtime at 0x7667ef4b80>,
|
440
|
+
'get_filesize': <function get_filesize at 0x7667ef49a0>,
|
441
|
+
'is_empty': <function is_empty at 0x7667ef5260>,
|
442
|
+
'is_iterable': <function is_iterable at 0x7667ef4fe0>,
|
443
|
+
'is_valid_url': <function is_valid_url at 0x7667ef4860>,
|
444
|
+
'ivars': <function ivars at 0x7667ef47c0>,
|
445
|
+
'password_generator': <function password_generator at 0x7667ef4680>,
|
446
|
+
'random_bool': <function random_bool at 0x7667ef4400>,
|
447
|
+
'set_timeout': <function set_timeout at 0x7667ef77e0>,
|
448
|
+
'sets_ordered': <function sets_ordered at 0x7667ef7920>,
|
449
|
+
'str_cmp': <function str_cmp at 0x7667ef79c0>,
|
450
|
+
'to_str': <function to_str at 0x7667ef4f40>,
|
451
|
+
'choices': <function choices at 0x7667ef7a60>,
|
452
|
+
'console_run': <function console_run at 0x7667ef7ce0>,
|
453
|
+
'input_char': <function input_char at 0x7667ef7e20>,
|
454
|
+
'log': <function log at 0x7667f18040>,
|
455
|
+
'print_colorize': <function print_colorize at 0x7667f180e0>,
|
456
|
+
'print_dir': <function print_dir at 0x7667f18220>,
|
457
|
+
'print_log': <function print_log at 0x7667ef7ec0>,
|
458
|
+
'print_to_last_line': <function print_to_last_line at 0x7667ef7c40>,
|
459
|
+
'text_colorize': <function text_colorize at 0x7667ef7d80>,
|
460
|
+
'batch_calculate': <function batch_calculate at 0x765fb19580>,
|
461
|
+
'batchmaker': <function batchmaker at 0x765fafa980>,
|
462
|
+
'calculate': <function calculate at 0x765fb1a2a0>,
|
463
|
+
'auto_reload': <function auto_reload at 0x765fb1a480>,
|
464
|
+
'github_pull': <function github_pull at 0x765fb1a020>,
|
465
|
+
'github_push': <function github_push at 0x765fb1a700>,
|
466
|
+
'github_user': <function github_user at 0x765fb1aa20>,
|
467
|
+
'pip_freeze_without_version': <function pip_freeze_without_version at 0x765f84e020>,
|
468
|
+
'poetry_publish': <function poetry_publish at 0x765f84e160>,
|
469
|
+
'poetry_update_version': <function poetry_update_version at 0x765f876980>,
|
470
|
+
'iargv': <function iargv at 0x765904c0e0>,
|
471
|
+
'idumps': <function idumps at 0x765904c220>,
|
472
|
+
'idumps_html': <function idumps_html at 0x76590acc20>,
|
473
|
+
'ienv': <function ienv at 0x765904c360>,
|
474
|
+
'iexec': <function iexec at 0x76590acea0>,
|
475
|
+
'ijoin': <function ijoin at 0x765f84dee0>,
|
476
|
+
'iloads': <function iloads at 0x76590acf40>,
|
477
|
+
'iloads_html': <function iloads_html at 0x76590ad1c0>,
|
478
|
+
'iopen': <function iopen at 0x765f84e200>,
|
479
|
+
'iprint': <function iprint at 0x765904c180>,
|
480
|
+
'irange': <function irange at 0x765fb1a3e0>,
|
481
|
+
'ireplace': <function ireplace at 0x76590ad080>,
|
482
|
+
'iscandir': <function iscandir at 0x76590aee80>,
|
483
|
+
'isplit': <function isplit at 0x76590aef20>}}
|
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
|
+
;)}C9[;t
|
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 508274130160)>
|
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 0x7658e88110>
|
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__ : 54302838071650782
|
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 0x7667ec85d0>
|
724
|
+
_hash : 54302838071650782
|
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 0x7658e64c80>
|
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 0x7658de3c40>
|
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 0x7658e78040>
|
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, asd, weq
|
1203
1203
|
,ini,path,seperti,url,
|
1204
1204
|
ini,path,seperti,url
|
1205
1205
|
<li>satu</li>
|
@@ -1264,118 +1264,110 @@ 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.329,16 (-0,75) / oz',
|
1269
|
+
'Kurs IDR↑16.244,00 (+20,00) / USD',
|
1270
|
+
'Emas IDR↑1.216.419 (+1.106) / 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.329,16 (-0,75)', '16.244,00 (+20,00)', '37.834.875'],
|
1342
|
+
['Gram\xa0(gr)', '74,88', '16.244,00', '1.216.419 (+1.106)'],
|
1343
|
+
['Kilogram\xa0(kg)', '74.884,23', '16.244,00', '1.216.419.480'],
|
1344
|
+
['Update harga emas :24 April 2024, pukul 11:09Update 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
|
-
'1.280.000 (-16.000)',
|
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)'],
|
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'],
|
1379
1371
|
['', 'Update :23 April 2024, pukul 11:31']],
|
1380
1372
|
[['Konversi Satuan'],
|
1381
1373
|
['Satuan', 'Ounce (oz)', 'Gram (gr)', 'Kilogram (kg)'],
|
@@ -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', '-0,75-0,03%', '37.800.460', '+34.415+0,09%'],
|
1383
|
+
['gr', '74,91', '-0,02-0,03%', '1.215.313', '+1.106+0,09%'],
|
1384
|
+
['30 Hari', 'Kurs', '', '', '15.773', '+471+2,99%'],
|
1385
|
+
['oz', '2.175,55', '+153,61+7,06%', '34.314.950', '+3.519.925+10,26%'],
|
1386
|
+
['gr', '69,95', '+4,94+7,06%', '1.103.251', '+113.168+10,26%'],
|
1387
|
+
['2 Bulan', 'Kurs', '', '', '15.630', '+614+3,93%'],
|
1388
|
+
['oz', '2.035,57', '+293,59+14,42%', '31.815.959', '+6.018.916+18,92%'],
|
1389
|
+
['gr', '65,45', '+9,44+14,42', '1.022.907', '+193.513+18,92%'],
|
1390
|
+
['6 Bulan', 'Kurs', '', '', '15.933', '+311+1,95%'],
|
1391
|
+
['oz', '1.983,13', '+346,03+17,45%', '31.597.210', '+6.237.665+19,74%'],
|
1392
|
+
['gr', '63,76', '+11,13+17,45%', '1.015.874', '+200.546+19,74%'],
|
1393
|
+
['1 Tahun', 'Kurs', '', '', '15.731', '+513+3,26%'],
|
1394
|
+
['oz', '1.823,86', '+505,30+27,70%', '28.691.142', '+9.143.733+31,87%'],
|
1395
|
+
['gr', '58,64', '+16,25+27,70%', '922.442', '+293.978+31,87%'],
|
1396
|
+
['2 Tahun', 'Kurs', '', '', '14.361', '+1.883+13,11%'],
|
1397
|
+
['oz', '1.896,13', '+433,03+22,84%', '27.230.342', '+10.604.533+38,94%'],
|
1398
|
+
['gr', '60,96', '+13,92+22,84%', '875.476', '+340.944+38,94%'],
|
1399
|
+
['3 Tahun', 'Kurs', '', '', '14.530', '+1.714+11,80%'],
|
1400
|
+
['oz', '1.777,11', '+552,05+31,06%', '25.821.408', '+12.013.467+46,53%'],
|
1401
|
+
['gr', '57,14', '+17,75+31,06%', '830.178', '+386.242+46,53%'],
|
1402
|
+
['5 Tahun', 'Kurs', '', '', '14.188', '+2.056+14,49%'],
|
1403
|
+
['oz', '1.288,10', '+1.041,06+80,82%', '18.275.563', '+19.559.312+107,02%'],
|
1404
|
+
['gr', '41,41', '+33,47+80,82%', '587.573', '+628.846+107,02%']])
|
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,88↓', '-0,03-0,04%'],
|
1409
|
+
['KURS', '16.151,15↑', '+4,25+0,03%'],
|
1410
|
+
['IDR', '1.209.466,48↓', '-71,09-0,01%'],
|
1411
|
+
['Rabu, 24 April 2024 11:09']],
|
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,88 - 74,91', '74,90'],
|
1423
|
+
['KURS', '16.146,90', '16.146,90 - 16.151,15', '16.149,03'],
|
1424
|
+
['IDR', '1.209.537,57', '1.209.466,48 - 1.209.537,57', '1.209.502,03'],
|
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,56 (12,91%)'],
|
1428
|
+
['KURS', '15.390,10', '15.390,00 - 16.307,80', '+761,05 (4,95%)'],
|
1429
|
+
['IDR', '1.020.729,53', '997.660,12 - 1.256.829,06', '+188.736,95 (18,49%)'],
|
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,12 (17,44%)'],
|
1433
|
+
['KURS', '14.936,00', '14.669,40 - 16.307,80', '+1.215,15 (8,14%)'],
|
1434
|
+
['IDR', '952.339,68', '912.925,68 - 1.256.829,06', '+257.126,80 (27,00%)']])
|
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 0x766a3c6300>, <Element a at 0x7658eba4e0>, <Element a at 0x7658eba580>, <Element a at 0x7658eba5d0>, <Element a at 0x7658eba620>, <Element a at 0x7658eba670>, <Element a at 0x7658eba6c0>, <Element a at 0x7658eba710>, <Element a at 0x7658eba760>, <Element a at 0x7658eba7b0>, <Element a at 0x7658eba800>, <Element a at 0x7658eba850>, <Element a at 0x7658eba8a0>, <Element a at 0x7658eba8f0>, <Element a at 0x7658eba940>, <Element a at 0x7658eba990>, <Element a at 0x7658eba9e0>, <Element a at 0x7658ebaa30>]
|
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 0x7658f43ef0>
|
1518
|
+
<generator object irange at 0x7658f43ef0>
|
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 0x7658e6cb40>
|
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 0x7658e88450>,
|
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.88.dist-info/METADATA,sha256=T6xMmpFiEp9-APog5YRRPrSQ7P9xBOgvi055hAaHeS0,50392
|
74
|
+
pypipr-1.0.88.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
75
|
+
pypipr-1.0.88.dist-info/entry_points.txt,sha256=ikcrTRCn3jaySem1mM9uhYEPDq2PVOs48CyEqLUkY38,47
|
76
|
+
pypipr-1.0.88.dist-info/RECORD,,
|
File without changes
|
File without changes
|