pypipr 1.0.128__tar.gz → 1.0.131__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.128 → pypipr-1.0.131}/PKG-INFO +348 -226
- {pypipr-1.0.128 → pypipr-1.0.131}/pypipr/__init__.py +2 -0
- {pypipr-1.0.128 → pypipr-1.0.131}/pypipr/choices.py +10 -11
- {pypipr-1.0.128 → pypipr-1.0.131}/pypipr/get_class_method.py +8 -5
- {pypipr-1.0.128 → pypipr-1.0.131}/pypipr/github_pull.py +1 -1
- {pypipr-1.0.128 → pypipr-1.0.131}/pypipr/github_push.py +4 -7
- pypipr-1.0.131/pypipr/idir.py +16 -0
- pypipr-1.0.131/pypipr/sqlite_all_tables.py +12 -0
- {pypipr-1.0.128 → pypipr-1.0.131}/pyproject.toml +1 -1
- {pypipr-1.0.128 → pypipr-1.0.131}/readme.md +347 -225
- {pypipr-1.0.128 → pypipr-1.0.131}/pypipr/ComparePerformance.py +0 -0
- {pypipr-1.0.128 → pypipr-1.0.131}/pypipr/LINUX.py +0 -0
- {pypipr-1.0.128 → pypipr-1.0.131}/pypipr/PintUreg.py +0 -0
- {pypipr-1.0.128 → pypipr-1.0.131}/pypipr/PintUregQuantity.py +0 -0
- {pypipr-1.0.128 → pypipr-1.0.131}/pypipr/RunParallel.py +0 -0
- {pypipr-1.0.128 → pypipr-1.0.131}/pypipr/WINDOWS.py +0 -0
- {pypipr-1.0.128 → pypipr-1.0.131}/pypipr/__terminal__.py +0 -0
- {pypipr-1.0.128 → pypipr-1.0.131}/pypipr/auto_reload.py +0 -0
- {pypipr-1.0.128 → pypipr-1.0.131}/pypipr/avg.py +0 -0
- {pypipr-1.0.128 → pypipr-1.0.131}/pypipr/basename.py +0 -0
- {pypipr-1.0.128 → pypipr-1.0.131}/pypipr/batch_calculate.py +0 -0
- {pypipr-1.0.128 → pypipr-1.0.131}/pypipr/batchmaker.py +0 -0
- {pypipr-1.0.128 → pypipr-1.0.131}/pypipr/bin_to_int.py +0 -0
- {pypipr-1.0.128 → pypipr-1.0.131}/pypipr/calculate.py +0 -0
- {pypipr-1.0.128 → pypipr-1.0.131}/pypipr/choices.py.bak +0 -0
- {pypipr-1.0.128 → pypipr-1.0.131}/pypipr/chr_to_int.py +0 -0
- {pypipr-1.0.128 → pypipr-1.0.131}/pypipr/chunk_array.py +0 -0
- {pypipr-1.0.128 → pypipr-1.0.131}/pypipr/console_run.py +0 -0
- {pypipr-1.0.128 → pypipr-1.0.131}/pypipr/create_folder.py +0 -0
- {pypipr-1.0.128 → pypipr-1.0.131}/pypipr/datetime_from_string.py +0 -0
- {pypipr-1.0.128 → pypipr-1.0.131}/pypipr/datetime_now.py +0 -0
- {pypipr-1.0.128 → pypipr-1.0.131}/pypipr/dict_first.py +0 -0
- {pypipr-1.0.128 → pypipr-1.0.131}/pypipr/dirname.py +0 -0
- {pypipr-1.0.128 → pypipr-1.0.131}/pypipr/exit_if_empty.py +0 -0
- {pypipr-1.0.128 → pypipr-1.0.131}/pypipr/filter_empty.py +0 -0
- {pypipr-1.0.128 → pypipr-1.0.131}/pypipr/get_by_index.py +0 -0
- {pypipr-1.0.128 → pypipr-1.0.131}/pypipr/get_filemtime.py +0 -0
- {pypipr-1.0.128 → pypipr-1.0.131}/pypipr/get_filesize.py +0 -0
- {pypipr-1.0.128 → pypipr-1.0.131}/pypipr/github_init.py +0 -0
- {pypipr-1.0.128 → pypipr-1.0.131}/pypipr/github_user.py +0 -0
- {pypipr-1.0.128 → pypipr-1.0.131}/pypipr/hex_to_int.py +0 -0
- {pypipr-1.0.128 → pypipr-1.0.131}/pypipr/iargv.py +0 -0
- {pypipr-1.0.128 → pypipr-1.0.131}/pypipr/idumps.py +0 -0
- {pypipr-1.0.128 → pypipr-1.0.131}/pypipr/idumps_html.py +0 -0
- {pypipr-1.0.128 → pypipr-1.0.131}/pypipr/ienumerate.py +0 -0
- {pypipr-1.0.128 → pypipr-1.0.131}/pypipr/ienv.py +0 -0
- {pypipr-1.0.128 → pypipr-1.0.131}/pypipr/iexec.py +0 -0
- {pypipr-1.0.128 → pypipr-1.0.131}/pypipr/ijoin.py +0 -0
- {pypipr-1.0.128 → pypipr-1.0.131}/pypipr/iloads.py +0 -0
- {pypipr-1.0.128 → pypipr-1.0.131}/pypipr/iloads_html.py +0 -0
- {pypipr-1.0.128 → pypipr-1.0.131}/pypipr/input_char.py +0 -0
- {pypipr-1.0.128 → pypipr-1.0.131}/pypipr/int_to_bin.py +0 -0
- {pypipr-1.0.128 → pypipr-1.0.131}/pypipr/int_to_chr.py +0 -0
- {pypipr-1.0.128 → pypipr-1.0.131}/pypipr/int_to_hex.py +0 -0
- {pypipr-1.0.128 → pypipr-1.0.131}/pypipr/int_to_int.py +0 -0
- {pypipr-1.0.128 → pypipr-1.0.131}/pypipr/int_to_oct.py +0 -0
- {pypipr-1.0.128 → pypipr-1.0.131}/pypipr/iopen.py +0 -0
- {pypipr-1.0.128 → pypipr-1.0.131}/pypipr/iprint.py +0 -0
- {pypipr-1.0.128 → pypipr-1.0.131}/pypipr/irange.py +0 -0
- {pypipr-1.0.128 → pypipr-1.0.131}/pypipr/ireplace.py +0 -0
- {pypipr-1.0.128 → pypipr-1.0.131}/pypipr/is_empty.py +0 -0
- {pypipr-1.0.128 → pypipr-1.0.131}/pypipr/is_iterable.py +0 -0
- {pypipr-1.0.128 → pypipr-1.0.131}/pypipr/is_valid_url.py +0 -0
- {pypipr-1.0.128 → pypipr-1.0.131}/pypipr/iscandir.py +0 -0
- {pypipr-1.0.128 → pypipr-1.0.131}/pypipr/isplit.py +0 -0
- {pypipr-1.0.128 → pypipr-1.0.131}/pypipr/ivars.py +0 -0
- {pypipr-1.0.128 → pypipr-1.0.131}/pypipr/log.py +0 -0
- {pypipr-1.0.128 → pypipr-1.0.131}/pypipr/oct_to_int.py +0 -0
- {pypipr-1.0.128 → pypipr-1.0.131}/pypipr/password_generator.py +0 -0
- {pypipr-1.0.128 → pypipr-1.0.131}/pypipr/pip_freeze_without_version.py +0 -0
- {pypipr-1.0.128 → pypipr-1.0.131}/pypipr/poetry_publish.py +0 -0
- {pypipr-1.0.128 → pypipr-1.0.131}/pypipr/poetry_update_version.py +0 -0
- {pypipr-1.0.128 → pypipr-1.0.131}/pypipr/print_colorize.py +0 -0
- {pypipr-1.0.128 → pypipr-1.0.131}/pypipr/print_dir.py +0 -0
- {pypipr-1.0.128 → pypipr-1.0.131}/pypipr/print_log.py +0 -0
- {pypipr-1.0.128 → pypipr-1.0.131}/pypipr/print_to_last_line.py +0 -0
- {pypipr-1.0.128 → pypipr-1.0.131}/pypipr/random_bool.py +0 -0
- {pypipr-1.0.128 → pypipr-1.0.131}/pypipr/restart.py +0 -0
- {pypipr-1.0.128 → pypipr-1.0.131}/pypipr/set_timeout.py +0 -0
- {pypipr-1.0.128 → pypipr-1.0.131}/pypipr/sets_ordered.py +0 -0
- {pypipr-1.0.128 → pypipr-1.0.131}/pypipr/str_cmp.py +0 -0
- {pypipr-1.0.128 → pypipr-1.0.131}/pypipr/text_colorize.py +0 -0
- {pypipr-1.0.128 → pypipr-1.0.131}/pypipr/to_str.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.131
|
4
4
|
Summary: The Python Package Index Project
|
5
5
|
Author: ufiapjj
|
6
6
|
Author-email: ufiapjj@gmail.com
|
@@ -248,8 +248,8 @@ iprint(irange("z", "a", 4))
|
|
248
248
|
|
249
249
|
Output:
|
250
250
|
```py
|
251
|
-
<generator object int_range at
|
252
|
-
<generator object int_range at
|
251
|
+
<generator object int_range at 0x720713f740>
|
252
|
+
<generator object int_range at 0x720713f740>
|
253
253
|
[13, 12, 11, 10, 9, 8, 7, 6]
|
254
254
|
[2, 5, 8]
|
255
255
|
[2, 5, 8]
|
@@ -281,7 +281,7 @@ print(list(batchmaker(s)))
|
|
281
281
|
|
282
282
|
Output:
|
283
283
|
```py
|
284
|
-
<generator object batchmaker at
|
284
|
+
<generator object batchmaker at 0x72071c5480>
|
285
285
|
['Urutan 1 dan 10 dan j dan Z saja.', 'Urutan 1 dan 10 dan j dan K saja.', 'Urutan 4 dan 10 dan j dan Z saja.', 'Urutan 4 dan 10 dan j dan K saja.']
|
286
286
|
```
|
287
287
|
|
@@ -335,7 +335,7 @@ print(list(batch_calculate("{1 10} m ** {1 3}")))
|
|
335
335
|
|
336
336
|
Output:
|
337
337
|
```py
|
338
|
-
<generator object batch_calculate at
|
338
|
+
<generator object batch_calculate at 0x72071ce110>
|
339
339
|
[('1 m ** 1', <Quantity(1, 'meter')>), ('1 m ** 2', <Quantity(1, 'meter ** 2')>), ('2 m ** 1', <Quantity(2, 'meter')>), ('2 m ** 2', <Quantity(2, 'meter ** 2')>), ('3 m ** 1', <Quantity(3, 'meter')>), ('3 m ** 2', <Quantity(3, 'meter ** 2')>), ('4 m ** 1', <Quantity(4, 'meter')>), ('4 m ** 2', <Quantity(4, 'meter ** 2')>), ('5 m ** 1', <Quantity(5, 'meter')>), ('5 m ** 2', <Quantity(5, 'meter ** 2')>), ('6 m ** 1', <Quantity(6, 'meter')>), ('6 m ** 2', <Quantity(6, 'meter ** 2')>), ('7 m ** 1', <Quantity(7, 'meter')>), ('7 m ** 2', <Quantity(7, 'meter ** 2')>), ('8 m ** 1', <Quantity(8, 'meter')>), ('8 m ** 2', <Quantity(8, 'meter ** 2')>), ('9 m ** 1', <Quantity(9, 'meter')>), ('9 m ** 2', <Quantity(9, 'meter ** 2')>)]
|
340
340
|
```
|
341
341
|
|
@@ -408,23 +408,6 @@ input_char("Input char : ", default='Y')
|
|
408
408
|
input_char("Input Char without print : ", echo_char=False)
|
409
409
|
```
|
410
410
|
|
411
|
-
## get_by_index
|
412
|
-
|
413
|
-
`get_by_index(obj, index, on_error=None)`
|
414
|
-
|
415
|
-
Mendapatkan value dari object berdasarkan indexnya.
|
416
|
-
Jika error out of range maka akan mengembalikan on_error.
|
417
|
-
|
418
|
-
```python
|
419
|
-
l = [1, 3, 5]
|
420
|
-
print(get_by_index(l, 7))
|
421
|
-
```
|
422
|
-
|
423
|
-
Output:
|
424
|
-
```py
|
425
|
-
None
|
426
|
-
```
|
427
|
-
|
428
411
|
## choices
|
429
412
|
|
430
413
|
`choices(daftar, contains=None, prompt='Choose : ')`
|
@@ -458,7 +441,7 @@ print(list(chunk_array(arr, 5)))
|
|
458
441
|
|
459
442
|
Output:
|
460
443
|
```py
|
461
|
-
<generator object chunk_array at
|
444
|
+
<generator object chunk_array at 0x720713f840>
|
462
445
|
[[2, 3, 12, 3, 3], [42, 42, 1, 43, 2], [42, 41, 4, 24, 32], [42, 3, 12, 32, 42], [42]]
|
463
446
|
```
|
464
447
|
|
@@ -509,9 +492,9 @@ print(datetime_now("Etc/GMT+7"))
|
|
509
492
|
|
510
493
|
Output:
|
511
494
|
```py
|
512
|
-
2024-05-
|
513
|
-
2024-05-
|
514
|
-
2024-05-
|
495
|
+
2024-05-15 22:49:22.746958+07:00
|
496
|
+
2024-05-15 15:49:22.748473+00:00
|
497
|
+
2024-05-15 08:49:22.752419-07:00
|
515
498
|
```
|
516
499
|
|
517
500
|
## dict_first
|
@@ -617,13 +600,30 @@ iprint(filter_empty(var))
|
|
617
600
|
|
618
601
|
Output:
|
619
602
|
```py
|
620
|
-
<generator object filter_empty at
|
603
|
+
<generator object filter_empty at 0x72071cde40>
|
621
604
|
[1, '0', True, {}, ['eee']]
|
622
605
|
```
|
623
606
|
|
607
|
+
## get_by_index
|
608
|
+
|
609
|
+
`get_by_index(obj, index, on_error=None)`
|
610
|
+
|
611
|
+
Mendapatkan value dari object berdasarkan indexnya.
|
612
|
+
Jika error out of range maka akan mengembalikan on_error.
|
613
|
+
|
614
|
+
```python
|
615
|
+
l = [1, 3, 5]
|
616
|
+
print(get_by_index(l, 7))
|
617
|
+
```
|
618
|
+
|
619
|
+
Output:
|
620
|
+
```py
|
621
|
+
None
|
622
|
+
```
|
623
|
+
|
624
624
|
## get_class_method
|
625
625
|
|
626
|
-
`get_class_method(
|
626
|
+
`get_class_method(obj)`
|
627
627
|
|
628
628
|
Mengembalikan berupa tuple yg berisi list dari method dalam class
|
629
629
|
|
@@ -645,12 +645,6 @@ print(get_class_method(ExampleGetClassMethod))
|
|
645
645
|
print(list(get_class_method(ExampleGetClassMethod)))
|
646
646
|
```
|
647
647
|
|
648
|
-
Output:
|
649
|
-
```py
|
650
|
-
<generator object get_class_method at 0x76b1b6a200>
|
651
|
-
[<function ExampleGetClassMethod.a at 0x76b1bb9c60>, <function ExampleGetClassMethod.b at 0x76b1bb9bc0>, <function ExampleGetClassMethod.c at 0x76b1bb9a80>, <function ExampleGetClassMethod.d at 0x76b1bb9d00>]
|
652
|
-
```
|
653
|
-
|
654
648
|
## get_filesize
|
655
649
|
|
656
650
|
`get_filesize(filename)`
|
@@ -749,6 +743,128 @@ Output:
|
|
749
743
|
100
|
750
744
|
```
|
751
745
|
|
746
|
+
## idir
|
747
|
+
|
748
|
+
`idir(obj, skip_underscore=True)`
|
749
|
+
|
750
|
+
Sama seperti dir() python, tetapi skip underscore
|
751
|
+
|
752
|
+
```python
|
753
|
+
iprint(idir(__import__('pypipr')))
|
754
|
+
```
|
755
|
+
|
756
|
+
Output:
|
757
|
+
```py
|
758
|
+
['ComparePerformance',
|
759
|
+
'LINUX',
|
760
|
+
'PintUreg',
|
761
|
+
'PintUregQuantity',
|
762
|
+
'RunParallel',
|
763
|
+
'WINDOWS',
|
764
|
+
'asyncio',
|
765
|
+
'auto_reload',
|
766
|
+
'avg',
|
767
|
+
'basename',
|
768
|
+
'batch_calculate',
|
769
|
+
'batchmaker',
|
770
|
+
'bin_to_int',
|
771
|
+
'calculate',
|
772
|
+
'choices',
|
773
|
+
'chr_to_int',
|
774
|
+
'chunk_array',
|
775
|
+
'colorama',
|
776
|
+
'console_run',
|
777
|
+
'create_folder',
|
778
|
+
'csv',
|
779
|
+
'datetime',
|
780
|
+
'datetime_from_string',
|
781
|
+
'datetime_now',
|
782
|
+
'dict_first',
|
783
|
+
'dirname',
|
784
|
+
'exit_if_empty',
|
785
|
+
'filter_empty',
|
786
|
+
'functools',
|
787
|
+
'get_by_index',
|
788
|
+
'get_class_method',
|
789
|
+
'get_filemtime',
|
790
|
+
'get_filesize',
|
791
|
+
'github_init',
|
792
|
+
'github_pull',
|
793
|
+
'github_push',
|
794
|
+
'github_user',
|
795
|
+
'hex_to_int',
|
796
|
+
'iargv',
|
797
|
+
'idir',
|
798
|
+
'idumps',
|
799
|
+
'idumps_html',
|
800
|
+
'ienumerate',
|
801
|
+
'ienv',
|
802
|
+
'iexec',
|
803
|
+
'ijoin',
|
804
|
+
'iloads',
|
805
|
+
'iloads_html',
|
806
|
+
'input_char',
|
807
|
+
'inspect',
|
808
|
+
'int_to_bin',
|
809
|
+
'int_to_chr',
|
810
|
+
'int_to_hex',
|
811
|
+
'int_to_int',
|
812
|
+
'int_to_oct',
|
813
|
+
'io',
|
814
|
+
'iopen',
|
815
|
+
'iprint',
|
816
|
+
'irange',
|
817
|
+
'ireplace',
|
818
|
+
'is_empty',
|
819
|
+
'is_iterable',
|
820
|
+
'is_valid_url',
|
821
|
+
'iscandir',
|
822
|
+
'isplit',
|
823
|
+
'ivars',
|
824
|
+
'json',
|
825
|
+
'log',
|
826
|
+
'lxml',
|
827
|
+
'math',
|
828
|
+
'multiprocessing',
|
829
|
+
'oct_to_int',
|
830
|
+
'operator',
|
831
|
+
'os',
|
832
|
+
'password_generator',
|
833
|
+
'pathlib',
|
834
|
+
'pint',
|
835
|
+
'pip_freeze_without_version',
|
836
|
+
'poetry_publish',
|
837
|
+
'poetry_update_version',
|
838
|
+
'pprint',
|
839
|
+
'print_colorize',
|
840
|
+
'print_dir',
|
841
|
+
'print_log',
|
842
|
+
'print_to_last_line',
|
843
|
+
'queue',
|
844
|
+
'random',
|
845
|
+
'random_bool',
|
846
|
+
're',
|
847
|
+
'requests',
|
848
|
+
'restart',
|
849
|
+
'set_timeout',
|
850
|
+
'sets_ordered',
|
851
|
+
'sqlite_all_tables',
|
852
|
+
'str_cmp',
|
853
|
+
'string',
|
854
|
+
'subprocess',
|
855
|
+
'sys',
|
856
|
+
'text_colorize',
|
857
|
+
'textwrap',
|
858
|
+
'threading',
|
859
|
+
'time',
|
860
|
+
'to_str',
|
861
|
+
'tzdata',
|
862
|
+
'uuid',
|
863
|
+
'webbrowser',
|
864
|
+
'yaml',
|
865
|
+
'zoneinfo']
|
866
|
+
```
|
867
|
+
|
752
868
|
## idumps_html
|
753
869
|
|
754
870
|
`idumps_html(data, indent=None)`
|
@@ -937,7 +1053,7 @@ Output:
|
|
937
1053
|
|
938
1054
|
## ienumerate
|
939
1055
|
|
940
|
-
`ienumerate(iterator, start=0, key=<function int_to_int at
|
1056
|
+
`ienumerate(iterator, start=0, key=<function int_to_int at 0x721227f9c0>)`
|
941
1057
|
|
942
1058
|
meningkatkan fungsi enumerate() pada python
|
943
1059
|
untuk key menggunakan huruf dan basis angka lainnya.
|
@@ -950,7 +1066,7 @@ iprint(ienumerate(it, key=int_to_chr))
|
|
950
1066
|
|
951
1067
|
Output:
|
952
1068
|
```py
|
953
|
-
<generator object ienumerate at
|
1069
|
+
<generator object ienumerate at 0x72071ce4d0>
|
954
1070
|
[('a', 'ini'), ('b', 'contoh'), ('c', 'enumerator')]
|
955
1071
|
```
|
956
1072
|
|
@@ -1017,7 +1133,7 @@ print(ijoin(10, ' '))
|
|
1017
1133
|
|
1018
1134
|
Output:
|
1019
1135
|
```py
|
1020
|
-
weq, qweqw, asd
|
1136
|
+
dfs, weq, qweqw, asd
|
1021
1137
|
,ini,path,seperti,url,
|
1022
1138
|
ini,path,seperti,url
|
1023
1139
|
<li>satu</li>
|
@@ -1062,119 +1178,119 @@ pprint.pprint(iloads_html(iopen("https://harga-emas.org/1-gram/")), depth=10)
|
|
1062
1178
|
Output:
|
1063
1179
|
```py
|
1064
1180
|
(['Home', 'Emas 1 Gram', 'History', 'Trend', 'Perak 1 Gram', 'Pluang'],
|
1065
|
-
[['Harga Emas Hari Ini -
|
1066
|
-
['Spot Emas USD
|
1067
|
-
'Kurs IDR
|
1068
|
-
'Emas IDR
|
1069
|
-
['LM Antam (Jual)↑1.
|
1070
|
-
'LM Antam (Beli)↑1.
|
1181
|
+
[['Harga Emas Hari Ini - Rabu, 15 Mei 2024'],
|
1182
|
+
['Spot Emas USD↑2.381,54 (+26,92) / oz',
|
1183
|
+
'Kurs IDR↑16.131,00 (+46,00) / USD',
|
1184
|
+
'Emas IDR↑1.235.123 (+17.444) / gr'],
|
1185
|
+
['LM Antam (Jual)↑1.332.000 (+8.000) / gr',
|
1186
|
+
'LM Antam (Beli)↑1.223.000 (+8.000) / gr']],
|
1071
1187
|
[['Harga Emas Hari Ini'],
|
1072
1188
|
['Gram', 'Gedung Antam Jakarta', 'Pegadaian'],
|
1073
1189
|
['per Gram (Rp)', 'per Batangan (Rp)', 'per Gram (Rp)', 'per Batangan (Rp)'],
|
1074
1190
|
['1000',
|
1075
|
-
'1.
|
1076
|
-
'1.
|
1191
|
+
'1.273 (+8)',
|
1192
|
+
'1.272.600 (+8.000)',
|
1077
1193
|
'1.043.040 (+8.200)',
|
1078
1194
|
'1.043.040.000 (+8.200.000)'],
|
1079
1195
|
['500',
|
1080
|
-
'2.
|
1081
|
-
'1.
|
1196
|
+
'2.545 (+16)',
|
1197
|
+
'1.272.640 (+8.000)',
|
1082
1198
|
'1.043.082 (+8.200)',
|
1083
1199
|
'521.541.000 (+4.100.000)'],
|
1084
1200
|
['250',
|
1085
|
-
'5.
|
1086
|
-
'1.
|
1201
|
+
'5.092 (+32)',
|
1202
|
+
'1.273.060 (+8.000)',
|
1087
1203
|
'1.043.512 (+8.200)',
|
1088
1204
|
'260.878.000 (+2.050.000)'],
|
1089
1205
|
['100',
|
1090
|
-
'12.
|
1091
|
-
'1.
|
1206
|
+
'12.741 (+80)',
|
1207
|
+
'1.274.120 (+8.000)',
|
1092
1208
|
'1.044.600 (+8.200)',
|
1093
1209
|
'104.460.000 (+820.000)'],
|
1094
1210
|
['50',
|
1095
|
-
'25.
|
1096
|
-
'1.
|
1211
|
+
'25.498 (+160)',
|
1212
|
+
'1.274.900 (+8.000)',
|
1097
1213
|
'1.045.400 (+8.200)',
|
1098
1214
|
'52.270.000 (+410.000)'],
|
1099
1215
|
['25',
|
1100
|
-
'
|
1101
|
-
'1.
|
1216
|
+
'51.059 (+320)',
|
1217
|
+
'1.276.480 (+8.000)',
|
1102
1218
|
'1.047.040 (+8.200)',
|
1103
1219
|
'26.176.000 (+205.000)'],
|
1104
1220
|
['10',
|
1105
|
-
'
|
1106
|
-
'1.
|
1221
|
+
'128.150 (+800)',
|
1222
|
+
'1.281.500 (+8.000)',
|
1107
1223
|
'1.052.200 (+8.200)',
|
1108
1224
|
'10.522.000 (+82.000)'],
|
1109
1225
|
['5',
|
1110
|
-
'
|
1111
|
-
'1.
|
1226
|
+
'257.400 (+1.600)',
|
1227
|
+
'1.287.000 (+8.000)',
|
1112
1228
|
'1.057.800 (+8.200)',
|
1113
1229
|
'5.289.000 (+41.000)'],
|
1114
1230
|
['3',
|
1115
|
-
'
|
1116
|
-
'1.
|
1231
|
+
'431.222 (+2.667)',
|
1232
|
+
'1.293.667 (+8.000)',
|
1117
1233
|
'1.064.667 (+8.000)',
|
1118
1234
|
'3.194.000 (+24.000)'],
|
1119
1235
|
['2',
|
1120
|
-
'
|
1121
|
-
'1.
|
1236
|
+
'651.000 (+4.000)',
|
1237
|
+
'1.302.000 (+8.000)',
|
1122
1238
|
'1.073.500 (+8.500)',
|
1123
1239
|
'2.147.000 (+17.000)'],
|
1124
1240
|
['1',
|
1125
|
-
'1.
|
1126
|
-
'1.
|
1241
|
+
'1.332.000 (+8.000)',
|
1242
|
+
'1.332.000 (+8.000)',
|
1127
1243
|
'1.104.000 (+8.000)',
|
1128
1244
|
'1.104.000 (+8.000)'],
|
1129
1245
|
['0.5',
|
1130
|
-
'2.
|
1131
|
-
'1.
|
1246
|
+
'2.864.000 (+16.000)',
|
1247
|
+
'1.432.000 (+8.000)',
|
1132
1248
|
'1.208.000 (+8.000)',
|
1133
1249
|
'604.000 (+4.000)'],
|
1134
|
-
['Update harga LM Antam :
|
1135
|
-
':Rp. 1.
|
1250
|
+
['Update harga LM Antam :15 Mei 2024, pukul 08:33Harga pembelian kembali '
|
1251
|
+
':Rp. 1.223.000/gram (+8.000)',
|
1136
1252
|
'Update harga LM Pegadaian :31 Agustus 2023']],
|
1137
1253
|
[['Spot Harga Emas Hari Ini (Market Open)'],
|
1138
1254
|
['Satuan', 'USD', 'Kurs\xa0Dollar', 'IDR'],
|
1139
|
-
['Ounce\xa0(oz)', '2.
|
1140
|
-
['Gram\xa0(gr)', '
|
1141
|
-
['Kilogram\xa0(kg)', '
|
1142
|
-
['Update harga emas :
|
1255
|
+
['Ounce\xa0(oz)', '2.381,54 (+26,92)', '16.131,00 (+46,00)', '38.416.622'],
|
1256
|
+
['Gram\xa0(gr)', '76,57', '16.131,00', '1.235.123 (+17.444)'],
|
1257
|
+
['Kilogram\xa0(kg)', '76.568,29', '16.131,00', '1.235.123.071'],
|
1258
|
+
['Update harga emas :15 Mei 2024, pukul 22:49Update kurs :15 Mei 2024, pukul '
|
1143
1259
|
'13:10']],
|
1144
1260
|
[['Gram', 'UBS Gold 99.99%'],
|
1145
1261
|
['Jual', 'Beli'],
|
1146
1262
|
['/ Batang', '/ Gram', '/ Batang', '/ Gram'],
|
1147
1263
|
['100',
|
1148
|
-
'
|
1149
|
-
'1.
|
1150
|
-
'
|
1151
|
-
'1.
|
1264
|
+
'127.412.000 (+1.112.000)',
|
1265
|
+
'1.274.120 (+11.120)',
|
1266
|
+
'125.185.000 (+400.000)',
|
1267
|
+
'1.251.850 (+4.000)'],
|
1152
1268
|
['50',
|
1153
|
-
'
|
1154
|
-
'1.
|
1155
|
-
'
|
1156
|
-
'1.
|
1269
|
+
'63.600.000 (+350.000)',
|
1270
|
+
'1.272.000 (+7.000)',
|
1271
|
+
'62.645.000 (+200.000)',
|
1272
|
+
'1.252.900 (+4.000)'],
|
1157
1273
|
['25',
|
1158
|
-
'31.
|
1159
|
-
'1.
|
1160
|
-
'
|
1161
|
-
'1.
|
1274
|
+
'31.850.000 (+175.000)',
|
1275
|
+
'1.274.000 (+7.000)',
|
1276
|
+
'31.425.000 (+100.000)',
|
1277
|
+
'1.257.000 (+4.000)'],
|
1162
1278
|
['10',
|
1163
|
-
'12.
|
1164
|
-
'1.
|
1165
|
-
'12.
|
1166
|
-
'1.
|
1279
|
+
'12.790.000 (+80.000)',
|
1280
|
+
'1.279.000 (+8.000)',
|
1281
|
+
'12.620.000 (+40.000)',
|
1282
|
+
'1.262.000 (+4.000)'],
|
1167
1283
|
['5',
|
1168
|
-
'6.
|
1169
|
-
'1.
|
1170
|
-
'6.
|
1171
|
-
'1.
|
1284
|
+
'6.420.000 (+40.000)',
|
1285
|
+
'1.284.000 (+8.000)',
|
1286
|
+
'6.362.000 (+20.000)',
|
1287
|
+
'1.272.400 (+4.000)'],
|
1172
1288
|
['1',
|
1173
|
-
'1.
|
1174
|
-
'1.
|
1175
|
-
'1.
|
1176
|
-
'1.
|
1177
|
-
['', 'Update :
|
1289
|
+
'1.330.000 (+6.000)',
|
1290
|
+
'1.330.000 (+6.000)',
|
1291
|
+
'1.305.000 (+4.000)',
|
1292
|
+
'1.305.000 (+4.000)'],
|
1293
|
+
['', 'Update :15 Mei 2024, pukul 12:24']],
|
1178
1294
|
[['Konversi Satuan'],
|
1179
1295
|
['Satuan', 'Ounce (oz)', 'Gram (gr)', 'Kilogram (kg)'],
|
1180
1296
|
['Ounce\xa0(oz)', '1', '31,1034767696', '0,0311034768'],
|
@@ -1184,37 +1300,37 @@ Output:
|
|
1184
1300
|
['Waktu', 'Emas'],
|
1185
1301
|
['Unit', 'USD', 'IDR'],
|
1186
1302
|
['Angka', '+/-', 'Angka', '+/-'],
|
1187
|
-
['Hari Ini', 'Kurs', '', '', '16.
|
1188
|
-
['oz', '2.
|
1189
|
-
['gr', '
|
1190
|
-
['30 Hari', 'Kurs', '', '', '15.907', '+
|
1191
|
-
['oz', '2.
|
1192
|
-
['gr', '
|
1193
|
-
['2 Bulan', 'Kurs', '', '', '15.
|
1194
|
-
['oz', '2.
|
1195
|
-
['gr', '
|
1196
|
-
['6 Bulan', 'Kurs', '', '', '15.
|
1197
|
-
['oz', '1.
|
1198
|
-
['gr', '63,
|
1199
|
-
['1 Tahun', 'Kurs', '', '', '15.731', '+
|
1200
|
-
['oz', '1.823,86', '+
|
1201
|
-
['gr', '58,64', '+
|
1202
|
-
['2 Tahun', 'Kurs', '', '', '14.
|
1203
|
-
['oz', '1.
|
1204
|
-
['gr', '
|
1205
|
-
['3 Tahun', 'Kurs', '', '', '14.
|
1206
|
-
['oz', '1.
|
1207
|
-
['gr', '
|
1208
|
-
['5 Tahun', 'Kurs', '', '', '14.
|
1209
|
-
['oz', '1.
|
1210
|
-
['gr', '41,
|
1303
|
+
['Hari Ini', 'Kurs', '', '', '16.085', '+46+0,29%'],
|
1304
|
+
['oz', '2.354,62', '+26,92+1,14%', '37.874.063', '+542.559+1,43%'],
|
1305
|
+
['gr', '75,70', '+0,87+1,14%', '1.217.679', '+17.444+1,43%'],
|
1306
|
+
['30 Hari', 'Kurs', '', '', '15.907', '+224+1,41%'],
|
1307
|
+
['oz', '2.359,26', '+22,28+0,94%', '37.528.749', '+887.873+2,37%'],
|
1308
|
+
['gr', '75,85', '+0,72+0,94%', '1.206.577', '+28.546+2,37%'],
|
1309
|
+
['2 Bulan', 'Kurs', '', '', '15.582', '+549+3,52%'],
|
1310
|
+
['oz', '2.156,08', '+225,46+10,46%', '33.596.039', '+4.820.583+14,35%'],
|
1311
|
+
['gr', '69,32', '+7,25+10,46', '1.080.138', '+154.985+14,35%'],
|
1312
|
+
['6 Bulan', 'Kurs', '', '', '15.595', '+536+3,44%'],
|
1313
|
+
['oz', '1.981,17', '+400,37+20,21%', '30.896.346', '+7.520.276+24,34%'],
|
1314
|
+
['gr', '63,70', '+12,87+20,21%', '993.341', '+241.782+24,34%'],
|
1315
|
+
['1 Tahun', 'Kurs', '', '', '15.731', '+400+2,54%'],
|
1316
|
+
['oz', '1.823,86', '+557,68+30,58%', '28.691.142', '+9.725.480+33,90%'],
|
1317
|
+
['gr', '58,64', '+17,93+30,58%', '922.442', '+312.681+33,90%'],
|
1318
|
+
['2 Tahun', 'Kurs', '', '', '14.585', '+1.546+10,60%'],
|
1319
|
+
['oz', '1.816,04', '+565,50+31,14%', '26.486.962', '+11.929.660+45,04%'],
|
1320
|
+
['gr', '58,39', '+18,18+31,14%', '851.576', '+383.547+45,04%'],
|
1321
|
+
['3 Tahun', 'Kurs', '', '', '14.198', '+1.933+13,61%'],
|
1322
|
+
['oz', '1.843,91', '+537,63+29,16%', '26.179.834', '+12.236.788+46,74%'],
|
1323
|
+
['gr', '59,28', '+17,29+29,16%', '841.701', '+393.422+46,74%'],
|
1324
|
+
['5 Tahun', 'Kurs', '', '', '14.469', '+1.662+11,49%'],
|
1325
|
+
['oz', '1.275,87', '+1.105,67+86,66%', '18.460.563', '+19.956.059+108,10%'],
|
1326
|
+
['gr', '41,02', '+35,55+86,66%', '593.521', '+641.602+108,10%']])
|
1211
1327
|
(['Home', 'Emas 1 Gram', 'History', 'Trend', 'Perak 1 Gram', 'Pluang'],
|
1212
1328
|
[[''],
|
1213
1329
|
['Emas 24 KaratHarga Emas 1 Gram', ''],
|
1214
|
-
['USD', '
|
1215
|
-
['KURS', '
|
1216
|
-
['IDR', '1.
|
1217
|
-
['
|
1330
|
+
['USD', '76,57↑', '+0,87+1,15%'],
|
1331
|
+
['KURS', '15.930,00↓', '-173,05-1,07%'],
|
1332
|
+
['IDR', '1.219.732,84↑', '+687,01+0,06%'],
|
1333
|
+
['Rabu, 15 Mei 2024 22:49']],
|
1218
1334
|
[[''],
|
1219
1335
|
['Emas 1 Gram (IDR)Emas 1 Gram (USD)Kurs USD-IDR',
|
1220
1336
|
'Hari Ini',
|
@@ -1225,19 +1341,19 @@ Output:
|
|
1225
1341
|
'']],
|
1226
1342
|
[['Pergerakkan Harga Emas 1 Gram'],
|
1227
1343
|
['', 'Penutupan Kemarin', 'Pergerakkan Hari Ini', 'Rata-rata'],
|
1228
|
-
['USD', '
|
1229
|
-
['KURS', '16.
|
1230
|
-
['IDR', '1.
|
1344
|
+
['USD', '75,70', '75,70 - 76,57', '76,14'],
|
1345
|
+
['KURS', '16.103,05', '15.930,00 - 16.103,05', '16.016,53'],
|
1346
|
+
['IDR', '1.219.045,83', '1.219.045,83 - 1.219.732,84', '1.219.389,34'],
|
1231
1347
|
[''],
|
1232
1348
|
['', 'Awal Tahun', 'Pergerakkan YTD', '+/- YTD'],
|
1233
|
-
['USD', '66,32', '64,07 - 77,14', '+
|
1234
|
-
['KURS', '15.390,10', '15.390,00 - 16.307,80', '+
|
1235
|
-
['IDR', '1.020.729,53', '997.660,12 - 1.256.829,06', '+
|
1349
|
+
['USD', '66,32', '64,07 - 77,14', '+10,25 (15,46%)'],
|
1350
|
+
['KURS', '15.390,10', '15.390,00 - 16.307,80', '+539,90 (3,51%)'],
|
1351
|
+
['IDR', '1.020.729,53', '997.660,12 - 1.256.829,06', '+199.003,31 (19,50%)'],
|
1236
1352
|
[''],
|
1237
1353
|
['', 'Tahun Lalu / 52 Minggu', 'Pergerakkan 52 Minggu', '+/- 52 Minggu'],
|
1238
|
-
['USD', '64,
|
1239
|
-
['KURS', '14.
|
1240
|
-
['IDR', '
|
1354
|
+
['USD', '64,66', '58,43 - 77,14', '+11,91 (18,42%)'],
|
1355
|
+
['KURS', '14.844,45', '14.796,95 - 16.307,80', '+1.085,55 (7,31%)'],
|
1356
|
+
['IDR', '959.794,03', '912.925,68 - 1.256.829,06', '+259.938,81 (27,08%)']])
|
1241
1357
|
```
|
1242
1358
|
|
1243
1359
|
## iloads
|
@@ -1367,7 +1483,7 @@ Output:
|
|
1367
1483
|
```py
|
1368
1484
|
8
|
1369
1485
|
['mana', 'aja']
|
1370
|
-
[<Element a at
|
1486
|
+
[<Element a at 0x720721def0>, <Element a at 0x720721ef80>, <Element a at 0x7207074550>, <Element a at 0x72070745f0>, <Element a at 0x7207074640>, <Element a at 0x7207074690>, <Element a at 0x72070746e0>, <Element a at 0x7207074730>, <Element a at 0x7207074780>, <Element a at 0x72070747d0>, <Element a at 0x7207074820>, <Element a at 0x7207074870>, <Element a at 0x72070748c0>, <Element a at 0x7207074910>, <Element a at 0x7207074960>, <Element a at 0x72070749b0>, <Element a at 0x7207074a00>, <Element a at 0x7207074a50>]
|
1371
1487
|
False
|
1372
1488
|
```
|
1373
1489
|
|
@@ -1429,7 +1545,7 @@ print(list(iscandir("./", recursive=False, scan_file=False)))
|
|
1429
1545
|
|
1430
1546
|
Output:
|
1431
1547
|
```py
|
1432
|
-
<generator object iscandir at
|
1548
|
+
<generator object iscandir at 0x720713fa40>
|
1433
1549
|
[PosixPath('.git'), PosixPath('.vscode'), PosixPath('pypipr'), PosixPath('__pycache__'), PosixPath('dist')]
|
1434
1550
|
```
|
1435
1551
|
|
@@ -1462,111 +1578,113 @@ iprint(ivars(__import__('pypipr')))
|
|
1462
1578
|
|
1463
1579
|
Output:
|
1464
1580
|
```py
|
1465
|
-
{'function': {'avg': <function avg at
|
1466
|
-
'get_filemtime': <function get_filemtime at
|
1467
|
-
'print_colorize': <function print_colorize at
|
1468
|
-
'print_log': <function print_log at
|
1469
|
-
'console_run': <function console_run at
|
1470
|
-
'auto_reload': <function auto_reload at
|
1471
|
-
'basename': <function basename at
|
1472
|
-
'chr_to_int': <function chr_to_int at
|
1473
|
-
'int_to_chr': <function int_to_chr at
|
1474
|
-
'irange': <function irange at
|
1475
|
-
'batchmaker': <function batchmaker at
|
1476
|
-
'calculate': <function calculate at
|
1477
|
-
'batch_calculate': <function batch_calculate at
|
1478
|
-
'bin_to_int': <function bin_to_int at
|
1479
|
-
'is_empty': <function is_empty at
|
1480
|
-
'exit_if_empty': <function exit_if_empty at
|
1481
|
-
'input_char': <function input_char at
|
1482
|
-
'
|
1483
|
-
'
|
1484
|
-
'
|
1485
|
-
'
|
1486
|
-
'
|
1487
|
-
'
|
1488
|
-
'
|
1489
|
-
'
|
1490
|
-
'
|
1491
|
-
'
|
1492
|
-
'
|
1493
|
-
'get_class_method': <function get_class_method at
|
1494
|
-
'get_filesize': <function get_filesize at
|
1495
|
-
'github_init': <function github_init at
|
1496
|
-
'github_pull': <function github_pull at
|
1497
|
-
'github_push': <function github_push at
|
1498
|
-
'github_user': <function github_user at
|
1499
|
-
'hex_to_int': <function hex_to_int at
|
1500
|
-
'iargv': <function iargv at
|
1501
|
-
'
|
1502
|
-
'
|
1503
|
-
'
|
1504
|
-
'
|
1505
|
-
'
|
1506
|
-
'
|
1507
|
-
'
|
1508
|
-
'
|
1509
|
-
'
|
1510
|
-
'
|
1511
|
-
'
|
1512
|
-
'
|
1513
|
-
'
|
1514
|
-
'
|
1515
|
-
'
|
1516
|
-
'
|
1517
|
-
'
|
1518
|
-
'
|
1519
|
-
'
|
1520
|
-
'
|
1521
|
-
'
|
1522
|
-
'
|
1523
|
-
'
|
1524
|
-
'
|
1525
|
-
'
|
1526
|
-
'
|
1527
|
-
'
|
1528
|
-
'
|
1529
|
-
'
|
1530
|
-
'
|
1531
|
-
'
|
1532
|
-
'
|
1533
|
-
'
|
1581
|
+
{'function': {'avg': <function avg at 0x7217bd8040>,
|
1582
|
+
'get_filemtime': <function get_filemtime at 0x7212423060>,
|
1583
|
+
'print_colorize': <function print_colorize at 0x7212423240>,
|
1584
|
+
'print_log': <function print_log at 0x7212423100>,
|
1585
|
+
'console_run': <function console_run at 0x72124231a0>,
|
1586
|
+
'auto_reload': <function auto_reload at 0x72128b8f40>,
|
1587
|
+
'basename': <function basename at 0x72123be980>,
|
1588
|
+
'chr_to_int': <function chr_to_int at 0x72124237e0>,
|
1589
|
+
'int_to_chr': <function int_to_chr at 0x7212423880>,
|
1590
|
+
'irange': <function irange at 0x7212423b00>,
|
1591
|
+
'batchmaker': <function batchmaker at 0x72124234c0>,
|
1592
|
+
'calculate': <function calculate at 0x7212423600>,
|
1593
|
+
'batch_calculate': <function batch_calculate at 0x7212423380>,
|
1594
|
+
'bin_to_int': <function bin_to_int at 0x72128b8ea0>,
|
1595
|
+
'is_empty': <function is_empty at 0x72124302c0>,
|
1596
|
+
'exit_if_empty': <function exit_if_empty at 0x7212430180>,
|
1597
|
+
'input_char': <function input_char at 0x7212430220>,
|
1598
|
+
'choices': <function choices at 0x7212430540>,
|
1599
|
+
'chunk_array': <function chunk_array at 0x72124305e0>,
|
1600
|
+
'create_folder': <function create_folder at 0x7212430680>,
|
1601
|
+
'datetime_from_string': <function datetime_from_string at 0x7212430720>,
|
1602
|
+
'datetime_now': <function datetime_now at 0x72124300e0>,
|
1603
|
+
'dict_first': <function dict_first at 0x7212432a20>,
|
1604
|
+
'dirname': <function dirname at 0x7212432ac0>,
|
1605
|
+
'is_iterable': <function is_iterable at 0x7212432ca0>,
|
1606
|
+
'to_str': <function to_str at 0x7212432d40>,
|
1607
|
+
'filter_empty': <function filter_empty at 0x72124232e0>,
|
1608
|
+
'get_by_index': <function get_by_index at 0x7212432b60>,
|
1609
|
+
'get_class_method': <function get_class_method at 0x7212432de0>,
|
1610
|
+
'get_filesize': <function get_filesize at 0x7212432f20>,
|
1611
|
+
'github_init': <function github_init at 0x7212432fc0>,
|
1612
|
+
'github_pull': <function github_pull at 0x7212433060>,
|
1613
|
+
'github_push': <function github_push at 0x72124331a0>,
|
1614
|
+
'github_user': <function github_user at 0x7212433240>,
|
1615
|
+
'hex_to_int': <function hex_to_int at 0x72124332e0>,
|
1616
|
+
'iargv': <function iargv at 0x7212433380>,
|
1617
|
+
'idir': <function idir at 0x7212433420>,
|
1618
|
+
'idumps_html': <function idumps_html at 0x7212433b00>,
|
1619
|
+
'idumps': <function idumps at 0x7212433560>,
|
1620
|
+
'int_to_int': <function int_to_int at 0x721227f9c0>,
|
1621
|
+
'ienumerate': <function ienumerate at 0x7212272020>,
|
1622
|
+
'ienv': <function ienv at 0x721227f6a0>,
|
1623
|
+
'iexec': <function iexec at 0x721227fa60>,
|
1624
|
+
'ijoin': <function ijoin at 0x721227fba0>,
|
1625
|
+
'iloads_html': <function iloads_html at 0x721227fd80>,
|
1626
|
+
'iloads': <function iloads at 0x72185da020>,
|
1627
|
+
'int_to_bin': <function int_to_bin at 0x721227fb00>,
|
1628
|
+
'int_to_hex': <function int_to_hex at 0x721227fce0>,
|
1629
|
+
'int_to_oct': <function int_to_oct at 0x721227fe20>,
|
1630
|
+
'is_valid_url': <function is_valid_url at 0x721208fba0>,
|
1631
|
+
'iopen': <function iopen at 0x7212294040>,
|
1632
|
+
'iprint': <function iprint at 0x721208f6a0>,
|
1633
|
+
'ireplace': <function ireplace at 0x721208f7e0>,
|
1634
|
+
'iscandir': <function iscandir at 0x72121549a0>,
|
1635
|
+
'isplit': <function isplit at 0x7212154a40>,
|
1636
|
+
'ivars': <function ivars at 0x7212154ae0>,
|
1637
|
+
'log': <function log at 0x7212154b80>,
|
1638
|
+
'oct_to_int': <function oct_to_int at 0x7212154c20>,
|
1639
|
+
'password_generator': <function password_generator at 0x7212154cc0>,
|
1640
|
+
'pip_freeze_without_version': <function pip_freeze_without_version at 0x7212154e00>,
|
1641
|
+
'poetry_publish': <function poetry_publish at 0x7212154ea0>,
|
1642
|
+
'poetry_update_version': <function poetry_update_version at 0x7212154fe0>,
|
1643
|
+
'print_dir': <function print_dir at 0x72121551c0>,
|
1644
|
+
'print_to_last_line': <function print_to_last_line at 0x7212155260>,
|
1645
|
+
'random_bool': <function random_bool at 0x7212155300>,
|
1646
|
+
'restart': <function restart at 0x72121553a0>,
|
1647
|
+
'set_timeout': <function set_timeout at 0x7212155440>,
|
1648
|
+
'sets_ordered': <function sets_ordered at 0x72121554e0>,
|
1649
|
+
'sqlite_all_tables': <function sqlite_all_tables at 0x7212155580>,
|
1650
|
+
'str_cmp': <function str_cmp at 0x7212155620>,
|
1651
|
+
'text_colorize': <function text_colorize at 0x7212155120>},
|
1534
1652
|
'class': {'ComparePerformance': <class 'pypipr.ComparePerformance.ComparePerformance'>,
|
1535
1653
|
'PintUregQuantity': <class 'pint.Quantity'>,
|
1536
1654
|
'RunParallel': <class 'pypipr.RunParallel.RunParallel'>},
|
1537
1655
|
'variable': {'LINUX': True,
|
1538
|
-
'PintUreg': <pint.registry.UnitRegistry object at
|
1656
|
+
'PintUreg': <pint.registry.UnitRegistry object at 0x7217be6ed0>,
|
1539
1657
|
'WINDOWS': False},
|
1540
1658
|
'module': {'asyncio': <module 'asyncio' from '/data/data/com.termux/files/usr/lib/python3.11/asyncio/__init__.py'>,
|
1541
|
-
'colorama': <module 'colorama' from '/data/data/com.termux/files/
|
1659
|
+
'colorama': <module 'colorama' from '/data/data/com.termux/files/home/.cache/pypoetry/virtualenvs/pypipr-ZoJyDxLL-py3.11/lib/python3.11/site-packages/colorama/__init__.py'>,
|
1542
1660
|
'csv': <module 'csv' from '/data/data/com.termux/files/usr/lib/python3.11/csv.py'>,
|
1543
1661
|
'datetime': <module 'datetime' from '/data/data/com.termux/files/usr/lib/python3.11/datetime.py'>,
|
1544
1662
|
'functools': <module 'functools' from '/data/data/com.termux/files/usr/lib/python3.11/functools.py'>,
|
1545
1663
|
'inspect': <module 'inspect' from '/data/data/com.termux/files/usr/lib/python3.11/inspect.py'>,
|
1546
1664
|
'io': <module 'io' (frozen)>,
|
1547
1665
|
'json': <module 'json' from '/data/data/com.termux/files/usr/lib/python3.11/json/__init__.py'>,
|
1548
|
-
'lxml': <module 'lxml' from '/data/data/com.termux/files/
|
1666
|
+
'lxml': <module 'lxml' from '/data/data/com.termux/files/home/.cache/pypoetry/virtualenvs/pypipr-ZoJyDxLL-py3.11/lib/python3.11/site-packages/lxml/__init__.py'>,
|
1549
1667
|
'math': <module 'math' from '/data/data/com.termux/files/usr/lib/python3.11/lib-dynload/math.cpython-311.so'>,
|
1550
1668
|
'multiprocessing': <module 'multiprocessing' from '/data/data/com.termux/files/usr/lib/python3.11/multiprocessing/__init__.py'>,
|
1551
1669
|
'operator': <module 'operator' from '/data/data/com.termux/files/usr/lib/python3.11/operator.py'>,
|
1552
1670
|
'os': <module 'os' (frozen)>,
|
1553
1671
|
'pathlib': <module 'pathlib' from '/data/data/com.termux/files/usr/lib/python3.11/pathlib.py'>,
|
1554
|
-
'pint': <module 'pint' from '/data/data/com.termux/files/
|
1672
|
+
'pint': <module 'pint' from '/data/data/com.termux/files/home/.cache/pypoetry/virtualenvs/pypipr-ZoJyDxLL-py3.11/lib/python3.11/site-packages/pint/__init__.py'>,
|
1555
1673
|
'pprint': <module 'pprint' from '/data/data/com.termux/files/usr/lib/python3.11/pprint.py'>,
|
1556
1674
|
'queue': <module 'queue' from '/data/data/com.termux/files/usr/lib/python3.11/queue.py'>,
|
1557
1675
|
'random': <module 'random' from '/data/data/com.termux/files/usr/lib/python3.11/random.py'>,
|
1558
1676
|
're': <module 're' from '/data/data/com.termux/files/usr/lib/python3.11/re/__init__.py'>,
|
1559
|
-
'requests': <module 'requests' from '/data/data/com.termux/files/
|
1677
|
+
'requests': <module 'requests' from '/data/data/com.termux/files/home/.cache/pypoetry/virtualenvs/pypipr-ZoJyDxLL-py3.11/lib/python3.11/site-packages/requests/__init__.py'>,
|
1560
1678
|
'string': <module 'string' from '/data/data/com.termux/files/usr/lib/python3.11/string.py'>,
|
1561
1679
|
'subprocess': <module 'subprocess' from '/data/data/com.termux/files/usr/lib/python3.11/subprocess.py'>,
|
1562
1680
|
'sys': <module 'sys' (built-in)>,
|
1563
1681
|
'textwrap': <module 'textwrap' from '/data/data/com.termux/files/usr/lib/python3.11/textwrap.py'>,
|
1564
1682
|
'threading': <module 'threading' from '/data/data/com.termux/files/usr/lib/python3.11/threading.py'>,
|
1565
1683
|
'time': <module 'time' (built-in)>,
|
1566
|
-
'tzdata': <module 'tzdata' from '/data/data/com.termux/files/
|
1684
|
+
'tzdata': <module 'tzdata' from '/data/data/com.termux/files/home/.cache/pypoetry/virtualenvs/pypipr-ZoJyDxLL-py3.11/lib/python3.11/site-packages/tzdata/__init__.py'>,
|
1567
1685
|
'uuid': <module 'uuid' from '/data/data/com.termux/files/usr/lib/python3.11/uuid.py'>,
|
1568
1686
|
'webbrowser': <module 'webbrowser' from '/data/data/com.termux/files/usr/lib/python3.11/webbrowser.py'>,
|
1569
|
-
'yaml': <module 'yaml' from '/data/data/com.termux/files/
|
1687
|
+
'yaml': <module 'yaml' from '/data/data/com.termux/files/home/.cache/pypoetry/virtualenvs/pypipr-ZoJyDxLL-py3.11/lib/python3.11/site-packages/yaml/__init__.py'>,
|
1570
1688
|
'zoneinfo': <module 'zoneinfo' from '/data/data/com.termux/files/usr/lib/python3.11/zoneinfo/__init__.py'>}}
|
1571
1689
|
```
|
1572
1690
|
|
@@ -1625,7 +1743,7 @@ print(password_generator())
|
|
1625
1743
|
|
1626
1744
|
Output:
|
1627
1745
|
```py
|
1628
|
-
|
1746
|
+
Iq%*yxms
|
1629
1747
|
```
|
1630
1748
|
|
1631
1749
|
## pip_freeze_without_version
|
@@ -1683,7 +1801,7 @@ Output:
|
|
1683
1801
|
__enter__ : https:/www.google.com
|
1684
1802
|
__fspath__ : https:/www.google.com
|
1685
1803
|
__getstate__ : (None, {'_drv': '', '_root': '', '_parts': ['https:', 'www.google.com'], '_str': 'https:/www.google.com'})
|
1686
|
-
__hash__ :
|
1804
|
+
__hash__ : 5044247693933644654
|
1687
1805
|
__init__ : None
|
1688
1806
|
__init_subclass__ : None
|
1689
1807
|
__module__ : pathlib
|
@@ -1696,8 +1814,8 @@ Output:
|
|
1696
1814
|
_cached_cparts : ['https:', 'www.google.com']
|
1697
1815
|
_cparts : ['https:', 'www.google.com']
|
1698
1816
|
_drv :
|
1699
|
-
_flavour : <pathlib._PosixFlavour object at
|
1700
|
-
_hash :
|
1817
|
+
_flavour : <pathlib._PosixFlavour object at 0x7217a215d0>
|
1818
|
+
_hash : 5044247693933644654
|
1701
1819
|
_parts : ['https:', 'www.google.com']
|
1702
1820
|
_root :
|
1703
1821
|
_str : https:/www.google.com
|
@@ -1719,7 +1837,7 @@ Output:
|
|
1719
1837
|
is_reserved : False
|
1720
1838
|
is_socket : False
|
1721
1839
|
is_symlink : False
|
1722
|
-
iterdir : <generator object Path.iterdir at
|
1840
|
+
iterdir : <generator object Path.iterdir at 0x72071bef80>
|
1723
1841
|
joinpath : https:/www.google.com
|
1724
1842
|
name : www.google.com
|
1725
1843
|
parent : https:
|
@@ -1793,7 +1911,7 @@ x.cancel()
|
|
1793
1911
|
|
1794
1912
|
Output:
|
1795
1913
|
```py
|
1796
|
-
<Timer(Thread-2, started
|
1914
|
+
<Timer(Thread-2, started 489726119152)>
|
1797
1915
|
menghentikan timeout 7
|
1798
1916
|
```
|
1799
1917
|
|
@@ -1811,10 +1929,14 @@ print(list(sets_ordered(array)))
|
|
1811
1929
|
|
1812
1930
|
Output:
|
1813
1931
|
```py
|
1814
|
-
<generator object sets_ordered at
|
1932
|
+
<generator object sets_ordered at 0x72072257d0>
|
1815
1933
|
[2, 3, 12, 42, 1, 43, 41, 4, 24, 32]
|
1816
1934
|
```
|
1817
1935
|
|
1936
|
+
## sqlite_all_tables
|
1937
|
+
|
1938
|
+
`sqlite_all_tables()`
|
1939
|
+
|
1818
1940
|
## str_cmp
|
1819
1941
|
|
1820
1942
|
`str_cmp(t1, t2)`
|
@@ -1881,15 +2003,15 @@ print(ExampleComparePerformance().compare_performance())
|
|
1881
2003
|
|
1882
2004
|
Output:
|
1883
2005
|
```py
|
1884
|
-
{'a': <generator object ExampleComparePerformance.a.<locals>.<genexpr> at
|
2006
|
+
{'a': <generator object ExampleComparePerformance.a.<locals>.<genexpr> at 0x7207224860>,
|
1885
2007
|
'b': (0, 1, 2, 3, 4, 5, 6, 7, 8, 9),
|
1886
2008
|
'c': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
|
1887
2009
|
'd': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]}
|
1888
|
-
{'a':
|
1889
|
-
{'a':
|
1890
|
-
{'a':
|
1891
|
-
{'a':
|
1892
|
-
{'a':
|
2010
|
+
{'a': 135, 'b': 128, 'c': 100, 'd': 195}
|
2011
|
+
{'a': 103, 'b': 112, 'c': 100, 'd': 151}
|
2012
|
+
{'a': 106, 'b': 123, 'c': 100, 'd': 149}
|
2013
|
+
{'a': 100, 'b': 126, 'c': 440, 'd': 117}
|
2014
|
+
{'a': 114, 'b': 120, 'c': 100, 'd': 148}
|
1893
2015
|
```
|
1894
2016
|
|
1895
2017
|
## PintUregQuantity
|