pypipr 1.0.94__py3-none-any.whl → 1.0.95__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.
@@ -2,7 +2,7 @@ import os
2
2
  import sys
3
3
 
4
4
 
5
- def restart():
5
+ def restart(*argv):
6
6
  e = sys.executable
7
- a = sys.argv
7
+ a = argv or sys.argv
8
8
  os.execl(e, e, *a)
@@ -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
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.94
3
+ Version: 1.0.95
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 0x7a72a00240>
104
+ <generator object chunk_array at 0x77a49fc140>
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-25 20:41:51.650942+07:00
156
- 2024-04-25 13:41:51.652297+00:00
157
- 2024-04-25 06:41:51.655828-07:00
155
+ 2024-04-26 10:26:24.118074+07:00
156
+ 2024-04-26 03:26:24.119516+00:00
157
+ 2024-04-25 20:26:24.123401-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 0x7a72992d40>
224
+ <generator object filter_empty at 0x77a498ed40>
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 0x7a72993010>
271
- [<function ExampleGetClassMethod.a at 0x7a869867a0>, <function ExampleGetClassMethod.b at 0x7a72a096c0>, <function ExampleGetClassMethod.c at 0x7a72a09620>, <function ExampleGetClassMethod.d at 0x7a72a09760>]
270
+ <generator object get_class_method at 0x77a498f010>
271
+ [<function ExampleGetClassMethod.a at 0x77bcb867a0>, <function ExampleGetClassMethod.b at 0x77a4a056c0>, <function ExampleGetClassMethod.c at 0x77a4a05620>, <function ExampleGetClassMethod.d at 0x77a4a05760>]
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 0x7a7f2cf610>)>,
396
+ 'iflow': <module 'pypipr.iflow' (<_frozen_importlib_external.NamespaceLoader object at 0x77ac573f10>)>,
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 0x7a78af4750>},
435
- 'function': {'avg': <function avg at 0x7a869bed40>,
436
- 'basename': <function basename at 0x7a869868e0>,
437
- 'chunk_array': <function chunk_array at 0x7a83471120>,
438
- 'create_folder': <function create_folder at 0x7a83471300>,
439
- 'datetime_from_string': <function datetime_from_string at 0x7a834714e0>,
440
- 'datetime_now': <function datetime_now at 0x7a83519620>,
441
- 'dict_first': <function dict_first at 0x7a83519580>,
442
- 'dirname': <function dirname at 0x7a835194e0>,
443
- 'exit_if_empty': <function exit_if_empty at 0x7a834f34c0>,
444
- 'filter_empty': <function filter_empty at 0x7a835191c0>,
445
- 'get_by_index': <function get_by_index at 0x7a83518ea0>,
446
- 'get_class_method': <function get_class_method at 0x7a83518cc0>,
447
- 'get_filemtime': <function get_filemtime at 0x7a83518b80>,
448
- 'get_filesize': <function get_filesize at 0x7a835189a0>,
449
- 'is_empty': <function is_empty at 0x7a83519260>,
450
- 'is_iterable': <function is_iterable at 0x7a83518fe0>,
451
- 'is_valid_url': <function is_valid_url at 0x7a83518860>,
452
- 'ivars': <function ivars at 0x7a835187c0>,
453
- 'password_generator': <function password_generator at 0x7a83518680>,
454
- 'random_bool': <function random_bool at 0x7a83518400>,
455
- 'restart': <function restart at 0x7a8351b740>,
456
- 'set_timeout': <function set_timeout at 0x7a8351b880>,
457
- 'sets_ordered': <function sets_ordered at 0x7a8351b9c0>,
458
- 'str_cmp': <function str_cmp at 0x7a8351ba60>,
459
- 'to_str': <function to_str at 0x7a83518f40>,
460
- 'choices': <function choices at 0x7a8351bb00>,
461
- 'console_run': <function console_run at 0x7a8351bd80>,
462
- 'input_char': <function input_char at 0x7a8351bec0>,
463
- 'log': <function log at 0x7a8351bc40>,
464
- 'print_colorize': <function print_colorize at 0x7a83540180>,
465
- 'print_dir': <function print_dir at 0x7a835402c0>,
466
- 'print_log': <function print_log at 0x7a8351bf60>,
467
- 'print_to_last_line': <function print_to_last_line at 0x7a8351bce0>,
468
- 'text_colorize': <function text_colorize at 0x7a8351be20>,
469
- 'batch_calculate': <function batch_calculate at 0x7a780d9620>,
470
- 'batchmaker': <function batchmaker at 0x7a780da0c0>,
471
- 'calculate': <function calculate at 0x7a780da340>,
472
- 'auto_reload': <function auto_reload at 0x7a780da5c0>,
473
- 'github_pull': <function github_pull at 0x7a780da520>,
474
- 'github_push': <function github_push at 0x7a780da7a0>,
475
- 'github_user': <function github_user at 0x7a780daac0>,
476
- 'pip_freeze_without_version': <function pip_freeze_without_version at 0x7a77e1a0c0>,
477
- 'poetry_publish': <function poetry_publish at 0x7a77e1a200>,
478
- 'poetry_update_version': <function poetry_update_version at 0x7a77e3aa20>,
479
- 'iargv': <function iargv at 0x7a72bd0180>,
480
- 'idumps': <function idumps at 0x7a72bd02c0>,
481
- 'idumps_html': <function idumps_html at 0x7a72c38cc0>,
482
- 'ienv': <function ienv at 0x7a72bd0400>,
483
- 'iexec': <function iexec at 0x7a72c38f40>,
484
- 'ijoin': <function ijoin at 0x7a77e19f80>,
485
- 'iloads': <function iloads at 0x7a72c38fe0>,
486
- 'iloads_html': <function iloads_html at 0x7a72c39260>,
487
- 'iopen': <function iopen at 0x7a77e1a2a0>,
488
- 'iprint': <function iprint at 0x7a72c39120>,
489
- 'irange': <function irange at 0x7a780da480>,
490
- 'ireplace': <function ireplace at 0x7a72c39300>,
491
- 'iscandir': <function iscandir at 0x7a72c3af20>,
492
- 'isplit': <function isplit at 0x7a72c3afc0>}}
434
+ 'PintUreg': <pint.registry.UnitRegistry object at 0x77acf0d750>},
435
+ 'function': {'avg': <function avg at 0x77bcbbed40>,
436
+ 'basename': <function basename at 0x77bcb868e0>,
437
+ 'chunk_array': <function chunk_array at 0x77b5b35120>,
438
+ 'create_folder': <function create_folder at 0x77b5b35300>,
439
+ 'datetime_from_string': <function datetime_from_string at 0x77b5b354e0>,
440
+ 'datetime_now': <function datetime_now at 0x77b5bdd620>,
441
+ 'dict_first': <function dict_first at 0x77b5bdd580>,
442
+ 'dirname': <function dirname at 0x77b5bdd4e0>,
443
+ 'exit_if_empty': <function exit_if_empty at 0x77b5bb74c0>,
444
+ 'filter_empty': <function filter_empty at 0x77b5bdd1c0>,
445
+ 'get_by_index': <function get_by_index at 0x77b5bdcea0>,
446
+ 'get_class_method': <function get_class_method at 0x77b5bdccc0>,
447
+ 'get_filemtime': <function get_filemtime at 0x77b5bdcb80>,
448
+ 'get_filesize': <function get_filesize at 0x77b5bdc9a0>,
449
+ 'is_empty': <function is_empty at 0x77b5bdd260>,
450
+ 'is_iterable': <function is_iterable at 0x77b5bdcfe0>,
451
+ 'is_valid_url': <function is_valid_url at 0x77b5bdc860>,
452
+ 'ivars': <function ivars at 0x77b5bdc7c0>,
453
+ 'password_generator': <function password_generator at 0x77b5bdc680>,
454
+ 'random_bool': <function random_bool at 0x77b5bdc400>,
455
+ 'restart': <function restart at 0x77b5bdf740>,
456
+ 'set_timeout': <function set_timeout at 0x77b5bdf880>,
457
+ 'sets_ordered': <function sets_ordered at 0x77b5bdf9c0>,
458
+ 'str_cmp': <function str_cmp at 0x77b5bdfa60>,
459
+ 'to_str': <function to_str at 0x77b5bdcf40>,
460
+ 'choices': <function choices at 0x77b5bdfb00>,
461
+ 'console_run': <function console_run at 0x77b5bdfd80>,
462
+ 'input_char': <function input_char at 0x77b5bdfec0>,
463
+ 'log': <function log at 0x77b5bdfc40>,
464
+ 'print_colorize': <function print_colorize at 0x77b5c04180>,
465
+ 'print_dir': <function print_dir at 0x77b5c042c0>,
466
+ 'print_log': <function print_log at 0x77b5bdff60>,
467
+ 'print_to_last_line': <function print_to_last_line at 0x77b5bdfce0>,
468
+ 'text_colorize': <function text_colorize at 0x77b5bdfe20>,
469
+ 'batch_calculate': <function batch_calculate at 0x77ac579620>,
470
+ 'batchmaker': <function batchmaker at 0x77ac57a0c0>,
471
+ 'calculate': <function calculate at 0x77ac57a340>,
472
+ 'auto_reload': <function auto_reload at 0x77ac57a5c0>,
473
+ 'github_pull': <function github_pull at 0x77ac57a520>,
474
+ 'github_push': <function github_push at 0x77ac57a7a0>,
475
+ 'github_user': <function github_user at 0x77ac57aac0>,
476
+ 'pip_freeze_without_version': <function pip_freeze_without_version at 0x77ac2b2020>,
477
+ 'poetry_publish': <function poetry_publish at 0x77ac2b2200>,
478
+ 'poetry_update_version': <function poetry_update_version at 0x77ac2d2a20>,
479
+ 'iargv': <function iargv at 0x77a4bd4180>,
480
+ 'idumps': <function idumps at 0x77a4bd42c0>,
481
+ 'idumps_html': <function idumps_html at 0x77a4c3ccc0>,
482
+ 'ienv': <function ienv at 0x77a4bd4400>,
483
+ 'iexec': <function iexec at 0x77a4c3cf40>,
484
+ 'ijoin': <function ijoin at 0x77ac2b1f80>,
485
+ 'iloads': <function iloads at 0x77a4c3cfe0>,
486
+ 'iloads_html': <function iloads_html at 0x77a4c3d260>,
487
+ 'iopen': <function iopen at 0x77ac2b22a0>,
488
+ 'iprint': <function iprint at 0x77a4c3d120>,
489
+ 'irange': <function irange at 0x77ac57a480>,
490
+ 'ireplace': <function ireplace at 0x77a4c3d300>,
491
+ 'iscandir': <function iscandir at 0x77a4c3ef20>,
492
+ 'isplit': <function isplit at 0x77a4c3efc0>}}
493
493
  ```
494
494
 
495
495
  ## password_generator
@@ -504,7 +504,7 @@ print(password_generator())
504
504
 
505
505
  Output:
506
506
  ```py
507
- n.,UG}_N
507
+ !p2ZPb}t
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 525885381872)>
551
+ <Timer(Thread-2, started 513839344880)>
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 0x7a72a141e0>
569
+ <generator object sets_ordered at 0x77a4a14110>
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)`
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__ : 355454826737572805
723
+ __hash__ : -5867477642485113406
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 0x7a834ec650>
737
- _hash : 355454826737572805
736
+ _flavour : <pathlib._PosixFlavour object at 0x77b5bb03d0>
737
+ _hash : -5867477642485113406
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 0x7a729f0900>
759
+ iterdir : <generator object Path.iterdir at 0x77a49ec900>
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 0x7a72993970>
826
+ <generator object batch_calculate at 0x77a498f970>
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 0x7a72a04160>
851
+ <generator object batchmaker at 0x77a4a00160>
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
 
@@ -1277,114 +1277,61 @@ 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 - Kamis, 25 April 2024'],
1281
- ['Spot Emas USD2.316,87 (-8,41) / oz',
1282
- 'Kurs IDR16.161,00 (-83,00) / USD',
1283
- 'Emas IDR1.203.818 (-10.575) / gr'],
1284
- ['LM Antam (Jual)1.319.000 (-1.000) / gr',
1285
- 'LM Antam (Beli)↓1.217.000 (-1.000) / gr']],
1280
+ [['Harga Emas Hari Ini - Jumat, 26 April 2024'],
1281
+ ['Spot Emas USD2.332,95 (+3,54) / oz',
1282
+ 'Kurs IDR16.208,00 (+47,00) / USD',
1283
+ 'Emas IDR1.215.699 (+5.365) / gr'],
1284
+ ['LM Antam (Jual)1.319.000 / gr', 'LM Antam (Beli)1.217.000 / gr']],
1286
1285
  [['Harga Emas Hari Ini'],
1287
1286
  ['Gram', 'Gedung Antam Jakarta', 'Pegadaian'],
1288
1287
  ['per Gram (Rp)', 'per Batangan (Rp)', 'per Gram (Rp)', 'per Batangan (Rp)'],
1289
1288
  ['1000',
1290
- '1.260 (-1)',
1291
- '1.259.600 (-1.000)',
1289
+ '1.260',
1290
+ '1.259.600',
1292
1291
  '1.043.040 (+8.200)',
1293
1292
  '1.043.040.000 (+8.200.000)'],
1294
1293
  ['500',
1295
- '2.519 (-2)',
1296
- '1.259.640 (-1.000)',
1294
+ '2.519',
1295
+ '1.259.640',
1297
1296
  '1.043.082 (+8.200)',
1298
1297
  '521.541.000 (+4.100.000)'],
1299
1298
  ['250',
1300
- '5.040 (-4)',
1301
- '1.260.060 (-1.000)',
1299
+ '5.040',
1300
+ '1.260.060',
1302
1301
  '1.043.512 (+8.200)',
1303
1302
  '260.878.000 (+2.050.000)'],
1304
1303
  ['100',
1305
- '12.611 (-10)',
1306
- '1.261.120 (-1.000)',
1304
+ '12.611',
1305
+ '1.261.120',
1307
1306
  '1.044.600 (+8.200)',
1308
1307
  '104.460.000 (+820.000)'],
1309
- ['50',
1310
- '25.238 (-20)',
1311
- '1.261.900 (-1.000)',
1312
- '1.045.400 (+8.200)',
1313
- '52.270.000 (+410.000)'],
1314
- ['25',
1315
- '50.539 (-40)',
1316
- '1.263.480 (-1.000)',
1317
- '1.047.040 (+8.200)',
1318
- '26.176.000 (+205.000)'],
1319
- ['10',
1320
- '126.850 (-100)',
1321
- '1.268.500 (-1.000)',
1322
- '1.052.200 (+8.200)',
1323
- '10.522.000 (+82.000)'],
1324
- ['5',
1325
- '254.800 (-200)',
1326
- '1.274.000 (-1.000)',
1327
- '1.057.800 (+8.200)',
1328
- '5.289.000 (+41.000)'],
1329
- ['3',
1330
- '426.889 (-333)',
1331
- '1.280.667 (-1.000)',
1332
- '1.064.667 (+8.000)',
1333
- '3.194.000 (+24.000)'],
1334
- ['2',
1335
- '644.500 (-500)',
1336
- '1.289.000 (-1.000)',
1337
- '1.073.500 (+8.500)',
1338
- '2.147.000 (+17.000)'],
1339
- ['1',
1340
- '1.319.000 (-1.000)',
1341
- '1.319.000 (-1.000)',
1342
- '1.104.000 (+8.000)',
1343
- '1.104.000 (+8.000)'],
1344
- ['0.5',
1345
- '2.838.000 (-2.000)',
1346
- '1.419.000 (-1.000)',
1347
- '1.208.000 (+8.000)',
1348
- '604.000 (+4.000)'],
1349
- ['Update harga LM Antam :25 April 2024, pukul 08:05Harga pembelian kembali '
1350
- ':Rp. 1.217.000/gram (-1.000)',
1308
+ ['50', '25.238', '1.261.900', '1.045.400 (+8.200)', '52.270.000 (+410.000)'],
1309
+ ['25', '50.539', '1.263.480', '1.047.040 (+8.200)', '26.176.000 (+205.000)'],
1310
+ ['10', '126.850', '1.268.500', '1.052.200 (+8.200)', '10.522.000 (+82.000)'],
1311
+ ['5', '254.800', '1.274.000', '1.057.800 (+8.200)', '5.289.000 (+41.000)'],
1312
+ ['3', '426.889', '1.280.667', '1.064.667 (+8.000)', '3.194.000 (+24.000)'],
1313
+ ['2', '644.500', '1.289.000', '1.073.500 (+8.500)', '2.147.000 (+17.000)'],
1314
+ ['1', '1.319.000', '1.319.000', '1.104.000 (+8.000)', '1.104.000 (+8.000)'],
1315
+ ['0.5', '2.838.000', '1.419.000', '1.208.000 (+8.000)', '604.000 (+4.000)'],
1316
+ ['Update harga LM Antam :26 April 2024, pukul 07:57Harga pembelian kembali '
1317
+ ':Rp. 1.217.000/gram',
1351
1318
  'Update harga LM Pegadaian :31 Agustus 2023']],
1352
1319
  [['Spot Harga Emas Hari Ini (Market Open)'],
1353
1320
  ['Satuan', 'USD', 'Kurs\xa0Dollar', 'IDR'],
1354
- ['Ounce\xa0(oz)', '2.316,87 (-8,41)', '16.161,00 (-83,00)', '37.442.936'],
1355
- ['Gram\xa0(gr)', '74,49', '16.161,00', '1.203.818 (-10.575)'],
1356
- ['Kilogram\xa0(kg)', '74.489,10', '16.161,00', '1.203.818.350'],
1357
- ['Update harga emas :25 April 2024, pukul 20:41Update kurs :25 April 2024, '
1358
- 'pukul 13:10']],
1321
+ ['Ounce\xa0(oz)', '2.332,95 (+3,54)', '16.208,00 (+47,00)', '37.812.454'],
1322
+ ['Gram\xa0(gr)', '75,01', '16.208,00', '1.215.699 (+5.365)'],
1323
+ ['Kilogram\xa0(kg)', '75.006,08', '16.208,00', '1.215.698.614'],
1324
+ ['Update harga emas :26 April 2024, pukul 10:26Update kurs :26 April 2024, '
1325
+ 'pukul 09:10']],
1359
1326
  [['Gram', 'UBS Gold 99.99%'],
1360
1327
  ['Jual', 'Beli'],
1361
1328
  ['/ Batang', '/ Gram', '/ Batang', '/ Gram'],
1362
- ['100',
1363
- '126.000.000',
1364
- '1.260.000',
1365
- '124.385.000 (+400.000)',
1366
- '1.243.850 (+4.000)'],
1367
- ['50',
1368
- '63.100.000',
1369
- '1.262.000',
1370
- '62.245.000 (+200.000)',
1371
- '1.244.900 (+4.000)'],
1372
- ['25',
1373
- '31.600.000',
1374
- '1.264.000',
1375
- '31.225.000 (+100.000)',
1376
- '1.249.000 (+4.000)'],
1377
- ['10',
1378
- '12.680.000',
1379
- '1.268.000',
1380
- '12.540.000 (+40.000)',
1381
- '1.254.000 (+4.000)'],
1382
- ['5', '6.365.000', '1.273.000', '6.322.000 (+20.000)', '1.264.400 (+4.000)'],
1383
- ['1',
1384
- '1.315.000 (-5.000)',
1385
- '1.315.000 (-5.000)',
1386
- '1.297.000 (+4.000)',
1387
- '1.297.000 (+4.000)'],
1329
+ ['100', '126.000.000', '1.260.000', '124.385.000', '1.243.850'],
1330
+ ['50', '63.100.000', '1.262.000', '62.245.000', '1.244.900'],
1331
+ ['25', '31.600.000', '1.264.000', '31.225.000', '1.249.000'],
1332
+ ['10', '12.680.000', '1.268.000', '12.540.000', '1.254.000'],
1333
+ ['5', '6.365.000', '1.273.000', '6.322.000', '1.264.400'],
1334
+ ['1', '1.315.000', '1.315.000', '1.297.000', '1.297.000'],
1388
1335
  ['', 'Update :25 April 2024, pukul 14:44']],
1389
1336
  [['Konversi Satuan'],
1390
1337
  ['Satuan', 'Ounce (oz)', 'Gram (gr)', 'Kilogram (kg)'],
@@ -1395,38 +1342,37 @@ Output:
1395
1342
  ['Waktu', 'Emas'],
1396
1343
  ['Unit', 'USD', 'IDR'],
1397
1344
  ['Angka', '+/-', 'Angka', '+/-'],
1398
- ['Hari Ini', 'Kurs', '', '', '16.244', '-83-0,51%'],
1399
- ['oz', '2.325,28', '-8,41-0,36%', '37.771.848', '-328.912-0,87%'],
1400
- ['gr', '74,76', '-0,27-0,36%', '1.214.393', '-10.575-0,87%'],
1401
- ['30 Hari', 'Kurs', '', '', '15.795', '+366+2,32%'],
1402
- ['oz', '2.177,78', '+139,09+6,39%', '34.398.035', '+3.044.901+8,85%'],
1403
- ['gr', '70,02', '+4,47+6,39%', '1.105.923', '+97.896+8,85%'],
1404
- ['2 Bulan', 'Kurs', '', '', '15.630', '+531+3,40%'],
1405
- ['oz', '2.035,57', '+281,30+13,82%', '31.815.959', '+5.626.977+17,69%'],
1406
- ['gr', '65,45', '+9,04+13,82', '1.022.907', '+180.912+17,69%'],
1407
- ['6 Bulan', 'Kurs', '', '', '15.933', '+228+1,43%'],
1408
- ['oz', '2.006,33', '+310,54+15,48%', '31.966.856', '+5.476.080+17,13%'],
1409
- ['gr', '64,51', '+9,98+15,48%', '1.027.758', '+176.060+17,13%'],
1410
- ['1 Tahun', 'Kurs', '', '', '15.731', '+430+2,73%'],
1411
- ['oz', '1.823,86', '+493,01+27,03%', '28.691.142', '+8.751.794+30,50%'],
1412
- ['gr', '58,64', '+15,85+27,03%', '922.442', '+281.377+30,50%'],
1413
- ['2 Tahun', 'Kurs', '', '', '14.452', '+1.709+11,83%'],
1414
- ['oz', '1.901,97', '+414,90+21,81%', '27.487.270', '+9.955.666+36,22%'],
1415
- ['gr', '61,15', '+13,34+21,81%', '883.736', '+320.082+36,22%'],
1416
- ['3 Tahun', 'Kurs', '', '', '14.548', '+1.613+11,09%'],
1417
- ['oz', '1.779,86', '+537,01+30,17%', '25.893.403', '+11.549.533+44,60%'],
1418
- ['gr', '57,22', '+17,27+30,17%', '832.492', '+371.326+44,60%'],
1419
- ['5 Tahun', 'Kurs', '', '', '14.188', '+1.973+13,91%'],
1420
- ['oz', '1.286,10', '+1.030,77+80,15%', '18.247.187', '+19.195.749+105,20%'],
1421
- ['gr', '41,35', '+33,14+80,15%', '586.661', '+617.158+105,20%']])
1422
- Timeout 3
1345
+ ['Hari Ini', 'Kurs', '', '', '16.161', '+47+0,29%'],
1346
+ ['oz', '2.329,41', '+3,54+0,15%', '37.645.595', '+166.859+0,44%'],
1347
+ ['gr', '74,89', '+0,11+0,15%', '1.210.334', '+5.365+0,44%'],
1348
+ ['30 Hari', 'Kurs', '', '', '15.797', '+411+2,60%'],
1349
+ ['oz', '2.192,23', '+140,72+6,42%', '34.630.657', '+3.181.796+9,19%'],
1350
+ ['gr', '70,48', '+4,52+6,42%', '1.113.401', '+102.297+9,19%'],
1351
+ ['2 Bulan', 'Kurs', '', '', '15.589', '+619+3,97%'],
1352
+ ['oz', '2.027,94', '+305,01+15,04%', '31.613.557', '+6.198.897+19,61%'],
1353
+ ['gr', '65,20', '+9,81+15,04', '1.016.399', '+199.299+19,61%'],
1354
+ ['6 Bulan', 'Kurs', '', '', '15.933', '+275+1,73%'],
1355
+ ['oz', '2.006,33', '+326,62+16,28%', '31.966.856', '+5.845.598+18,29%'],
1356
+ ['gr', '64,51', '+10,50+16,28%', '1.027.758', '+187.940+18,29%'],
1357
+ ['1 Tahun', 'Kurs', '', '', '15.731', '+477+3,03%'],
1358
+ ['oz', '1.823,86', '+509,09+27,91%', '28.691.142', '+9.121.312+31,79%'],
1359
+ ['gr', '58,64', '+16,37+27,91%', '922.442', '+293.257+31,79%'],
1360
+ ['2 Tahun', 'Kurs', '', '', '14.412', '+1.796+12,46%'],
1361
+ ['oz', '1.888,15', '+444,80+23,56%', '27.212.018', '+10.600.436+38,95%'],
1362
+ ['gr', '60,71', '+14,30+23,56%', '874.887', '+340.812+38,95%'],
1363
+ ['3 Tahun', 'Kurs', '', '', '14.489', '+1.719+11,86%'],
1364
+ ['oz', '1.778,54', '+554,41+31,17%', '25.769.284', '+12.043.170+46,73%'],
1365
+ ['gr', '57,18', '+17,82+31,17%', '828.502', '+387.197+46,73%'],
1366
+ ['5 Tahun', 'Kurs', '', '', '14.188', '+2.020+14,24%'],
1367
+ ['oz', '1.286,10', '+1.046,85+81,40%', '18.247.187', '+19.565.267+107,22%'],
1368
+ ['gr', '41,35', '+33,66+81,40%', '586.661', '+629.038+107,22%']])
1423
1369
  (['Home', 'Emas 1 Gram', 'History', 'Trend', 'Perak 1 Gram', 'Pluang'],
1424
1370
  [[''],
1425
1371
  ['Emas 24 KaratHarga Emas 1 Gram', ''],
1426
- ['USD', '74,49↓', '-0,27-0,36%'],
1427
- ['KURS', '16.227,80↓', '-4,55-0,03%'],
1428
- ['IDR', '1.208.794,22↓', '-4.727,96-0,39%'],
1429
- ['Kamis, 25 April 2024 20:41']],
1372
+ ['USD', '75,01↑', '+0,12+0,16%'],
1373
+ ['KURS', '16.224,00↑', '+46,90+0,29%'],
1374
+ ['IDR', '1.216.898,71↑', '+5.358,96+0,44%'],
1375
+ ['Jumat, 26 April 2024 10:26']],
1430
1376
  [[''],
1431
1377
  ['Emas 1 Gram (IDR)Emas 1 Gram (USD)Kurs USD-IDR',
1432
1378
  'Hari Ini',
@@ -1437,19 +1383,19 @@ Timeout 3
1437
1383
  '']],
1438
1384
  [['Pergerakkan Harga Emas 1 Gram'],
1439
1385
  ['', 'Penutupan Kemarin', 'Pergerakkan Hari Ini', 'Rata-rata'],
1440
- ['USD', '74,76', '74,49 - 74,76', '74,63'],
1441
- ['KURS', '16.232,35', '16.227,80 - 16.232,35', '16.230,08'],
1442
- ['IDR', '1.213.522,18', '1.208.794,22 - 1.213.522,18', '1.211.158,20'],
1386
+ ['USD', '74,89', '74,89 - 75,01', '74,95'],
1387
+ ['KURS', '16.177,10', '16.177,10 - 16.224,00', '16.200,55'],
1388
+ ['IDR', '1.211.539,75', '1.211.539,75 - 1.216.898,71', '1.214.219,23'],
1443
1389
  [''],
1444
1390
  ['', 'Awal Tahun', 'Pergerakkan YTD', '+/- YTD'],
1445
- ['USD', '66,32', '64,07 - 77,14', '+8,17 (12,32%)'],
1446
- ['KURS', '15.390,10', '15.390,00 - 16.307,80', '+837,70 (5,44%)'],
1447
- ['IDR', '1.020.729,53', '997.660,12 - 1.256.829,06', '+188.064,69 (18,42%)'],
1391
+ ['USD', '66,32', '64,07 - 77,14', '+8,69 (13,10%)'],
1392
+ ['KURS', '15.390,10', '15.390,00 - 16.307,80', '+833,90 (5,42%)'],
1393
+ ['IDR', '1.020.729,53', '997.660,12 - 1.256.829,06', '+196.169,18 (19,22%)'],
1448
1394
  [''],
1449
1395
  ['', 'Tahun Lalu / 52 Minggu', 'Pergerakkan 52 Minggu', '+/- 52 Minggu'],
1450
- ['USD', '63,84', '58,43 - 77,14', '+10,65 (16,68%)'],
1451
- ['KURS', '14.930,10', '14.669,40 - 16.307,80', '+1.297,70 (8,69%)'],
1452
- ['IDR', '953.091,52', '912.925,68 - 1.256.829,06', '+255.702,70 (26,83%)']])
1396
+ ['USD', '63,98', '58,43 - 77,14', '+11,03 (17,24%)'],
1397
+ ['KURS', '14.951,00', '14.669,40 - 16.307,80', '+1.273,00 (8,51%)'],
1398
+ ['IDR', '956.507,08', '912.925,68 - 1.256.829,06', '+260.391,63 (27,22%)']])
1453
1399
  ```
1454
1400
 
1455
1401
  ## iopen
@@ -1491,7 +1437,7 @@ Output:
1491
1437
  ```py
1492
1438
  8
1493
1439
  ['mana', 'aja']
1494
- [<Element a at 0x7a729faee0>, <Element a at 0x7a72a42580>, <Element a at 0x7a72a42620>, <Element a at 0x7a72a42670>, <Element a at 0x7a72a426c0>, <Element a at 0x7a72a42710>, <Element a at 0x7a72a42760>, <Element a at 0x7a72a427b0>, <Element a at 0x7a72a42800>, <Element a at 0x7a72a42850>, <Element a at 0x7a72a428a0>, <Element a at 0x7a72a428f0>, <Element a at 0x7a72a42940>, <Element a at 0x7a72a42990>, <Element a at 0x7a72a429e0>, <Element a at 0x7a72a42a30>, <Element a at 0x7a72a42a80>, <Element a at 0x7a72a42ad0>]
1440
+ [<Element a at 0x77bcbc5cc0>, <Element a at 0x77a4a3e8a0>, <Element a at 0x77a4a3e940>, <Element a at 0x77a4a3e990>, <Element a at 0x77a4a3e9e0>, <Element a at 0x77a4a3ea30>, <Element a at 0x77a4a3ea80>, <Element a at 0x77a4a3ead0>, <Element a at 0x77a4a3eb20>, <Element a at 0x77a4a3eb70>, <Element a at 0x77a4a3ebc0>, <Element a at 0x77a4a3ec10>, <Element a at 0x77a4a3ec60>, <Element a at 0x77a4a3ecb0>, <Element a at 0x77a4a3ed00>, <Element a at 0x77a4a3ed50>, <Element a at 0x77a4a3eda0>, <Element a at 0x77a4a3edf0>]
1495
1441
  False
1496
1442
  ```
1497
1443
 
@@ -1532,8 +1478,8 @@ print(list(irange(10, 5)))
1532
1478
 
1533
1479
  Output:
1534
1480
  ```py
1535
- <generator object irange at 0x7a729ca9b0>
1536
- <generator object irange at 0x7a729ca9b0>
1481
+ <generator object irange at 0x77a49c6ac0>
1482
+ <generator object irange at 0x77a49c6ac0>
1537
1483
  ['a', 'k', 'u']
1538
1484
  [1, 2, 3, 4, 5, 6, 7]
1539
1485
  [10, 9, 8, 7, 6, 5]
@@ -1576,7 +1522,7 @@ print(list(iscandir("./", recursive=False, scan_file=False)))
1576
1522
 
1577
1523
  Output:
1578
1524
  ```py
1579
- <generator object iscandir at 0x7a72a00840>
1525
+ <generator object iscandir at 0x77a49fc740>
1580
1526
  [PosixPath('.git'), PosixPath('.vscode'), PosixPath('pypipr'), PosixPath('__pycache__'), PosixPath('dist')]
1581
1527
  ```
1582
1528
 
@@ -1633,7 +1579,7 @@ print(ExampleComparePerformance().compare_performance())
1633
1579
 
1634
1580
  Output:
1635
1581
  ```py
1636
- {'a': <generator object ExampleComparePerformance.a.<locals>.<genexpr> at 0x7a72a14520>,
1582
+ {'a': <generator object ExampleComparePerformance.a.<locals>.<genexpr> at 0x77a4a10450>,
1637
1583
  'b': (0, 1, 2, 3, 4, 5, 6, 7, 8, 9),
1638
1584
  'c': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
1639
1585
  '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=Qgri_At1nCc82qwzpEh_6SE4LKTB2DcvLKklUZU0_HE,101
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=cubx_9U1H1peqwxhP1cUId8vhPUgGVqxCtc32YS4gdU,474
37
+ pypipr/iconsole/print_colorize.py,sha256=cDWdIl3wsR9ixZWfWExWXkpj4ThPtJmlP0pvZ6qxGds,538
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.94.dist-info/METADATA,sha256=OLqJl8kMd4DBMDaXCMPNJ9NLSrORDPguHw4XoU-CNDQ,50690
75
- pypipr-1.0.94.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
76
- pypipr-1.0.94.dist-info/entry_points.txt,sha256=ikcrTRCn3jaySem1mM9uhYEPDq2PVOs48CyEqLUkY38,47
77
- pypipr-1.0.94.dist-info/RECORD,,
74
+ pypipr-1.0.95.dist-info/METADATA,sha256=rs80_gt-f_6fZWqorZuaOpEb2o1AxEfyLyffHQkvX0Y,50186
75
+ pypipr-1.0.95.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
76
+ pypipr-1.0.95.dist-info/entry_points.txt,sha256=ikcrTRCn3jaySem1mM9uhYEPDq2PVOs48CyEqLUkY38,47
77
+ pypipr-1.0.95.dist-info/RECORD,,