pypipr 1.0.156__tar.gz → 1.0.157__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 (93) hide show
  1. {pypipr-1.0.156 → pypipr-1.0.157}/PKG-INFO +183 -183
  2. pypipr-1.0.157/pypipr/is_html.py +9 -0
  3. {pypipr-1.0.156 → pypipr-1.0.157}/pyproject.toml +1 -1
  4. {pypipr-1.0.156 → pypipr-1.0.157}/readme.md +182 -182
  5. pypipr-1.0.156/pypipr/is_html.py +0 -7
  6. {pypipr-1.0.156 → pypipr-1.0.157}/pypipr/ComparePerformance.py +0 -0
  7. {pypipr-1.0.156 → pypipr-1.0.157}/pypipr/LINUX.py +0 -0
  8. {pypipr-1.0.156 → pypipr-1.0.157}/pypipr/PintUreg.py +0 -0
  9. {pypipr-1.0.156 → pypipr-1.0.157}/pypipr/PintUregQuantity.py +0 -0
  10. {pypipr-1.0.156 → pypipr-1.0.157}/pypipr/RunParallel.py +0 -0
  11. {pypipr-1.0.156 → pypipr-1.0.157}/pypipr/TextCase.py +0 -0
  12. {pypipr-1.0.156 → pypipr-1.0.157}/pypipr/WINDOWS.py +0 -0
  13. {pypipr-1.0.156 → pypipr-1.0.157}/pypipr/__init__.py +0 -0
  14. {pypipr-1.0.156 → pypipr-1.0.157}/pypipr/__terminal__.py +0 -0
  15. {pypipr-1.0.156 → pypipr-1.0.157}/pypipr/auto_reload.py +0 -0
  16. {pypipr-1.0.156 → pypipr-1.0.157}/pypipr/avg.py +0 -0
  17. {pypipr-1.0.156 → pypipr-1.0.157}/pypipr/basename.py +0 -0
  18. {pypipr-1.0.156 → pypipr-1.0.157}/pypipr/batch_calculate.py +0 -0
  19. {pypipr-1.0.156 → pypipr-1.0.157}/pypipr/batchmaker.py +0 -0
  20. {pypipr-1.0.156 → pypipr-1.0.157}/pypipr/bin_to_int.py +0 -0
  21. {pypipr-1.0.156 → pypipr-1.0.157}/pypipr/calculate.py +0 -0
  22. {pypipr-1.0.156 → pypipr-1.0.157}/pypipr/choices.py +0 -0
  23. {pypipr-1.0.156 → pypipr-1.0.157}/pypipr/chr_to_int.py +0 -0
  24. {pypipr-1.0.156 → pypipr-1.0.157}/pypipr/chunk_array.py +0 -0
  25. {pypipr-1.0.156 → pypipr-1.0.157}/pypipr/console_run.py +0 -0
  26. {pypipr-1.0.156 → pypipr-1.0.157}/pypipr/create_folder.py +0 -0
  27. {pypipr-1.0.156 → pypipr-1.0.157}/pypipr/datetime_from_string.py +0 -0
  28. {pypipr-1.0.156 → pypipr-1.0.157}/pypipr/datetime_now.py +0 -0
  29. {pypipr-1.0.156 → pypipr-1.0.157}/pypipr/dict_first.py +0 -0
  30. {pypipr-1.0.156 → pypipr-1.0.157}/pypipr/dirname.py +0 -0
  31. {pypipr-1.0.156 → pypipr-1.0.157}/pypipr/django_runserver.py +0 -0
  32. {pypipr-1.0.156 → pypipr-1.0.157}/pypipr/exit_if_empty.py +0 -0
  33. {pypipr-1.0.156 → pypipr-1.0.157}/pypipr/filter_empty.py +0 -0
  34. {pypipr-1.0.156 → pypipr-1.0.157}/pypipr/get_by_index.py +0 -0
  35. {pypipr-1.0.156 → pypipr-1.0.157}/pypipr/get_class_method.py +0 -0
  36. {pypipr-1.0.156 → pypipr-1.0.157}/pypipr/get_filemtime.py +0 -0
  37. {pypipr-1.0.156 → pypipr-1.0.157}/pypipr/get_filesize.py +0 -0
  38. {pypipr-1.0.156 → pypipr-1.0.157}/pypipr/github_init.py +0 -0
  39. {pypipr-1.0.156 → pypipr-1.0.157}/pypipr/github_pull.py +0 -0
  40. {pypipr-1.0.156 → pypipr-1.0.157}/pypipr/github_push.py +0 -0
  41. {pypipr-1.0.156 → pypipr-1.0.157}/pypipr/github_user.py +0 -0
  42. {pypipr-1.0.156 → pypipr-1.0.157}/pypipr/hex_to_int.py +0 -0
  43. {pypipr-1.0.156 → pypipr-1.0.157}/pypipr/iargv.py +0 -0
  44. {pypipr-1.0.156 → pypipr-1.0.157}/pypipr/idir.py +0 -0
  45. {pypipr-1.0.156 → pypipr-1.0.157}/pypipr/idumps.py +0 -0
  46. {pypipr-1.0.156 → pypipr-1.0.157}/pypipr/idumps_html.py +0 -0
  47. {pypipr-1.0.156 → pypipr-1.0.157}/pypipr/ienumerate.py +0 -0
  48. {pypipr-1.0.156 → pypipr-1.0.157}/pypipr/ienv.py +0 -0
  49. {pypipr-1.0.156 → pypipr-1.0.157}/pypipr/iexec.py +0 -0
  50. {pypipr-1.0.156 → pypipr-1.0.157}/pypipr/ijoin.py +0 -0
  51. {pypipr-1.0.156 → pypipr-1.0.157}/pypipr/iloads.py +0 -0
  52. {pypipr-1.0.156 → pypipr-1.0.157}/pypipr/iloads_html.py +0 -0
  53. {pypipr-1.0.156 → pypipr-1.0.157}/pypipr/input_char.py +0 -0
  54. {pypipr-1.0.156 → pypipr-1.0.157}/pypipr/int_to_bin.py +0 -0
  55. {pypipr-1.0.156 → pypipr-1.0.157}/pypipr/int_to_chr.py +0 -0
  56. {pypipr-1.0.156 → pypipr-1.0.157}/pypipr/int_to_hex.py +0 -0
  57. {pypipr-1.0.156 → pypipr-1.0.157}/pypipr/int_to_int.py +0 -0
  58. {pypipr-1.0.156 → pypipr-1.0.157}/pypipr/int_to_oct.py +0 -0
  59. {pypipr-1.0.156 → pypipr-1.0.157}/pypipr/iopen.py +0 -0
  60. {pypipr-1.0.156 → pypipr-1.0.157}/pypipr/iprint.py +0 -0
  61. {pypipr-1.0.156 → pypipr-1.0.157}/pypipr/irange.py +0 -0
  62. {pypipr-1.0.156 → pypipr-1.0.157}/pypipr/ireplace.py +0 -0
  63. {pypipr-1.0.156 → pypipr-1.0.157}/pypipr/is_empty.py +0 -0
  64. {pypipr-1.0.156 → pypipr-1.0.157}/pypipr/is_iterable.py +0 -0
  65. {pypipr-1.0.156 → pypipr-1.0.157}/pypipr/is_raw_string.py +0 -0
  66. {pypipr-1.0.156 → pypipr-1.0.157}/pypipr/is_valid_url.py +0 -0
  67. {pypipr-1.0.156 → pypipr-1.0.157}/pypipr/iscandir.py +0 -0
  68. {pypipr-1.0.156 → pypipr-1.0.157}/pypipr/isplit.py +0 -0
  69. {pypipr-1.0.156 → pypipr-1.0.157}/pypipr/ivars.py +0 -0
  70. {pypipr-1.0.156 → pypipr-1.0.157}/pypipr/log.py +0 -0
  71. {pypipr-1.0.156 → pypipr-1.0.157}/pypipr/oct_to_int.py +0 -0
  72. {pypipr-1.0.156 → pypipr-1.0.157}/pypipr/password_generator.py +0 -0
  73. {pypipr-1.0.156 → pypipr-1.0.157}/pypipr/pip_freeze_without_version.py +0 -0
  74. {pypipr-1.0.156 → pypipr-1.0.157}/pypipr/pip_update_pypipr.py +0 -0
  75. {pypipr-1.0.156 → pypipr-1.0.157}/pypipr/poetry_publish.py +0 -0
  76. {pypipr-1.0.156 → pypipr-1.0.157}/pypipr/poetry_update_version.py +0 -0
  77. {pypipr-1.0.156 → pypipr-1.0.157}/pypipr/print_colorize.py +0 -0
  78. {pypipr-1.0.156 → pypipr-1.0.157}/pypipr/print_dir.py +0 -0
  79. {pypipr-1.0.156 → pypipr-1.0.157}/pypipr/print_log.py +0 -0
  80. {pypipr-1.0.156 → pypipr-1.0.157}/pypipr/print_to_last_line.py +0 -0
  81. {pypipr-1.0.156 → pypipr-1.0.157}/pypipr/random_bool.py +0 -0
  82. {pypipr-1.0.156 → pypipr-1.0.157}/pypipr/repath.py +0 -0
  83. {pypipr-1.0.156 → pypipr-1.0.157}/pypipr/restart.py +0 -0
  84. {pypipr-1.0.156 → pypipr-1.0.157}/pypipr/set_timeout.py +0 -0
  85. {pypipr-1.0.156 → pypipr-1.0.157}/pypipr/sets_ordered.py +0 -0
  86. {pypipr-1.0.156 → pypipr-1.0.157}/pypipr/sqlite_delete_table.py +0 -0
  87. {pypipr-1.0.156 → pypipr-1.0.157}/pypipr/sqlite_get_all_tables.py +0 -0
  88. {pypipr-1.0.156 → pypipr-1.0.157}/pypipr/sqlite_get_data_table.py +0 -0
  89. {pypipr-1.0.156 → pypipr-1.0.157}/pypipr/str_cmp.py +0 -0
  90. {pypipr-1.0.156 → pypipr-1.0.157}/pypipr/text_colorize.py +0 -0
  91. {pypipr-1.0.156 → pypipr-1.0.157}/pypipr/to_str.py +0 -0
  92. {pypipr-1.0.156 → pypipr-1.0.157}/pypipr/traceback_filename.py +0 -0
  93. {pypipr-1.0.156 → pypipr-1.0.157}/pypipr/traceback_framename.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pypipr
3
- Version: 1.0.156
3
+ Version: 1.0.157
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 0x727baee9b0>
252
- <generator object int_range at 0x727baee9b0>
251
+ <generator object int_range at 0x7606e328a0>
252
+ <generator object int_range at 0x7606e328a0>
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 0x727ba5ae60>
284
+ <generator object batchmaker at 0x7606d92e60>
285
285
  ['Urutan 1 dan 10 dan j dan Z saja.', 'Urutan 1 dan 10 dan j dan K saja.', 'Urutan 1 dan 10 dan j dan saja.', 'Urutan 1 dan 10 dan k dan Z saja.', 'Urutan 1 dan 10 dan k dan K saja.', 'Urutan 1 dan 10 dan k dan saja.', 'Urutan 1 dan 9 dan j dan Z saja.', 'Urutan 1 dan 9 dan j dan K saja.', 'Urutan 1 dan 9 dan j dan saja.', 'Urutan 1 dan 9 dan k dan Z saja.', 'Urutan 1 dan 9 dan k dan K saja.', 'Urutan 1 dan 9 dan k dan saja.', 'Urutan 4 dan 10 dan j dan Z saja.', 'Urutan 4 dan 10 dan j dan K saja.', 'Urutan 4 dan 10 dan j dan saja.', 'Urutan 4 dan 10 dan k dan Z saja.', 'Urutan 4 dan 10 dan k dan K saja.', 'Urutan 4 dan 10 dan k dan saja.', 'Urutan 4 dan 9 dan j dan Z saja.', 'Urutan 4 dan 9 dan j dan K saja.', 'Urutan 4 dan 9 dan j dan saja.', 'Urutan 4 dan 9 dan k dan Z saja.', 'Urutan 4 dan 9 dan k dan K saja.', 'Urutan 4 dan 9 dan k dan saja.', 'Urutan 7 dan 10 dan j dan Z saja.', 'Urutan 7 dan 10 dan j dan K saja.', 'Urutan 7 dan 10 dan j dan saja.', 'Urutan 7 dan 10 dan k dan Z saja.', 'Urutan 7 dan 10 dan k dan K saja.', 'Urutan 7 dan 10 dan k dan saja.', 'Urutan 7 dan 9 dan j dan Z saja.', 'Urutan 7 dan 9 dan j dan K saja.', 'Urutan 7 dan 9 dan j dan saja.', 'Urutan 7 dan 9 dan k dan Z saja.', 'Urutan 7 dan 9 dan k dan K saja.', 'Urutan 7 dan 9 dan k dan 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 0x7279418a90>
338
+ <generator object batch_calculate at 0x7606b38a90>
339
339
  [('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')>)]
340
340
  ```
341
341
 
@@ -441,7 +441,7 @@ print(list(chunk_array(arr, 5)))
441
441
 
442
442
  Output:
443
443
  ```py
444
- <generator object chunk_array at 0x727bb02840>
444
+ <generator object chunk_array at 0x7606e3a840>
445
445
  [[2, 3, 12, 3, 3], [42, 42, 1, 43, 2], [42, 41, 4, 24, 32], [42, 3, 12, 32, 42], [42]]
446
446
  ```
447
447
 
@@ -492,9 +492,9 @@ print(datetime_now("Etc/GMT+7"))
492
492
 
493
493
  Output:
494
494
  ```py
495
- 2024-09-29 19:25:15.259893+07:00
496
- 2024-09-29 12:25:15.262406+00:00
497
- 2024-09-29 05:25:15.270780-07:00
495
+ 2024-10-06 19:16:42.335120+07:00
496
+ 2024-10-06 12:16:42.336581+00:00
497
+ 2024-10-06 05:16:42.340234-07:00
498
498
  ```
499
499
 
500
500
  ## dict_first
@@ -604,7 +604,7 @@ iprint(filter_empty(var))
604
604
 
605
605
  Output:
606
606
  ```py
607
- <generator object filter_empty at 0x72794187c0>
607
+ <generator object filter_empty at 0x7606b387c0>
608
608
  [1, '0', True, {}, ['eee']]
609
609
  ```
610
610
 
@@ -651,8 +651,8 @@ print(list(get_class_method(ExampleGetClassMethod)))
651
651
 
652
652
  Output:
653
653
  ```py
654
- <generator object get_class_method at 0x7279418d60>
655
- [<function ExampleGetClassMethod.a at 0x7279436e80>, <function ExampleGetClassMethod.b at 0x7279436de0>, <function ExampleGetClassMethod.c at 0x7279436fc0>, <function ExampleGetClassMethod.d at 0x7279437060>]
654
+ <generator object get_class_method at 0x7606b38d60>
655
+ [<function ExampleGetClassMethod.a at 0x7606b5ae80>, <function ExampleGetClassMethod.b at 0x7606b5ade0>, <function ExampleGetClassMethod.c at 0x7606b5afc0>, <function ExampleGetClassMethod.d at 0x7606b5b060>]
656
656
  ```
657
657
 
658
658
  ## get_filesize
@@ -1074,7 +1074,7 @@ Output:
1074
1074
 
1075
1075
  ## ienumerate
1076
1076
 
1077
- `ienumerate(iterator, start=0, key=<function int_to_int at 0x72832fae80>)`
1077
+ `ienumerate(iterator, start=0, key=<function int_to_int at 0x760aa52e80>)`
1078
1078
 
1079
1079
  meningkatkan fungsi enumerate() pada python
1080
1080
  untuk key menggunakan huruf dan basis angka lainnya.
@@ -1087,7 +1087,7 @@ iprint(ienumerate(it, key=int_to_chr))
1087
1087
 
1088
1088
  Output:
1089
1089
  ```py
1090
- <generator object ienumerate at 0x7279418e50>
1090
+ <generator object ienumerate at 0x7606b38e50>
1091
1091
  [('a', 'ini'), ('b', 'contoh'), ('c', 'enumerator')]
1092
1092
  ```
1093
1093
 
@@ -1154,7 +1154,7 @@ print(ijoin(10, ' '))
1154
1154
 
1155
1155
  Output:
1156
1156
  ```py
1157
- qweqw, dfs, asd, weq
1157
+ asd, weq, dfs, qweqw
1158
1158
  ,ini,path,seperti,url,
1159
1159
  ini,path,seperti,url
1160
1160
  <li>satu</li>
@@ -1199,62 +1199,62 @@ pprint.pprint(iloads_html(iopen("https://harga-emas.org/1-gram/")), depth=10)
1199
1199
  Output:
1200
1200
  ```py
1201
1201
  (['Home', 'Emas 1 Gram', 'History', 'Trend', 'Perak 1 Gram', 'Pluang'],
1202
- [['Harga Emas Hari Ini - Minggu, 29 September 2024'],
1203
- ['Spot Emas USD↑2.658,34 (+5,84) / oz',
1204
- 'Kurs IDR15.171,00 / USD',
1205
- 'Emas IDR↑1.296.629 (+2.849) / gr'],
1206
- ['LM Antam (Jual)1.461.000 / gr', 'LM Antam (Beli)1.301.000 / gr']],
1202
+ [['Harga Emas Hari Ini - Minggu, 06 Oktober 2024'],
1203
+ ['Spot Emas USD↑2.653,25 (+7,71) / oz',
1204
+ 'Kurs IDR15.394,00 / USD',
1205
+ 'Emas IDR↑1.313.169 (+3.816) / gr'],
1206
+ ['LM Antam (Jual)1.482.000 / gr', 'LM Antam (Beli)1.319.000 / gr']],
1207
1207
  [['Harga Emas Hari Ini'],
1208
1208
  ['Gram', 'Gedung Antam Jakarta', 'Pegadaian'],
1209
1209
  ['per Gram (Rp)', 'per Batangan (Rp)', 'per Gram (Rp)', 'per Batangan (Rp)'],
1210
1210
  ['1000',
1211
- '1.402',
1212
- '1.401.600',
1211
+ '1.423',
1212
+ '1.422.600',
1213
1213
  '1.043.040 (+8.200)',
1214
1214
  '1.043.040.000 (+8.200.000)'],
1215
1215
  ['500',
1216
- '2.803',
1217
- '1.401.640',
1216
+ '2.845',
1217
+ '1.422.640',
1218
1218
  '1.043.082 (+8.200)',
1219
1219
  '521.541.000 (+4.100.000)'],
1220
1220
  ['250',
1221
- '5.608',
1222
- '1.402.060',
1221
+ '5.692',
1222
+ '1.423.060',
1223
1223
  '1.043.512 (+8.200)',
1224
1224
  '260.878.000 (+2.050.000)'],
1225
1225
  ['100',
1226
- '14.031',
1227
- '1.403.120',
1226
+ '14.241',
1227
+ '1.424.120',
1228
1228
  '1.044.600 (+8.200)',
1229
1229
  '104.460.000 (+820.000)'],
1230
- ['50', '28.078', '1.403.900', '1.045.400 (+8.200)', '52.270.000 (+410.000)'],
1231
- ['25', '56.219', '1.405.480', '1.047.040 (+8.200)', '26.176.000 (+205.000)'],
1232
- ['10', '141.050', '1.410.500', '1.052.200 (+8.200)', '10.522.000 (+82.000)'],
1233
- ['5', '283.200', '1.416.000', '1.057.800 (+8.200)', '5.289.000 (+41.000)'],
1234
- ['3', '474.222', '1.422.667', '1.064.667 (+8.000)', '3.194.000 (+24.000)'],
1235
- ['2', '715.500', '1.431.000', '1.073.500 (+8.500)', '2.147.000 (+17.000)'],
1236
- ['1', '1.461.000', '1.461.000', '1.104.000 (+8.000)', '1.104.000 (+8.000)'],
1237
- ['0.5', '3.122.000', '1.561.000', '1.208.000 (+8.000)', '604.000 (+4.000)'],
1238
- ['Update harga LM Antam :29 September 2024, pukul 07:14Harga pembelian '
1239
- 'kembali :Rp. 1.301.000/gram',
1230
+ ['50', '28.498', '1.424.900', '1.045.400 (+8.200)', '52.270.000 (+410.000)'],
1231
+ ['25', '57.059', '1.426.480', '1.047.040 (+8.200)', '26.176.000 (+205.000)'],
1232
+ ['10', '143.150', '1.431.500', '1.052.200 (+8.200)', '10.522.000 (+82.000)'],
1233
+ ['5', '287.400', '1.437.000', '1.057.800 (+8.200)', '5.289.000 (+41.000)'],
1234
+ ['3', '481.222', '1.443.667', '1.064.667 (+8.000)', '3.194.000 (+24.000)'],
1235
+ ['2', '726.000', '1.452.000', '1.073.500 (+8.500)', '2.147.000 (+17.000)'],
1236
+ ['1', '1.482.000', '1.482.000', '1.104.000 (+8.000)', '1.104.000 (+8.000)'],
1237
+ ['0.5', '3.164.000', '1.582.000', '1.208.000 (+8.000)', '604.000 (+4.000)'],
1238
+ ['Update harga LM Antam :06 Oktober 2024, pukul 05:34Harga pembelian kembali '
1239
+ ':Rp. 1.319.000/gram',
1240
1240
  'Update harga LM Pegadaian :31 Agustus 2023']],
1241
1241
  [['Spot Harga Emas Hari Ini (Market Close)'],
1242
1242
  ['Satuan', 'USD', 'Kurs\xa0Dollar', 'IDR'],
1243
- ['Ounce\xa0(oz)', '2.658,34 (+5,84)', '15.171,00', '40.329.676'],
1244
- ['Gram\xa0(gr)', '85,47', '15.171,00', '1.296.629 (+2.849)'],
1245
- ['Kilogram\xa0(kg)', '85.467,62', '15.171,00', '1.296.629.198'],
1246
- ['Update harga emas :29 September 2024, pukul 19:24Update kurs :29 September '
1243
+ ['Ounce\xa0(oz)', '2.653,25 (+7,71)', '15.394,00', '40.844.131'],
1244
+ ['Gram\xa0(gr)', '85,30', '15.394,00', '1.313.169 (+3.816)'],
1245
+ ['Kilogram\xa0(kg)', '85.303,97', '15.394,00', '1.313.169.290'],
1246
+ ['Update harga emas :06 Oktober 2024, pukul 19:16Update kurs :06 Oktober '
1247
1247
  '2024, pukul 13:10']],
1248
1248
  [['Gram', 'UBS Gold 99.99%'],
1249
1249
  ['Jual', 'Beli'],
1250
1250
  ['/ Batang', '/ Gram', '/ Batang', '/ Gram'],
1251
- ['100', '139.900.000', '1.399.000', '132.707.000', '1.327.070'],
1252
- ['50', '70.100.000', '1.402.000', '66.401.500', '1.328.030'],
1253
- ['25', '35.100.000', '1.404.000', '33.300.800', '1.332.032'],
1254
- ['10', '14.100.000', '1.410.000', '13.399.000', '1.339.900'],
1255
- ['5', '7.070.000', '1.414.000', '6.754.500', '1.350.900'],
1256
- ['1', '1.460.000', '1.460.000', '1.382.100', '1.382.100'],
1257
- ['', 'Update :27 September 2024, pukul 11:45']],
1251
+ ['100', '142.490.000', '1.424.900', '135.370.000', '1.353.700'],
1252
+ ['50', '71.305.000', '1.426.100', '67.735.000', '1.354.700'],
1253
+ ['25', '35.712.500', '1.428.500', '33.967.500', '1.358.700'],
1254
+ ['10', '14.350.000', '1.435.000', '13.653.000', '1.365.300'],
1255
+ ['5', '7.214.000', '1.442.800', '6.881.500', '1.376.300'],
1256
+ ['1', '1.482.000', '1.482.000', '1.407.500', '1.407.500'],
1257
+ ['', 'Update :04 Oktober 2024, pukul 11:55']],
1258
1258
  [['Konversi Satuan'],
1259
1259
  ['Satuan', 'Ounce (oz)', 'Gram (gr)', 'Kilogram (kg)'],
1260
1260
  ['Ounce\xa0(oz)', '1', '31,1034767696', '0,0311034768'],
@@ -1264,37 +1264,37 @@ Output:
1264
1264
  ['Waktu', 'Emas'],
1265
1265
  ['Unit', 'USD', 'IDR'],
1266
1266
  ['Angka', '+/-', 'Angka', '+/-'],
1267
- ['Hari Ini', 'Kurs', '', '', '15.171', '%'],
1268
- ['oz', '2.652,50', '+5,84+0,22%', '40.241.078', '+88.599+0,22%'],
1269
- ['gr', '85,28', '+0,19+0,22%', '1.293.781', '+2.849+0,22%'],
1270
- ['30 Hari', 'Kurs', '', '', '15.409', '-238-1,54%'],
1271
- ['oz', '2.497,99', '+160,35+6,42%', '38.491.528', '+1.838.148+4,78%'],
1272
- ['gr', '80,31', '+5,16+6,42%', '1.237.531', '+59.098+4,78%'],
1273
- ['2 Bulan', 'Kurs', '', '', '16.320', '-1.149-7,04%'],
1274
- ['oz', '2.426,29', '+232,05+9,56%', '39.597.053', '+732.623+1,85%'],
1275
- ['gr', '78,01', '+7,46+9,56', '1.273.075', '+23.554+1,85%'],
1276
- ['6 Bulan', 'Kurs', '', '', '15.909', '-738-4,64%'],
1277
- ['oz', '2.260,33', '+398,01+17,61%', '35.959.590', '+4.370.086+12,15%'],
1278
- ['gr', '72,67', '+12,80+17,61%', '1.156.128', '+140.502+12,15%'],
1279
- ['1 Tahun', 'Kurs', '', '', '15.140', '+31+0,20%'],
1280
- ['oz', '1.848,82', '+809,52+43,79%', '27.991.135', '+12.338.541+44,08%'],
1281
- ['gr', '59,44', '+26,03+43,79%', '899.936', '+396.693+44,08%'],
1282
- ['2 Tahun', 'Kurs', '', '', '15.247', '-76-0,50%'],
1283
- ['oz', '1.664,93', '+993,41+59,67%', '25.385.188', '+14.944.488+58,87%'],
1284
- ['gr', '53,53', '+31,94+59,67%', '816.153', '+480.476+58,87%'],
1285
- ['3 Tahun', 'Kurs', '', '', '14.307', '+864+6,04%'],
1286
- ['oz', '1.757,58', '+900,76+51,25%', '25.145.715', '+15.183.962+60,38%'],
1287
- ['gr', '56,51', '+28,96+51,25%', '808.453', '+488.176+60,38%'],
1288
- ['5 Tahun', 'Kurs', '', '', '14.196', '+975+6,87%'],
1289
- ['oz', '1.483,09', '+1.175,25+79,24%', '21.053.946', '+19.275.731+91,55%'],
1290
- ['gr', '47,68', '+37,79+79,24%', '676.900', '+619.729+91,55%']])
1267
+ ['Hari Ini', 'Kurs', '', '', '15.394', '%'],
1268
+ ['oz', '2.645,54', '+7,71+0,29%', '40.725.443', '+118.688+0,29%'],
1269
+ ['gr', '85,06', '+0,25+0,29%', '1.309.353', '+3.816+0,29%'],
1270
+ ['30 Hari', 'Kurs', '', '', '15.410', '-16-0,10%'],
1271
+ ['oz', '2.486,92', '+166,33+6,69%', '38.323.437', '+2.520.693+6,58%'],
1272
+ ['gr', '79,96', '+5,35+6,69%', '1.232.127', '+81.042+6,58%'],
1273
+ ['2 Bulan', 'Kurs', '', '', '16.183', '-789-4,88%'],
1274
+ ['oz', '2.399,23', '+254,02+10,59%', '38.826.739', '+2.017.391+5,20%'],
1275
+ ['gr', '77,14', '+8,17+10,59', '1.248.309', '+64.861+5,20%'],
1276
+ ['6 Bulan', 'Kurs', '', '', '15.907', '-513-3,22%'],
1277
+ ['oz', '2.344,19', '+309,06+13,18%', '37.289.030', '+3.555.100+9,53%'],
1278
+ ['gr', '75,37', '+9,94+13,18%', '1.198.870', '+114.299+9,53%'],
1279
+ ['1 Tahun', 'Kurs', '', '', '15.601', '-207-1,33%'],
1280
+ ['oz', '1.832,59', '+820,66+44,78%', '28.590.237', '+12.253.894+42,86%'],
1281
+ ['gr', '58,92', '+26,38+44,78%', '919.197', '+393.972+42,86%'],
1282
+ ['2 Tahun', 'Kurs', '', '', '15.197', '+197+1,30%'],
1283
+ ['oz', '1.700,43', '+952,82+56,03%', '25.841.435', '+15.002.696+58,06%'],
1284
+ ['gr', '54,67', '+30,63+56,03%', '830.821', '+482.348+58,06%'],
1285
+ ['3 Tahun', 'Kurs', '', '', '14.245', '+1.149+8,07%'],
1286
+ ['oz', '1.757,48', '+895,77+50,97%', '25.035.320', '+15.808.810+63,15%'],
1287
+ ['gr', '56,50', '+28,80+50,97%', '804.904', '+508.265+63,15%'],
1288
+ ['5 Tahun', 'Kurs', '', '', '14.170', '+1.224+8,64%'],
1289
+ ['oz', '1.500,01', '+1.153,24+76,88%', '21.255.142', '+19.588.989+92,16%'],
1290
+ ['gr', '48,23', '+37,08+76,88%', '683.369', '+629.801+92,16%']])
1291
1291
  (['Home', 'Emas 1 Gram', 'History', 'Trend', 'Perak 1 Gram', 'Pluang'],
1292
1292
  [[''],
1293
1293
  ['Emas 24 KaratHarga Emas 1 Gram', ''],
1294
- ['USD', '85,47↓', '%'],
1295
- ['KURS', '15.124,85↓', '%'],
1296
- ['IDR', '1.292.684,87↓', '%'],
1297
- ['Minggu, 29 September 2024 19:25']],
1294
+ ['USD', '85,30↓', '%'],
1295
+ ['KURS', '15.670,00↓', '%'],
1296
+ ['IDR', '1.336.713,19↓', '%'],
1297
+ ['Minggu, 06 Oktober 2024 19:16']],
1298
1298
  [[''],
1299
1299
  ['Emas 1 Gram (IDR)Emas 1 Gram (USD)Kurs USD-IDR',
1300
1300
  'Hari Ini',
@@ -1305,19 +1305,19 @@ Output:
1305
1305
  '']],
1306
1306
  [['Pergerakkan Harga Emas 1 Gram'],
1307
1307
  ['', 'Penutupan Kemarin', 'Pergerakkan Hari Ini', 'Rata-rata'],
1308
- ['USD', '85,47', '85,47 - 85,47', '85,47'],
1309
- ['KURS', '15.124,85', '15.124,85 - 15.124,85', '15.124,85'],
1310
- ['IDR', '1.292.684,87', '1.292.684,87 - 1.292.684,87', '1.292.684,87'],
1308
+ ['USD', '85,30', '85,30 - 85,30', '85,30'],
1309
+ ['KURS', '15.670,00', '15.670,00 - 15.670,00', '15.670,00'],
1310
+ ['IDR', '1.336.713,19', '1.336.713,19 - 1.336.713,19', '1.336.713,19'],
1311
1311
  [''],
1312
1312
  ['', 'Awal Tahun', 'Pergerakkan YTD', '+/- YTD'],
1313
- ['USD', '66,32', '64,07 - 85,83', '+19,15 (28,88%)'],
1314
- ['KURS', '15.390,10', '15.100,00 - 16.509,65', '-265,25(-1,72%)'],
1315
- ['IDR', '1.020.729,53', '997.660,12 - 1.296.071,15', '+271.955,34 (26,64%)'],
1313
+ ['USD', '66,32', '64,07 - 85,86', '+18,98 (28,62%)'],
1314
+ ['KURS', '15.390,10', '15.100,00 - 16.509,65', '+279,90 (1,82%)'],
1315
+ ['IDR', '1.020.729,53', '997.660,12 - 1.336.713,19', '+315.983,66 (30,96%)'],
1316
1316
  [''],
1317
1317
  ['', 'Tahun Lalu / 52 Minggu', 'Pergerakkan 52 Minggu', '+/- 52 Minggu'],
1318
- ['USD', '59,91', '58,43 - 85,83', '+25,56 (42,66%)'],
1319
- ['KURS', '15.508,40', '15.100,00 - 16.509,65', '-383,55(-2,47%)'],
1320
- ['IDR', '929.163,44', '912.925,68 - 1.296.071,15', '+363.521,43 (39,12%)']])
1318
+ ['USD', '58,43', '58,85 - 85,86', '+26,87 (45,99%)'],
1319
+ ['KURS', '15.623,80', '15.100,00 - 16.509,65', '+46,20 (0,30%)'],
1320
+ ['IDR', '912.925,68', '921.015,41 - 1.336.713,19', '+423.787,51 (46,42%)']])
1321
1321
  ```
1322
1322
 
1323
1323
  ## iloads
@@ -1447,7 +1447,7 @@ Output:
1447
1447
  ```py
1448
1448
  8
1449
1449
  ['mana', 'aja']
1450
- [<Element a at 0x727943f2a0>, <Element a at 0x727948a990>, <Element a at 0x727948aa30>, <Element a at 0x727948aa80>, <Element a at 0x727948aad0>, <Element a at 0x727948ab20>, <Element a at 0x727948ab70>, <Element a at 0x727948abc0>, <Element a at 0x727948ac10>, <Element a at 0x727948ac60>, <Element a at 0x727948acb0>, <Element a at 0x727948ad00>, <Element a at 0x727948ad50>, <Element a at 0x727948ada0>, <Element a at 0x727948adf0>, <Element a at 0x727948ae40>, <Element a at 0x727948ae90>, <Element a at 0x727948aee0>]
1450
+ [<Element a at 0x7606b634d0>, <Element a at 0x7606baa7b0>, <Element a at 0x7606baa850>, <Element a at 0x7606baa8a0>, <Element a at 0x7606baa8f0>, <Element a at 0x7606baa940>, <Element a at 0x7606baa990>, <Element a at 0x7606baa9e0>, <Element a at 0x7606baaa30>, <Element a at 0x7606baaa80>, <Element a at 0x7606baaad0>, <Element a at 0x7606baab20>, <Element a at 0x7606baab70>, <Element a at 0x7606baabc0>, <Element a at 0x7606baac10>, <Element a at 0x7606baac60>, <Element a at 0x7606baacb0>, <Element a at 0x7606baad00>]
1451
1451
  False
1452
1452
  ```
1453
1453
 
@@ -1517,7 +1517,7 @@ print(list(iscandir("./", recursive=False, scan_file=False)))
1517
1517
 
1518
1518
  Output:
1519
1519
  ```py
1520
- <generator object iscandir at 0x727bb02c40>
1520
+ <generator object iscandir at 0x7606e3ac40>
1521
1521
  [PosixPath('.git'), PosixPath('.vscode'), PosixPath('pypipr'), PosixPath('__pycache__'), PosixPath('dist')]
1522
1522
  ```
1523
1523
 
@@ -1550,92 +1550,92 @@ iprint(ivars(__import__('pypipr')))
1550
1550
 
1551
1551
  Output:
1552
1552
  ```py
1553
- {'function': {'avg': <function avg at 0x7286d9be20>,
1554
- 'get_filemtime': <function get_filemtime at 0x728324df80>,
1555
- 'print_colorize': <function print_colorize at 0x728324e160>,
1556
- 'print_log': <function print_log at 0x728324e020>,
1557
- 'console_run': <function console_run at 0x728324e0c0>,
1558
- 'auto_reload': <function auto_reload at 0x728324d8a0>,
1559
- 'basename': <function basename at 0x728324dee0>,
1560
- 'chr_to_int': <function chr_to_int at 0x728324e700>,
1561
- 'int_to_chr': <function int_to_chr at 0x728324e7a0>,
1562
- 'irange': <function irange at 0x728324ea20>,
1563
- 'batchmaker': <function batchmaker at 0x728324e3e0>,
1564
- 'calculate': <function calculate at 0x728324e520>,
1565
- 'batch_calculate': <function batch_calculate at 0x728324e2a0>,
1566
- 'bin_to_int': <function bin_to_int at 0x728324e340>,
1567
- 'is_empty': <function is_empty at 0x728324f240>,
1568
- 'exit_if_empty': <function exit_if_empty at 0x728324f100>,
1569
- 'input_char': <function input_char at 0x728324e660>,
1570
- 'choices': <function choices at 0x728324f4c0>,
1571
- 'chunk_array': <function chunk_array at 0x728324f560>,
1572
- 'create_folder': <function create_folder at 0x728324f6a0>,
1573
- 'datetime_from_string': <function datetime_from_string at 0x728324f740>,
1574
- 'datetime_now': <function datetime_now at 0x728324f7e0>,
1575
- 'dict_first': <function dict_first at 0x72832699e0>,
1576
- 'dirname': <function dirname at 0x7283269a80>,
1577
- 'django_runserver': <function django_runserver at 0x7283269da0>,
1578
- 'is_iterable': <function is_iterable at 0x728326a160>,
1579
- 'to_str': <function to_str at 0x728326a200>,
1580
- 'filter_empty': <function filter_empty at 0x728326a020>,
1581
- 'get_by_index': <function get_by_index at 0x728326a0c0>,
1582
- 'get_class_method': <function get_class_method at 0x728326a2a0>,
1583
- 'get_filesize': <function get_filesize at 0x728326a3e0>,
1584
- 'github_init': <function github_init at 0x728326a480>,
1585
- 'github_pull': <function github_pull at 0x728326a520>,
1586
- 'github_push': <function github_push at 0x728326a660>,
1587
- 'github_user': <function github_user at 0x728326a700>,
1588
- 'hex_to_int': <function hex_to_int at 0x728326a7a0>,
1589
- 'iargv': <function iargv at 0x728326a840>,
1590
- 'idir': <function idir at 0x728326a8e0>,
1591
- 'idumps_html': <function idumps_html at 0x728326afc0>,
1592
- 'idumps': <function idumps at 0x728326aa20>,
1593
- 'int_to_int': <function int_to_int at 0x72832fae80>,
1594
- 'ienumerate': <function ienumerate at 0x728326af20>,
1595
- 'ienv': <function ienv at 0x72832e93a0>,
1596
- 'iexec': <function iexec at 0x72832faf20>,
1597
- 'ijoin': <function ijoin at 0x72832fb060>,
1598
- 'iloads_html': <function iloads_html at 0x72832fb240>,
1599
- 'iloads': <function iloads at 0x72877e1ee0>,
1600
- 'int_to_bin': <function int_to_bin at 0x72832fafc0>,
1601
- 'int_to_hex': <function int_to_hex at 0x72832fb1a0>,
1602
- 'int_to_oct': <function int_to_oct at 0x72832fb2e0>,
1603
- 'is_valid_url': <function is_valid_url at 0x72830df100>,
1604
- 'iopen': <function iopen at 0x72832fb4c0>,
1605
- 'iprint': <function iprint at 0x72830dec00>,
1606
- 'is_raw_string': <function is_raw_string at 0x727bf200e0>,
1607
- 'ireplace': <function ireplace at 0x727bf13f60>,
1608
- 'is_html': <function is_html at 0x728313b880>,
1609
- 'iscandir': <function iscandir at 0x727bf20180>,
1610
- 'isplit': <function isplit at 0x727bf20220>,
1611
- 'ivars': <function ivars at 0x727bf202c0>,
1612
- 'log': <function log at 0x727bf20360>,
1613
- 'oct_to_int': <function oct_to_int at 0x727bf20400>,
1614
- 'password_generator': <function password_generator at 0x727bf204a0>,
1615
- 'pip_freeze_without_version': <function pip_freeze_without_version at 0x727bf205e0>,
1616
- 'pip_update_pypipr': <function pip_update_pypipr at 0x727bf20680>,
1617
- 'poetry_publish': <function poetry_publish at 0x727bf20720>,
1618
- 'poetry_update_version': <function poetry_update_version at 0x727bf20860>,
1619
- 'print_dir': <function print_dir at 0x727bf20a40>,
1620
- 'print_to_last_line': <function print_to_last_line at 0x727bf20ae0>,
1621
- 'random_bool': <function random_bool at 0x727bf20b80>,
1622
- 'repath': <function repath at 0x727bf20cc0>,
1623
- 'restart': <function restart at 0x727bf20d60>,
1624
- 'set_timeout': <function set_timeout at 0x727bf20e00>,
1625
- 'sets_ordered': <function sets_ordered at 0x727bf20ea0>,
1626
- 'sqlite_delete_table': <function sqlite_delete_table at 0x727bf20f40>,
1627
- 'sqlite_get_all_tables': <function sqlite_get_all_tables at 0x727bf21120>,
1628
- 'sqlite_get_data_table': <function sqlite_get_data_table at 0x727bf218a0>,
1629
- 'str_cmp': <function str_cmp at 0x727bf21940>,
1630
- 'text_colorize': <function text_colorize at 0x727bf219e0>,
1631
- 'traceback_filename': <function traceback_filename at 0x727bf21a80>,
1632
- 'traceback_framename': <function traceback_framename at 0x727bf21b20>},
1553
+ {'function': {'avg': <function avg at 0x760f713e20>,
1554
+ 'get_filemtime': <function get_filemtime at 0x760a9a5f80>,
1555
+ 'print_colorize': <function print_colorize at 0x760a9a6160>,
1556
+ 'print_log': <function print_log at 0x760a9a6020>,
1557
+ 'console_run': <function console_run at 0x760a9a60c0>,
1558
+ 'auto_reload': <function auto_reload at 0x760a9a58a0>,
1559
+ 'basename': <function basename at 0x760a9a5ee0>,
1560
+ 'chr_to_int': <function chr_to_int at 0x760a9a6700>,
1561
+ 'int_to_chr': <function int_to_chr at 0x760a9a67a0>,
1562
+ 'irange': <function irange at 0x760a9a6a20>,
1563
+ 'batchmaker': <function batchmaker at 0x760a9a63e0>,
1564
+ 'calculate': <function calculate at 0x760a9a6520>,
1565
+ 'batch_calculate': <function batch_calculate at 0x760a9a62a0>,
1566
+ 'bin_to_int': <function bin_to_int at 0x760a9a6340>,
1567
+ 'is_empty': <function is_empty at 0x760a9a7240>,
1568
+ 'exit_if_empty': <function exit_if_empty at 0x760a9a7100>,
1569
+ 'input_char': <function input_char at 0x760a9a6660>,
1570
+ 'choices': <function choices at 0x760a9a74c0>,
1571
+ 'chunk_array': <function chunk_array at 0x760a9a7560>,
1572
+ 'create_folder': <function create_folder at 0x760a9a76a0>,
1573
+ 'datetime_from_string': <function datetime_from_string at 0x760a9a7740>,
1574
+ 'datetime_now': <function datetime_now at 0x760a9a77e0>,
1575
+ 'dict_first': <function dict_first at 0x760a9c19e0>,
1576
+ 'dirname': <function dirname at 0x760a9c1a80>,
1577
+ 'django_runserver': <function django_runserver at 0x760a9c1da0>,
1578
+ 'is_iterable': <function is_iterable at 0x760a9c2160>,
1579
+ 'to_str': <function to_str at 0x760a9c2200>,
1580
+ 'filter_empty': <function filter_empty at 0x760a9c2020>,
1581
+ 'get_by_index': <function get_by_index at 0x760a9c20c0>,
1582
+ 'get_class_method': <function get_class_method at 0x760a9c22a0>,
1583
+ 'get_filesize': <function get_filesize at 0x760a9c23e0>,
1584
+ 'github_init': <function github_init at 0x760a9c2480>,
1585
+ 'github_pull': <function github_pull at 0x760a9c2520>,
1586
+ 'github_push': <function github_push at 0x760a9c2660>,
1587
+ 'github_user': <function github_user at 0x760a9c2700>,
1588
+ 'hex_to_int': <function hex_to_int at 0x760a9c27a0>,
1589
+ 'iargv': <function iargv at 0x760a9c2840>,
1590
+ 'idir': <function idir at 0x760a9c28e0>,
1591
+ 'idumps_html': <function idumps_html at 0x760a9c2fc0>,
1592
+ 'idumps': <function idumps at 0x760a9c2a20>,
1593
+ 'int_to_int': <function int_to_int at 0x760aa52e80>,
1594
+ 'ienumerate': <function ienumerate at 0x760a9c2f20>,
1595
+ 'ienv': <function ienv at 0x760aa413a0>,
1596
+ 'iexec': <function iexec at 0x760aa52f20>,
1597
+ 'ijoin': <function ijoin at 0x760aa53060>,
1598
+ 'iloads_html': <function iloads_html at 0x760aa53240>,
1599
+ 'iloads': <function iloads at 0x760fa99ee0>,
1600
+ 'int_to_bin': <function int_to_bin at 0x760aa52fc0>,
1601
+ 'int_to_hex': <function int_to_hex at 0x760aa531a0>,
1602
+ 'int_to_oct': <function int_to_oct at 0x760aa532e0>,
1603
+ 'is_valid_url': <function is_valid_url at 0x760a7ef100>,
1604
+ 'iopen': <function iopen at 0x760aa534c0>,
1605
+ 'iprint': <function iprint at 0x760a7eec00>,
1606
+ 'is_raw_string': <function is_raw_string at 0x76073440e0>,
1607
+ 'ireplace': <function ireplace at 0x760733bf60>,
1608
+ 'is_html': <function is_html at 0x760a853880>,
1609
+ 'iscandir': <function iscandir at 0x7607344180>,
1610
+ 'isplit': <function isplit at 0x7607344220>,
1611
+ 'ivars': <function ivars at 0x76073442c0>,
1612
+ 'log': <function log at 0x7607344360>,
1613
+ 'oct_to_int': <function oct_to_int at 0x7607344400>,
1614
+ 'password_generator': <function password_generator at 0x76073444a0>,
1615
+ 'pip_freeze_without_version': <function pip_freeze_without_version at 0x76073445e0>,
1616
+ 'pip_update_pypipr': <function pip_update_pypipr at 0x7607344680>,
1617
+ 'poetry_publish': <function poetry_publish at 0x7607344720>,
1618
+ 'poetry_update_version': <function poetry_update_version at 0x7607344860>,
1619
+ 'print_dir': <function print_dir at 0x7607344a40>,
1620
+ 'print_to_last_line': <function print_to_last_line at 0x7607344ae0>,
1621
+ 'random_bool': <function random_bool at 0x7607344b80>,
1622
+ 'repath': <function repath at 0x7607344cc0>,
1623
+ 'restart': <function restart at 0x7607344d60>,
1624
+ 'set_timeout': <function set_timeout at 0x7607344e00>,
1625
+ 'sets_ordered': <function sets_ordered at 0x7607344ea0>,
1626
+ 'sqlite_delete_table': <function sqlite_delete_table at 0x7607344f40>,
1627
+ 'sqlite_get_all_tables': <function sqlite_get_all_tables at 0x7607345120>,
1628
+ 'sqlite_get_data_table': <function sqlite_get_data_table at 0x76073458a0>,
1629
+ 'str_cmp': <function str_cmp at 0x7607345940>,
1630
+ 'text_colorize': <function text_colorize at 0x76073459e0>,
1631
+ 'traceback_filename': <function traceback_filename at 0x7607345a80>,
1632
+ 'traceback_framename': <function traceback_framename at 0x7607345b20>},
1633
1633
  'class': {'ComparePerformance': <class 'pypipr.ComparePerformance.ComparePerformance'>,
1634
1634
  'PintUregQuantity': <class 'pint.Quantity'>,
1635
1635
  'RunParallel': <class 'pypipr.RunParallel.RunParallel'>,
1636
1636
  'TextCase': <class 'pypipr.TextCase.TextCase'>},
1637
1637
  'variable': {'LINUX': True,
1638
- 'PintUreg': <pint.registry.UnitRegistry object at 0x7286df3510>,
1638
+ 'PintUreg': <pint.registry.UnitRegistry object at 0x760f6c1c50>,
1639
1639
  'WINDOWS': False},
1640
1640
  'module': {'asyncio': <module 'asyncio' from '/data/data/com.termux/files/usr/lib/python3.11/asyncio/__init__.py'>,
1641
1641
  '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'>,
@@ -1726,7 +1726,7 @@ print(password_generator())
1726
1726
 
1727
1727
  Output:
1728
1728
  ```py
1729
- W5sj}?L*
1729
+ IT/#l=@5
1730
1730
  ```
1731
1731
 
1732
1732
  ## pip_freeze_without_version
@@ -1788,7 +1788,7 @@ Output:
1788
1788
  __enter__ : https:/www.google.com
1789
1789
  __fspath__ : https:/www.google.com
1790
1790
  __getstate__ : (None, {'_drv': '', '_root': '', '_parts': ['https:', 'www.google.com'], '_str': 'https:/www.google.com'})
1791
- __hash__ : 71762221691150464
1791
+ __hash__ : -406761368734910851
1792
1792
  __init__ : None
1793
1793
  __init_subclass__ : None
1794
1794
  __module__ : pathlib
@@ -1801,8 +1801,8 @@ Output:
1801
1801
  _cached_cparts : ['https:', 'www.google.com']
1802
1802
  _cparts : ['https:', 'www.google.com']
1803
1803
  _drv :
1804
- _flavour : <pathlib._PosixFlavour object at 0x7286c21a10>
1805
- _hash : 71762221691150464
1804
+ _flavour : <pathlib._PosixFlavour object at 0x760eecde90>
1805
+ _hash : -406761368734910851
1806
1806
  _parts : ['https:', 'www.google.com']
1807
1807
  _root :
1808
1808
  _str : https:/www.google.com
@@ -1824,7 +1824,7 @@ Output:
1824
1824
  is_reserved : False
1825
1825
  is_socket : False
1826
1826
  is_symlink : False
1827
- iterdir : <generator object Path.iterdir at 0x7279442500>
1827
+ iterdir : <generator object Path.iterdir at 0x7606b66500>
1828
1828
  joinpath : https:/www.google.com
1829
1829
  name : www.google.com
1830
1830
  parent : https:
@@ -1875,7 +1875,7 @@ print(random_bool())
1875
1875
 
1876
1876
  Output:
1877
1877
  ```py
1878
- True
1878
+ False
1879
1879
  ```
1880
1880
 
1881
1881
  ## repath
@@ -1913,7 +1913,7 @@ x.cancel()
1913
1913
 
1914
1914
  Output:
1915
1915
  ```py
1916
- <Timer(Thread-2, started 491633229040)>
1916
+ <Timer(Thread-2, started 506892106992)>
1917
1917
  menghentikan timeout 7
1918
1918
  ```
1919
1919
 
@@ -1931,7 +1931,7 @@ print(list(sets_ordered(array)))
1931
1931
 
1932
1932
  Output:
1933
1933
  ```py
1934
- <generator object sets_ordered at 0x7279458930>
1934
+ <generator object sets_ordered at 0x7606b80a00>
1935
1935
  [2, 3, 12, 42, 1, 43, 41, 4, 24, 32]
1936
1936
  ```
1937
1937
 
@@ -2045,15 +2045,15 @@ print(ExampleComparePerformance().compare_performance())
2045
2045
 
2046
2046
  Output:
2047
2047
  ```py
2048
- {'a': <generator object ExampleComparePerformance.a.<locals>.<genexpr> at 0x72793efac0>,
2048
+ {'a': <generator object ExampleComparePerformance.a.<locals>.<genexpr> at 0x7606e4fb90>,
2049
2049
  'b': (0, 1, 2, 3, 4, 5, 6, 7, 8, 9),
2050
2050
  'c': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
2051
2051
  'd': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]}
2052
- {'a': 162, 'b': 139, 'c': 100, 'd': 153}
2053
- {'a': 141, 'b': 137, 'c': 100, 'd': 124}
2054
- {'a': 133, 'b': 134, 'c': 100, 'd': 131}
2055
- {'a': 125, 'b': 131, 'c': 100, 'd': 132}
2056
- {'a': 124, 'b': 132, 'c': 100, 'd': 131}
2052
+ {'a': 100, 'b': 124, 'c': 135, 'd': 132}
2053
+ {'a': 100, 'b': 125, 'c': 122, 'd': 121}
2054
+ {'a': 100, 'b': 120, 'c': 116, 'd': 124}
2055
+ {'a': 100, 'b': 115, 'c': 110, 'd': 121}
2056
+ {'a': 100, 'b': 117, 'c': 104, 'd': 476}
2057
2057
  ```
2058
2058
 
2059
2059
  ## PintUregQuantity
@@ -0,0 +1,9 @@
1
+ from lxml import html
2
+
3
+
4
+ def is_html(text):
5
+ try:
6
+ document = html.fromstring(text)
7
+ return bool(len(document))
8
+ except Exception:
9
+ return False
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "pypipr"
3
- version = "1.0.156"
3
+ version = "1.0.157"
4
4
  description = "The Python Package Index Project"
5
5
  authors = ["ufiapjj <ufiapjj@gmail.com>"]
6
6
  readme = "readme.md"