pypipr 1.0.123__tar.gz → 1.0.125__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.
Files changed (81) hide show
  1. {pypipr-1.0.123 → pypipr-1.0.125}/PKG-INFO +234 -176
  2. {pypipr-1.0.123 → pypipr-1.0.125}/pypipr/APIMixinView.py +3 -2
  3. {pypipr-1.0.123 → pypipr-1.0.125}/pypipr/__terminal__.py +19 -7
  4. {pypipr-1.0.123 → pypipr-1.0.125}/pypipr/input_char.py +3 -1
  5. {pypipr-1.0.123 → pypipr-1.0.125}/pyproject.toml +1 -1
  6. {pypipr-1.0.123 → pypipr-1.0.125}/readme.md +233 -175
  7. {pypipr-1.0.123 → pypipr-1.0.125}/pypipr/ComparePerformance.py +0 -0
  8. {pypipr-1.0.123 → pypipr-1.0.125}/pypipr/LINUX.py +0 -0
  9. {pypipr-1.0.123 → pypipr-1.0.125}/pypipr/PintUreg.py +0 -0
  10. {pypipr-1.0.123 → pypipr-1.0.125}/pypipr/PintUregQuantity.py +0 -0
  11. {pypipr-1.0.123 → pypipr-1.0.125}/pypipr/RunParallel.py +0 -0
  12. {pypipr-1.0.123 → pypipr-1.0.125}/pypipr/WINDOWS.py +0 -0
  13. {pypipr-1.0.123 → pypipr-1.0.125}/pypipr/__init__.py +0 -0
  14. {pypipr-1.0.123 → pypipr-1.0.125}/pypipr/auto_reload.py +0 -0
  15. {pypipr-1.0.123 → pypipr-1.0.125}/pypipr/avg.py +0 -0
  16. {pypipr-1.0.123 → pypipr-1.0.125}/pypipr/basename.py +0 -0
  17. {pypipr-1.0.123 → pypipr-1.0.125}/pypipr/batch_calculate.py +0 -0
  18. {pypipr-1.0.123 → pypipr-1.0.125}/pypipr/batchmaker.py +0 -0
  19. {pypipr-1.0.123 → pypipr-1.0.125}/pypipr/bin_to_int.py +0 -0
  20. {pypipr-1.0.123 → pypipr-1.0.125}/pypipr/calculate.py +0 -0
  21. {pypipr-1.0.123 → pypipr-1.0.125}/pypipr/choices.py +0 -0
  22. {pypipr-1.0.123 → pypipr-1.0.125}/pypipr/choices.py.bak +0 -0
  23. {pypipr-1.0.123 → pypipr-1.0.125}/pypipr/chr_to_int.py +0 -0
  24. {pypipr-1.0.123 → pypipr-1.0.125}/pypipr/chunk_array.py +0 -0
  25. {pypipr-1.0.123 → pypipr-1.0.125}/pypipr/console_run.py +0 -0
  26. {pypipr-1.0.123 → pypipr-1.0.125}/pypipr/create_folder.py +0 -0
  27. {pypipr-1.0.123 → pypipr-1.0.125}/pypipr/datetime_from_string.py +0 -0
  28. {pypipr-1.0.123 → pypipr-1.0.125}/pypipr/datetime_now.py +0 -0
  29. {pypipr-1.0.123 → pypipr-1.0.125}/pypipr/dict_first.py +0 -0
  30. {pypipr-1.0.123 → pypipr-1.0.125}/pypipr/dirname.py +0 -0
  31. {pypipr-1.0.123 → pypipr-1.0.125}/pypipr/exit_if_empty.py +0 -0
  32. {pypipr-1.0.123 → pypipr-1.0.125}/pypipr/filter_empty.py +0 -0
  33. {pypipr-1.0.123 → pypipr-1.0.125}/pypipr/get_by_index.py +0 -0
  34. {pypipr-1.0.123 → pypipr-1.0.125}/pypipr/get_class_method.py +0 -0
  35. {pypipr-1.0.123 → pypipr-1.0.125}/pypipr/get_filemtime.py +0 -0
  36. {pypipr-1.0.123 → pypipr-1.0.125}/pypipr/get_filesize.py +0 -0
  37. {pypipr-1.0.123 → pypipr-1.0.125}/pypipr/github_pull.py +0 -0
  38. {pypipr-1.0.123 → pypipr-1.0.125}/pypipr/github_push.py +0 -0
  39. {pypipr-1.0.123 → pypipr-1.0.125}/pypipr/github_user.py +0 -0
  40. {pypipr-1.0.123 → pypipr-1.0.125}/pypipr/hex_to_int.py +0 -0
  41. {pypipr-1.0.123 → pypipr-1.0.125}/pypipr/iargv.py +0 -0
  42. {pypipr-1.0.123 → pypipr-1.0.125}/pypipr/idumps.py +0 -0
  43. {pypipr-1.0.123 → pypipr-1.0.125}/pypipr/idumps_html.py +0 -0
  44. {pypipr-1.0.123 → pypipr-1.0.125}/pypipr/ienumerate.py +0 -0
  45. {pypipr-1.0.123 → pypipr-1.0.125}/pypipr/ienv.py +0 -0
  46. {pypipr-1.0.123 → pypipr-1.0.125}/pypipr/iexec.py +0 -0
  47. {pypipr-1.0.123 → pypipr-1.0.125}/pypipr/ijoin.py +0 -0
  48. {pypipr-1.0.123 → pypipr-1.0.125}/pypipr/iloads.py +0 -0
  49. {pypipr-1.0.123 → pypipr-1.0.125}/pypipr/iloads_html.py +0 -0
  50. {pypipr-1.0.123 → pypipr-1.0.125}/pypipr/int_to_bin.py +0 -0
  51. {pypipr-1.0.123 → pypipr-1.0.125}/pypipr/int_to_chr.py +0 -0
  52. {pypipr-1.0.123 → pypipr-1.0.125}/pypipr/int_to_hex.py +0 -0
  53. {pypipr-1.0.123 → pypipr-1.0.125}/pypipr/int_to_int.py +0 -0
  54. {pypipr-1.0.123 → pypipr-1.0.125}/pypipr/int_to_oct.py +0 -0
  55. {pypipr-1.0.123 → pypipr-1.0.125}/pypipr/iopen.py +0 -0
  56. {pypipr-1.0.123 → pypipr-1.0.125}/pypipr/iprint.py +0 -0
  57. {pypipr-1.0.123 → pypipr-1.0.125}/pypipr/irange.py +0 -0
  58. {pypipr-1.0.123 → pypipr-1.0.125}/pypipr/ireplace.py +0 -0
  59. {pypipr-1.0.123 → pypipr-1.0.125}/pypipr/is_empty.py +0 -0
  60. {pypipr-1.0.123 → pypipr-1.0.125}/pypipr/is_iterable.py +0 -0
  61. {pypipr-1.0.123 → pypipr-1.0.125}/pypipr/is_valid_url.py +0 -0
  62. {pypipr-1.0.123 → pypipr-1.0.125}/pypipr/iscandir.py +0 -0
  63. {pypipr-1.0.123 → pypipr-1.0.125}/pypipr/isplit.py +0 -0
  64. {pypipr-1.0.123 → pypipr-1.0.125}/pypipr/ivars.py +0 -0
  65. {pypipr-1.0.123 → pypipr-1.0.125}/pypipr/log.py +0 -0
  66. {pypipr-1.0.123 → pypipr-1.0.125}/pypipr/oct_to_int.py +0 -0
  67. {pypipr-1.0.123 → pypipr-1.0.125}/pypipr/password_generator.py +0 -0
  68. {pypipr-1.0.123 → pypipr-1.0.125}/pypipr/pip_freeze_without_version.py +0 -0
  69. {pypipr-1.0.123 → pypipr-1.0.125}/pypipr/poetry_publish.py +0 -0
  70. {pypipr-1.0.123 → pypipr-1.0.125}/pypipr/poetry_update_version.py +0 -0
  71. {pypipr-1.0.123 → pypipr-1.0.125}/pypipr/print_colorize.py +0 -0
  72. {pypipr-1.0.123 → pypipr-1.0.125}/pypipr/print_dir.py +0 -0
  73. {pypipr-1.0.123 → pypipr-1.0.125}/pypipr/print_log.py +0 -0
  74. {pypipr-1.0.123 → pypipr-1.0.125}/pypipr/print_to_last_line.py +0 -0
  75. {pypipr-1.0.123 → pypipr-1.0.125}/pypipr/random_bool.py +0 -0
  76. {pypipr-1.0.123 → pypipr-1.0.125}/pypipr/restart.py +0 -0
  77. {pypipr-1.0.123 → pypipr-1.0.125}/pypipr/set_timeout.py +0 -0
  78. {pypipr-1.0.123 → pypipr-1.0.125}/pypipr/sets_ordered.py +0 -0
  79. {pypipr-1.0.123 → pypipr-1.0.125}/pypipr/str_cmp.py +0 -0
  80. {pypipr-1.0.123 → pypipr-1.0.125}/pypipr/text_colorize.py +0 -0
  81. {pypipr-1.0.123 → pypipr-1.0.125}/pypipr/to_str.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pypipr
3
- Version: 1.0.123
3
+ Version: 1.0.125
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 0x7b05a58440>
252
- <generator object int_range at 0x7b05a58440>
251
+ <generator object int_range at 0x7e5562c440>
252
+ <generator object int_range at 0x7e5562c440>
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 0x7b05a50280>
284
+ <generator object batchmaker at 0x7e55624280>
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 0x7b059cb010>
338
+ <generator object batch_calculate at 0x7e5559f010>
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
 
@@ -398,7 +398,7 @@ exit_if_empty(var1, var2)
398
398
 
399
399
  ## input_char
400
400
 
401
- `input_char(prompt=None, prompt_ending='', newline_after_input=True, echo_char=True, default=None)`
401
+ `input_char(prompt=None, prompt_ending='', newline_after_input=True, echo_char=True, default=None, color=None)`
402
402
 
403
403
  Meminta masukan satu huruf tanpa menekan Enter.
404
404
 
@@ -458,7 +458,7 @@ print(list(chunk_array(arr, 5)))
458
458
 
459
459
  Output:
460
460
  ```py
461
- <generator object chunk_array at 0x7b05a58440>
461
+ <generator object chunk_array at 0x7e5562c440>
462
462
  [[2, 3, 12, 3, 3], [42, 42, 1, 43, 2], [42, 41, 4, 24, 32], [42, 3, 12, 32, 42], [42]]
463
463
  ```
464
464
 
@@ -509,9 +509,9 @@ print(datetime_now("Etc/GMT+7"))
509
509
 
510
510
  Output:
511
511
  ```py
512
- 2024-05-05 22:19:00.834179+07:00
513
- 2024-05-05 15:19:00.837046+00:00
514
- 2024-05-05 08:19:00.842776-07:00
512
+ 2024-05-06 11:44:20.743767+07:00
513
+ 2024-05-06 04:44:20.745737+00:00
514
+ 2024-05-05 21:44:20.749919-07:00
515
515
  ```
516
516
 
517
517
  ## dict_first
@@ -617,7 +617,7 @@ iprint(filter_empty(var))
617
617
 
618
618
  Output:
619
619
  ```py
620
- <generator object filter_empty at 0x7b059c95d0>
620
+ <generator object filter_empty at 0x7e5559d5d0>
621
621
  [1, '0', True, {}, ['eee']]
622
622
  ```
623
623
 
@@ -647,8 +647,8 @@ print(list(get_class_method(ExampleGetClassMethod)))
647
647
 
648
648
  Output:
649
649
  ```py
650
- <generator object get_class_method at 0x7b059cb2e0>
651
- [<function ExampleGetClassMethod.a at 0x7b05a68e00>, <function ExampleGetClassMethod.b at 0x7b05a69120>, <function ExampleGetClassMethod.c at 0x7b05a68fe0>, <function ExampleGetClassMethod.d at 0x7b05a691c0>]
650
+ <generator object get_class_method at 0x7e5559f2e0>
651
+ [<function ExampleGetClassMethod.a at 0x7e5563cfe0>, <function ExampleGetClassMethod.b at 0x7e5563d120>, <function ExampleGetClassMethod.c at 0x7e5563d080>, <function ExampleGetClassMethod.d at 0x7e5563d1c0>]
652
652
  ```
653
653
 
654
654
  ## get_filesize
@@ -918,7 +918,7 @@ Output:
918
918
 
919
919
  ## ienumerate
920
920
 
921
- `ienumerate(iterator, start=0, key=<function int_to_int at 0x7b0a90d9e0>)`
921
+ `ienumerate(iterator, start=0, key=<function int_to_int at 0x7e5b1cd9e0>)`
922
922
 
923
923
  meningkatkan fungsi enumerate() pada python
924
924
  untuk key menggunakan huruf dan basis angka lainnya.
@@ -931,7 +931,7 @@ iprint(ienumerate(it, key=int_to_chr))
931
931
 
932
932
  Output:
933
933
  ```py
934
- <generator object ienumerate at 0x7b059cb3d0>
934
+ <generator object ienumerate at 0x7e5559f3d0>
935
935
  [('a', 'ini'), ('b', 'contoh'), ('c', 'enumerator')]
936
936
  ```
937
937
 
@@ -998,7 +998,7 @@ print(ijoin(10, ' '))
998
998
 
999
999
  Output:
1000
1000
  ```py
1001
- weq, qweqw, asd, dfs
1001
+ weq, asd, qweqw, dfs
1002
1002
  ,ini,path,seperti,url,
1003
1003
  ini,path,seperti,url
1004
1004
  <li>satu</li>
@@ -1043,62 +1043,119 @@ pprint.pprint(iloads_html(iopen("https://harga-emas.org/1-gram/")), depth=10)
1043
1043
  Output:
1044
1044
  ```py
1045
1045
  (['Home', 'Emas 1 Gram', 'History', 'Trend', 'Perak 1 Gram', 'Pluang'],
1046
- [['Harga Emas Hari Ini - Minggu, 05 Mei 2024'],
1047
- ['Spot Emas USD↑2.302,57 (+2,84) / oz',
1048
- 'Kurs IDR16.202,00 / USD',
1049
- 'Emas IDR1.199.423 (+1.479) / gr'],
1050
- ['LM Antam (Jual)1.313.000 / gr', 'LM Antam (Beli)1.206.000 / gr']],
1046
+ [['Harga Emas Hari Ini - Senin, 06 Mei 2024'],
1047
+ ['Spot Emas USD↑2.309,40 (+6,83) / oz',
1048
+ 'Kurs IDR↓16.094,00 (-108,00) / USD',
1049
+ 'Emas IDR1.194.962 (-4.461) / gr'],
1050
+ ['LM Antam (Jual)1.310.000 (-3.000) / gr',
1051
+ 'LM Antam (Beli)↓1.203.000 (-3.000) / gr']],
1051
1052
  [['Harga Emas Hari Ini'],
1052
1053
  ['Gram', 'Gedung Antam Jakarta', 'Pegadaian'],
1053
1054
  ['per Gram (Rp)', 'per Batangan (Rp)', 'per Gram (Rp)', 'per Batangan (Rp)'],
1054
1055
  ['1000',
1055
- '1.254',
1056
- '1.253.600',
1056
+ '1.251 (-3)',
1057
+ '1.250.600 (-3.000)',
1057
1058
  '1.043.040 (+8.200)',
1058
1059
  '1.043.040.000 (+8.200.000)'],
1059
1060
  ['500',
1060
- '2.507',
1061
- '1.253.640',
1061
+ '2.501 (-6)',
1062
+ '1.250.640 (-3.000)',
1062
1063
  '1.043.082 (+8.200)',
1063
1064
  '521.541.000 (+4.100.000)'],
1064
1065
  ['250',
1065
- '5.016',
1066
- '1.254.060',
1066
+ '5.004 (-12)',
1067
+ '1.251.060 (-3.000)',
1067
1068
  '1.043.512 (+8.200)',
1068
1069
  '260.878.000 (+2.050.000)'],
1069
1070
  ['100',
1070
- '12.551',
1071
- '1.255.120',
1071
+ '12.521 (-30)',
1072
+ '1.252.120 (-3.000)',
1072
1073
  '1.044.600 (+8.200)',
1073
1074
  '104.460.000 (+820.000)'],
1074
- ['50', '25.118', '1.255.900', '1.045.400 (+8.200)', '52.270.000 (+410.000)'],
1075
- ['25', '50.299', '1.257.480', '1.047.040 (+8.200)', '26.176.000 (+205.000)'],
1076
- ['10', '126.250', '1.262.500', '1.052.200 (+8.200)', '10.522.000 (+82.000)'],
1077
- ['5', '253.600', '1.268.000', '1.057.800 (+8.200)', '5.289.000 (+41.000)'],
1078
- ['3', '424.889', '1.274.667', '1.064.667 (+8.000)', '3.194.000 (+24.000)'],
1079
- ['2', '641.500', '1.283.000', '1.073.500 (+8.500)', '2.147.000 (+17.000)'],
1080
- ['1', '1.313.000', '1.313.000', '1.104.000 (+8.000)', '1.104.000 (+8.000)'],
1081
- ['0.5', '2.826.000', '1.413.000', '1.208.000 (+8.000)', '604.000 (+4.000)'],
1082
- ['Update harga LM Antam :05 Mei 2024, pukul 06:22Harga pembelian kembali '
1083
- ':Rp. 1.206.000/gram',
1075
+ ['50',
1076
+ '25.058 (-60)',
1077
+ '1.252.900 (-3.000)',
1078
+ '1.045.400 (+8.200)',
1079
+ '52.270.000 (+410.000)'],
1080
+ ['25',
1081
+ '50.179 (-120)',
1082
+ '1.254.480 (-3.000)',
1083
+ '1.047.040 (+8.200)',
1084
+ '26.176.000 (+205.000)'],
1085
+ ['10',
1086
+ '125.950 (-300)',
1087
+ '1.259.500 (-3.000)',
1088
+ '1.052.200 (+8.200)',
1089
+ '10.522.000 (+82.000)'],
1090
+ ['5',
1091
+ '253.000 (-600)',
1092
+ '1.265.000 (-3.000)',
1093
+ '1.057.800 (+8.200)',
1094
+ '5.289.000 (+41.000)'],
1095
+ ['3',
1096
+ '423.889 (-1.000)',
1097
+ '1.271.667 (-3.000)',
1098
+ '1.064.667 (+8.000)',
1099
+ '3.194.000 (+24.000)'],
1100
+ ['2',
1101
+ '640.000 (-1.500)',
1102
+ '1.280.000 (-3.000)',
1103
+ '1.073.500 (+8.500)',
1104
+ '2.147.000 (+17.000)'],
1105
+ ['1',
1106
+ '1.310.000 (-3.000)',
1107
+ '1.310.000 (-3.000)',
1108
+ '1.104.000 (+8.000)',
1109
+ '1.104.000 (+8.000)'],
1110
+ ['0.5',
1111
+ '2.820.000 (-6.000)',
1112
+ '1.410.000 (-3.000)',
1113
+ '1.208.000 (+8.000)',
1114
+ '604.000 (+4.000)'],
1115
+ ['Update harga LM Antam :06 Mei 2024, pukul 08:30Harga pembelian kembali '
1116
+ ':Rp. 1.203.000/gram (-3.000)',
1084
1117
  'Update harga LM Pegadaian :31 Agustus 2023']],
1085
- [['Spot Harga Emas Hari Ini (Market Close)'],
1118
+ [['Spot Harga Emas Hari Ini (Market Open)'],
1086
1119
  ['Satuan', 'USD', 'Kurs\xa0Dollar', 'IDR'],
1087
- ['Ounce\xa0(oz)', '2.302,57 (+2,84)', '16.202,00', '37.306.239'],
1088
- ['Gram\xa0(gr)', '74,03', '16.202,00', '1.199.423 (+1.479)'],
1089
- ['Kilogram\xa0(kg)', '74.029,34', '16.202,00', '1.199.423.441'],
1090
- ['Update harga emas :05 Mei 2024, pukul 22:18Update kurs :05 Mei 2024, pukul '
1091
- '13:10']],
1120
+ ['Ounce\xa0(oz)', '2.309,40 (+6,83)', '16.094,00 (-108,00)', '37.167.484'],
1121
+ ['Gram\xa0(gr)', '74,25', '16.094,00', '1.194.962 (-4.461)'],
1122
+ ['Kilogram\xa0(kg)', '74.248,93', '16.094,00', '1.194.962.347'],
1123
+ ['Update harga emas :06 Mei 2024, pukul 11:44Update kurs :06 Mei 2024, pukul '
1124
+ '09:10']],
1092
1125
  [['Gram', 'UBS Gold 99.99%'],
1093
1126
  ['Jual', 'Beli'],
1094
1127
  ['/ Batang', '/ Gram', '/ Batang', '/ Gram'],
1095
- ['100', '126.000.000', '1.260.000', '123.385.000', '1.233.850'],
1096
- ['50', '62.950.000', '1.259.000', '61.745.000', '1.234.900'],
1097
- ['25', '31.500.000', '1.260.000', '30.975.000', '1.239.000'],
1098
- ['10', '12.650.000', '1.265.000', '12.440.000', '1.244.000'],
1099
- ['5', '6.350.000', '1.270.000', '6.272.000', '1.254.400'],
1100
- ['1', '1.315.000', '1.315.000', '1.287.000', '1.287.000'],
1101
- ['', 'Update :03 Mei 2024, pukul 11:57']],
1128
+ ['100',
1129
+ '125.212.000 (-788.000)',
1130
+ '1.252.120 (-7.880)',
1131
+ '122.685.000 (-700.000)',
1132
+ '1.226.850 (-7.000)'],
1133
+ ['50',
1134
+ '62.645.000 (-305.000)',
1135
+ '1.252.900 (-6.100)',
1136
+ '61.395.000 (-350.000)',
1137
+ '1.227.900 (-7.000)'],
1138
+ ['25',
1139
+ '31.362.000 (-138.000)',
1140
+ '1.254.480 (-5.520)',
1141
+ '30.800.000 (-175.000)',
1142
+ '1.232.000 (-7.000)'],
1143
+ ['10',
1144
+ '12.595.000 (-55.000)',
1145
+ '1.259.500 (-5.500)',
1146
+ '12.370.000 (-70.000)',
1147
+ '1.237.000 (-7.000)'],
1148
+ ['5',
1149
+ '6.325.000 (-25.000)',
1150
+ '1.265.000 (-5.000)',
1151
+ '6.237.000 (-35.000)',
1152
+ '1.247.400 (-7.000)'],
1153
+ ['1',
1154
+ '1.310.000 (-5.000)',
1155
+ '1.310.000 (-5.000)',
1156
+ '1.280.000 (-7.000)',
1157
+ '1.280.000 (-7.000)'],
1158
+ ['', 'Update :06 Mei 2024, pukul 11:07']],
1102
1159
  [['Konversi Satuan'],
1103
1160
  ['Satuan', 'Ounce (oz)', 'Gram (gr)', 'Kilogram (kg)'],
1104
1161
  ['Ounce\xa0(oz)', '1', '31,1034767696', '0,0311034768'],
@@ -1108,37 +1165,37 @@ Output:
1108
1165
  ['Waktu', 'Emas'],
1109
1166
  ['Unit', 'USD', 'IDR'],
1110
1167
  ['Angka', '+/-', 'Angka', '+/-'],
1111
- ['Hari Ini', 'Kurs', '', '', '16.202', '%'],
1112
- ['oz', '2.299,73', '+2,84+0,12%', '37.260.225', '+46.014+0,12%'],
1113
- ['gr', '73,94', '+0,09+0,12%', '1.197.944', '+1.479+0,12%'],
1114
- ['30 Hari', 'Kurs', '', '', '15.907', '+295+1,85%'],
1115
- ['oz', '2.327,69', '-25,12-1,08%', '37.026.565', '+279.674+0,76%'],
1116
- ['gr', '74,84', '-0,81-1,08%', '1.190.432', '+8.992+0,76%'],
1117
- ['2 Bulan', 'Kurs', '', '', '15.756', '+446+2,83%'],
1118
- ['oz', '2.146,97', '+155,60+7,25%', '33.827.659', '+3.478.580+10,28%'],
1119
- ['gr', '69,03', '+5,00+7,25', '1.087.585', '+111.839+10,28%'],
1120
- ['6 Bulan', 'Kurs', '', '', '15.550', '+652+4,19%'],
1121
- ['oz', '1.964,64', '+337,93+17,20%', '30.550.152', '+6.756.087+22,11%'],
1122
- ['gr', '63,16', '+10,86+17,20%', '982.210', '+217.213+22,11%'],
1123
- ['1 Tahun', 'Kurs', '', '', '15.731', '+471+2,99%'],
1124
- ['oz', '1.823,86', '+478,71+26,25%', '28.691.142', '+8.615.097+30,03%'],
1125
- ['gr', '58,64', '+15,39+26,25%', '922.442', '+276.982+30,03%'],
1126
- ['2 Tahun', 'Kurs', '', '', '14.418', '+1.784+12,37%'],
1127
- ['oz', '1.888,48', '+414,09+21,93%', '27.228.105', '+10.078.135+37,01%'],
1128
- ['gr', '60,72', '+13,31+21,93%', '875.404', '+324.020+37,01%'],
1129
- ['3 Tahun', 'Kurs', '', '', '14.439', '+1.763+12,21%'],
1130
- ['oz', '1.815,64', '+486,93+26,82%', '26.216.044', '+11.090.195+42,30%'],
1131
- ['gr', '58,37', '+15,66+26,82%', '842.865', '+356.558+42,30%'],
1132
- ['5 Tahun', 'Kurs', '', '', '14.309', '+1.893+13,23%'],
1133
- ['oz', '1.284,29', '+1.018,28+79,29%', '18.376.906', '+18.929.334+103,01%'],
1134
- ['gr', '41,29', '+32,74+79,29%', '590.831', '+608.592+103,01%']])
1168
+ ['Hari Ini', 'Kurs', '', '', '16.202', '-108-0,67%'],
1169
+ ['oz', '2.302,57', '+6,83+0,30%', '37.306.239', '-138.756-0,37%'],
1170
+ ['gr', '74,03', '+0,22+0,30%', '1.199.423', '-4.461-0,37%'],
1171
+ ['30 Hari', 'Kurs', '', '', '15.907', '+187+1,18%'],
1172
+ ['oz', '2.329,93', '-20,53-0,88%', '37.062.197', '+105.287+0,28%'],
1173
+ ['gr', '74,91', '-0,66-0,88%', '1.191.577', '+3.385+0,28%'],
1174
+ ['2 Bulan', 'Kurs', '', '', '15.723', '+371+2,36%'],
1175
+ ['oz', '2.156,44', '+152,96+7,09%', '33.905.706', '+3.261.777+9,62%'],
1176
+ ['gr', '69,33', '+4,92+7,09', '1.090.094', '+104.869+9,62%'],
1177
+ ['6 Bulan', 'Kurs', '', '', '15.593', '+501+3,21%'],
1178
+ ['oz', '1.954,36', '+355,04+18,17%', '30.474.335', '+6.693.148+21,96%'],
1179
+ ['gr', '62,83', '+11,41+18,17%', '979.773', '+215.190+21,96%'],
1180
+ ['1 Tahun', 'Kurs', '', '', '15.731', '+363+2,31%'],
1181
+ ['oz', '1.823,86', '+485,54+26,62%', '28.691.142', '+8.476.342+29,54%'],
1182
+ ['gr', '58,64', '+15,61+26,62%', '922.442', '+272.521+29,54%'],
1183
+ ['2 Tahun', 'Kurs', '', '', '14.418', '+1.676+11,62%'],
1184
+ ['oz', '1.883,86', '+425,54+22,59%', '27.161.493', '+10.005.990+36,84%'],
1185
+ ['gr', '60,57', '+13,68+22,59%', '873.262', '+321.700+36,84%'],
1186
+ ['3 Tahun', 'Kurs', '', '', '14.364', '+1.730+12,04%'],
1187
+ ['oz', '1.831,48', '+477,92+26,09%', '26.307.379', '+10.860.105+41,28%'],
1188
+ ['gr', '58,88', '+15,37+26,09%', '845.802', '+349.160+41,28%'],
1189
+ ['5 Tahun', 'Kurs', '', '', '14.305', '+1.789+12,51%'],
1190
+ ['oz', '1.280,40', '+1.029,00+80,37%', '18.316.122', '+18.851.362+102,92%'],
1191
+ ['gr', '41,17', '+33,08+80,37%', '588.877', '+606.085+102,92%']])
1135
1192
  (['Home', 'Emas 1 Gram', 'History', 'Trend', 'Perak 1 Gram', 'Pluang'],
1136
1193
  [[''],
1137
1194
  ['Emas 24 KaratHarga Emas 1 Gram', ''],
1138
- ['USD', '74,03↓', '%'],
1139
- ['KURS', '15.968,70↓', '%'],
1140
- ['IDR', '1.182.152,40↓', '%'],
1141
- ['Minggu, 05 Mei 2024 22:18']],
1195
+ ['USD', '74,25↑', '+0,22+0,30%'],
1196
+ ['KURS', '16.019,60↑', '+50,90+0,32%'],
1197
+ ['IDR', '1.189.438,23↑', '+7.285,83+0,62%'],
1198
+ ['Senin, 06 Mei 2024 11:44']],
1142
1199
  [[''],
1143
1200
  ['Emas 1 Gram (IDR)Emas 1 Gram (USD)Kurs USD-IDR',
1144
1201
  'Hari Ini',
@@ -1149,19 +1206,19 @@ Output:
1149
1206
  '']],
1150
1207
  [['Pergerakkan Harga Emas 1 Gram'],
1151
1208
  ['', 'Penutupan Kemarin', 'Pergerakkan Hari Ini', 'Rata-rata'],
1152
- ['USD', '74,03', '74,03 - 74,03', '74,03'],
1153
- ['KURS', '15.968,70', '15.968,70 - 15.968,70', '15.968,70'],
1154
- ['IDR', '1.182.152,40', '1.182.152,40 - 1.182.152,40', '1.182.152,40'],
1209
+ ['USD', '74,03', '74,03 - 74,25', '74,14'],
1210
+ ['KURS', '15.968,70', '15.968,70 - 16.019,60', '15.994,15'],
1211
+ ['IDR', '1.182.152,40', '1.182.152,40 - 1.189.438,23', '1.185.795,32'],
1155
1212
  [''],
1156
1213
  ['', 'Awal Tahun', 'Pergerakkan YTD', '+/- YTD'],
1157
- ['USD', '66,32', '64,07 - 77,14', '+7,71 (11,63%)'],
1158
- ['KURS', '15.390,10', '15.390,00 - 16.307,80', '+578,60 (3,76%)'],
1159
- ['IDR', '1.020.729,53', '997.660,12 - 1.256.829,06', '+161.422,87 (15,81%)'],
1214
+ ['USD', '66,32', '64,07 - 77,14', '+7,93 (11,96%)'],
1215
+ ['KURS', '15.390,10', '15.390,00 - 16.307,80', '+629,50 (4,09%)'],
1216
+ ['IDR', '1.020.729,53', '997.660,12 - 1.256.829,06', '+168.708,70 (16,53%)'],
1160
1217
  [''],
1161
1218
  ['', 'Tahun Lalu / 52 Minggu', 'Pergerakkan 52 Minggu', '+/- 52 Minggu'],
1162
- ['USD', '65,97', '58,43 - 77,14', '+8,06 (12,22%)'],
1163
- ['KURS', '14.716,80', '14.669,40 - 16.307,80', '+1.251,90 (8,51%)'],
1164
- ['IDR', '970.916,33', '912.925,68 - 1.256.829,06', '+211.236,07 (21,76%)']])
1219
+ ['USD', '64,87', '58,43 - 77,14', '+9,38 (14,46%)'],
1220
+ ['KURS', '14.669,40', '14.674,80 - 16.307,80', '+1.350,20 (9,20%)'],
1221
+ ['IDR', '951.626,36', '912.925,68 - 1.256.829,06', '+237.811,87 (24,99%)']])
1165
1222
  ```
1166
1223
 
1167
1224
  ## iloads
@@ -1291,7 +1348,7 @@ Output:
1291
1348
  ```py
1292
1349
  8
1293
1350
  ['mana', 'aja']
1294
- [<Element a at 0x7b05a62b20>, <Element a at 0x7b05aa0fa0>, <Element a at 0x7b05aa1040>, <Element a at 0x7b05aa1090>, <Element a at 0x7b05aa10e0>, <Element a at 0x7b05aa1130>, <Element a at 0x7b05aa1180>, <Element a at 0x7b05aa11d0>, <Element a at 0x7b05aa1220>, <Element a at 0x7b05aa1270>, <Element a at 0x7b05aa12c0>, <Element a at 0x7b05aa1310>, <Element a at 0x7b05aa1360>, <Element a at 0x7b05aa13b0>, <Element a at 0x7b05aa1400>, <Element a at 0x7b05aa1450>, <Element a at 0x7b05aa14a0>, <Element a at 0x7b05aa14f0>]
1351
+ [<Element a at 0x7e55639630>, <Element a at 0x7e55670e60>, <Element a at 0x7e55670f00>, <Element a at 0x7e55670f50>, <Element a at 0x7e55670fa0>, <Element a at 0x7e55670ff0>, <Element a at 0x7e55671040>, <Element a at 0x7e55671090>, <Element a at 0x7e556710e0>, <Element a at 0x7e55671130>, <Element a at 0x7e55671180>, <Element a at 0x7e556711d0>, <Element a at 0x7e55671220>, <Element a at 0x7e55671270>, <Element a at 0x7e556712c0>, <Element a at 0x7e55671310>, <Element a at 0x7e55671360>, <Element a at 0x7e556713b0>]
1295
1352
  False
1296
1353
  ```
1297
1354
 
@@ -1353,7 +1410,7 @@ print(list(iscandir("./", recursive=False, scan_file=False)))
1353
1410
 
1354
1411
  Output:
1355
1412
  ```py
1356
- <generator object iscandir at 0x7b05a58740>
1413
+ <generator object iscandir at 0x7e5562c740>
1357
1414
  [PosixPath('.git'), PosixPath('.vscode'), PosixPath('pypipr'), PosixPath('__pycache__'), PosixPath('dist')]
1358
1415
  ```
1359
1416
 
@@ -1390,76 +1447,76 @@ Output:
1390
1447
  'ComparePerformance': <class 'pypipr.ComparePerformance.ComparePerformance'>,
1391
1448
  'PintUregQuantity': <class 'pint.Quantity'>,
1392
1449
  'RunParallel': <class 'pypipr.RunParallel.RunParallel'>},
1393
- 'function': {'avg': <function avg at 0x7b0db66700>,
1394
- 'get_filemtime': <function get_filemtime at 0x7b0aa0ede0>,
1395
- 'print_colorize': <function print_colorize at 0x7b0aa0efc0>,
1396
- 'print_log': <function print_log at 0x7b0aacab60>,
1397
- 'console_run': <function console_run at 0x7b0aa0ee80>,
1398
- 'auto_reload': <function auto_reload at 0x7b0a9f7ec0>,
1399
- 'basename': <function basename at 0x7b0aa0ed40>,
1400
- 'chr_to_int': <function chr_to_int at 0x7b0aa0f560>,
1401
- 'int_to_chr': <function int_to_chr at 0x7b0aa0f600>,
1402
- 'irange': <function irange at 0x7b0aa0f880>,
1403
- 'batchmaker': <function batchmaker at 0x7b0aa0f240>,
1404
- 'calculate': <function calculate at 0x7b0aa0f380>,
1405
- 'batch_calculate': <function batch_calculate at 0x7b0aa0f100>,
1406
- 'bin_to_int': <function bin_to_int at 0x7b0aa0f1a0>,
1407
- 'is_empty': <function is_empty at 0x7b0a834040>,
1408
- 'exit_if_empty': <function exit_if_empty at 0x7b0aa0fec0>,
1409
- 'input_char': <function input_char at 0x7b0aa0ff60>,
1410
- 'get_by_index': <function get_by_index at 0x7b0a8340e0>,
1411
- 'choices': <function choices at 0x7b0a8342c0>,
1412
- 'chunk_array': <function chunk_array at 0x7b0a834360>,
1413
- 'create_folder': <function create_folder at 0x7b0a834400>,
1414
- 'datetime_from_string': <function datetime_from_string at 0x7b0a8344a0>,
1415
- 'datetime_now': <function datetime_now at 0x7b0a834540>,
1416
- 'dict_first': <function dict_first at 0x7b0a8345e0>,
1417
- 'dirname': <function dirname at 0x7b0a834680>,
1418
- 'is_iterable': <function is_iterable at 0x7b0a834860>,
1419
- 'to_str': <function to_str at 0x7b0a834900>,
1420
- 'filter_empty': <function filter_empty at 0x7b0a834720>,
1421
- 'get_class_method': <function get_class_method at 0x7b0a8347c0>,
1422
- 'get_filesize': <function get_filesize at 0x7b0a834a40>,
1423
- 'github_pull': <function github_pull at 0x7b0a834ae0>,
1424
- 'github_push': <function github_push at 0x7b0a834c20>,
1425
- 'github_user': <function github_user at 0x7b0a834cc0>,
1426
- 'hex_to_int': <function hex_to_int at 0x7b0a834d60>,
1427
- 'iargv': <function iargv at 0x7b0a834e00>,
1428
- 'idumps_html': <function idumps_html at 0x7b0a835080>,
1429
- 'idumps': <function idumps at 0x7b0a834f40>,
1430
- 'int_to_int': <function int_to_int at 0x7b0a90d9e0>,
1431
- 'ienumerate': <function ienumerate at 0x7b0a835580>,
1432
- 'ienv': <function ienv at 0x7b0a90d8a0>,
1433
- 'iexec': <function iexec at 0x7b0a90da80>,
1434
- 'ijoin': <function ijoin at 0x7b0a90dbc0>,
1435
- 'iloads_html': <function iloads_html at 0x7b0a90dda0>,
1436
- 'iloads': <function iloads at 0x7b0a90db20>,
1437
- 'int_to_bin': <function int_to_bin at 0x7b0a90dd00>,
1438
- 'int_to_hex': <function int_to_hex at 0x7b0a90de40>,
1439
- 'int_to_oct': <function int_to_oct at 0x7b0a90dee0>,
1440
- 'is_valid_url': <function is_valid_url at 0x7b0a90e0c0>,
1441
- 'iopen': <function iopen at 0x7b0a726520>,
1442
- 'iprint': <function iprint at 0x7b0a90e020>,
1443
- 'ireplace': <function ireplace at 0x7b0a90e3e0>,
1444
- 'iscandir': <function iscandir at 0x7b0a7ddc60>,
1445
- 'isplit': <function isplit at 0x7b0a7ddd00>,
1446
- 'ivars': <function ivars at 0x7b0a7ddda0>,
1447
- 'log': <function log at 0x7b0a7dde40>,
1448
- 'oct_to_int': <function oct_to_int at 0x7b0a7ddee0>,
1449
- 'password_generator': <function password_generator at 0x7b0a7ddf80>,
1450
- 'pip_freeze_without_version': <function pip_freeze_without_version at 0x7b0a7de0c0>,
1451
- 'poetry_publish': <function poetry_publish at 0x7b0a7de160>,
1452
- 'poetry_update_version': <function poetry_update_version at 0x7b0a7de2a0>,
1453
- 'print_dir': <function print_dir at 0x7b0a7de480>,
1454
- 'print_to_last_line': <function print_to_last_line at 0x7b0a7de520>,
1455
- 'random_bool': <function random_bool at 0x7b0a7de5c0>,
1456
- 'restart': <function restart at 0x7b0a7de660>,
1457
- 'set_timeout': <function set_timeout at 0x7b0a7de700>,
1458
- 'sets_ordered': <function sets_ordered at 0x7b0a7de7a0>,
1459
- 'str_cmp': <function str_cmp at 0x7b0a7de840>,
1460
- 'text_colorize': <function text_colorize at 0x7b0a7de8e0>},
1450
+ 'function': {'avg': <function avg at 0x7e642ae700>,
1451
+ 'get_filemtime': <function get_filemtime at 0x7e5b2cade0>,
1452
+ 'print_colorize': <function print_colorize at 0x7e5b2cafc0>,
1453
+ 'print_log': <function print_log at 0x7e5b38ab60>,
1454
+ 'console_run': <function console_run at 0x7e5b2cae80>,
1455
+ 'auto_reload': <function auto_reload at 0x7e5b2b7ec0>,
1456
+ 'basename': <function basename at 0x7e5b2cad40>,
1457
+ 'chr_to_int': <function chr_to_int at 0x7e5b2cb560>,
1458
+ 'int_to_chr': <function int_to_chr at 0x7e5b2cb600>,
1459
+ 'irange': <function irange at 0x7e5b2cb880>,
1460
+ 'batchmaker': <function batchmaker at 0x7e5b2cb240>,
1461
+ 'calculate': <function calculate at 0x7e5b2cb380>,
1462
+ 'batch_calculate': <function batch_calculate at 0x7e5b2cb100>,
1463
+ 'bin_to_int': <function bin_to_int at 0x7e5b2cb1a0>,
1464
+ 'is_empty': <function is_empty at 0x7e5b0f0040>,
1465
+ 'exit_if_empty': <function exit_if_empty at 0x7e5b2cbec0>,
1466
+ 'input_char': <function input_char at 0x7e5b2cbf60>,
1467
+ 'get_by_index': <function get_by_index at 0x7e5b0f00e0>,
1468
+ 'choices': <function choices at 0x7e5b0f02c0>,
1469
+ 'chunk_array': <function chunk_array at 0x7e5b0f0360>,
1470
+ 'create_folder': <function create_folder at 0x7e5b0f0400>,
1471
+ 'datetime_from_string': <function datetime_from_string at 0x7e5b0f04a0>,
1472
+ 'datetime_now': <function datetime_now at 0x7e5b0f0540>,
1473
+ 'dict_first': <function dict_first at 0x7e5b0f05e0>,
1474
+ 'dirname': <function dirname at 0x7e5b0f0680>,
1475
+ 'is_iterable': <function is_iterable at 0x7e5b0f0860>,
1476
+ 'to_str': <function to_str at 0x7e5b0f0900>,
1477
+ 'filter_empty': <function filter_empty at 0x7e5b0f0720>,
1478
+ 'get_class_method': <function get_class_method at 0x7e5b0f07c0>,
1479
+ 'get_filesize': <function get_filesize at 0x7e5b0f0a40>,
1480
+ 'github_pull': <function github_pull at 0x7e5b0f0ae0>,
1481
+ 'github_push': <function github_push at 0x7e5b0f0c20>,
1482
+ 'github_user': <function github_user at 0x7e5b0f0cc0>,
1483
+ 'hex_to_int': <function hex_to_int at 0x7e5b0f0d60>,
1484
+ 'iargv': <function iargv at 0x7e5b0f0e00>,
1485
+ 'idumps_html': <function idumps_html at 0x7e5b0f1080>,
1486
+ 'idumps': <function idumps at 0x7e5b0f0f40>,
1487
+ 'int_to_int': <function int_to_int at 0x7e5b1cd9e0>,
1488
+ 'ienumerate': <function ienumerate at 0x7e5b0f1580>,
1489
+ 'ienv': <function ienv at 0x7e5b1cd8a0>,
1490
+ 'iexec': <function iexec at 0x7e5b1cda80>,
1491
+ 'ijoin': <function ijoin at 0x7e5b1cdbc0>,
1492
+ 'iloads_html': <function iloads_html at 0x7e5b1cdda0>,
1493
+ 'iloads': <function iloads at 0x7e5b1cdb20>,
1494
+ 'int_to_bin': <function int_to_bin at 0x7e5b1cdd00>,
1495
+ 'int_to_hex': <function int_to_hex at 0x7e5b1cde40>,
1496
+ 'int_to_oct': <function int_to_oct at 0x7e5b1cdee0>,
1497
+ 'is_valid_url': <function is_valid_url at 0x7e5b1ce0c0>,
1498
+ 'iopen': <function iopen at 0x7e5afda520>,
1499
+ 'iprint': <function iprint at 0x7e5b1ce020>,
1500
+ 'ireplace': <function ireplace at 0x7e5b1ce3e0>,
1501
+ 'iscandir': <function iscandir at 0x7e5b091c60>,
1502
+ 'isplit': <function isplit at 0x7e5b091d00>,
1503
+ 'ivars': <function ivars at 0x7e5b091da0>,
1504
+ 'log': <function log at 0x7e5b091e40>,
1505
+ 'oct_to_int': <function oct_to_int at 0x7e5b091ee0>,
1506
+ 'password_generator': <function password_generator at 0x7e5b091f80>,
1507
+ 'pip_freeze_without_version': <function pip_freeze_without_version at 0x7e5b0920c0>,
1508
+ 'poetry_publish': <function poetry_publish at 0x7e5b092160>,
1509
+ 'poetry_update_version': <function poetry_update_version at 0x7e5b0922a0>,
1510
+ 'print_dir': <function print_dir at 0x7e5b092480>,
1511
+ 'print_to_last_line': <function print_to_last_line at 0x7e5b092520>,
1512
+ 'random_bool': <function random_bool at 0x7e5b0925c0>,
1513
+ 'restart': <function restart at 0x7e5b092660>,
1514
+ 'set_timeout': <function set_timeout at 0x7e5b092700>,
1515
+ 'sets_ordered': <function sets_ordered at 0x7e5b0927a0>,
1516
+ 'str_cmp': <function str_cmp at 0x7e5b092840>,
1517
+ 'text_colorize': <function text_colorize at 0x7e5b0928e0>},
1461
1518
  'variable': {'LINUX': True,
1462
- 'PintUreg': <pint.registry.UnitRegistry object at 0x7b0db68950>,
1519
+ 'PintUreg': <pint.registry.UnitRegistry object at 0x7e642b46d0>,
1463
1520
  'WINDOWS': False},
1464
1521
  'module': {'asyncio': <module 'asyncio' from '/data/data/com.termux/files/usr/lib/python3.11/asyncio/__init__.py'>,
1465
1522
  'colorama': <module 'colorama' from '/data/data/com.termux/files/usr/lib/python3.11/site-packages/colorama/__init__.py'>,
@@ -1549,7 +1606,7 @@ print(password_generator())
1549
1606
 
1550
1607
  Output:
1551
1608
  ```py
1552
- kT~|*@9(
1609
+ A{rjo=Qb
1553
1610
  ```
1554
1611
 
1555
1612
  ## pip_freeze_without_version
@@ -1607,7 +1664,7 @@ Output:
1607
1664
  __enter__ : https:/www.google.com
1608
1665
  __fspath__ : https:/www.google.com
1609
1666
  __getstate__ : (None, {'_drv': '', '_root': '', '_parts': ['https:', 'www.google.com'], '_str': 'https:/www.google.com'})
1610
- __hash__ : 4371941438919300075
1667
+ __hash__ : 870142534568176700
1611
1668
  __init__ : None
1612
1669
  __init_subclass__ : None
1613
1670
  __module__ : pathlib
@@ -1620,8 +1677,8 @@ Output:
1620
1677
  _cached_cparts : ['https:', 'www.google.com']
1621
1678
  _cparts : ['https:', 'www.google.com']
1622
1679
  _drv :
1623
- _flavour : <pathlib._PosixFlavour object at 0x7b14328d10>
1624
- _hash : 4371941438919300075
1680
+ _flavour : <pathlib._PosixFlavour object at 0x7e6eb28ad0>
1681
+ _hash : 870142534568176700
1625
1682
  _parts : ['https:', 'www.google.com']
1626
1683
  _root :
1627
1684
  _str : https:/www.google.com
@@ -1643,7 +1700,7 @@ Output:
1643
1700
  is_reserved : False
1644
1701
  is_socket : False
1645
1702
  is_symlink : False
1646
- iterdir : <generator object Path.iterdir at 0x7b05a4a960>
1703
+ iterdir : <generator object Path.iterdir at 0x7e5561a960>
1647
1704
  joinpath : https:/www.google.com
1648
1705
  name : www.google.com
1649
1706
  parent : https:
@@ -1683,7 +1740,7 @@ print(random_bool())
1683
1740
 
1684
1741
  Output:
1685
1742
  ```py
1686
- True
1743
+ False
1687
1744
  ```
1688
1745
 
1689
1746
  ## restart
@@ -1717,7 +1774,7 @@ x.cancel()
1717
1774
 
1718
1775
  Output:
1719
1776
  ```py
1720
- <Timer(Thread-2, started 528345971952)>
1777
+ <Timer(Thread-2, started 542568856816)>
1721
1778
  menghentikan timeout 7
1722
1779
  ```
1723
1780
 
@@ -1735,7 +1792,7 @@ print(list(sets_ordered(array)))
1735
1792
 
1736
1793
  Output:
1737
1794
  ```py
1738
- <generator object sets_ordered at 0x7b05a7cfb0>
1795
+ <generator object sets_ordered at 0x7e5564c930>
1739
1796
  [2, 3, 12, 42, 1, 43, 41, 4, 24, 32]
1740
1797
  ```
1741
1798
 
@@ -1790,8 +1847,9 @@ perlu trigger untuk memanggil method get().
1790
1847
 
1791
1848
 
1792
1849
  ```py
1793
- class ExampleAPIView(APIMixinView, View):
1794
- pass
1850
+ class ExampleTodoAddView(APIMixinView, View):
1851
+ def process_data(self, *args, **kwargs):
1852
+ return TodoModel.objects.create(**self.APIDict)
1795
1853
  ```
1796
1854
 
1797
1855
  ## ComparePerformance
@@ -1829,15 +1887,15 @@ print(ExampleComparePerformance().compare_performance())
1829
1887
 
1830
1888
  Output:
1831
1889
  ```py
1832
- {'a': <generator object ExampleComparePerformance.a.<locals>.<genexpr> at 0x7b05a7cad0>,
1890
+ {'a': <generator object ExampleComparePerformance.a.<locals>.<genexpr> at 0x7e5564cad0>,
1833
1891
  'b': (0, 1, 2, 3, 4, 5, 6, 7, 8, 9),
1834
1892
  'c': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
1835
1893
  'd': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]}
1836
- {'a': 165, 'b': 138, 'c': 100, 'd': 164}
1837
- {'a': 148, 'b': 141, 'c': 100, 'd': 124}
1838
- {'a': 105, 'b': 517, 'c': 100, 'd': 107}
1839
- {'a': 134, 'b': 132, 'c': 100, 'd': 131}
1840
- {'a': 134, 'b': 133, 'c': 100, 'd': 130}
1894
+ {'a': 115, 'b': 143, 'c': 100, 'd': 181}
1895
+ {'a': 126, 'b': 130, 'c': 100, 'd': 200}
1896
+ {'a': 112, 'b': 124, 'c': 100, 'd': 160}
1897
+ {'a': 111, 'b': 126, 'c': 100, 'd': 151}
1898
+ {'a': 118, 'b': 127, 'c': 100, 'd': 159}
1841
1899
  ```
1842
1900
 
1843
1901
  ## PintUregQuantity