pypipr 1.0.80__tar.gz → 1.0.81__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {pypipr-1.0.80 → pypipr-1.0.81}/PKG-INFO +131 -102
- {pypipr-1.0.80 → pypipr-1.0.81}/pyproject.toml +1 -1
- {pypipr-1.0.80 → pypipr-1.0.81}/readme.md +130 -101
- {pypipr-1.0.80 → pypipr-1.0.81}/pypipr/__init__.py +0 -0
- {pypipr-1.0.80 → pypipr-1.0.81}/pypipr/ibuiltins/ComparePerformance.py +0 -0
- {pypipr-1.0.80 → pypipr-1.0.81}/pypipr/ibuiltins/LINUX.py +0 -0
- {pypipr-1.0.80 → pypipr-1.0.81}/pypipr/ibuiltins/RunParallel.py +0 -0
- {pypipr-1.0.80 → pypipr-1.0.81}/pypipr/ibuiltins/WINDOWS.py +0 -0
- {pypipr-1.0.80 → pypipr-1.0.81}/pypipr/ibuiltins/__init__.py +0 -0
- {pypipr-1.0.80 → pypipr-1.0.81}/pypipr/ibuiltins/avg.py +0 -0
- {pypipr-1.0.80 → pypipr-1.0.81}/pypipr/ibuiltins/basename.py +0 -0
- {pypipr-1.0.80 → pypipr-1.0.81}/pypipr/ibuiltins/chunk_array.py +0 -0
- {pypipr-1.0.80 → pypipr-1.0.81}/pypipr/ibuiltins/create_folder.py +0 -0
- {pypipr-1.0.80 → pypipr-1.0.81}/pypipr/ibuiltins/datetime_from_string.py +0 -0
- {pypipr-1.0.80 → pypipr-1.0.81}/pypipr/ibuiltins/datetime_now.py +0 -0
- {pypipr-1.0.80 → pypipr-1.0.81}/pypipr/ibuiltins/dict_first.py +0 -0
- {pypipr-1.0.80 → pypipr-1.0.81}/pypipr/ibuiltins/dirname.py +0 -0
- {pypipr-1.0.80 → pypipr-1.0.81}/pypipr/ibuiltins/exit_if_empty.py +0 -0
- {pypipr-1.0.80 → pypipr-1.0.81}/pypipr/ibuiltins/filter_empty.py +0 -0
- {pypipr-1.0.80 → pypipr-1.0.81}/pypipr/ibuiltins/get_class_method.py +0 -0
- {pypipr-1.0.80 → pypipr-1.0.81}/pypipr/ibuiltins/get_filemtime.py +0 -0
- {pypipr-1.0.80 → pypipr-1.0.81}/pypipr/ibuiltins/get_filesize.py +0 -0
- {pypipr-1.0.80 → pypipr-1.0.81}/pypipr/ibuiltins/get_from_index.py +0 -0
- {pypipr-1.0.80 → pypipr-1.0.81}/pypipr/ibuiltins/is_empty.py +0 -0
- {pypipr-1.0.80 → pypipr-1.0.81}/pypipr/ibuiltins/is_iterable.py +0 -0
- {pypipr-1.0.80 → pypipr-1.0.81}/pypipr/ibuiltins/is_valid_url.py +0 -0
- {pypipr-1.0.80 → pypipr-1.0.81}/pypipr/ibuiltins/password_generator.py +0 -0
- {pypipr-1.0.80 → pypipr-1.0.81}/pypipr/ibuiltins/random_bool.py +0 -0
- {pypipr-1.0.80 → pypipr-1.0.81}/pypipr/ibuiltins/set_timeout.py +0 -0
- {pypipr-1.0.80 → pypipr-1.0.81}/pypipr/ibuiltins/sets_ordered.py +0 -0
- {pypipr-1.0.80 → pypipr-1.0.81}/pypipr/ibuiltins/str_cmp.py +0 -0
- {pypipr-1.0.80 → pypipr-1.0.81}/pypipr/ibuiltins/to_str.py +0 -0
- {pypipr-1.0.80 → pypipr-1.0.81}/pypipr/iconsole/__init__.py +0 -0
- {pypipr-1.0.80 → pypipr-1.0.81}/pypipr/iconsole/choices.py +0 -0
- {pypipr-1.0.80 → pypipr-1.0.81}/pypipr/iconsole/console_run.py +0 -0
- {pypipr-1.0.80 → pypipr-1.0.81}/pypipr/iconsole/input_char.py +0 -0
- {pypipr-1.0.80 → pypipr-1.0.81}/pypipr/iconsole/log.py +0 -0
- {pypipr-1.0.80 → pypipr-1.0.81}/pypipr/iconsole/print_colorize.py +0 -0
- {pypipr-1.0.80 → pypipr-1.0.81}/pypipr/iconsole/print_dir.py +0 -0
- {pypipr-1.0.80 → pypipr-1.0.81}/pypipr/iconsole/print_log.py +0 -0
- {pypipr-1.0.80 → pypipr-1.0.81}/pypipr/iconsole/print_to_last_line.py +0 -0
- {pypipr-1.0.80 → pypipr-1.0.81}/pypipr/iconsole/text_colorize.py +0 -0
- {pypipr-1.0.80 → pypipr-1.0.81}/pypipr/idjango/APIMixinView.py +0 -0
- {pypipr-1.0.80 → pypipr-1.0.81}/pypipr/idjango/__init__.py +0 -0
- {pypipr-1.0.80 → pypipr-1.0.81}/pypipr/iengineering/PintUreg.py +0 -0
- {pypipr-1.0.80 → pypipr-1.0.81}/pypipr/iengineering/PintUregQuantity.py +0 -0
- {pypipr-1.0.80 → pypipr-1.0.81}/pypipr/iengineering/__init__.py +0 -0
- {pypipr-1.0.80 → pypipr-1.0.81}/pypipr/iengineering/batch_calculate.py +0 -0
- {pypipr-1.0.80 → pypipr-1.0.81}/pypipr/iengineering/batchmaker.py +0 -0
- {pypipr-1.0.80 → pypipr-1.0.81}/pypipr/iengineering/calculate.py +0 -0
- {pypipr-1.0.80 → pypipr-1.0.81}/pypipr/iflow/auto_reload.py +0 -0
- {pypipr-1.0.80 → pypipr-1.0.81}/pypipr/iflow/github_pull.py +0 -0
- {pypipr-1.0.80 → pypipr-1.0.81}/pypipr/iflow/github_push.py +0 -0
- {pypipr-1.0.80 → pypipr-1.0.81}/pypipr/iflow/github_user.py +0 -0
- {pypipr-1.0.80 → pypipr-1.0.81}/pypipr/iflow/pip_freeze_without_version.py +0 -0
- {pypipr-1.0.80 → pypipr-1.0.81}/pypipr/iflow/poetry_publish.py +0 -0
- {pypipr-1.0.80 → pypipr-1.0.81}/pypipr/iflow/poetry_update_version.py +0 -0
- {pypipr-1.0.80 → pypipr-1.0.81}/pypipr/ifunctions/__init__.py +0 -0
- {pypipr-1.0.80 → pypipr-1.0.81}/pypipr/ifunctions/iargv.py +0 -0
- {pypipr-1.0.80 → pypipr-1.0.81}/pypipr/ifunctions/idumps.py +0 -0
- {pypipr-1.0.80 → pypipr-1.0.81}/pypipr/ifunctions/idumps_html.py +0 -0
- {pypipr-1.0.80 → pypipr-1.0.81}/pypipr/ifunctions/ienv.py +0 -0
- {pypipr-1.0.80 → pypipr-1.0.81}/pypipr/ifunctions/iexec.py +0 -0
- {pypipr-1.0.80 → pypipr-1.0.81}/pypipr/ifunctions/ijoin.py +0 -0
- {pypipr-1.0.80 → pypipr-1.0.81}/pypipr/ifunctions/iloads.py +0 -0
- {pypipr-1.0.80 → pypipr-1.0.81}/pypipr/ifunctions/iloads_html.py +0 -0
- {pypipr-1.0.80 → pypipr-1.0.81}/pypipr/ifunctions/iopen.py +0 -0
- {pypipr-1.0.80 → pypipr-1.0.81}/pypipr/ifunctions/iprint.py +0 -0
- {pypipr-1.0.80 → pypipr-1.0.81}/pypipr/ifunctions/irange.py +0 -0
- {pypipr-1.0.80 → pypipr-1.0.81}/pypipr/ifunctions/ireplace.py +0 -0
- {pypipr-1.0.80 → pypipr-1.0.81}/pypipr/ifunctions/iscandir.py +0 -0
- {pypipr-1.0.80 → pypipr-1.0.81}/pypipr/ifunctions/isplit.py +0 -0
- {pypipr-1.0.80 → pypipr-1.0.81}/pypipr/pypipr.py.bak +0 -0
- {pypipr-1.0.80 → pypipr-1.0.81}/pypipr/terminal.py +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: pypipr
|
3
|
-
Version: 1.0.
|
3
|
+
Version: 1.0.81
|
4
4
|
Summary: The Python Package Index Project
|
5
5
|
Author: ufiapjj
|
6
6
|
Author-email: ufiapjj@gmail.com
|
@@ -106,7 +106,7 @@ print(list(batch_calculate("{1 10} m ** {1 3}")))
|
|
106
106
|
|
107
107
|
Output:
|
108
108
|
```py
|
109
|
-
<generator object batch_calculate at
|
109
|
+
<generator object batch_calculate at 0x7d668813f0>
|
110
110
|
[('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')>)]
|
111
111
|
```
|
112
112
|
|
@@ -131,7 +131,7 @@ print(list(batchmaker(s)))
|
|
131
131
|
|
132
132
|
Output:
|
133
133
|
```py
|
134
|
-
<generator object batchmaker at
|
134
|
+
<generator object batchmaker at 0x7d667dfd00>
|
135
135
|
['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.']
|
136
136
|
```
|
137
137
|
|
@@ -208,7 +208,7 @@ print(list(chunk_array(arr, 5)))
|
|
208
208
|
|
209
209
|
Output:
|
210
210
|
```py
|
211
|
-
<generator object chunk_array at
|
211
|
+
<generator object chunk_array at 0x7d666b4440>
|
212
212
|
[[2, 3, 12, 3, 3], [42, 42, 1, 43, 2], [42, 41, 4, 24, 32], [42, 3, 12, 32, 42], [42]]
|
213
213
|
```
|
214
214
|
|
@@ -270,9 +270,9 @@ print(datetime_now("Etc/GMT+7"))
|
|
270
270
|
|
271
271
|
Output:
|
272
272
|
```py
|
273
|
-
2024-04-23
|
274
|
-
2024-04-
|
275
|
-
2024-04-22
|
273
|
+
2024-04-23 11:08:12.392448+07:00
|
274
|
+
2024-04-23 04:08:12.394183+00:00
|
275
|
+
2024-04-22 21:08:12.398148-07:00
|
276
276
|
```
|
277
277
|
|
278
278
|
## dict_first
|
@@ -339,7 +339,7 @@ print(filter_empty(var))
|
|
339
339
|
|
340
340
|
Output:
|
341
341
|
```py
|
342
|
-
<generator object filter_empty at
|
342
|
+
<generator object filter_empty at 0x7d668813f0>
|
343
343
|
```
|
344
344
|
|
345
345
|
## get_class_method
|
@@ -368,8 +368,8 @@ print(list(get_class_method(ExampleGetClassMethod)))
|
|
368
368
|
|
369
369
|
Output:
|
370
370
|
```py
|
371
|
-
<generator object get_class_method at
|
372
|
-
[<function ExampleGetClassMethod.a at
|
371
|
+
<generator object get_class_method at 0x7d66883100>
|
372
|
+
[<function ExampleGetClassMethod.a at 0x7d666d11c0>, <function ExampleGetClassMethod.b at 0x7d666d0f40>, <function ExampleGetClassMethod.c at 0x7d666d1120>, <function ExampleGetClassMethod.d at 0x7d666d1080>]
|
373
373
|
```
|
374
374
|
|
375
375
|
## get_filemtime
|
@@ -681,7 +681,7 @@ print(ijoin(10, ' '))
|
|
681
681
|
|
682
682
|
Output:
|
683
683
|
```py
|
684
|
-
|
684
|
+
qweqw, asd, weq, dfs
|
685
685
|
,ini,path,seperti,url,
|
686
686
|
ini,path,seperti,url
|
687
687
|
<li>satu</li>
|
@@ -747,94 +747,110 @@ Output:
|
|
747
747
|
```py
|
748
748
|
(['Home', 'Emas 1 Gram', 'History', 'Trend', 'Perak 1 Gram', 'Pluang'],
|
749
749
|
[['Harga Emas Hari Ini - Selasa, 23 April 2024'],
|
750
|
-
['Spot Emas USD↓2.
|
751
|
-
'Kurs
|
752
|
-
'Emas IDR↓1.
|
753
|
-
['LM Antam (Jual)↓1.
|
754
|
-
'LM Antam (Beli)↓1.
|
750
|
+
['Spot Emas USD↓2.302,60 (-27,53) / oz',
|
751
|
+
'Kurs IDR↓16.224,00 (-56,00) / USD',
|
752
|
+
'Emas IDR↓1.201.068 (-18.555) / gr'],
|
753
|
+
['LM Antam (Jual)↓1.325.000 (-18.000) / gr',
|
754
|
+
'LM Antam (Beli)↓1.223.000 (-15.000) / gr']],
|
755
755
|
[['Harga Emas Hari Ini'],
|
756
756
|
['Gram', 'Gedung Antam Jakarta', 'Pegadaian'],
|
757
757
|
['per Gram (Rp)', 'per Batangan (Rp)', 'per Gram (Rp)', 'per Batangan (Rp)'],
|
758
758
|
['1000',
|
759
|
-
'1.
|
760
|
-
'1.
|
759
|
+
'1.266 (-18)',
|
760
|
+
'1.265.600 (-18.000)',
|
761
761
|
'1.043.040 (+8.200)',
|
762
762
|
'1.043.040.000 (+8.200.000)'],
|
763
763
|
['500',
|
764
|
-
'2.
|
765
|
-
'1.
|
764
|
+
'2.531 (-36)',
|
765
|
+
'1.265.640 (-18.000)',
|
766
766
|
'1.043.082 (+8.200)',
|
767
767
|
'521.541.000 (+4.100.000)'],
|
768
768
|
['250',
|
769
|
-
'5.
|
770
|
-
'1.
|
769
|
+
'5.064 (-72)',
|
770
|
+
'1.266.060 (-18.000)',
|
771
771
|
'1.043.512 (+8.200)',
|
772
772
|
'260.878.000 (+2.050.000)'],
|
773
773
|
['100',
|
774
|
-
'12.
|
775
|
-
'1.
|
774
|
+
'12.671 (-180)',
|
775
|
+
'1.267.120 (-18.000)',
|
776
776
|
'1.044.600 (+8.200)',
|
777
777
|
'104.460.000 (+820.000)'],
|
778
778
|
['50',
|
779
|
-
'25.
|
780
|
-
'1.
|
779
|
+
'25.358 (-360)',
|
780
|
+
'1.267.900 (-18.000)',
|
781
781
|
'1.045.400 (+8.200)',
|
782
782
|
'52.270.000 (+410.000)'],
|
783
783
|
['25',
|
784
|
-
'
|
785
|
-
'1.
|
784
|
+
'50.779 (-720)',
|
785
|
+
'1.269.480 (-18.000)',
|
786
786
|
'1.047.040 (+8.200)',
|
787
787
|
'26.176.000 (+205.000)'],
|
788
788
|
['10',
|
789
|
-
'
|
790
|
-
'1.
|
789
|
+
'127.450 (-1.800)',
|
790
|
+
'1.274.500 (-18.000)',
|
791
791
|
'1.052.200 (+8.200)',
|
792
792
|
'10.522.000 (+82.000)'],
|
793
793
|
['5',
|
794
|
-
'
|
795
|
-
'1.
|
794
|
+
'256.000 (-3.600)',
|
795
|
+
'1.280.000 (-18.000)',
|
796
796
|
'1.057.800 (+8.200)',
|
797
797
|
'5.289.000 (+41.000)'],
|
798
798
|
['3',
|
799
|
-
'
|
800
|
-
'1.
|
799
|
+
'428.889 (-6.000)',
|
800
|
+
'1.286.667 (-18.000)',
|
801
801
|
'1.064.667 (+8.000)',
|
802
802
|
'3.194.000 (+24.000)'],
|
803
803
|
['2',
|
804
|
-
'
|
805
|
-
'1.
|
804
|
+
'647.500 (-9.000)',
|
805
|
+
'1.295.000 (-18.000)',
|
806
806
|
'1.073.500 (+8.500)',
|
807
807
|
'2.147.000 (+17.000)'],
|
808
808
|
['1',
|
809
|
-
'1.
|
810
|
-
'1.
|
809
|
+
'1.325.000 (-18.000)',
|
810
|
+
'1.325.000 (-18.000)',
|
811
811
|
'1.104.000 (+8.000)',
|
812
812
|
'1.104.000 (+8.000)'],
|
813
813
|
['0.5',
|
814
|
-
'2.
|
815
|
-
'1.
|
814
|
+
'2.850.000 (-36.000)',
|
815
|
+
'1.425.000 (-18.000)',
|
816
816
|
'1.208.000 (+8.000)',
|
817
817
|
'604.000 (+4.000)'],
|
818
|
-
['Update harga LM Antam :
|
819
|
-
':Rp. 1.
|
818
|
+
['Update harga LM Antam :23 April 2024, pukul 07:56Harga pembelian kembali '
|
819
|
+
':Rp. 1.223.000/gram (-15.000)',
|
820
820
|
'Update harga LM Pegadaian :31 Agustus 2023']],
|
821
821
|
[['Spot Harga Emas Hari Ini (Market Open)'],
|
822
822
|
['Satuan', 'USD', 'Kurs\xa0Dollar', 'IDR'],
|
823
|
-
['Ounce\xa0(oz)', '2.
|
824
|
-
['Gram\xa0(gr)', '74,
|
825
|
-
['Kilogram\xa0(kg)', '74.
|
826
|
-
['Update harga emas :23 April 2024, pukul
|
827
|
-
'pukul
|
823
|
+
['Ounce\xa0(oz)', '2.302,60 (-27,53)', '16.224,00 (-56,00)', '37.357.382'],
|
824
|
+
['Gram\xa0(gr)', '74,03', '16.224,00', '1.201.068 (-18.555)'],
|
825
|
+
['Kilogram\xa0(kg)', '74.030,31', '16.224,00', '1.201.067.735'],
|
826
|
+
['Update harga emas :23 April 2024, pukul 11:08Update kurs :23 April 2024, '
|
827
|
+
'pukul 09:10']],
|
828
828
|
[['Gram', 'UBS Gold 99.99%'],
|
829
829
|
['Jual', 'Beli'],
|
830
830
|
['/ Batang', '/ Gram', '/ Batang', '/ Gram'],
|
831
|
-
['100',
|
832
|
-
|
833
|
-
|
834
|
-
|
835
|
-
|
836
|
-
['
|
837
|
-
|
831
|
+
['100',
|
832
|
+
'126.712.000 (-1.488.000)',
|
833
|
+
'1.267.120 (-14.880)',
|
834
|
+
'127.085.000',
|
835
|
+
'1.270.850'],
|
836
|
+
['50',
|
837
|
+
'63.395.000 (-855.000)',
|
838
|
+
'1.267.900 (-17.100)',
|
839
|
+
'63.595.000',
|
840
|
+
'1.271.900'],
|
841
|
+
['25',
|
842
|
+
'31.737.000 (-413.000)',
|
843
|
+
'1.269.480 (-16.520)',
|
844
|
+
'31.900.000',
|
845
|
+
'1.276.000'],
|
846
|
+
['10',
|
847
|
+
'12.745.000 (-165.000)',
|
848
|
+
'1.274.500 (-16.500)',
|
849
|
+
'12.810.000',
|
850
|
+
'1.281.000'],
|
851
|
+
['5', '6.400.000 (-80.000)', '1.280.000 (-16.000)', '6.457.000', '1.291.400'],
|
852
|
+
['1', '1.325.000 (-15.000)', '1.325.000 (-15.000)', '1.324.000', '1.324.000'],
|
853
|
+
['', 'Update :23 April 2024, pukul 09:11']],
|
838
854
|
[['Konversi Satuan'],
|
839
855
|
['Satuan', 'Ounce (oz)', 'Gram (gr)', 'Kilogram (kg)'],
|
840
856
|
['Ounce\xa0(oz)', '1', '31,1034767696', '0,0311034768'],
|
@@ -844,37 +860,37 @@ Output:
|
|
844
860
|
['Waktu', 'Emas'],
|
845
861
|
['Unit', 'USD', 'IDR'],
|
846
862
|
['Angka', '+/-', 'Angka', '+/-'],
|
847
|
-
['Hari Ini', 'Kurs', '', '', '16.280', '%'],
|
848
|
-
['oz', '2.330,13', '-
|
849
|
-
['gr', '74,92', '-0,
|
850
|
-
['30 Hari', 'Kurs', '', '', '15.662', '+
|
851
|
-
['oz', '2.165,64', '+
|
852
|
-
['gr', '69,63', '+
|
853
|
-
['2 Bulan', 'Kurs', '', '', '15.630', '+
|
854
|
-
['oz', '2.038,19', '+
|
855
|
-
['gr', '65,53', '+
|
856
|
-
['6 Bulan', 'Kurs', '', '', '15.871', '+
|
857
|
-
['oz', '1.984,00', '+
|
858
|
-
['gr', '63,79', '+10,
|
859
|
-
['1 Tahun', 'Kurs', '', '', '15.731', '+
|
860
|
-
['oz', '1.823,86', '+
|
861
|
-
['gr', '58,64', '+
|
862
|
-
['2 Tahun', 'Kurs', '', '', '14.348', '+1.
|
863
|
-
['oz', '1.931,96', '+
|
864
|
-
['gr', '62,11', '+
|
865
|
-
['3 Tahun', 'Kurs', '', '', '14.530', '+1.
|
866
|
-
['oz', '1.777,11', '+
|
867
|
-
['gr', '57,14', '+
|
868
|
-
['5 Tahun', 'Kurs', '', '', '14.154', '+2.
|
869
|
-
['oz', '1.277,64', '+1.
|
870
|
-
['gr', '41,08', '+
|
863
|
+
['Hari Ini', 'Kurs', '', '', '16.280', '-56-0,34%'],
|
864
|
+
['oz', '2.330,13', '-27,53-1,18%', '37.934.516', '-577.134-1,52%'],
|
865
|
+
['gr', '74,92', '-0,89-1,18%', '1.219.623', '-18.555-1,52%'],
|
866
|
+
['30 Hari', 'Kurs', '', '', '15.662', '+562+3,59%'],
|
867
|
+
['oz', '2.165,64', '+136,96+6,32%', '33.918.254', '+3.439.129+10,14%'],
|
868
|
+
['gr', '69,63', '+4,40+6,32%', '1.090.497', '+110.571+10,14%'],
|
869
|
+
['2 Bulan', 'Kurs', '', '', '15.630', '+594+3,80%'],
|
870
|
+
['oz', '2.038,19', '+264,41+12,97%', '31.856.910', '+5.500.473+17,27%'],
|
871
|
+
['gr', '65,53', '+8,50+12,97', '1.024.223', '+176.844+17,27%'],
|
872
|
+
['6 Bulan', 'Kurs', '', '', '15.871', '+353+2,22%'],
|
873
|
+
['oz', '1.984,00', '+318,60+16,06%', '31.488.064', '+5.869.318+18,64%'],
|
874
|
+
['gr', '63,79', '+10,24+16,06%', '1.012.365', '+188.703+18,64%'],
|
875
|
+
['1 Tahun', 'Kurs', '', '', '15.731', '+493+3,13%'],
|
876
|
+
['oz', '1.823,86', '+478,74+26,25%', '28.691.142', '+8.666.241+30,21%'],
|
877
|
+
['gr', '58,64', '+15,39+26,25%', '922.442', '+278.626+30,21%'],
|
878
|
+
['2 Tahun', 'Kurs', '', '', '14.348', '+1.876+13,07%'],
|
879
|
+
['oz', '1.931,96', '+370,64+19,18%', '27.719.762', '+9.637.620+34,77%'],
|
880
|
+
['gr', '62,11', '+11,92+19,18%', '891.211', '+309.857+34,77%'],
|
881
|
+
['3 Tahun', 'Kurs', '', '', '14.530', '+1.694+11,66%'],
|
882
|
+
['oz', '1.777,11', '+525,49+29,57%', '25.821.408', '+11.535.974+44,68%'],
|
883
|
+
['gr', '57,14', '+16,89+29,57%', '830.178', '+370.890+44,68%'],
|
884
|
+
['5 Tahun', 'Kurs', '', '', '14.154', '+2.070+14,62%'],
|
885
|
+
['oz', '1.277,64', '+1.024,96+80,22%', '18.083.717', '+19.273.666+106,58%'],
|
886
|
+
['gr', '41,08', '+32,95+80,22%', '581.405', '+619.663+106,58%']])
|
871
887
|
(['Home', 'Emas 1 Gram', 'History', 'Trend', 'Perak 1 Gram', 'Pluang'],
|
872
888
|
[[''],
|
873
889
|
['Emas 24 KaratHarga Emas 1 Gram', ''],
|
874
|
-
['USD', '74,
|
875
|
-
['KURS', '16.
|
876
|
-
['IDR', '1.
|
877
|
-
['Selasa, 23 April 2024
|
890
|
+
['USD', '74,03↓', '-0,89-1,19%'],
|
891
|
+
['KURS', '16.231,05↓', '-15,30-0,09%'],
|
892
|
+
['IDR', '1.201.589,65↓', '-15.512,47-1,27%'],
|
893
|
+
['Selasa, 23 April 2024 11:08']],
|
878
894
|
[[''],
|
879
895
|
['Emas 1 Gram (IDR)Emas 1 Gram (USD)Kurs USD-IDR',
|
880
896
|
'Hari Ini',
|
@@ -885,19 +901,19 @@ Output:
|
|
885
901
|
'']],
|
886
902
|
[['Pergerakkan Harga Emas 1 Gram'],
|
887
903
|
['', 'Penutupan Kemarin', 'Pergerakkan Hari Ini', 'Rata-rata'],
|
888
|
-
['USD', '74,92', '74,
|
889
|
-
['KURS', '16.246,35', '16.
|
890
|
-
['IDR', '1.217.102,12', '1.
|
904
|
+
['USD', '74,92', '74,03 - 74,92', '74,48'],
|
905
|
+
['KURS', '16.246,35', '16.231,05 - 16.246,35', '16.238,70'],
|
906
|
+
['IDR', '1.217.102,12', '1.201.589,65 - 1.217.102,12', '1.209.345,89'],
|
891
907
|
[''],
|
892
908
|
['', 'Awal Tahun', 'Pergerakkan YTD', '+/- YTD'],
|
893
|
-
['USD', '66,32', '64,07 - 77,14', '+
|
894
|
-
['KURS', '15.390,10', '15.390,00 - 16.307,80', '+
|
895
|
-
['IDR', '1.020.729,53', '997.660,12 - 1.256.829,06', '+
|
909
|
+
['USD', '66,32', '64,07 - 77,14', '+7,71 (11,63%)'],
|
910
|
+
['KURS', '15.390,10', '15.390,00 - 16.307,80', '+840,95 (5,46%)'],
|
911
|
+
['IDR', '1.020.729,53', '997.660,12 - 1.256.829,06', '+180.860,12 (17,72%)'],
|
896
912
|
[''],
|
897
913
|
['', 'Tahun Lalu / 52 Minggu', 'Pergerakkan 52 Minggu', '+/- 52 Minggu'],
|
898
|
-
['USD', '63,76', '58,43 - 77,14', '+
|
899
|
-
['KURS', '14.936,00', '14.669,40 - 16.307,80', '+1.
|
900
|
-
['IDR', '952.339,68', '912.925,68 - 1.256.829,06', '+
|
914
|
+
['USD', '63,76', '58,43 - 77,14', '+10,27 (16,11%)'],
|
915
|
+
['KURS', '14.936,00', '14.669,40 - 16.307,80', '+1.295,05 (8,67%)'],
|
916
|
+
['IDR', '952.339,68', '912.925,68 - 1.256.829,06', '+249.249,97 (26,17%)']])
|
901
917
|
```
|
902
918
|
|
903
919
|
## input_char
|
@@ -951,7 +967,7 @@ Output:
|
|
951
967
|
```py
|
952
968
|
8
|
953
969
|
['mana', 'aja']
|
954
|
-
[<Element a at
|
970
|
+
[<Element a at 0x7d666c37a0>, <Element a at 0x7d6670d950>, <Element a at 0x7d6670d9f0>, <Element a at 0x7d6670da40>, <Element a at 0x7d6670da90>, <Element a at 0x7d6670dae0>, <Element a at 0x7d6670db30>, <Element a at 0x7d6670db80>, <Element a at 0x7d6670dbd0>, <Element a at 0x7d6670dc20>, <Element a at 0x7d6670dc70>, <Element a at 0x7d6670dcc0>, <Element a at 0x7d6670dd10>, <Element a at 0x7d6670dd60>, <Element a at 0x7d6670ddb0>, <Element a at 0x7d6670de00>, <Element a at 0x7d6670de50>, <Element a at 0x7d6670dea0>]
|
955
971
|
False
|
956
972
|
```
|
957
973
|
|
@@ -992,8 +1008,8 @@ print(list(irange(10, 5)))
|
|
992
1008
|
|
993
1009
|
Output:
|
994
1010
|
```py
|
995
|
-
<generator object irange at
|
996
|
-
<generator object irange at
|
1011
|
+
<generator object irange at 0x7d6668e8a0>
|
1012
|
+
<generator object irange at 0x7d6668e8a0>
|
997
1013
|
['a', 'k', 'u']
|
998
1014
|
[1, 2, 3, 4, 5, 6, 7]
|
999
1015
|
[10, 9, 8, 7, 6, 5]
|
@@ -1110,7 +1126,7 @@ print(list(iscandir("./", recursive=False, scan_file=False)))
|
|
1110
1126
|
|
1111
1127
|
Output:
|
1112
1128
|
```py
|
1113
|
-
<generator object iscandir at
|
1129
|
+
<generator object iscandir at 0x7d666b4840>
|
1114
1130
|
[PosixPath('.git'), PosixPath('.vscode'), PosixPath('pypipr'), PosixPath('__pycache__'), PosixPath('dist')]
|
1115
1131
|
```
|
1116
1132
|
|
@@ -1169,7 +1185,7 @@ print(password_generator())
|
|
1169
1185
|
|
1170
1186
|
Output:
|
1171
1187
|
```py
|
1172
|
-
|
1188
|
+
^Cc*hE`E
|
1173
1189
|
```
|
1174
1190
|
|
1175
1191
|
## pip_freeze_without_version
|
@@ -1238,7 +1254,7 @@ Output:
|
|
1238
1254
|
__enter__ : https:/www.google.com
|
1239
1255
|
__fspath__ : https:/www.google.com
|
1240
1256
|
__getstate__ : (None, {'_drv': '', '_root': '', '_parts': ['https:', 'www.google.com'], '_str': 'https:/www.google.com'})
|
1241
|
-
__hash__ :
|
1257
|
+
__hash__ : 8204532724135147098
|
1242
1258
|
__init__ : None
|
1243
1259
|
__init_subclass__ : None
|
1244
1260
|
__module__ : pathlib
|
@@ -1251,8 +1267,8 @@ Output:
|
|
1251
1267
|
_cached_cparts : ['https:', 'www.google.com']
|
1252
1268
|
_cparts : ['https:', 'www.google.com']
|
1253
1269
|
_drv :
|
1254
|
-
_flavour : <pathlib._PosixFlavour object at
|
1255
|
-
_hash :
|
1270
|
+
_flavour : <pathlib._PosixFlavour object at 0x7d74e5fc90>
|
1271
|
+
_hash : 8204532724135147098
|
1256
1272
|
_parts : ['https:', 'www.google.com']
|
1257
1273
|
_root :
|
1258
1274
|
_str : https:/www.google.com
|
@@ -1274,7 +1290,7 @@ Output:
|
|
1274
1290
|
is_reserved : False
|
1275
1291
|
is_socket : False
|
1276
1292
|
is_symlink : False
|
1277
|
-
iterdir : <generator object Path.iterdir at
|
1293
|
+
iterdir : <generator object Path.iterdir at 0x7d666be340>
|
1278
1294
|
joinpath : https:/www.google.com
|
1279
1295
|
name : www.google.com
|
1280
1296
|
parent : https:
|
@@ -1357,7 +1373,7 @@ x.cancel()
|
|
1357
1373
|
|
1358
1374
|
Output:
|
1359
1375
|
```py
|
1360
|
-
<Timer(Thread-2, started
|
1376
|
+
<Timer(Thread-2, started 538561199344)>
|
1361
1377
|
menghentikan timeout 7
|
1362
1378
|
```
|
1363
1379
|
|
@@ -1375,7 +1391,7 @@ print(list(sets_ordered(array)))
|
|
1375
1391
|
|
1376
1392
|
Output:
|
1377
1393
|
```py
|
1378
|
-
<generator object sets_ordered at
|
1394
|
+
<generator object sets_ordered at 0x7d666e45f0>
|
1379
1395
|
[2, 3, 12, 42, 1, 43, 41, 4, 24, 32]
|
1380
1396
|
```
|
1381
1397
|
|
@@ -1482,6 +1498,19 @@ print(ExampleComparePerformance().compare_performance())
|
|
1482
1498
|
print(ExampleComparePerformance().compare_performance())
|
1483
1499
|
```
|
1484
1500
|
|
1501
|
+
Output:
|
1502
|
+
```py
|
1503
|
+
{'a': <generator object ExampleComparePerformance.a.<locals>.<genexpr> at 0x7d666e4110>,
|
1504
|
+
'b': (0, 1, 2, 3, 4, 5, 6, 7, 8, 9),
|
1505
|
+
'c': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
|
1506
|
+
'd': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]}
|
1507
|
+
{'a': 0, 'b': 0, 'c': 0, 'd': 0}
|
1508
|
+
{'a': 0, 'b': 0, 'c': 0, 'd': 0}
|
1509
|
+
{'a': 0, 'b': 0, 'c': 0, 'd': 0}
|
1510
|
+
{'a': 0, 'b': 0, 'c': 0, 'd': 0}
|
1511
|
+
{'a': 0, 'b': 0, 'c': 0, 'd': 0}
|
1512
|
+
```
|
1513
|
+
|
1485
1514
|
## PintUregQuantity
|
1486
1515
|
|
1487
1516
|
`PintUregQuantity`
|
@@ -83,7 +83,7 @@ print(list(batch_calculate("{1 10} m ** {1 3}")))
|
|
83
83
|
|
84
84
|
Output:
|
85
85
|
```py
|
86
|
-
<generator object batch_calculate at
|
86
|
+
<generator object batch_calculate at 0x7d668813f0>
|
87
87
|
[('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')>)]
|
88
88
|
```
|
89
89
|
|
@@ -108,7 +108,7 @@ print(list(batchmaker(s)))
|
|
108
108
|
|
109
109
|
Output:
|
110
110
|
```py
|
111
|
-
<generator object batchmaker at
|
111
|
+
<generator object batchmaker at 0x7d667dfd00>
|
112
112
|
['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.']
|
113
113
|
```
|
114
114
|
|
@@ -185,7 +185,7 @@ print(list(chunk_array(arr, 5)))
|
|
185
185
|
|
186
186
|
Output:
|
187
187
|
```py
|
188
|
-
<generator object chunk_array at
|
188
|
+
<generator object chunk_array at 0x7d666b4440>
|
189
189
|
[[2, 3, 12, 3, 3], [42, 42, 1, 43, 2], [42, 41, 4, 24, 32], [42, 3, 12, 32, 42], [42]]
|
190
190
|
```
|
191
191
|
|
@@ -247,9 +247,9 @@ print(datetime_now("Etc/GMT+7"))
|
|
247
247
|
|
248
248
|
Output:
|
249
249
|
```py
|
250
|
-
2024-04-23
|
251
|
-
2024-04-
|
252
|
-
2024-04-22
|
250
|
+
2024-04-23 11:08:12.392448+07:00
|
251
|
+
2024-04-23 04:08:12.394183+00:00
|
252
|
+
2024-04-22 21:08:12.398148-07:00
|
253
253
|
```
|
254
254
|
|
255
255
|
## dict_first
|
@@ -316,7 +316,7 @@ print(filter_empty(var))
|
|
316
316
|
|
317
317
|
Output:
|
318
318
|
```py
|
319
|
-
<generator object filter_empty at
|
319
|
+
<generator object filter_empty at 0x7d668813f0>
|
320
320
|
```
|
321
321
|
|
322
322
|
## get_class_method
|
@@ -345,8 +345,8 @@ print(list(get_class_method(ExampleGetClassMethod)))
|
|
345
345
|
|
346
346
|
Output:
|
347
347
|
```py
|
348
|
-
<generator object get_class_method at
|
349
|
-
[<function ExampleGetClassMethod.a at
|
348
|
+
<generator object get_class_method at 0x7d66883100>
|
349
|
+
[<function ExampleGetClassMethod.a at 0x7d666d11c0>, <function ExampleGetClassMethod.b at 0x7d666d0f40>, <function ExampleGetClassMethod.c at 0x7d666d1120>, <function ExampleGetClassMethod.d at 0x7d666d1080>]
|
350
350
|
```
|
351
351
|
|
352
352
|
## get_filemtime
|
@@ -658,7 +658,7 @@ print(ijoin(10, ' '))
|
|
658
658
|
|
659
659
|
Output:
|
660
660
|
```py
|
661
|
-
|
661
|
+
qweqw, asd, weq, dfs
|
662
662
|
,ini,path,seperti,url,
|
663
663
|
ini,path,seperti,url
|
664
664
|
<li>satu</li>
|
@@ -724,94 +724,110 @@ Output:
|
|
724
724
|
```py
|
725
725
|
(['Home', 'Emas 1 Gram', 'History', 'Trend', 'Perak 1 Gram', 'Pluang'],
|
726
726
|
[['Harga Emas Hari Ini - Selasa, 23 April 2024'],
|
727
|
-
['Spot Emas USD↓2.
|
728
|
-
'Kurs
|
729
|
-
'Emas IDR↓1.
|
730
|
-
['LM Antam (Jual)↓1.
|
731
|
-
'LM Antam (Beli)↓1.
|
727
|
+
['Spot Emas USD↓2.302,60 (-27,53) / oz',
|
728
|
+
'Kurs IDR↓16.224,00 (-56,00) / USD',
|
729
|
+
'Emas IDR↓1.201.068 (-18.555) / gr'],
|
730
|
+
['LM Antam (Jual)↓1.325.000 (-18.000) / gr',
|
731
|
+
'LM Antam (Beli)↓1.223.000 (-15.000) / gr']],
|
732
732
|
[['Harga Emas Hari Ini'],
|
733
733
|
['Gram', 'Gedung Antam Jakarta', 'Pegadaian'],
|
734
734
|
['per Gram (Rp)', 'per Batangan (Rp)', 'per Gram (Rp)', 'per Batangan (Rp)'],
|
735
735
|
['1000',
|
736
|
-
'1.
|
737
|
-
'1.
|
736
|
+
'1.266 (-18)',
|
737
|
+
'1.265.600 (-18.000)',
|
738
738
|
'1.043.040 (+8.200)',
|
739
739
|
'1.043.040.000 (+8.200.000)'],
|
740
740
|
['500',
|
741
|
-
'2.
|
742
|
-
'1.
|
741
|
+
'2.531 (-36)',
|
742
|
+
'1.265.640 (-18.000)',
|
743
743
|
'1.043.082 (+8.200)',
|
744
744
|
'521.541.000 (+4.100.000)'],
|
745
745
|
['250',
|
746
|
-
'5.
|
747
|
-
'1.
|
746
|
+
'5.064 (-72)',
|
747
|
+
'1.266.060 (-18.000)',
|
748
748
|
'1.043.512 (+8.200)',
|
749
749
|
'260.878.000 (+2.050.000)'],
|
750
750
|
['100',
|
751
|
-
'12.
|
752
|
-
'1.
|
751
|
+
'12.671 (-180)',
|
752
|
+
'1.267.120 (-18.000)',
|
753
753
|
'1.044.600 (+8.200)',
|
754
754
|
'104.460.000 (+820.000)'],
|
755
755
|
['50',
|
756
|
-
'25.
|
757
|
-
'1.
|
756
|
+
'25.358 (-360)',
|
757
|
+
'1.267.900 (-18.000)',
|
758
758
|
'1.045.400 (+8.200)',
|
759
759
|
'52.270.000 (+410.000)'],
|
760
760
|
['25',
|
761
|
-
'
|
762
|
-
'1.
|
761
|
+
'50.779 (-720)',
|
762
|
+
'1.269.480 (-18.000)',
|
763
763
|
'1.047.040 (+8.200)',
|
764
764
|
'26.176.000 (+205.000)'],
|
765
765
|
['10',
|
766
|
-
'
|
767
|
-
'1.
|
766
|
+
'127.450 (-1.800)',
|
767
|
+
'1.274.500 (-18.000)',
|
768
768
|
'1.052.200 (+8.200)',
|
769
769
|
'10.522.000 (+82.000)'],
|
770
770
|
['5',
|
771
|
-
'
|
772
|
-
'1.
|
771
|
+
'256.000 (-3.600)',
|
772
|
+
'1.280.000 (-18.000)',
|
773
773
|
'1.057.800 (+8.200)',
|
774
774
|
'5.289.000 (+41.000)'],
|
775
775
|
['3',
|
776
|
-
'
|
777
|
-
'1.
|
776
|
+
'428.889 (-6.000)',
|
777
|
+
'1.286.667 (-18.000)',
|
778
778
|
'1.064.667 (+8.000)',
|
779
779
|
'3.194.000 (+24.000)'],
|
780
780
|
['2',
|
781
|
-
'
|
782
|
-
'1.
|
781
|
+
'647.500 (-9.000)',
|
782
|
+
'1.295.000 (-18.000)',
|
783
783
|
'1.073.500 (+8.500)',
|
784
784
|
'2.147.000 (+17.000)'],
|
785
785
|
['1',
|
786
|
-
'1.
|
787
|
-
'1.
|
786
|
+
'1.325.000 (-18.000)',
|
787
|
+
'1.325.000 (-18.000)',
|
788
788
|
'1.104.000 (+8.000)',
|
789
789
|
'1.104.000 (+8.000)'],
|
790
790
|
['0.5',
|
791
|
-
'2.
|
792
|
-
'1.
|
791
|
+
'2.850.000 (-36.000)',
|
792
|
+
'1.425.000 (-18.000)',
|
793
793
|
'1.208.000 (+8.000)',
|
794
794
|
'604.000 (+4.000)'],
|
795
|
-
['Update harga LM Antam :
|
796
|
-
':Rp. 1.
|
795
|
+
['Update harga LM Antam :23 April 2024, pukul 07:56Harga pembelian kembali '
|
796
|
+
':Rp. 1.223.000/gram (-15.000)',
|
797
797
|
'Update harga LM Pegadaian :31 Agustus 2023']],
|
798
798
|
[['Spot Harga Emas Hari Ini (Market Open)'],
|
799
799
|
['Satuan', 'USD', 'Kurs\xa0Dollar', 'IDR'],
|
800
|
-
['Ounce\xa0(oz)', '2.
|
801
|
-
['Gram\xa0(gr)', '74,
|
802
|
-
['Kilogram\xa0(kg)', '74.
|
803
|
-
['Update harga emas :23 April 2024, pukul
|
804
|
-
'pukul
|
800
|
+
['Ounce\xa0(oz)', '2.302,60 (-27,53)', '16.224,00 (-56,00)', '37.357.382'],
|
801
|
+
['Gram\xa0(gr)', '74,03', '16.224,00', '1.201.068 (-18.555)'],
|
802
|
+
['Kilogram\xa0(kg)', '74.030,31', '16.224,00', '1.201.067.735'],
|
803
|
+
['Update harga emas :23 April 2024, pukul 11:08Update kurs :23 April 2024, '
|
804
|
+
'pukul 09:10']],
|
805
805
|
[['Gram', 'UBS Gold 99.99%'],
|
806
806
|
['Jual', 'Beli'],
|
807
807
|
['/ Batang', '/ Gram', '/ Batang', '/ Gram'],
|
808
|
-
['100',
|
809
|
-
|
810
|
-
|
811
|
-
|
812
|
-
|
813
|
-
['
|
814
|
-
|
808
|
+
['100',
|
809
|
+
'126.712.000 (-1.488.000)',
|
810
|
+
'1.267.120 (-14.880)',
|
811
|
+
'127.085.000',
|
812
|
+
'1.270.850'],
|
813
|
+
['50',
|
814
|
+
'63.395.000 (-855.000)',
|
815
|
+
'1.267.900 (-17.100)',
|
816
|
+
'63.595.000',
|
817
|
+
'1.271.900'],
|
818
|
+
['25',
|
819
|
+
'31.737.000 (-413.000)',
|
820
|
+
'1.269.480 (-16.520)',
|
821
|
+
'31.900.000',
|
822
|
+
'1.276.000'],
|
823
|
+
['10',
|
824
|
+
'12.745.000 (-165.000)',
|
825
|
+
'1.274.500 (-16.500)',
|
826
|
+
'12.810.000',
|
827
|
+
'1.281.000'],
|
828
|
+
['5', '6.400.000 (-80.000)', '1.280.000 (-16.000)', '6.457.000', '1.291.400'],
|
829
|
+
['1', '1.325.000 (-15.000)', '1.325.000 (-15.000)', '1.324.000', '1.324.000'],
|
830
|
+
['', 'Update :23 April 2024, pukul 09:11']],
|
815
831
|
[['Konversi Satuan'],
|
816
832
|
['Satuan', 'Ounce (oz)', 'Gram (gr)', 'Kilogram (kg)'],
|
817
833
|
['Ounce\xa0(oz)', '1', '31,1034767696', '0,0311034768'],
|
@@ -821,37 +837,37 @@ Output:
|
|
821
837
|
['Waktu', 'Emas'],
|
822
838
|
['Unit', 'USD', 'IDR'],
|
823
839
|
['Angka', '+/-', 'Angka', '+/-'],
|
824
|
-
['Hari Ini', 'Kurs', '', '', '16.280', '%'],
|
825
|
-
['oz', '2.330,13', '-
|
826
|
-
['gr', '74,92', '-0,
|
827
|
-
['30 Hari', 'Kurs', '', '', '15.662', '+
|
828
|
-
['oz', '2.165,64', '+
|
829
|
-
['gr', '69,63', '+
|
830
|
-
['2 Bulan', 'Kurs', '', '', '15.630', '+
|
831
|
-
['oz', '2.038,19', '+
|
832
|
-
['gr', '65,53', '+
|
833
|
-
['6 Bulan', 'Kurs', '', '', '15.871', '+
|
834
|
-
['oz', '1.984,00', '+
|
835
|
-
['gr', '63,79', '+10,
|
836
|
-
['1 Tahun', 'Kurs', '', '', '15.731', '+
|
837
|
-
['oz', '1.823,86', '+
|
838
|
-
['gr', '58,64', '+
|
839
|
-
['2 Tahun', 'Kurs', '', '', '14.348', '+1.
|
840
|
-
['oz', '1.931,96', '+
|
841
|
-
['gr', '62,11', '+
|
842
|
-
['3 Tahun', 'Kurs', '', '', '14.530', '+1.
|
843
|
-
['oz', '1.777,11', '+
|
844
|
-
['gr', '57,14', '+
|
845
|
-
['5 Tahun', 'Kurs', '', '', '14.154', '+2.
|
846
|
-
['oz', '1.277,64', '+1.
|
847
|
-
['gr', '41,08', '+
|
840
|
+
['Hari Ini', 'Kurs', '', '', '16.280', '-56-0,34%'],
|
841
|
+
['oz', '2.330,13', '-27,53-1,18%', '37.934.516', '-577.134-1,52%'],
|
842
|
+
['gr', '74,92', '-0,89-1,18%', '1.219.623', '-18.555-1,52%'],
|
843
|
+
['30 Hari', 'Kurs', '', '', '15.662', '+562+3,59%'],
|
844
|
+
['oz', '2.165,64', '+136,96+6,32%', '33.918.254', '+3.439.129+10,14%'],
|
845
|
+
['gr', '69,63', '+4,40+6,32%', '1.090.497', '+110.571+10,14%'],
|
846
|
+
['2 Bulan', 'Kurs', '', '', '15.630', '+594+3,80%'],
|
847
|
+
['oz', '2.038,19', '+264,41+12,97%', '31.856.910', '+5.500.473+17,27%'],
|
848
|
+
['gr', '65,53', '+8,50+12,97', '1.024.223', '+176.844+17,27%'],
|
849
|
+
['6 Bulan', 'Kurs', '', '', '15.871', '+353+2,22%'],
|
850
|
+
['oz', '1.984,00', '+318,60+16,06%', '31.488.064', '+5.869.318+18,64%'],
|
851
|
+
['gr', '63,79', '+10,24+16,06%', '1.012.365', '+188.703+18,64%'],
|
852
|
+
['1 Tahun', 'Kurs', '', '', '15.731', '+493+3,13%'],
|
853
|
+
['oz', '1.823,86', '+478,74+26,25%', '28.691.142', '+8.666.241+30,21%'],
|
854
|
+
['gr', '58,64', '+15,39+26,25%', '922.442', '+278.626+30,21%'],
|
855
|
+
['2 Tahun', 'Kurs', '', '', '14.348', '+1.876+13,07%'],
|
856
|
+
['oz', '1.931,96', '+370,64+19,18%', '27.719.762', '+9.637.620+34,77%'],
|
857
|
+
['gr', '62,11', '+11,92+19,18%', '891.211', '+309.857+34,77%'],
|
858
|
+
['3 Tahun', 'Kurs', '', '', '14.530', '+1.694+11,66%'],
|
859
|
+
['oz', '1.777,11', '+525,49+29,57%', '25.821.408', '+11.535.974+44,68%'],
|
860
|
+
['gr', '57,14', '+16,89+29,57%', '830.178', '+370.890+44,68%'],
|
861
|
+
['5 Tahun', 'Kurs', '', '', '14.154', '+2.070+14,62%'],
|
862
|
+
['oz', '1.277,64', '+1.024,96+80,22%', '18.083.717', '+19.273.666+106,58%'],
|
863
|
+
['gr', '41,08', '+32,95+80,22%', '581.405', '+619.663+106,58%']])
|
848
864
|
(['Home', 'Emas 1 Gram', 'History', 'Trend', 'Perak 1 Gram', 'Pluang'],
|
849
865
|
[[''],
|
850
866
|
['Emas 24 KaratHarga Emas 1 Gram', ''],
|
851
|
-
['USD', '74,
|
852
|
-
['KURS', '16.
|
853
|
-
['IDR', '1.
|
854
|
-
['Selasa, 23 April 2024
|
867
|
+
['USD', '74,03↓', '-0,89-1,19%'],
|
868
|
+
['KURS', '16.231,05↓', '-15,30-0,09%'],
|
869
|
+
['IDR', '1.201.589,65↓', '-15.512,47-1,27%'],
|
870
|
+
['Selasa, 23 April 2024 11:08']],
|
855
871
|
[[''],
|
856
872
|
['Emas 1 Gram (IDR)Emas 1 Gram (USD)Kurs USD-IDR',
|
857
873
|
'Hari Ini',
|
@@ -862,19 +878,19 @@ Output:
|
|
862
878
|
'']],
|
863
879
|
[['Pergerakkan Harga Emas 1 Gram'],
|
864
880
|
['', 'Penutupan Kemarin', 'Pergerakkan Hari Ini', 'Rata-rata'],
|
865
|
-
['USD', '74,92', '74,
|
866
|
-
['KURS', '16.246,35', '16.
|
867
|
-
['IDR', '1.217.102,12', '1.
|
881
|
+
['USD', '74,92', '74,03 - 74,92', '74,48'],
|
882
|
+
['KURS', '16.246,35', '16.231,05 - 16.246,35', '16.238,70'],
|
883
|
+
['IDR', '1.217.102,12', '1.201.589,65 - 1.217.102,12', '1.209.345,89'],
|
868
884
|
[''],
|
869
885
|
['', 'Awal Tahun', 'Pergerakkan YTD', '+/- YTD'],
|
870
|
-
['USD', '66,32', '64,07 - 77,14', '+
|
871
|
-
['KURS', '15.390,10', '15.390,00 - 16.307,80', '+
|
872
|
-
['IDR', '1.020.729,53', '997.660,12 - 1.256.829,06', '+
|
886
|
+
['USD', '66,32', '64,07 - 77,14', '+7,71 (11,63%)'],
|
887
|
+
['KURS', '15.390,10', '15.390,00 - 16.307,80', '+840,95 (5,46%)'],
|
888
|
+
['IDR', '1.020.729,53', '997.660,12 - 1.256.829,06', '+180.860,12 (17,72%)'],
|
873
889
|
[''],
|
874
890
|
['', 'Tahun Lalu / 52 Minggu', 'Pergerakkan 52 Minggu', '+/- 52 Minggu'],
|
875
|
-
['USD', '63,76', '58,43 - 77,14', '+
|
876
|
-
['KURS', '14.936,00', '14.669,40 - 16.307,80', '+1.
|
877
|
-
['IDR', '952.339,68', '912.925,68 - 1.256.829,06', '+
|
891
|
+
['USD', '63,76', '58,43 - 77,14', '+10,27 (16,11%)'],
|
892
|
+
['KURS', '14.936,00', '14.669,40 - 16.307,80', '+1.295,05 (8,67%)'],
|
893
|
+
['IDR', '952.339,68', '912.925,68 - 1.256.829,06', '+249.249,97 (26,17%)']])
|
878
894
|
```
|
879
895
|
|
880
896
|
## input_char
|
@@ -928,7 +944,7 @@ Output:
|
|
928
944
|
```py
|
929
945
|
8
|
930
946
|
['mana', 'aja']
|
931
|
-
[<Element a at
|
947
|
+
[<Element a at 0x7d666c37a0>, <Element a at 0x7d6670d950>, <Element a at 0x7d6670d9f0>, <Element a at 0x7d6670da40>, <Element a at 0x7d6670da90>, <Element a at 0x7d6670dae0>, <Element a at 0x7d6670db30>, <Element a at 0x7d6670db80>, <Element a at 0x7d6670dbd0>, <Element a at 0x7d6670dc20>, <Element a at 0x7d6670dc70>, <Element a at 0x7d6670dcc0>, <Element a at 0x7d6670dd10>, <Element a at 0x7d6670dd60>, <Element a at 0x7d6670ddb0>, <Element a at 0x7d6670de00>, <Element a at 0x7d6670de50>, <Element a at 0x7d6670dea0>]
|
932
948
|
False
|
933
949
|
```
|
934
950
|
|
@@ -969,8 +985,8 @@ print(list(irange(10, 5)))
|
|
969
985
|
|
970
986
|
Output:
|
971
987
|
```py
|
972
|
-
<generator object irange at
|
973
|
-
<generator object irange at
|
988
|
+
<generator object irange at 0x7d6668e8a0>
|
989
|
+
<generator object irange at 0x7d6668e8a0>
|
974
990
|
['a', 'k', 'u']
|
975
991
|
[1, 2, 3, 4, 5, 6, 7]
|
976
992
|
[10, 9, 8, 7, 6, 5]
|
@@ -1087,7 +1103,7 @@ print(list(iscandir("./", recursive=False, scan_file=False)))
|
|
1087
1103
|
|
1088
1104
|
Output:
|
1089
1105
|
```py
|
1090
|
-
<generator object iscandir at
|
1106
|
+
<generator object iscandir at 0x7d666b4840>
|
1091
1107
|
[PosixPath('.git'), PosixPath('.vscode'), PosixPath('pypipr'), PosixPath('__pycache__'), PosixPath('dist')]
|
1092
1108
|
```
|
1093
1109
|
|
@@ -1146,7 +1162,7 @@ print(password_generator())
|
|
1146
1162
|
|
1147
1163
|
Output:
|
1148
1164
|
```py
|
1149
|
-
|
1165
|
+
^Cc*hE`E
|
1150
1166
|
```
|
1151
1167
|
|
1152
1168
|
## pip_freeze_without_version
|
@@ -1215,7 +1231,7 @@ Output:
|
|
1215
1231
|
__enter__ : https:/www.google.com
|
1216
1232
|
__fspath__ : https:/www.google.com
|
1217
1233
|
__getstate__ : (None, {'_drv': '', '_root': '', '_parts': ['https:', 'www.google.com'], '_str': 'https:/www.google.com'})
|
1218
|
-
__hash__ :
|
1234
|
+
__hash__ : 8204532724135147098
|
1219
1235
|
__init__ : None
|
1220
1236
|
__init_subclass__ : None
|
1221
1237
|
__module__ : pathlib
|
@@ -1228,8 +1244,8 @@ Output:
|
|
1228
1244
|
_cached_cparts : ['https:', 'www.google.com']
|
1229
1245
|
_cparts : ['https:', 'www.google.com']
|
1230
1246
|
_drv :
|
1231
|
-
_flavour : <pathlib._PosixFlavour object at
|
1232
|
-
_hash :
|
1247
|
+
_flavour : <pathlib._PosixFlavour object at 0x7d74e5fc90>
|
1248
|
+
_hash : 8204532724135147098
|
1233
1249
|
_parts : ['https:', 'www.google.com']
|
1234
1250
|
_root :
|
1235
1251
|
_str : https:/www.google.com
|
@@ -1251,7 +1267,7 @@ Output:
|
|
1251
1267
|
is_reserved : False
|
1252
1268
|
is_socket : False
|
1253
1269
|
is_symlink : False
|
1254
|
-
iterdir : <generator object Path.iterdir at
|
1270
|
+
iterdir : <generator object Path.iterdir at 0x7d666be340>
|
1255
1271
|
joinpath : https:/www.google.com
|
1256
1272
|
name : www.google.com
|
1257
1273
|
parent : https:
|
@@ -1334,7 +1350,7 @@ x.cancel()
|
|
1334
1350
|
|
1335
1351
|
Output:
|
1336
1352
|
```py
|
1337
|
-
<Timer(Thread-2, started
|
1353
|
+
<Timer(Thread-2, started 538561199344)>
|
1338
1354
|
menghentikan timeout 7
|
1339
1355
|
```
|
1340
1356
|
|
@@ -1352,7 +1368,7 @@ print(list(sets_ordered(array)))
|
|
1352
1368
|
|
1353
1369
|
Output:
|
1354
1370
|
```py
|
1355
|
-
<generator object sets_ordered at
|
1371
|
+
<generator object sets_ordered at 0x7d666e45f0>
|
1356
1372
|
[2, 3, 12, 42, 1, 43, 41, 4, 24, 32]
|
1357
1373
|
```
|
1358
1374
|
|
@@ -1459,6 +1475,19 @@ print(ExampleComparePerformance().compare_performance())
|
|
1459
1475
|
print(ExampleComparePerformance().compare_performance())
|
1460
1476
|
```
|
1461
1477
|
|
1478
|
+
Output:
|
1479
|
+
```py
|
1480
|
+
{'a': <generator object ExampleComparePerformance.a.<locals>.<genexpr> at 0x7d666e4110>,
|
1481
|
+
'b': (0, 1, 2, 3, 4, 5, 6, 7, 8, 9),
|
1482
|
+
'c': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
|
1483
|
+
'd': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]}
|
1484
|
+
{'a': 0, 'b': 0, 'c': 0, 'd': 0}
|
1485
|
+
{'a': 0, 'b': 0, 'c': 0, 'd': 0}
|
1486
|
+
{'a': 0, 'b': 0, 'c': 0, 'd': 0}
|
1487
|
+
{'a': 0, 'b': 0, 'c': 0, 'd': 0}
|
1488
|
+
{'a': 0, 'b': 0, 'c': 0, 'd': 0}
|
1489
|
+
```
|
1490
|
+
|
1462
1491
|
## PintUregQuantity
|
1463
1492
|
|
1464
1493
|
`PintUregQuantity`
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|