pypipr 1.0.135__tar.gz → 1.0.136__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 (84) hide show
  1. {pypipr-1.0.135 → pypipr-1.0.136}/PKG-INFO +144 -132
  2. {pypipr-1.0.135 → pypipr-1.0.136}/pypipr/__init__.py +3 -1
  3. {pypipr-1.0.135 → pypipr-1.0.136}/pyproject.toml +1 -1
  4. {pypipr-1.0.135 → pypipr-1.0.136}/readme.md +143 -131
  5. {pypipr-1.0.135 → pypipr-1.0.136}/pypipr/ComparePerformance.py +0 -0
  6. {pypipr-1.0.135 → pypipr-1.0.136}/pypipr/LINUX.py +0 -0
  7. {pypipr-1.0.135 → pypipr-1.0.136}/pypipr/PintUreg.py +0 -0
  8. {pypipr-1.0.135 → pypipr-1.0.136}/pypipr/PintUregQuantity.py +0 -0
  9. {pypipr-1.0.135 → pypipr-1.0.136}/pypipr/RunParallel.py +0 -0
  10. {pypipr-1.0.135 → pypipr-1.0.136}/pypipr/WINDOWS.py +0 -0
  11. {pypipr-1.0.135 → pypipr-1.0.136}/pypipr/__terminal__.py +0 -0
  12. {pypipr-1.0.135 → pypipr-1.0.136}/pypipr/auto_reload.py +0 -0
  13. {pypipr-1.0.135 → pypipr-1.0.136}/pypipr/avg.py +0 -0
  14. {pypipr-1.0.135 → pypipr-1.0.136}/pypipr/basename.py +0 -0
  15. {pypipr-1.0.135 → pypipr-1.0.136}/pypipr/batch_calculate.py +0 -0
  16. {pypipr-1.0.135 → pypipr-1.0.136}/pypipr/batchmaker.py +0 -0
  17. {pypipr-1.0.135 → pypipr-1.0.136}/pypipr/bin_to_int.py +0 -0
  18. {pypipr-1.0.135 → pypipr-1.0.136}/pypipr/calculate.py +0 -0
  19. {pypipr-1.0.135 → pypipr-1.0.136}/pypipr/choices.py +0 -0
  20. {pypipr-1.0.135 → pypipr-1.0.136}/pypipr/choices.py.bak +0 -0
  21. {pypipr-1.0.135 → pypipr-1.0.136}/pypipr/chr_to_int.py +0 -0
  22. {pypipr-1.0.135 → pypipr-1.0.136}/pypipr/chunk_array.py +0 -0
  23. {pypipr-1.0.135 → pypipr-1.0.136}/pypipr/console_run.py +0 -0
  24. {pypipr-1.0.135 → pypipr-1.0.136}/pypipr/create_folder.py +0 -0
  25. {pypipr-1.0.135 → pypipr-1.0.136}/pypipr/datetime_from_string.py +0 -0
  26. {pypipr-1.0.135 → pypipr-1.0.136}/pypipr/datetime_now.py +0 -0
  27. {pypipr-1.0.135 → pypipr-1.0.136}/pypipr/dict_first.py +0 -0
  28. {pypipr-1.0.135 → pypipr-1.0.136}/pypipr/dirname.py +0 -0
  29. {pypipr-1.0.135 → pypipr-1.0.136}/pypipr/exit_if_empty.py +0 -0
  30. {pypipr-1.0.135 → pypipr-1.0.136}/pypipr/filter_empty.py +0 -0
  31. {pypipr-1.0.135 → pypipr-1.0.136}/pypipr/get_by_index.py +0 -0
  32. {pypipr-1.0.135 → pypipr-1.0.136}/pypipr/get_class_method.py +0 -0
  33. {pypipr-1.0.135 → pypipr-1.0.136}/pypipr/get_filemtime.py +0 -0
  34. {pypipr-1.0.135 → pypipr-1.0.136}/pypipr/get_filesize.py +0 -0
  35. {pypipr-1.0.135 → pypipr-1.0.136}/pypipr/github_init.py +0 -0
  36. {pypipr-1.0.135 → pypipr-1.0.136}/pypipr/github_pull.py +0 -0
  37. {pypipr-1.0.135 → pypipr-1.0.136}/pypipr/github_push.py +0 -0
  38. {pypipr-1.0.135 → pypipr-1.0.136}/pypipr/github_user.py +0 -0
  39. {pypipr-1.0.135 → pypipr-1.0.136}/pypipr/hex_to_int.py +0 -0
  40. {pypipr-1.0.135 → pypipr-1.0.136}/pypipr/iargv.py +0 -0
  41. {pypipr-1.0.135 → pypipr-1.0.136}/pypipr/idir.py +0 -0
  42. {pypipr-1.0.135 → pypipr-1.0.136}/pypipr/idumps.py +0 -0
  43. {pypipr-1.0.135 → pypipr-1.0.136}/pypipr/idumps_html.py +0 -0
  44. {pypipr-1.0.135 → pypipr-1.0.136}/pypipr/ienumerate.py +0 -0
  45. {pypipr-1.0.135 → pypipr-1.0.136}/pypipr/ienv.py +0 -0
  46. {pypipr-1.0.135 → pypipr-1.0.136}/pypipr/iexec.py +0 -0
  47. {pypipr-1.0.135 → pypipr-1.0.136}/pypipr/ijoin.py +0 -0
  48. {pypipr-1.0.135 → pypipr-1.0.136}/pypipr/iloads.py +0 -0
  49. {pypipr-1.0.135 → pypipr-1.0.136}/pypipr/iloads_html.py +0 -0
  50. {pypipr-1.0.135 → pypipr-1.0.136}/pypipr/input_char.py +0 -0
  51. {pypipr-1.0.135 → pypipr-1.0.136}/pypipr/int_to_bin.py +0 -0
  52. {pypipr-1.0.135 → pypipr-1.0.136}/pypipr/int_to_chr.py +0 -0
  53. {pypipr-1.0.135 → pypipr-1.0.136}/pypipr/int_to_hex.py +0 -0
  54. {pypipr-1.0.135 → pypipr-1.0.136}/pypipr/int_to_int.py +0 -0
  55. {pypipr-1.0.135 → pypipr-1.0.136}/pypipr/int_to_oct.py +0 -0
  56. {pypipr-1.0.135 → pypipr-1.0.136}/pypipr/iopen.py +0 -0
  57. {pypipr-1.0.135 → pypipr-1.0.136}/pypipr/iprint.py +0 -0
  58. {pypipr-1.0.135 → pypipr-1.0.136}/pypipr/irange.py +0 -0
  59. {pypipr-1.0.135 → pypipr-1.0.136}/pypipr/ireplace.py +0 -0
  60. {pypipr-1.0.135 → pypipr-1.0.136}/pypipr/is_empty.py +0 -0
  61. {pypipr-1.0.135 → pypipr-1.0.136}/pypipr/is_iterable.py +0 -0
  62. {pypipr-1.0.135 → pypipr-1.0.136}/pypipr/is_valid_url.py +0 -0
  63. {pypipr-1.0.135 → pypipr-1.0.136}/pypipr/iscandir.py +0 -0
  64. {pypipr-1.0.135 → pypipr-1.0.136}/pypipr/isplit.py +0 -0
  65. {pypipr-1.0.135 → pypipr-1.0.136}/pypipr/ivars.py +0 -0
  66. {pypipr-1.0.135 → pypipr-1.0.136}/pypipr/log.py +0 -0
  67. {pypipr-1.0.135 → pypipr-1.0.136}/pypipr/oct_to_int.py +0 -0
  68. {pypipr-1.0.135 → pypipr-1.0.136}/pypipr/password_generator.py +0 -0
  69. {pypipr-1.0.135 → pypipr-1.0.136}/pypipr/pip_freeze_without_version.py +0 -0
  70. {pypipr-1.0.135 → pypipr-1.0.136}/pypipr/poetry_publish.py +0 -0
  71. {pypipr-1.0.135 → pypipr-1.0.136}/pypipr/poetry_update_version.py +0 -0
  72. {pypipr-1.0.135 → pypipr-1.0.136}/pypipr/print_colorize.py +0 -0
  73. {pypipr-1.0.135 → pypipr-1.0.136}/pypipr/print_dir.py +0 -0
  74. {pypipr-1.0.135 → pypipr-1.0.136}/pypipr/print_log.py +0 -0
  75. {pypipr-1.0.135 → pypipr-1.0.136}/pypipr/print_to_last_line.py +0 -0
  76. {pypipr-1.0.135 → pypipr-1.0.136}/pypipr/random_bool.py +0 -0
  77. {pypipr-1.0.135 → pypipr-1.0.136}/pypipr/restart.py +0 -0
  78. {pypipr-1.0.135 → pypipr-1.0.136}/pypipr/set_timeout.py +0 -0
  79. {pypipr-1.0.135 → pypipr-1.0.136}/pypipr/sets_ordered.py +0 -0
  80. {pypipr-1.0.135 → pypipr-1.0.136}/pypipr/sqlite_get_all_tables.py +0 -0
  81. {pypipr-1.0.135 → pypipr-1.0.136}/pypipr/sqlite_get_data_table.py +0 -0
  82. {pypipr-1.0.135 → pypipr-1.0.136}/pypipr/str_cmp.py +0 -0
  83. {pypipr-1.0.135 → pypipr-1.0.136}/pypipr/text_colorize.py +0 -0
  84. {pypipr-1.0.135 → pypipr-1.0.136}/pypipr/to_str.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pypipr
3
- Version: 1.0.135
3
+ Version: 1.0.136
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 0x7dfcdd7340>
252
- <generator object int_range at 0x7dfcdd7340>
251
+ <generator object int_range at 0x7add2fb940>
252
+ <generator object int_range at 0x7add2fb940>
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 0x7dfce19240>
284
+ <generator object batchmaker at 0x7add389480>
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 0x7dfce15f30>
338
+ <generator object batch_calculate at 0x7add392110>
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
 
@@ -441,7 +441,7 @@ print(list(chunk_array(arr, 5)))
441
441
 
442
442
  Output:
443
443
  ```py
444
- <generator object chunk_array at 0x7dfcdd7440>
444
+ <generator object chunk_array at 0x7add2fba40>
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-05-15 23:06:17.824274+07:00
496
- 2024-05-15 16:06:17.825006+00:00
497
- 2024-05-15 09:06:17.826408-07:00
495
+ 2024-05-15 23:08:05.326324+07:00
496
+ 2024-05-15 16:08:05.326821+00:00
497
+ 2024-05-15 09:08:05.327662-07:00
498
498
  ```
499
499
 
500
500
  ## dict_first
@@ -600,7 +600,7 @@ iprint(filter_empty(var))
600
600
 
601
601
  Output:
602
602
  ```py
603
- <generator object filter_empty at 0x7dfce15c60>
603
+ <generator object filter_empty at 0x7add391e40>
604
604
  [1, '0', True, {}, ['eee']]
605
605
  ```
606
606
 
@@ -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 0x7dfce16200>
651
- [<function ExampleGetClassMethod.a at 0x7dfce56480>, <function ExampleGetClassMethod.b at 0x7dfce56520>, <function ExampleGetClassMethod.c at 0x7dfce56660>, <function ExampleGetClassMethod.d at 0x7dfce56700>]
650
+ <generator object get_class_method at 0x7add3923e0>
651
+ [<function ExampleGetClassMethod.a at 0x7add3c6de0>, <function ExampleGetClassMethod.b at 0x7add3c6e80>, <function ExampleGetClassMethod.c at 0x7add3c6fc0>, <function ExampleGetClassMethod.d at 0x7add3c7060>]
652
652
  ```
653
653
 
654
654
  ## get_filesize
@@ -854,6 +854,8 @@ Output:
854
854
  'restart',
855
855
  'set_timeout',
856
856
  'sets_ordered',
857
+ 'sqlite_get_all_tables',
858
+ 'sqlite_get_data_table',
857
859
  'str_cmp',
858
860
  'string',
859
861
  'subprocess',
@@ -1058,7 +1060,7 @@ Output:
1058
1060
 
1059
1061
  ## ienumerate
1060
1062
 
1061
- `ienumerate(iterator, start=0, key=<function int_to_int at 0x7e0473f9c0>)`
1063
+ `ienumerate(iterator, start=0, key=<function int_to_int at 0x7ae48a79c0>)`
1062
1064
 
1063
1065
  meningkatkan fungsi enumerate() pada python
1064
1066
  untuk key menggunakan huruf dan basis angka lainnya.
@@ -1071,7 +1073,7 @@ iprint(ienumerate(it, key=int_to_chr))
1071
1073
 
1072
1074
  Output:
1073
1075
  ```py
1074
- <generator object ienumerate at 0x7dfce162f0>
1076
+ <generator object ienumerate at 0x7add3924d0>
1075
1077
  [('a', 'ini'), ('b', 'contoh'), ('c', 'enumerator')]
1076
1078
  ```
1077
1079
 
@@ -1138,7 +1140,7 @@ print(ijoin(10, ' '))
1138
1140
 
1139
1141
  Output:
1140
1142
  ```py
1141
- dfs, qweqw, weq, asd
1143
+ dfs, asd, qweqw, weq
1142
1144
  ,ini,path,seperti,url,
1143
1145
  ini,path,seperti,url
1144
1146
  <li>satu</li>
@@ -1184,9 +1186,9 @@ Output:
1184
1186
  ```py
1185
1187
  (['Home', 'Emas 1 Gram', 'History', 'Trend', 'Perak 1 Gram', 'Pluang'],
1186
1188
  [['Harga Emas Hari Ini - Rabu, 15 Mei 2024'],
1187
- ['Spot Emas USD↑2.378,85 (+24,23) / oz',
1189
+ ['Spot Emas USD↑2.378,13 (+23,51) / oz',
1188
1190
  'Kurs IDR↑16.131,00 (+46,00) / USD',
1189
- 'Emas IDR↑1.233.728 (+16.049) / gr'],
1191
+ 'Emas IDR↑1.233.355 (+15.675) / gr'],
1190
1192
  ['LM Antam (Jual)↑1.332.000 (+8.000) / gr',
1191
1193
  'LM Antam (Beli)↑1.223.000 (+8.000) / gr']],
1192
1194
  [['Harga Emas Hari Ini'],
@@ -1257,10 +1259,10 @@ Output:
1257
1259
  'Update harga LM Pegadaian :31 Agustus 2023']],
1258
1260
  [['Spot Harga Emas Hari Ini (Market Open)'],
1259
1261
  ['Satuan', 'USD', 'Kurs\xa0Dollar', 'IDR'],
1260
- ['Ounce\xa0(oz)', '2.378,85 (+24,23)', '16.131,00 (+46,00)', '38.373.229'],
1261
- ['Gram\xa0(gr)', '76,48', '16.131,00', '1.233.728 (+16.049)'],
1262
- ['Kilogram\xa0(kg)', '76.481,80', '16.131,00', '1.233.727.973'],
1263
- ['Update harga emas :15 Mei 2024, pukul 23:06Update kurs :15 Mei 2024, pukul '
1262
+ ['Ounce\xa0(oz)', '2.378,13 (+23,51)', '16.131,00 (+46,00)', '38.361.615'],
1263
+ ['Gram\xa0(gr)', '76,46', '16.131,00', '1.233.355 (+15.675)'],
1264
+ ['Kilogram\xa0(kg)', '76.458,66', '16.131,00', '1.233.354.564'],
1265
+ ['Update harga emas :15 Mei 2024, pukul 23:08Update kurs :15 Mei 2024, pukul '
1264
1266
  '13:10']],
1265
1267
  [['Gram', 'UBS Gold 99.99%'],
1266
1268
  ['Jual', 'Beli'],
@@ -1306,36 +1308,36 @@ Output:
1306
1308
  ['Unit', 'USD', 'IDR'],
1307
1309
  ['Angka', '+/-', 'Angka', '+/-'],
1308
1310
  ['Hari Ini', 'Kurs', '', '', '16.085', '+46+0,29%'],
1309
- ['oz', '2.354,62', '+24,23+1,03%', '37.874.063', '+499.167+1,32%'],
1310
- ['gr', '75,70', '+0,78+1,03%', '1.217.679', '+16.049+1,32%'],
1311
+ ['oz', '2.354,62', '+23,51+1,00%', '37.874.063', '+487.552+1,29%'],
1312
+ ['gr', '75,70', '+0,76+1,00%', '1.217.679', '+15.675+1,29%'],
1311
1313
  ['30 Hari', 'Kurs', '', '', '15.907', '+224+1,41%'],
1312
- ['oz', '2.359,26', '+19,59+0,83%', '37.528.749', '+844.481+2,25%'],
1313
- ['gr', '75,85', '+0,63+0,83%', '1.206.577', '+27.151+2,25%'],
1314
+ ['oz', '2.359,26', '+18,87+0,80%', '37.528.749', '+832.866+2,22%'],
1315
+ ['gr', '75,85', '+0,61+0,80%', '1.206.577', '+26.777+2,22%'],
1314
1316
  ['2 Bulan', 'Kurs', '', '', '15.582', '+549+3,52%'],
1315
- ['oz', '2.156,08', '+222,77+10,33%', '33.596.039', '+4.777.191+14,22%'],
1316
- ['gr', '69,32', '+7,16+10,33', '1.080.138', '+153.590+14,22%'],
1317
+ ['oz', '2.156,08', '+222,05+10,30%', '33.596.039', '+4.765.576+14,18%'],
1318
+ ['gr', '69,32', '+7,14+10,30', '1.080.138', '+153.217+14,18%'],
1317
1319
  ['6 Bulan', 'Kurs', '', '', '15.595', '+536+3,44%'],
1318
- ['oz', '1.981,17', '+397,68+20,07%', '30.896.346', '+7.476.883+24,20%'],
1319
- ['gr', '63,70', '+12,79+20,07%', '993.341', '+240.387+24,20%'],
1320
+ ['oz', '1.981,17', '+396,96+20,04%', '30.896.346', '+7.465.269+24,16%'],
1321
+ ['gr', '63,70', '+12,76+20,04%', '993.341', '+240.014+24,16%'],
1320
1322
  ['1 Tahun', 'Kurs', '', '', '15.731', '+400+2,54%'],
1321
- ['oz', '1.823,86', '+554,99+30,43%', '28.691.142', '+9.682.088+33,75%'],
1322
- ['gr', '58,64', '+17,84+30,43%', '922.442', '+311.286+33,75%'],
1323
+ ['oz', '1.823,86', '+554,27+30,39%', '28.691.142', '+9.670.473+33,71%'],
1324
+ ['gr', '58,64', '+17,82+30,39%', '922.442', '+310.913+33,71%'],
1323
1325
  ['2 Tahun', 'Kurs', '', '', '14.585', '+1.546+10,60%'],
1324
- ['oz', '1.816,04', '+562,81+30,99%', '26.486.962', '+11.886.268+44,88%'],
1325
- ['gr', '58,39', '+18,09+30,99%', '851.576', '+382.152+44,88%'],
1326
+ ['oz', '1.816,04', '+562,09+30,95%', '26.486.962', '+11.874.653+44,83%'],
1327
+ ['gr', '58,39', '+18,07+30,95%', '851.576', '+381.779+44,83%'],
1326
1328
  ['3 Tahun', 'Kurs', '', '', '14.198', '+1.933+13,61%'],
1327
- ['oz', '1.843,91', '+534,94+29,01%', '26.179.834', '+12.193.395+46,58%'],
1328
- ['gr', '59,28', '+17,20+29,01%', '841.701', '+392.027+46,58%'],
1329
+ ['oz', '1.843,91', '+534,22+28,97%', '26.179.834', '+12.181.781+46,53%'],
1330
+ ['gr', '59,28', '+17,18+28,97%', '841.701', '+391.653+46,53%'],
1329
1331
  ['5 Tahun', 'Kurs', '', '', '14.469', '+1.662+11,49%'],
1330
- ['oz', '1.275,87', '+1.102,98+86,45%', '18.460.563', '+19.912.666+107,87%'],
1331
- ['gr', '41,02', '+35,46+86,45%', '593.521', '+640.207+107,87%']])
1332
+ ['oz', '1.275,87', '+1.102,26+86,39%', '18.460.563', '+19.901.052+107,80%'],
1333
+ ['gr', '41,02', '+35,44+86,39%', '593.521', '+639.834+107,80%']])
1332
1334
  (['Home', 'Emas 1 Gram', 'History', 'Trend', 'Perak 1 Gram', 'Pluang'],
1333
1335
  [[''],
1334
1336
  ['Emas 24 KaratHarga Emas 1 Gram', ''],
1335
- ['USD', '76,48↑', '+0,78+1,03%'],
1337
+ ['USD', '76,46↑', '+0,76+1,00%'],
1336
1338
  ['KURS', '15.952,00↓', '-151,05-0,94%'],
1337
- ['IDR', '1.220.037,73↑', '+991,90+0,08%'],
1338
- ['Rabu, 15 Mei 2024 23:06']],
1339
+ ['IDR', '1.219.668,46↑', '+622,63+0,05%'],
1340
+ ['Rabu, 15 Mei 2024 23:08']],
1339
1341
  [[''],
1340
1342
  ['Emas 1 Gram (IDR)Emas 1 Gram (USD)Kurs USD-IDR',
1341
1343
  'Hari Ini',
@@ -1346,19 +1348,19 @@ Output:
1346
1348
  '']],
1347
1349
  [['Pergerakkan Harga Emas 1 Gram'],
1348
1350
  ['', 'Penutupan Kemarin', 'Pergerakkan Hari Ini', 'Rata-rata'],
1349
- ['USD', '75,70', '75,70 - 76,48', '76,09'],
1351
+ ['USD', '75,70', '75,70 - 76,46', '76,08'],
1350
1352
  ['KURS', '16.103,05', '15.952,00 - 16.103,05', '16.027,53'],
1351
- ['IDR', '1.219.045,83', '1.219.045,83 - 1.220.037,73', '1.219.541,78'],
1353
+ ['IDR', '1.219.045,83', '1.219.045,83 - 1.219.668,46', '1.219.357,15'],
1352
1354
  [''],
1353
1355
  ['', 'Awal Tahun', 'Pergerakkan YTD', '+/- YTD'],
1354
- ['USD', '66,32', '64,07 - 77,14', '+10,16 (15,32%)'],
1356
+ ['USD', '66,32', '64,07 - 77,14', '+10,14 (15,29%)'],
1355
1357
  ['KURS', '15.390,10', '15.390,00 - 16.307,80', '+561,90 (3,65%)'],
1356
- ['IDR', '1.020.729,53', '997.660,12 - 1.256.829,06', '+199.308,20 (19,53%)'],
1358
+ ['IDR', '1.020.729,53', '997.660,12 - 1.256.829,06', '+198.938,93 (19,49%)'],
1357
1359
  [''],
1358
1360
  ['', 'Tahun Lalu / 52 Minggu', 'Pergerakkan 52 Minggu', '+/- 52 Minggu'],
1359
- ['USD', '64,66', '58,43 - 77,14', '+11,82 (18,28%)'],
1361
+ ['USD', '64,66', '58,43 - 77,14', '+11,80 (18,25%)'],
1360
1362
  ['KURS', '14.844,45', '14.796,95 - 16.307,80', '+1.107,55 (7,46%)'],
1361
- ['IDR', '959.794,03', '912.925,68 - 1.256.829,06', '+260.243,70 (27,11%)']])
1363
+ ['IDR', '959.794,03', '912.925,68 - 1.256.829,06', '+259.874,43 (27,08%)']])
1362
1364
  ```
1363
1365
 
1364
1366
  ## iloads
@@ -1488,7 +1490,7 @@ Output:
1488
1490
  ```py
1489
1491
  8
1490
1492
  ['mana', 'aja']
1491
- [<Element a at 0x7dfce538e0>, <Element a at 0x7dfccab700>, <Element a at 0x7dfccab7a0>, <Element a at 0x7dfccab7f0>, <Element a at 0x7dfccab840>, <Element a at 0x7dfccab890>, <Element a at 0x7dfccab8e0>, <Element a at 0x7dfccab930>, <Element a at 0x7dfccab980>, <Element a at 0x7dfccab9d0>, <Element a at 0x7dfccaba20>, <Element a at 0x7dfccaba70>, <Element a at 0x7dfccabac0>, <Element a at 0x7dfccabb10>, <Element a at 0x7dfccabb60>, <Element a at 0x7dfccabbb0>, <Element a at 0x7dfccabc00>, <Element a at 0x7dfccabc50>]
1493
+ [<Element a at 0x7add3e8370>, <Element a at 0x7add2302d0>, <Element a at 0x7add230370>, <Element a at 0x7add2303c0>, <Element a at 0x7add230410>, <Element a at 0x7add230460>, <Element a at 0x7add2304b0>, <Element a at 0x7add230500>, <Element a at 0x7add230550>, <Element a at 0x7add2305a0>, <Element a at 0x7add2305f0>, <Element a at 0x7add230640>, <Element a at 0x7add230690>, <Element a at 0x7add2306e0>, <Element a at 0x7add230730>, <Element a at 0x7add230780>, <Element a at 0x7add2307d0>, <Element a at 0x7add230820>]
1492
1494
  False
1493
1495
  ```
1494
1496
 
@@ -1550,7 +1552,7 @@ print(list(iscandir("./", recursive=False, scan_file=False)))
1550
1552
 
1551
1553
  Output:
1552
1554
  ```py
1553
- <generator object iscandir at 0x7dfcdd7640>
1555
+ <generator object iscandir at 0x7add2fbb40>
1554
1556
  [PosixPath('.git'), PosixPath('.vscode'), PosixPath('pypipr'), PosixPath('__pycache__'), PosixPath('dist')]
1555
1557
  ```
1556
1558
 
@@ -1583,81 +1585,83 @@ iprint(ivars(__import__('pypipr')))
1583
1585
 
1584
1586
  Output:
1585
1587
  ```py
1586
- {'function': {'avg': <function avg at 0x7e091cc040>,
1587
- 'get_filemtime': <function get_filemtime at 0x7e04967060>,
1588
- 'print_colorize': <function print_colorize at 0x7e04967240>,
1589
- 'print_log': <function print_log at 0x7e04967100>,
1590
- 'console_run': <function console_run at 0x7e049671a0>,
1591
- 'auto_reload': <function auto_reload at 0x7e05328f40>,
1592
- 'basename': <function basename at 0x7e04902980>,
1593
- 'chr_to_int': <function chr_to_int at 0x7e049677e0>,
1594
- 'int_to_chr': <function int_to_chr at 0x7e04967880>,
1595
- 'irange': <function irange at 0x7e04967b00>,
1596
- 'batchmaker': <function batchmaker at 0x7e049674c0>,
1597
- 'calculate': <function calculate at 0x7e04967600>,
1598
- 'batch_calculate': <function batch_calculate at 0x7e04967380>,
1599
- 'bin_to_int': <function bin_to_int at 0x7e05328ea0>,
1600
- 'is_empty': <function is_empty at 0x7e049742c0>,
1601
- 'exit_if_empty': <function exit_if_empty at 0x7e04974180>,
1602
- 'input_char': <function input_char at 0x7e04974220>,
1603
- 'choices': <function choices at 0x7e04974540>,
1604
- 'chunk_array': <function chunk_array at 0x7e049745e0>,
1605
- 'create_folder': <function create_folder at 0x7e04974680>,
1606
- 'datetime_from_string': <function datetime_from_string at 0x7e04974720>,
1607
- 'datetime_now': <function datetime_now at 0x7e049740e0>,
1608
- 'dict_first': <function dict_first at 0x7e04976a20>,
1609
- 'dirname': <function dirname at 0x7e04976ac0>,
1610
- 'is_iterable': <function is_iterable at 0x7e04976ca0>,
1611
- 'to_str': <function to_str at 0x7e04976d40>,
1612
- 'filter_empty': <function filter_empty at 0x7e049672e0>,
1613
- 'get_by_index': <function get_by_index at 0x7e04976b60>,
1614
- 'get_class_method': <function get_class_method at 0x7e04976de0>,
1615
- 'get_filesize': <function get_filesize at 0x7e04976f20>,
1616
- 'github_init': <function github_init at 0x7e04976fc0>,
1617
- 'github_pull': <function github_pull at 0x7e04977060>,
1618
- 'github_push': <function github_push at 0x7e049771a0>,
1619
- 'github_user': <function github_user at 0x7e04977240>,
1620
- 'hex_to_int': <function hex_to_int at 0x7e049772e0>,
1621
- 'iargv': <function iargv at 0x7e04977380>,
1622
- 'idir': <function idir at 0x7e04977420>,
1623
- 'idumps_html': <function idumps_html at 0x7e04977b00>,
1624
- 'idumps': <function idumps at 0x7e04977560>,
1625
- 'int_to_int': <function int_to_int at 0x7e0473f9c0>,
1626
- 'ienumerate': <function ienumerate at 0x7e04732020>,
1627
- 'ienv': <function ienv at 0x7e0473f6a0>,
1628
- 'iexec': <function iexec at 0x7e0473fa60>,
1629
- 'ijoin': <function ijoin at 0x7e0473fba0>,
1630
- 'iloads_html': <function iloads_html at 0x7e0473fd80>,
1631
- 'iloads': <function iloads at 0x7e09b6a020>,
1632
- 'int_to_bin': <function int_to_bin at 0x7e0473fb00>,
1633
- 'int_to_hex': <function int_to_hex at 0x7e0473fce0>,
1634
- 'int_to_oct': <function int_to_oct at 0x7e0473fe20>,
1635
- 'is_valid_url': <function is_valid_url at 0x7e045cbba0>,
1636
- 'iopen': <function iopen at 0x7e04754040>,
1637
- 'iprint': <function iprint at 0x7e045cb6a0>,
1638
- 'ireplace': <function ireplace at 0x7e045cb7e0>,
1639
- 'iscandir': <function iscandir at 0x7e0468c9a0>,
1640
- 'isplit': <function isplit at 0x7e0468ca40>,
1641
- 'ivars': <function ivars at 0x7e0468cae0>,
1642
- 'log': <function log at 0x7e0468cb80>,
1643
- 'oct_to_int': <function oct_to_int at 0x7e0468cc20>,
1644
- 'password_generator': <function password_generator at 0x7e0468ccc0>,
1645
- 'pip_freeze_without_version': <function pip_freeze_without_version at 0x7e0468ce00>,
1646
- 'poetry_publish': <function poetry_publish at 0x7e0468cea0>,
1647
- 'poetry_update_version': <function poetry_update_version at 0x7e0468cfe0>,
1648
- 'print_dir': <function print_dir at 0x7e0468d1c0>,
1649
- 'print_to_last_line': <function print_to_last_line at 0x7e0468d260>,
1650
- 'random_bool': <function random_bool at 0x7e0468d300>,
1651
- 'restart': <function restart at 0x7e0468d3a0>,
1652
- 'set_timeout': <function set_timeout at 0x7e0468d440>,
1653
- 'sets_ordered': <function sets_ordered at 0x7e0468d4e0>,
1654
- 'str_cmp': <function str_cmp at 0x7e0468d580>,
1655
- 'text_colorize': <function text_colorize at 0x7e0468d620>},
1588
+ {'function': {'avg': <function avg at 0x7ae8de0040>,
1589
+ 'get_filemtime': <function get_filemtime at 0x7ae4a67060>,
1590
+ 'print_colorize': <function print_colorize at 0x7ae4a67240>,
1591
+ 'print_log': <function print_log at 0x7ae4a67100>,
1592
+ 'console_run': <function console_run at 0x7ae4a671a0>,
1593
+ 'auto_reload': <function auto_reload at 0x7ae539cf40>,
1594
+ 'basename': <function basename at 0x7ae4a02980>,
1595
+ 'chr_to_int': <function chr_to_int at 0x7ae4a677e0>,
1596
+ 'int_to_chr': <function int_to_chr at 0x7ae4a67880>,
1597
+ 'irange': <function irange at 0x7ae4a67b00>,
1598
+ 'batchmaker': <function batchmaker at 0x7ae4a674c0>,
1599
+ 'calculate': <function calculate at 0x7ae4a67600>,
1600
+ 'batch_calculate': <function batch_calculate at 0x7ae4a67380>,
1601
+ 'bin_to_int': <function bin_to_int at 0x7ae539cea0>,
1602
+ 'is_empty': <function is_empty at 0x7ae4a742c0>,
1603
+ 'exit_if_empty': <function exit_if_empty at 0x7ae4a74180>,
1604
+ 'input_char': <function input_char at 0x7ae4a74220>,
1605
+ 'choices': <function choices at 0x7ae4a74540>,
1606
+ 'chunk_array': <function chunk_array at 0x7ae4a745e0>,
1607
+ 'create_folder': <function create_folder at 0x7ae4a74680>,
1608
+ 'datetime_from_string': <function datetime_from_string at 0x7ae4a74720>,
1609
+ 'datetime_now': <function datetime_now at 0x7ae4a740e0>,
1610
+ 'dict_first': <function dict_first at 0x7ae4a76a20>,
1611
+ 'dirname': <function dirname at 0x7ae4a76ac0>,
1612
+ 'is_iterable': <function is_iterable at 0x7ae4a76ca0>,
1613
+ 'to_str': <function to_str at 0x7ae4a76d40>,
1614
+ 'filter_empty': <function filter_empty at 0x7ae4a672e0>,
1615
+ 'get_by_index': <function get_by_index at 0x7ae4a76b60>,
1616
+ 'get_class_method': <function get_class_method at 0x7ae4a76de0>,
1617
+ 'get_filesize': <function get_filesize at 0x7ae4a76f20>,
1618
+ 'github_init': <function github_init at 0x7ae4a76fc0>,
1619
+ 'github_pull': <function github_pull at 0x7ae4a77060>,
1620
+ 'github_push': <function github_push at 0x7ae4a771a0>,
1621
+ 'github_user': <function github_user at 0x7ae4a77240>,
1622
+ 'hex_to_int': <function hex_to_int at 0x7ae4a772e0>,
1623
+ 'iargv': <function iargv at 0x7ae4a77380>,
1624
+ 'idir': <function idir at 0x7ae4a77420>,
1625
+ 'idumps_html': <function idumps_html at 0x7ae4a77b00>,
1626
+ 'idumps': <function idumps at 0x7ae4a77560>,
1627
+ 'int_to_int': <function int_to_int at 0x7ae48a79c0>,
1628
+ 'ienumerate': <function ienumerate at 0x7ae489a020>,
1629
+ 'ienv': <function ienv at 0x7ae48a76a0>,
1630
+ 'iexec': <function iexec at 0x7ae48a7a60>,
1631
+ 'ijoin': <function ijoin at 0x7ae48a7ba0>,
1632
+ 'iloads_html': <function iloads_html at 0x7ae48a7d80>,
1633
+ 'iloads': <function iloads at 0x7ae97e2020>,
1634
+ 'int_to_bin': <function int_to_bin at 0x7ae48a7b00>,
1635
+ 'int_to_hex': <function int_to_hex at 0x7ae48a7ce0>,
1636
+ 'int_to_oct': <function int_to_oct at 0x7ae48a7e20>,
1637
+ 'is_valid_url': <function is_valid_url at 0x7ae46dbba0>,
1638
+ 'iopen': <function iopen at 0x7ae48b8040>,
1639
+ 'iprint': <function iprint at 0x7ae46db6a0>,
1640
+ 'ireplace': <function ireplace at 0x7ae46db7e0>,
1641
+ 'iscandir': <function iscandir at 0x7ae47a09a0>,
1642
+ 'isplit': <function isplit at 0x7ae47a0a40>,
1643
+ 'ivars': <function ivars at 0x7ae47a0ae0>,
1644
+ 'log': <function log at 0x7ae47a0b80>,
1645
+ 'oct_to_int': <function oct_to_int at 0x7ae47a0c20>,
1646
+ 'password_generator': <function password_generator at 0x7ae47a0cc0>,
1647
+ 'pip_freeze_without_version': <function pip_freeze_without_version at 0x7ae47a0e00>,
1648
+ 'poetry_publish': <function poetry_publish at 0x7ae47a0ea0>,
1649
+ 'poetry_update_version': <function poetry_update_version at 0x7ae47a0fe0>,
1650
+ 'print_dir': <function print_dir at 0x7ae47a11c0>,
1651
+ 'print_to_last_line': <function print_to_last_line at 0x7ae47a1260>,
1652
+ 'random_bool': <function random_bool at 0x7ae47a1300>,
1653
+ 'restart': <function restart at 0x7ae47a13a0>,
1654
+ 'set_timeout': <function set_timeout at 0x7ae47a1440>,
1655
+ 'sets_ordered': <function sets_ordered at 0x7ae47a14e0>,
1656
+ 'sqlite_get_all_tables': <function sqlite_get_all_tables at 0x7ae47a1620>,
1657
+ 'sqlite_get_data_table': <function sqlite_get_data_table at 0x7ae47a1120>,
1658
+ 'str_cmp': <function str_cmp at 0x7ae47a1f80>,
1659
+ 'text_colorize': <function text_colorize at 0x7ae47a2020>},
1656
1660
  'class': {'ComparePerformance': <class 'pypipr.ComparePerformance.ComparePerformance'>,
1657
1661
  'PintUregQuantity': <class 'pint.Quantity'>,
1658
1662
  'RunParallel': <class 'pypipr.RunParallel.RunParallel'>},
1659
1663
  'variable': {'LINUX': True,
1660
- 'PintUreg': <pint.registry.UnitRegistry object at 0x7e091d3490>,
1664
+ 'PintUreg': <pint.registry.UnitRegistry object at 0x7ae8deedd0>,
1661
1665
  'WINDOWS': False},
1662
1666
  'module': {'asyncio': <module 'asyncio' from '/data/data/com.termux/files/usr/lib/python3.11/asyncio/__init__.py'>,
1663
1667
  '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'>,
@@ -1747,7 +1751,7 @@ print(password_generator())
1747
1751
 
1748
1752
  Output:
1749
1753
  ```py
1750
- OR)^A<Ax
1754
+ YQCc!_92
1751
1755
  ```
1752
1756
 
1753
1757
  ## pip_freeze_without_version
@@ -1805,7 +1809,7 @@ Output:
1805
1809
  __enter__ : https:/www.google.com
1806
1810
  __fspath__ : https:/www.google.com
1807
1811
  __getstate__ : (None, {'_drv': '', '_root': '', '_parts': ['https:', 'www.google.com'], '_str': 'https:/www.google.com'})
1808
- __hash__ : 423689897362171039
1812
+ __hash__ : 1828089107973203907
1809
1813
  __init__ : None
1810
1814
  __init_subclass__ : None
1811
1815
  __module__ : pathlib
@@ -1818,8 +1822,8 @@ Output:
1818
1822
  _cached_cparts : ['https:', 'www.google.com']
1819
1823
  _cparts : ['https:', 'www.google.com']
1820
1824
  _drv :
1821
- _flavour : <pathlib._PosixFlavour object at 0x7e08f1d4d0>
1822
- _hash : 423689897362171039
1825
+ _flavour : <pathlib._PosixFlavour object at 0x7ae8c31510>
1826
+ _hash : 1828089107973203907
1823
1827
  _parts : ['https:', 'www.google.com']
1824
1828
  _root :
1825
1829
  _str : https:/www.google.com
@@ -1841,7 +1845,7 @@ Output:
1841
1845
  is_reserved : False
1842
1846
  is_socket : False
1843
1847
  is_symlink : False
1844
- iterdir : <generator object Path.iterdir at 0x7dfce23d80>
1848
+ iterdir : <generator object Path.iterdir at 0x7add382f80>
1845
1849
  joinpath : https:/www.google.com
1846
1850
  name : www.google.com
1847
1851
  parent : https:
@@ -1915,7 +1919,7 @@ x.cancel()
1915
1919
 
1916
1920
  Output:
1917
1921
  ```py
1918
- <Timer(Thread-2, started 541094141168)>
1922
+ <Timer(Thread-2, started 527672786160)>
1919
1923
  menghentikan timeout 7
1920
1924
  ```
1921
1925
 
@@ -1933,10 +1937,18 @@ print(list(sets_ordered(array)))
1933
1937
 
1934
1938
  Output:
1935
1939
  ```py
1936
- <generator object sets_ordered at 0x7dfce6d560>
1940
+ <generator object sets_ordered at 0x7add3e17d0>
1937
1941
  [2, 3, 12, 42, 1, 43, 41, 4, 24, 32]
1938
1942
  ```
1939
1943
 
1944
+ ## sqlite_get_all_tables
1945
+
1946
+ `sqlite_get_all_tables(filename)`
1947
+
1948
+ ## sqlite_get_data_table
1949
+
1950
+ `sqlite_get_data_table(filename, tablename)`
1951
+
1940
1952
  ## str_cmp
1941
1953
 
1942
1954
  `str_cmp(t1, t2)`
@@ -2003,15 +2015,15 @@ print(ExampleComparePerformance().compare_performance())
2003
2015
 
2004
2016
  Output:
2005
2017
  ```py
2006
- {'a': <generator object ExampleComparePerformance.a.<locals>.<genexpr> at 0x7dfce6c6c0>,
2018
+ {'a': <generator object ExampleComparePerformance.a.<locals>.<genexpr> at 0x7add3e0930>,
2007
2019
  'b': (0, 1, 2, 3, 4, 5, 6, 7, 8, 9),
2008
2020
  'c': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
2009
2021
  'd': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]}
2010
- {'a': 100, 'b': 124, 'c': 136, 'd': 135}
2011
- {'a': 100, 'b': 120, 'c': 118, 'd': 107}
2012
- {'a': 100, 'b': 121, 'c': 115, 'd': 117}
2013
- {'a': 100, 'b': 114, 'c': 106, 'd': 122}
2014
- {'a': 100, 'b': 118, 'c': 114, 'd': 115}
2022
+ {'a': 135, 'b': 128, 'c': 100, 'd': 179}
2023
+ {'a': 103, 'b': 112, 'c': 100, 'd': 165}
2024
+ {'a': 112, 'b': 120, 'c': 100, 'd': 158}
2025
+ {'a': 108, 'b': 123, 'c': 100, 'd': 152}
2026
+ {'a': 110, 'b': 126, 'c': 100, 'd': 162}
2015
2027
  ```
2016
2028
 
2017
2029
  ## PintUregQuantity
@@ -71,6 +71,8 @@ from .random_bool import random_bool
71
71
  from .restart import restart
72
72
  from .set_timeout import set_timeout
73
73
  from .sets_ordered import sets_ordered
74
+ from .sqlite_get_all_tables import sqlite_get_all_tables
75
+ from .sqlite_get_data_table import sqlite_get_data_table
74
76
  from .str_cmp import str_cmp
75
77
  from .text_colorize import text_colorize
76
78
  from .to_str import to_str
@@ -104,4 +106,4 @@ import tzdata
104
106
  import uuid
105
107
  import webbrowser
106
108
  import yaml
107
- import zoneinfo
109
+ import zoneinfo
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "pypipr"
3
- version = "1.0.135"
3
+ version = "1.0.136"
4
4
  description = "The Python Package Index Project"
5
5
  authors = ["ufiapjj <ufiapjj@gmail.com>"]
6
6
  readme = "readme.md"