pypipr 1.0.137__tar.gz → 1.0.138__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 (87) hide show
  1. {pypipr-1.0.137 → pypipr-1.0.138}/PKG-INFO +106 -106
  2. pypipr-1.0.138/pypipr/sqlite_delete_table.py +9 -0
  3. pypipr-1.0.138/pypipr/sqlite_get_all_tables.py +10 -0
  4. pypipr-1.0.138/pypipr/sqlite_get_data_table.py +10 -0
  5. {pypipr-1.0.137 → pypipr-1.0.138}/pyproject.toml +1 -1
  6. {pypipr-1.0.137 → pypipr-1.0.138}/readme.md +105 -105
  7. pypipr-1.0.137/pypipr/sqlite_delete_table.py +0 -8
  8. pypipr-1.0.137/pypipr/sqlite_get_all_tables.py +0 -10
  9. pypipr-1.0.137/pypipr/sqlite_get_data_table.py +0 -10
  10. {pypipr-1.0.137 → pypipr-1.0.138}/pypipr/ComparePerformance.py +0 -0
  11. {pypipr-1.0.137 → pypipr-1.0.138}/pypipr/LINUX.py +0 -0
  12. {pypipr-1.0.137 → pypipr-1.0.138}/pypipr/PintUreg.py +0 -0
  13. {pypipr-1.0.137 → pypipr-1.0.138}/pypipr/PintUregQuantity.py +0 -0
  14. {pypipr-1.0.137 → pypipr-1.0.138}/pypipr/RunParallel.py +0 -0
  15. {pypipr-1.0.137 → pypipr-1.0.138}/pypipr/WINDOWS.py +0 -0
  16. {pypipr-1.0.137 → pypipr-1.0.138}/pypipr/__init__.py +0 -0
  17. {pypipr-1.0.137 → pypipr-1.0.138}/pypipr/__terminal__.py +0 -0
  18. {pypipr-1.0.137 → pypipr-1.0.138}/pypipr/auto_reload.py +0 -0
  19. {pypipr-1.0.137 → pypipr-1.0.138}/pypipr/avg.py +0 -0
  20. {pypipr-1.0.137 → pypipr-1.0.138}/pypipr/basename.py +0 -0
  21. {pypipr-1.0.137 → pypipr-1.0.138}/pypipr/batch_calculate.py +0 -0
  22. {pypipr-1.0.137 → pypipr-1.0.138}/pypipr/batchmaker.py +0 -0
  23. {pypipr-1.0.137 → pypipr-1.0.138}/pypipr/bin_to_int.py +0 -0
  24. {pypipr-1.0.137 → pypipr-1.0.138}/pypipr/calculate.py +0 -0
  25. {pypipr-1.0.137 → pypipr-1.0.138}/pypipr/choices.py +0 -0
  26. {pypipr-1.0.137 → pypipr-1.0.138}/pypipr/chr_to_int.py +0 -0
  27. {pypipr-1.0.137 → pypipr-1.0.138}/pypipr/chunk_array.py +0 -0
  28. {pypipr-1.0.137 → pypipr-1.0.138}/pypipr/console_run.py +0 -0
  29. {pypipr-1.0.137 → pypipr-1.0.138}/pypipr/create_folder.py +0 -0
  30. {pypipr-1.0.137 → pypipr-1.0.138}/pypipr/datetime_from_string.py +0 -0
  31. {pypipr-1.0.137 → pypipr-1.0.138}/pypipr/datetime_now.py +0 -0
  32. {pypipr-1.0.137 → pypipr-1.0.138}/pypipr/dict_first.py +0 -0
  33. {pypipr-1.0.137 → pypipr-1.0.138}/pypipr/dirname.py +0 -0
  34. {pypipr-1.0.137 → pypipr-1.0.138}/pypipr/exit_if_empty.py +0 -0
  35. {pypipr-1.0.137 → pypipr-1.0.138}/pypipr/filter_empty.py +0 -0
  36. {pypipr-1.0.137 → pypipr-1.0.138}/pypipr/get_by_index.py +0 -0
  37. {pypipr-1.0.137 → pypipr-1.0.138}/pypipr/get_class_method.py +0 -0
  38. {pypipr-1.0.137 → pypipr-1.0.138}/pypipr/get_filemtime.py +0 -0
  39. {pypipr-1.0.137 → pypipr-1.0.138}/pypipr/get_filesize.py +0 -0
  40. {pypipr-1.0.137 → pypipr-1.0.138}/pypipr/github_init.py +0 -0
  41. {pypipr-1.0.137 → pypipr-1.0.138}/pypipr/github_pull.py +0 -0
  42. {pypipr-1.0.137 → pypipr-1.0.138}/pypipr/github_push.py +0 -0
  43. {pypipr-1.0.137 → pypipr-1.0.138}/pypipr/github_user.py +0 -0
  44. {pypipr-1.0.137 → pypipr-1.0.138}/pypipr/hex_to_int.py +0 -0
  45. {pypipr-1.0.137 → pypipr-1.0.138}/pypipr/iargv.py +0 -0
  46. {pypipr-1.0.137 → pypipr-1.0.138}/pypipr/idir.py +0 -0
  47. {pypipr-1.0.137 → pypipr-1.0.138}/pypipr/idumps.py +0 -0
  48. {pypipr-1.0.137 → pypipr-1.0.138}/pypipr/idumps_html.py +0 -0
  49. {pypipr-1.0.137 → pypipr-1.0.138}/pypipr/ienumerate.py +0 -0
  50. {pypipr-1.0.137 → pypipr-1.0.138}/pypipr/ienv.py +0 -0
  51. {pypipr-1.0.137 → pypipr-1.0.138}/pypipr/iexec.py +0 -0
  52. {pypipr-1.0.137 → pypipr-1.0.138}/pypipr/ijoin.py +0 -0
  53. {pypipr-1.0.137 → pypipr-1.0.138}/pypipr/iloads.py +0 -0
  54. {pypipr-1.0.137 → pypipr-1.0.138}/pypipr/iloads_html.py +0 -0
  55. {pypipr-1.0.137 → pypipr-1.0.138}/pypipr/input_char.py +0 -0
  56. {pypipr-1.0.137 → pypipr-1.0.138}/pypipr/int_to_bin.py +0 -0
  57. {pypipr-1.0.137 → pypipr-1.0.138}/pypipr/int_to_chr.py +0 -0
  58. {pypipr-1.0.137 → pypipr-1.0.138}/pypipr/int_to_hex.py +0 -0
  59. {pypipr-1.0.137 → pypipr-1.0.138}/pypipr/int_to_int.py +0 -0
  60. {pypipr-1.0.137 → pypipr-1.0.138}/pypipr/int_to_oct.py +0 -0
  61. {pypipr-1.0.137 → pypipr-1.0.138}/pypipr/iopen.py +0 -0
  62. {pypipr-1.0.137 → pypipr-1.0.138}/pypipr/iprint.py +0 -0
  63. {pypipr-1.0.137 → pypipr-1.0.138}/pypipr/irange.py +0 -0
  64. {pypipr-1.0.137 → pypipr-1.0.138}/pypipr/ireplace.py +0 -0
  65. {pypipr-1.0.137 → pypipr-1.0.138}/pypipr/is_empty.py +0 -0
  66. {pypipr-1.0.137 → pypipr-1.0.138}/pypipr/is_iterable.py +0 -0
  67. {pypipr-1.0.137 → pypipr-1.0.138}/pypipr/is_valid_url.py +0 -0
  68. {pypipr-1.0.137 → pypipr-1.0.138}/pypipr/iscandir.py +0 -0
  69. {pypipr-1.0.137 → pypipr-1.0.138}/pypipr/isplit.py +0 -0
  70. {pypipr-1.0.137 → pypipr-1.0.138}/pypipr/ivars.py +0 -0
  71. {pypipr-1.0.137 → pypipr-1.0.138}/pypipr/log.py +0 -0
  72. {pypipr-1.0.137 → pypipr-1.0.138}/pypipr/oct_to_int.py +0 -0
  73. {pypipr-1.0.137 → pypipr-1.0.138}/pypipr/password_generator.py +0 -0
  74. {pypipr-1.0.137 → pypipr-1.0.138}/pypipr/pip_freeze_without_version.py +0 -0
  75. {pypipr-1.0.137 → pypipr-1.0.138}/pypipr/poetry_publish.py +0 -0
  76. {pypipr-1.0.137 → pypipr-1.0.138}/pypipr/poetry_update_version.py +0 -0
  77. {pypipr-1.0.137 → pypipr-1.0.138}/pypipr/print_colorize.py +0 -0
  78. {pypipr-1.0.137 → pypipr-1.0.138}/pypipr/print_dir.py +0 -0
  79. {pypipr-1.0.137 → pypipr-1.0.138}/pypipr/print_log.py +0 -0
  80. {pypipr-1.0.137 → pypipr-1.0.138}/pypipr/print_to_last_line.py +0 -0
  81. {pypipr-1.0.137 → pypipr-1.0.138}/pypipr/random_bool.py +0 -0
  82. {pypipr-1.0.137 → pypipr-1.0.138}/pypipr/restart.py +0 -0
  83. {pypipr-1.0.137 → pypipr-1.0.138}/pypipr/set_timeout.py +0 -0
  84. {pypipr-1.0.137 → pypipr-1.0.138}/pypipr/sets_ordered.py +0 -0
  85. {pypipr-1.0.137 → pypipr-1.0.138}/pypipr/str_cmp.py +0 -0
  86. {pypipr-1.0.137 → pypipr-1.0.138}/pypipr/text_colorize.py +0 -0
  87. {pypipr-1.0.137 → pypipr-1.0.138}/pypipr/to_str.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pypipr
3
- Version: 1.0.137
3
+ Version: 1.0.138
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 0x71d2337740>
252
- <generator object int_range at 0x71d2337740>
251
+ <generator object int_range at 0x7a9f373740>
252
+ <generator object int_range at 0x7a9f373740>
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 0x71d23b9480>
284
+ <generator object batchmaker at 0x7a9f3f5480>
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 0x71d23c2110>
338
+ <generator object batch_calculate at 0x7a9f3fe110>
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 0x71d2337840>
444
+ <generator object chunk_array at 0x7a9f373840>
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-16 04:44:38.058230+07:00
496
- 2024-05-15 21:44:38.059595+00:00
497
- 2024-05-15 14:44:38.066705-07:00
495
+ 2024-05-16 04:58:20.300250+07:00
496
+ 2024-05-15 21:58:20.301690+00:00
497
+ 2024-05-15 14:58:20.305410-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 0x71d23c1e40>
603
+ <generator object filter_empty at 0x7a9f3fde40>
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 0x71d23c23e0>
651
- [<function ExampleGetClassMethod.a at 0x71d23fee80>, <function ExampleGetClassMethod.b at 0x71d23fef20>, <function ExampleGetClassMethod.c at 0x71d23fcea0>, <function ExampleGetClassMethod.d at 0x71d23ff100>]
650
+ <generator object get_class_method at 0x7a9f3fe3e0>
651
+ [<function ExampleGetClassMethod.a at 0x7a9f436e80>, <function ExampleGetClassMethod.b at 0x7a9f436f20>, <function ExampleGetClassMethod.c at 0x7a9f434ea0>, <function ExampleGetClassMethod.d at 0x7a9f437100>]
652
652
  ```
653
653
 
654
654
  ## get_filesize
@@ -1061,7 +1061,7 @@ Output:
1061
1061
 
1062
1062
  ## ienumerate
1063
1063
 
1064
- `ienumerate(iterator, start=0, key=<function int_to_int at 0x71db4ab9c0>)`
1064
+ `ienumerate(iterator, start=0, key=<function int_to_int at 0x7aa7e979c0>)`
1065
1065
 
1066
1066
  meningkatkan fungsi enumerate() pada python
1067
1067
  untuk key menggunakan huruf dan basis angka lainnya.
@@ -1074,7 +1074,7 @@ iprint(ienumerate(it, key=int_to_chr))
1074
1074
 
1075
1075
  Output:
1076
1076
  ```py
1077
- <generator object ienumerate at 0x71d23c24d0>
1077
+ <generator object ienumerate at 0x7a9f3fe4d0>
1078
1078
  [('a', 'ini'), ('b', 'contoh'), ('c', 'enumerator')]
1079
1079
  ```
1080
1080
 
@@ -1141,7 +1141,7 @@ print(ijoin(10, ' '))
1141
1141
 
1142
1142
  Output:
1143
1143
  ```py
1144
- asd, qweqw, weq, dfs
1144
+ asd, weq, dfs, qweqw
1145
1145
  ,ini,path,seperti,url,
1146
1146
  ini,path,seperti,url
1147
1147
  <li>satu</li>
@@ -1263,7 +1263,7 @@ Output:
1263
1263
  ['Ounce\xa0(oz)', '2.386,03', '16.131,00', '38.489.050'],
1264
1264
  ['Gram\xa0(gr)', '76,71', '16.131,00', '1.237.452'],
1265
1265
  ['Kilogram\xa0(kg)', '76.712,65', '16.131,00', '1.237.451.691'],
1266
- ['Update harga emas :16 Mei 2024, pukul 04:44Update kurs :15 Mei 2024, pukul '
1266
+ ['Update harga emas :16 Mei 2024, pukul 04:58Update kurs :15 Mei 2024, pukul '
1267
1267
  '13:10']],
1268
1268
  [['Gram', 'UBS Gold 99.99%'],
1269
1269
  ['Jual', 'Beli'],
@@ -1314,7 +1314,7 @@ Output:
1314
1314
  ['USD', '76,71↓', '%'],
1315
1315
  ['KURS', '15.916,70↓', '-14,25-0,09%'],
1316
1316
  ['IDR', '1.221.012,17↓', '-1.093,16-0,09%'],
1317
- ['Kamis, 16 Mei 2024 04:44']],
1317
+ ['Kamis, 16 Mei 2024 04:58']],
1318
1318
  [[''],
1319
1319
  ['Emas 1 Gram (IDR)Emas 1 Gram (USD)Kurs USD-IDR',
1320
1320
  'Hari Ini',
@@ -1467,7 +1467,7 @@ Output:
1467
1467
  ```py
1468
1468
  8
1469
1469
  ['mana', 'aja']
1470
- [<Element a at 0x71d240e9e0>, <Element a at 0x71d22586e0>, <Element a at 0x71d2258780>, <Element a at 0x71d22587d0>, <Element a at 0x71d2258820>, <Element a at 0x71d2258870>, <Element a at 0x71d22588c0>, <Element a at 0x71d2258910>, <Element a at 0x71d2258960>, <Element a at 0x71d22589b0>, <Element a at 0x71d2258a00>, <Element a at 0x71d2258a50>, <Element a at 0x71d2258aa0>, <Element a at 0x71d2258af0>, <Element a at 0x71d2258b40>, <Element a at 0x71d2258b90>, <Element a at 0x71d2258be0>, <Element a at 0x71d2258c30>]
1470
+ [<Element a at 0x7a9f44a6c0>, <Element a at 0x7a9f2946e0>, <Element a at 0x7a9f294780>, <Element a at 0x7a9f2947d0>, <Element a at 0x7a9f294820>, <Element a at 0x7a9f294870>, <Element a at 0x7a9f2948c0>, <Element a at 0x7a9f294910>, <Element a at 0x7a9f294960>, <Element a at 0x7a9f2949b0>, <Element a at 0x7a9f294a00>, <Element a at 0x7a9f294a50>, <Element a at 0x7a9f294aa0>, <Element a at 0x7a9f294af0>, <Element a at 0x7a9f294b40>, <Element a at 0x7a9f294b90>, <Element a at 0x7a9f294be0>, <Element a at 0x7a9f294c30>]
1471
1471
  False
1472
1472
  ```
1473
1473
 
@@ -1529,7 +1529,7 @@ print(list(iscandir("./", recursive=False, scan_file=False)))
1529
1529
 
1530
1530
  Output:
1531
1531
  ```py
1532
- <generator object iscandir at 0x71d2337940>
1532
+ <generator object iscandir at 0x7a9f373940>
1533
1533
  [PosixPath('.git'), PosixPath('.vscode'), PosixPath('pypipr'), PosixPath('__pycache__'), PosixPath('dist')]
1534
1534
  ```
1535
1535
 
@@ -1562,84 +1562,84 @@ iprint(ivars(__import__('pypipr')))
1562
1562
 
1563
1563
  Output:
1564
1564
  ```py
1565
- {'function': {'avg': <function avg at 0x71e05e0040>,
1566
- 'get_filemtime': <function get_filemtime at 0x71db693060>,
1567
- 'print_colorize': <function print_colorize at 0x71db693240>,
1568
- 'print_log': <function print_log at 0x71db693100>,
1569
- 'console_run': <function console_run at 0x71db6931a0>,
1570
- 'auto_reload': <function auto_reload at 0x71dbe58f40>,
1571
- 'basename': <function basename at 0x71db62e980>,
1572
- 'chr_to_int': <function chr_to_int at 0x71db6937e0>,
1573
- 'int_to_chr': <function int_to_chr at 0x71db693880>,
1574
- 'irange': <function irange at 0x71db693b00>,
1575
- 'batchmaker': <function batchmaker at 0x71db6934c0>,
1576
- 'calculate': <function calculate at 0x71db693600>,
1577
- 'batch_calculate': <function batch_calculate at 0x71db693380>,
1578
- 'bin_to_int': <function bin_to_int at 0x71dbe58ea0>,
1579
- 'is_empty': <function is_empty at 0x71db6a02c0>,
1580
- 'exit_if_empty': <function exit_if_empty at 0x71db6a0180>,
1581
- 'input_char': <function input_char at 0x71db6a0220>,
1582
- 'choices': <function choices at 0x71db6a0540>,
1583
- 'chunk_array': <function chunk_array at 0x71db6a05e0>,
1584
- 'create_folder': <function create_folder at 0x71db6a0680>,
1585
- 'datetime_from_string': <function datetime_from_string at 0x71db6a0720>,
1586
- 'datetime_now': <function datetime_now at 0x71db6a00e0>,
1587
- 'dict_first': <function dict_first at 0x71db6a2a20>,
1588
- 'dirname': <function dirname at 0x71db6a2ac0>,
1589
- 'is_iterable': <function is_iterable at 0x71db6a2ca0>,
1590
- 'to_str': <function to_str at 0x71db6a2d40>,
1591
- 'filter_empty': <function filter_empty at 0x71db6932e0>,
1592
- 'get_by_index': <function get_by_index at 0x71db6a2b60>,
1593
- 'get_class_method': <function get_class_method at 0x71db6a2de0>,
1594
- 'get_filesize': <function get_filesize at 0x71db6a2f20>,
1595
- 'github_init': <function github_init at 0x71db6a2fc0>,
1596
- 'github_pull': <function github_pull at 0x71db6a3060>,
1597
- 'github_push': <function github_push at 0x71db6a31a0>,
1598
- 'github_user': <function github_user at 0x71db6a3240>,
1599
- 'hex_to_int': <function hex_to_int at 0x71db6a32e0>,
1600
- 'iargv': <function iargv at 0x71db6a3380>,
1601
- 'idir': <function idir at 0x71db6a3420>,
1602
- 'idumps_html': <function idumps_html at 0x71db6a3b00>,
1603
- 'idumps': <function idumps at 0x71db6a3560>,
1604
- 'int_to_int': <function int_to_int at 0x71db4ab9c0>,
1605
- 'ienumerate': <function ienumerate at 0x71db49e020>,
1606
- 'ienv': <function ienv at 0x71db4ab6a0>,
1607
- 'iexec': <function iexec at 0x71db4aba60>,
1608
- 'ijoin': <function ijoin at 0x71db4abba0>,
1609
- 'iloads_html': <function iloads_html at 0x71db4abd80>,
1610
- 'iloads': <function iloads at 0x71e0f72020>,
1611
- 'int_to_bin': <function int_to_bin at 0x71db4abb00>,
1612
- 'int_to_hex': <function int_to_hex at 0x71db4abce0>,
1613
- 'int_to_oct': <function int_to_oct at 0x71db4abe20>,
1614
- 'is_valid_url': <function is_valid_url at 0x71db2ebba0>,
1615
- 'iopen': <function iopen at 0x71db4b8040>,
1616
- 'iprint': <function iprint at 0x71db2eb6a0>,
1617
- 'ireplace': <function ireplace at 0x71db2eb7e0>,
1618
- 'iscandir': <function iscandir at 0x71db3a89a0>,
1619
- 'isplit': <function isplit at 0x71db3a8a40>,
1620
- 'ivars': <function ivars at 0x71db3a8ae0>,
1621
- 'log': <function log at 0x71db3a8b80>,
1622
- 'oct_to_int': <function oct_to_int at 0x71db3a8c20>,
1623
- 'password_generator': <function password_generator at 0x71db3a8cc0>,
1624
- 'pip_freeze_without_version': <function pip_freeze_without_version at 0x71db3a8e00>,
1625
- 'poetry_publish': <function poetry_publish at 0x71db3a8ea0>,
1626
- 'poetry_update_version': <function poetry_update_version at 0x71db3a8fe0>,
1627
- 'print_dir': <function print_dir at 0x71db3a91c0>,
1628
- 'print_to_last_line': <function print_to_last_line at 0x71db3a9260>,
1629
- 'random_bool': <function random_bool at 0x71db3a9300>,
1630
- 'restart': <function restart at 0x71db3a93a0>,
1631
- 'set_timeout': <function set_timeout at 0x71db3a9440>,
1632
- 'sets_ordered': <function sets_ordered at 0x71db3a94e0>,
1633
- 'sqlite_delete_table': <function sqlite_delete_table at 0x71db3a9620>,
1634
- 'sqlite_get_all_tables': <function sqlite_get_all_tables at 0x71db3a9120>,
1635
- 'sqlite_get_data_table': <function sqlite_get_data_table at 0x71db3a9ee0>,
1636
- 'str_cmp': <function str_cmp at 0x71db3a9f80>,
1637
- 'text_colorize': <function text_colorize at 0x71db3aa020>},
1565
+ {'function': {'avg': <function avg at 0x7aae958040>,
1566
+ 'get_filemtime': <function get_filemtime at 0x7aa8073060>,
1567
+ 'print_colorize': <function print_colorize at 0x7aa8073240>,
1568
+ 'print_log': <function print_log at 0x7aa8073100>,
1569
+ 'console_run': <function console_run at 0x7aa80731a0>,
1570
+ 'auto_reload': <function auto_reload at 0x7aa93d0f40>,
1571
+ 'basename': <function basename at 0x7aa800e980>,
1572
+ 'chr_to_int': <function chr_to_int at 0x7aa80737e0>,
1573
+ 'int_to_chr': <function int_to_chr at 0x7aa8073880>,
1574
+ 'irange': <function irange at 0x7aa8073b00>,
1575
+ 'batchmaker': <function batchmaker at 0x7aa80734c0>,
1576
+ 'calculate': <function calculate at 0x7aa8073600>,
1577
+ 'batch_calculate': <function batch_calculate at 0x7aa8073380>,
1578
+ 'bin_to_int': <function bin_to_int at 0x7aa93d0ea0>,
1579
+ 'is_empty': <function is_empty at 0x7aa80802c0>,
1580
+ 'exit_if_empty': <function exit_if_empty at 0x7aa8080180>,
1581
+ 'input_char': <function input_char at 0x7aa8080220>,
1582
+ 'choices': <function choices at 0x7aa8080540>,
1583
+ 'chunk_array': <function chunk_array at 0x7aa80805e0>,
1584
+ 'create_folder': <function create_folder at 0x7aa8080680>,
1585
+ 'datetime_from_string': <function datetime_from_string at 0x7aa8080720>,
1586
+ 'datetime_now': <function datetime_now at 0x7aa80800e0>,
1587
+ 'dict_first': <function dict_first at 0x7aa8082a20>,
1588
+ 'dirname': <function dirname at 0x7aa8082ac0>,
1589
+ 'is_iterable': <function is_iterable at 0x7aa8082ca0>,
1590
+ 'to_str': <function to_str at 0x7aa8082d40>,
1591
+ 'filter_empty': <function filter_empty at 0x7aa80732e0>,
1592
+ 'get_by_index': <function get_by_index at 0x7aa8082b60>,
1593
+ 'get_class_method': <function get_class_method at 0x7aa8082de0>,
1594
+ 'get_filesize': <function get_filesize at 0x7aa8082f20>,
1595
+ 'github_init': <function github_init at 0x7aa8082fc0>,
1596
+ 'github_pull': <function github_pull at 0x7aa8083060>,
1597
+ 'github_push': <function github_push at 0x7aa80831a0>,
1598
+ 'github_user': <function github_user at 0x7aa8083240>,
1599
+ 'hex_to_int': <function hex_to_int at 0x7aa80832e0>,
1600
+ 'iargv': <function iargv at 0x7aa8083380>,
1601
+ 'idir': <function idir at 0x7aa8083420>,
1602
+ 'idumps_html': <function idumps_html at 0x7aa8083b00>,
1603
+ 'idumps': <function idumps at 0x7aa8083560>,
1604
+ 'int_to_int': <function int_to_int at 0x7aa7e979c0>,
1605
+ 'ienumerate': <function ienumerate at 0x7aa7e8a020>,
1606
+ 'ienv': <function ienv at 0x7aa7e976a0>,
1607
+ 'iexec': <function iexec at 0x7aa7e97a60>,
1608
+ 'ijoin': <function ijoin at 0x7aa7e97ba0>,
1609
+ 'iloads_html': <function iloads_html at 0x7aa7e97d80>,
1610
+ 'iloads': <function iloads at 0x7aaec9a020>,
1611
+ 'int_to_bin': <function int_to_bin at 0x7aa7e97b00>,
1612
+ 'int_to_hex': <function int_to_hex at 0x7aa7e97ce0>,
1613
+ 'int_to_oct': <function int_to_oct at 0x7aa7e97e20>,
1614
+ 'is_valid_url': <function is_valid_url at 0x7aa7d07ba0>,
1615
+ 'iopen': <function iopen at 0x7aa7eac040>,
1616
+ 'iprint': <function iprint at 0x7aa7d076a0>,
1617
+ 'ireplace': <function ireplace at 0x7aa7d077e0>,
1618
+ 'iscandir': <function iscandir at 0x7aa7dc89a0>,
1619
+ 'isplit': <function isplit at 0x7aa7dc8a40>,
1620
+ 'ivars': <function ivars at 0x7aa7dc8ae0>,
1621
+ 'log': <function log at 0x7aa7dc8b80>,
1622
+ 'oct_to_int': <function oct_to_int at 0x7aa7dc8c20>,
1623
+ 'password_generator': <function password_generator at 0x7aa7dc8cc0>,
1624
+ 'pip_freeze_without_version': <function pip_freeze_without_version at 0x7aa7dc8e00>,
1625
+ 'poetry_publish': <function poetry_publish at 0x7aa7dc8ea0>,
1626
+ 'poetry_update_version': <function poetry_update_version at 0x7aa7dc8fe0>,
1627
+ 'print_dir': <function print_dir at 0x7aa7dc91c0>,
1628
+ 'print_to_last_line': <function print_to_last_line at 0x7aa7dc9260>,
1629
+ 'random_bool': <function random_bool at 0x7aa7dc9300>,
1630
+ 'restart': <function restart at 0x7aa7dc93a0>,
1631
+ 'set_timeout': <function set_timeout at 0x7aa7dc9440>,
1632
+ 'sets_ordered': <function sets_ordered at 0x7aa7dc94e0>,
1633
+ 'sqlite_delete_table': <function sqlite_delete_table at 0x7aa7dc9580>,
1634
+ 'sqlite_get_all_tables': <function sqlite_get_all_tables at 0x7aa7dc9120>,
1635
+ 'sqlite_get_data_table': <function sqlite_get_data_table at 0x7aa7dc9ee0>,
1636
+ 'str_cmp': <function str_cmp at 0x7aa7dc9f80>,
1637
+ 'text_colorize': <function text_colorize at 0x7aa7dca020>},
1638
1638
  'class': {'ComparePerformance': <class 'pypipr.ComparePerformance.ComparePerformance'>,
1639
1639
  'PintUregQuantity': <class 'pint.Quantity'>,
1640
1640
  'RunParallel': <class 'pypipr.RunParallel.RunParallel'>},
1641
1641
  'variable': {'LINUX': True,
1642
- 'PintUreg': <pint.registry.UnitRegistry object at 0x71e05eee10>,
1642
+ 'PintUreg': <pint.registry.UnitRegistry object at 0x7aae966e90>,
1643
1643
  'WINDOWS': False},
1644
1644
  'module': {'asyncio': <module 'asyncio' from '/data/data/com.termux/files/usr/lib/python3.11/asyncio/__init__.py'>,
1645
1645
  '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'>,
@@ -1729,7 +1729,7 @@ print(password_generator())
1729
1729
 
1730
1730
  Output:
1731
1731
  ```py
1732
- u\=lyMuO
1732
+ xYWyp/-J
1733
1733
  ```
1734
1734
 
1735
1735
  ## pip_freeze_without_version
@@ -1787,7 +1787,7 @@ Output:
1787
1787
  __enter__ : https:/www.google.com
1788
1788
  __fspath__ : https:/www.google.com
1789
1789
  __getstate__ : (None, {'_drv': '', '_root': '', '_parts': ['https:', 'www.google.com'], '_str': 'https:/www.google.com'})
1790
- __hash__ : -5917974921579735672
1790
+ __hash__ : -7910218794911558268
1791
1791
  __init__ : None
1792
1792
  __init_subclass__ : None
1793
1793
  __module__ : pathlib
@@ -1800,8 +1800,8 @@ Output:
1800
1800
  _cached_cparts : ['https:', 'www.google.com']
1801
1801
  _cparts : ['https:', 'www.google.com']
1802
1802
  _drv :
1803
- _flavour : <pathlib._PosixFlavour object at 0x71e0329490>
1804
- _hash : -5917974921579735672
1803
+ _flavour : <pathlib._PosixFlavour object at 0x7aae0c53d0>
1804
+ _hash : -7910218794911558268
1805
1805
  _parts : ['https:', 'www.google.com']
1806
1806
  _root :
1807
1807
  _str : https:/www.google.com
@@ -1823,7 +1823,7 @@ Output:
1823
1823
  is_reserved : False
1824
1824
  is_socket : False
1825
1825
  is_symlink : False
1826
- iterdir : <generator object Path.iterdir at 0x71d23b6f80>
1826
+ iterdir : <generator object Path.iterdir at 0x7a9f3eef80>
1827
1827
  joinpath : https:/www.google.com
1828
1828
  name : www.google.com
1829
1829
  parent : https:
@@ -1897,7 +1897,7 @@ x.cancel()
1897
1897
 
1898
1898
  Output:
1899
1899
  ```py
1900
- <Timer(Thread-2, started 488838880496)>
1900
+ <Timer(Thread-2, started 526638206192)>
1901
1901
  menghentikan timeout 7
1902
1902
  ```
1903
1903
 
@@ -1915,7 +1915,7 @@ print(list(sets_ordered(array)))
1915
1915
 
1916
1916
  Output:
1917
1917
  ```py
1918
- <generator object sets_ordered at 0x71d2405970>
1918
+ <generator object sets_ordered at 0x7a9f4518a0>
1919
1919
  [2, 3, 12, 42, 1, 43, 41, 4, 24, 32]
1920
1920
  ```
1921
1921
 
@@ -1997,15 +1997,15 @@ print(ExampleComparePerformance().compare_performance())
1997
1997
 
1998
1998
  Output:
1999
1999
  ```py
2000
- {'a': <generator object ExampleComparePerformance.a.<locals>.<genexpr> at 0x71d2404ad0>,
2000
+ {'a': <generator object ExampleComparePerformance.a.<locals>.<genexpr> at 0x7a9f450a00>,
2001
2001
  'b': (0, 1, 2, 3, 4, 5, 6, 7, 8, 9),
2002
2002
  'c': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
2003
2003
  'd': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]}
2004
- {'a': 168, 'b': 135, 'c': 100, 'd': 150}
2005
- {'a': 147, 'b': 139, 'c': 100, 'd': 130}
2006
- {'a': 139, 'b': 136, 'c': 100, 'd': 127}
2007
- {'a': 120, 'b': 133, 'c': 100, 'd': 130}
2008
- {'a': 127, 'b': 131, 'c': 100, 'd': 126}
2004
+ {'a': 126, 'b': 127, 'c': 100, 'd': 193}
2005
+ {'a': 107, 'b': 139, 'c': 100, 'd': 177}
2006
+ {'a': 104, 'b': 132, 'c': 100, 'd': 161}
2007
+ {'a': 111, 'b': 129, 'c': 100, 'd': 158}
2008
+ {'a': 106, 'b': 124, 'c': 100, 'd': 151}
2009
2009
  ```
2010
2010
 
2011
2011
  ## PintUregQuantity
@@ -0,0 +1,9 @@
1
+ import sqlite3
2
+
3
+
4
+ def sqlite_delete_table(filename, tablename):
5
+ con = sqlite3.connect(filename)
6
+ cur = con.cursor()
7
+ cur.execute(f"DROP TABLE IF EXISTS {tablename}")
8
+ con.commit()
9
+ con.close()
@@ -0,0 +1,10 @@
1
+ import sqlite3
2
+
3
+
4
+ def sqlite_get_all_tables(filename):
5
+ con = sqlite3.connect(filename)
6
+ cur = con.cursor()
7
+ cur.execute("SELECT name FROM sqlite_master WHERE type='table' order by name;")
8
+ tables = cur.fetchall()
9
+ con.close()
10
+ return tables
@@ -0,0 +1,10 @@
1
+ import sqlite3
2
+
3
+
4
+ def sqlite_get_data_table(filename, tablename):
5
+ con = sqlite3.connect(filename)
6
+ cur = con.cursor()
7
+ cur.execute(f"SELECT * FROM {tablename}")
8
+ rows = cur.fetchall()
9
+ con.close()
10
+ return rows
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "pypipr"
3
- version = "1.0.137"
3
+ version = "1.0.138"
4
4
  description = "The Python Package Index Project"
5
5
  authors = ["ufiapjj <ufiapjj@gmail.com>"]
6
6
  readme = "readme.md"
@@ -225,8 +225,8 @@ iprint(irange("z", "a", 4))
225
225
 
226
226
  Output:
227
227
  ```py
228
- <generator object int_range at 0x71d2337740>
229
- <generator object int_range at 0x71d2337740>
228
+ <generator object int_range at 0x7a9f373740>
229
+ <generator object int_range at 0x7a9f373740>
230
230
  [13, 12, 11, 10, 9, 8, 7, 6]
231
231
  [2, 5, 8]
232
232
  [2, 5, 8]
@@ -258,7 +258,7 @@ print(list(batchmaker(s)))
258
258
 
259
259
  Output:
260
260
  ```py
261
- <generator object batchmaker at 0x71d23b9480>
261
+ <generator object batchmaker at 0x7a9f3f5480>
262
262
  ['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.']
263
263
  ```
264
264
 
@@ -312,7 +312,7 @@ print(list(batch_calculate("{1 10} m ** {1 3}")))
312
312
 
313
313
  Output:
314
314
  ```py
315
- <generator object batch_calculate at 0x71d23c2110>
315
+ <generator object batch_calculate at 0x7a9f3fe110>
316
316
  [('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')>)]
317
317
  ```
318
318
 
@@ -418,7 +418,7 @@ print(list(chunk_array(arr, 5)))
418
418
 
419
419
  Output:
420
420
  ```py
421
- <generator object chunk_array at 0x71d2337840>
421
+ <generator object chunk_array at 0x7a9f373840>
422
422
  [[2, 3, 12, 3, 3], [42, 42, 1, 43, 2], [42, 41, 4, 24, 32], [42, 3, 12, 32, 42], [42]]
423
423
  ```
424
424
 
@@ -469,9 +469,9 @@ print(datetime_now("Etc/GMT+7"))
469
469
 
470
470
  Output:
471
471
  ```py
472
- 2024-05-16 04:44:38.058230+07:00
473
- 2024-05-15 21:44:38.059595+00:00
474
- 2024-05-15 14:44:38.066705-07:00
472
+ 2024-05-16 04:58:20.300250+07:00
473
+ 2024-05-15 21:58:20.301690+00:00
474
+ 2024-05-15 14:58:20.305410-07:00
475
475
  ```
476
476
 
477
477
  ## dict_first
@@ -577,7 +577,7 @@ iprint(filter_empty(var))
577
577
 
578
578
  Output:
579
579
  ```py
580
- <generator object filter_empty at 0x71d23c1e40>
580
+ <generator object filter_empty at 0x7a9f3fde40>
581
581
  [1, '0', True, {}, ['eee']]
582
582
  ```
583
583
 
@@ -624,8 +624,8 @@ print(list(get_class_method(ExampleGetClassMethod)))
624
624
 
625
625
  Output:
626
626
  ```py
627
- <generator object get_class_method at 0x71d23c23e0>
628
- [<function ExampleGetClassMethod.a at 0x71d23fee80>, <function ExampleGetClassMethod.b at 0x71d23fef20>, <function ExampleGetClassMethod.c at 0x71d23fcea0>, <function ExampleGetClassMethod.d at 0x71d23ff100>]
627
+ <generator object get_class_method at 0x7a9f3fe3e0>
628
+ [<function ExampleGetClassMethod.a at 0x7a9f436e80>, <function ExampleGetClassMethod.b at 0x7a9f436f20>, <function ExampleGetClassMethod.c at 0x7a9f434ea0>, <function ExampleGetClassMethod.d at 0x7a9f437100>]
629
629
  ```
630
630
 
631
631
  ## get_filesize
@@ -1038,7 +1038,7 @@ Output:
1038
1038
 
1039
1039
  ## ienumerate
1040
1040
 
1041
- `ienumerate(iterator, start=0, key=<function int_to_int at 0x71db4ab9c0>)`
1041
+ `ienumerate(iterator, start=0, key=<function int_to_int at 0x7aa7e979c0>)`
1042
1042
 
1043
1043
  meningkatkan fungsi enumerate() pada python
1044
1044
  untuk key menggunakan huruf dan basis angka lainnya.
@@ -1051,7 +1051,7 @@ iprint(ienumerate(it, key=int_to_chr))
1051
1051
 
1052
1052
  Output:
1053
1053
  ```py
1054
- <generator object ienumerate at 0x71d23c24d0>
1054
+ <generator object ienumerate at 0x7a9f3fe4d0>
1055
1055
  [('a', 'ini'), ('b', 'contoh'), ('c', 'enumerator')]
1056
1056
  ```
1057
1057
 
@@ -1118,7 +1118,7 @@ print(ijoin(10, ' '))
1118
1118
 
1119
1119
  Output:
1120
1120
  ```py
1121
- asd, qweqw, weq, dfs
1121
+ asd, weq, dfs, qweqw
1122
1122
  ,ini,path,seperti,url,
1123
1123
  ini,path,seperti,url
1124
1124
  <li>satu</li>
@@ -1240,7 +1240,7 @@ Output:
1240
1240
  ['Ounce\xa0(oz)', '2.386,03', '16.131,00', '38.489.050'],
1241
1241
  ['Gram\xa0(gr)', '76,71', '16.131,00', '1.237.452'],
1242
1242
  ['Kilogram\xa0(kg)', '76.712,65', '16.131,00', '1.237.451.691'],
1243
- ['Update harga emas :16 Mei 2024, pukul 04:44Update kurs :15 Mei 2024, pukul '
1243
+ ['Update harga emas :16 Mei 2024, pukul 04:58Update kurs :15 Mei 2024, pukul '
1244
1244
  '13:10']],
1245
1245
  [['Gram', 'UBS Gold 99.99%'],
1246
1246
  ['Jual', 'Beli'],
@@ -1291,7 +1291,7 @@ Output:
1291
1291
  ['USD', '76,71↓', '%'],
1292
1292
  ['KURS', '15.916,70↓', '-14,25-0,09%'],
1293
1293
  ['IDR', '1.221.012,17↓', '-1.093,16-0,09%'],
1294
- ['Kamis, 16 Mei 2024 04:44']],
1294
+ ['Kamis, 16 Mei 2024 04:58']],
1295
1295
  [[''],
1296
1296
  ['Emas 1 Gram (IDR)Emas 1 Gram (USD)Kurs USD-IDR',
1297
1297
  'Hari Ini',
@@ -1444,7 +1444,7 @@ Output:
1444
1444
  ```py
1445
1445
  8
1446
1446
  ['mana', 'aja']
1447
- [<Element a at 0x71d240e9e0>, <Element a at 0x71d22586e0>, <Element a at 0x71d2258780>, <Element a at 0x71d22587d0>, <Element a at 0x71d2258820>, <Element a at 0x71d2258870>, <Element a at 0x71d22588c0>, <Element a at 0x71d2258910>, <Element a at 0x71d2258960>, <Element a at 0x71d22589b0>, <Element a at 0x71d2258a00>, <Element a at 0x71d2258a50>, <Element a at 0x71d2258aa0>, <Element a at 0x71d2258af0>, <Element a at 0x71d2258b40>, <Element a at 0x71d2258b90>, <Element a at 0x71d2258be0>, <Element a at 0x71d2258c30>]
1447
+ [<Element a at 0x7a9f44a6c0>, <Element a at 0x7a9f2946e0>, <Element a at 0x7a9f294780>, <Element a at 0x7a9f2947d0>, <Element a at 0x7a9f294820>, <Element a at 0x7a9f294870>, <Element a at 0x7a9f2948c0>, <Element a at 0x7a9f294910>, <Element a at 0x7a9f294960>, <Element a at 0x7a9f2949b0>, <Element a at 0x7a9f294a00>, <Element a at 0x7a9f294a50>, <Element a at 0x7a9f294aa0>, <Element a at 0x7a9f294af0>, <Element a at 0x7a9f294b40>, <Element a at 0x7a9f294b90>, <Element a at 0x7a9f294be0>, <Element a at 0x7a9f294c30>]
1448
1448
  False
1449
1449
  ```
1450
1450
 
@@ -1506,7 +1506,7 @@ print(list(iscandir("./", recursive=False, scan_file=False)))
1506
1506
 
1507
1507
  Output:
1508
1508
  ```py
1509
- <generator object iscandir at 0x71d2337940>
1509
+ <generator object iscandir at 0x7a9f373940>
1510
1510
  [PosixPath('.git'), PosixPath('.vscode'), PosixPath('pypipr'), PosixPath('__pycache__'), PosixPath('dist')]
1511
1511
  ```
1512
1512
 
@@ -1539,84 +1539,84 @@ iprint(ivars(__import__('pypipr')))
1539
1539
 
1540
1540
  Output:
1541
1541
  ```py
1542
- {'function': {'avg': <function avg at 0x71e05e0040>,
1543
- 'get_filemtime': <function get_filemtime at 0x71db693060>,
1544
- 'print_colorize': <function print_colorize at 0x71db693240>,
1545
- 'print_log': <function print_log at 0x71db693100>,
1546
- 'console_run': <function console_run at 0x71db6931a0>,
1547
- 'auto_reload': <function auto_reload at 0x71dbe58f40>,
1548
- 'basename': <function basename at 0x71db62e980>,
1549
- 'chr_to_int': <function chr_to_int at 0x71db6937e0>,
1550
- 'int_to_chr': <function int_to_chr at 0x71db693880>,
1551
- 'irange': <function irange at 0x71db693b00>,
1552
- 'batchmaker': <function batchmaker at 0x71db6934c0>,
1553
- 'calculate': <function calculate at 0x71db693600>,
1554
- 'batch_calculate': <function batch_calculate at 0x71db693380>,
1555
- 'bin_to_int': <function bin_to_int at 0x71dbe58ea0>,
1556
- 'is_empty': <function is_empty at 0x71db6a02c0>,
1557
- 'exit_if_empty': <function exit_if_empty at 0x71db6a0180>,
1558
- 'input_char': <function input_char at 0x71db6a0220>,
1559
- 'choices': <function choices at 0x71db6a0540>,
1560
- 'chunk_array': <function chunk_array at 0x71db6a05e0>,
1561
- 'create_folder': <function create_folder at 0x71db6a0680>,
1562
- 'datetime_from_string': <function datetime_from_string at 0x71db6a0720>,
1563
- 'datetime_now': <function datetime_now at 0x71db6a00e0>,
1564
- 'dict_first': <function dict_first at 0x71db6a2a20>,
1565
- 'dirname': <function dirname at 0x71db6a2ac0>,
1566
- 'is_iterable': <function is_iterable at 0x71db6a2ca0>,
1567
- 'to_str': <function to_str at 0x71db6a2d40>,
1568
- 'filter_empty': <function filter_empty at 0x71db6932e0>,
1569
- 'get_by_index': <function get_by_index at 0x71db6a2b60>,
1570
- 'get_class_method': <function get_class_method at 0x71db6a2de0>,
1571
- 'get_filesize': <function get_filesize at 0x71db6a2f20>,
1572
- 'github_init': <function github_init at 0x71db6a2fc0>,
1573
- 'github_pull': <function github_pull at 0x71db6a3060>,
1574
- 'github_push': <function github_push at 0x71db6a31a0>,
1575
- 'github_user': <function github_user at 0x71db6a3240>,
1576
- 'hex_to_int': <function hex_to_int at 0x71db6a32e0>,
1577
- 'iargv': <function iargv at 0x71db6a3380>,
1578
- 'idir': <function idir at 0x71db6a3420>,
1579
- 'idumps_html': <function idumps_html at 0x71db6a3b00>,
1580
- 'idumps': <function idumps at 0x71db6a3560>,
1581
- 'int_to_int': <function int_to_int at 0x71db4ab9c0>,
1582
- 'ienumerate': <function ienumerate at 0x71db49e020>,
1583
- 'ienv': <function ienv at 0x71db4ab6a0>,
1584
- 'iexec': <function iexec at 0x71db4aba60>,
1585
- 'ijoin': <function ijoin at 0x71db4abba0>,
1586
- 'iloads_html': <function iloads_html at 0x71db4abd80>,
1587
- 'iloads': <function iloads at 0x71e0f72020>,
1588
- 'int_to_bin': <function int_to_bin at 0x71db4abb00>,
1589
- 'int_to_hex': <function int_to_hex at 0x71db4abce0>,
1590
- 'int_to_oct': <function int_to_oct at 0x71db4abe20>,
1591
- 'is_valid_url': <function is_valid_url at 0x71db2ebba0>,
1592
- 'iopen': <function iopen at 0x71db4b8040>,
1593
- 'iprint': <function iprint at 0x71db2eb6a0>,
1594
- 'ireplace': <function ireplace at 0x71db2eb7e0>,
1595
- 'iscandir': <function iscandir at 0x71db3a89a0>,
1596
- 'isplit': <function isplit at 0x71db3a8a40>,
1597
- 'ivars': <function ivars at 0x71db3a8ae0>,
1598
- 'log': <function log at 0x71db3a8b80>,
1599
- 'oct_to_int': <function oct_to_int at 0x71db3a8c20>,
1600
- 'password_generator': <function password_generator at 0x71db3a8cc0>,
1601
- 'pip_freeze_without_version': <function pip_freeze_without_version at 0x71db3a8e00>,
1602
- 'poetry_publish': <function poetry_publish at 0x71db3a8ea0>,
1603
- 'poetry_update_version': <function poetry_update_version at 0x71db3a8fe0>,
1604
- 'print_dir': <function print_dir at 0x71db3a91c0>,
1605
- 'print_to_last_line': <function print_to_last_line at 0x71db3a9260>,
1606
- 'random_bool': <function random_bool at 0x71db3a9300>,
1607
- 'restart': <function restart at 0x71db3a93a0>,
1608
- 'set_timeout': <function set_timeout at 0x71db3a9440>,
1609
- 'sets_ordered': <function sets_ordered at 0x71db3a94e0>,
1610
- 'sqlite_delete_table': <function sqlite_delete_table at 0x71db3a9620>,
1611
- 'sqlite_get_all_tables': <function sqlite_get_all_tables at 0x71db3a9120>,
1612
- 'sqlite_get_data_table': <function sqlite_get_data_table at 0x71db3a9ee0>,
1613
- 'str_cmp': <function str_cmp at 0x71db3a9f80>,
1614
- 'text_colorize': <function text_colorize at 0x71db3aa020>},
1542
+ {'function': {'avg': <function avg at 0x7aae958040>,
1543
+ 'get_filemtime': <function get_filemtime at 0x7aa8073060>,
1544
+ 'print_colorize': <function print_colorize at 0x7aa8073240>,
1545
+ 'print_log': <function print_log at 0x7aa8073100>,
1546
+ 'console_run': <function console_run at 0x7aa80731a0>,
1547
+ 'auto_reload': <function auto_reload at 0x7aa93d0f40>,
1548
+ 'basename': <function basename at 0x7aa800e980>,
1549
+ 'chr_to_int': <function chr_to_int at 0x7aa80737e0>,
1550
+ 'int_to_chr': <function int_to_chr at 0x7aa8073880>,
1551
+ 'irange': <function irange at 0x7aa8073b00>,
1552
+ 'batchmaker': <function batchmaker at 0x7aa80734c0>,
1553
+ 'calculate': <function calculate at 0x7aa8073600>,
1554
+ 'batch_calculate': <function batch_calculate at 0x7aa8073380>,
1555
+ 'bin_to_int': <function bin_to_int at 0x7aa93d0ea0>,
1556
+ 'is_empty': <function is_empty at 0x7aa80802c0>,
1557
+ 'exit_if_empty': <function exit_if_empty at 0x7aa8080180>,
1558
+ 'input_char': <function input_char at 0x7aa8080220>,
1559
+ 'choices': <function choices at 0x7aa8080540>,
1560
+ 'chunk_array': <function chunk_array at 0x7aa80805e0>,
1561
+ 'create_folder': <function create_folder at 0x7aa8080680>,
1562
+ 'datetime_from_string': <function datetime_from_string at 0x7aa8080720>,
1563
+ 'datetime_now': <function datetime_now at 0x7aa80800e0>,
1564
+ 'dict_first': <function dict_first at 0x7aa8082a20>,
1565
+ 'dirname': <function dirname at 0x7aa8082ac0>,
1566
+ 'is_iterable': <function is_iterable at 0x7aa8082ca0>,
1567
+ 'to_str': <function to_str at 0x7aa8082d40>,
1568
+ 'filter_empty': <function filter_empty at 0x7aa80732e0>,
1569
+ 'get_by_index': <function get_by_index at 0x7aa8082b60>,
1570
+ 'get_class_method': <function get_class_method at 0x7aa8082de0>,
1571
+ 'get_filesize': <function get_filesize at 0x7aa8082f20>,
1572
+ 'github_init': <function github_init at 0x7aa8082fc0>,
1573
+ 'github_pull': <function github_pull at 0x7aa8083060>,
1574
+ 'github_push': <function github_push at 0x7aa80831a0>,
1575
+ 'github_user': <function github_user at 0x7aa8083240>,
1576
+ 'hex_to_int': <function hex_to_int at 0x7aa80832e0>,
1577
+ 'iargv': <function iargv at 0x7aa8083380>,
1578
+ 'idir': <function idir at 0x7aa8083420>,
1579
+ 'idumps_html': <function idumps_html at 0x7aa8083b00>,
1580
+ 'idumps': <function idumps at 0x7aa8083560>,
1581
+ 'int_to_int': <function int_to_int at 0x7aa7e979c0>,
1582
+ 'ienumerate': <function ienumerate at 0x7aa7e8a020>,
1583
+ 'ienv': <function ienv at 0x7aa7e976a0>,
1584
+ 'iexec': <function iexec at 0x7aa7e97a60>,
1585
+ 'ijoin': <function ijoin at 0x7aa7e97ba0>,
1586
+ 'iloads_html': <function iloads_html at 0x7aa7e97d80>,
1587
+ 'iloads': <function iloads at 0x7aaec9a020>,
1588
+ 'int_to_bin': <function int_to_bin at 0x7aa7e97b00>,
1589
+ 'int_to_hex': <function int_to_hex at 0x7aa7e97ce0>,
1590
+ 'int_to_oct': <function int_to_oct at 0x7aa7e97e20>,
1591
+ 'is_valid_url': <function is_valid_url at 0x7aa7d07ba0>,
1592
+ 'iopen': <function iopen at 0x7aa7eac040>,
1593
+ 'iprint': <function iprint at 0x7aa7d076a0>,
1594
+ 'ireplace': <function ireplace at 0x7aa7d077e0>,
1595
+ 'iscandir': <function iscandir at 0x7aa7dc89a0>,
1596
+ 'isplit': <function isplit at 0x7aa7dc8a40>,
1597
+ 'ivars': <function ivars at 0x7aa7dc8ae0>,
1598
+ 'log': <function log at 0x7aa7dc8b80>,
1599
+ 'oct_to_int': <function oct_to_int at 0x7aa7dc8c20>,
1600
+ 'password_generator': <function password_generator at 0x7aa7dc8cc0>,
1601
+ 'pip_freeze_without_version': <function pip_freeze_without_version at 0x7aa7dc8e00>,
1602
+ 'poetry_publish': <function poetry_publish at 0x7aa7dc8ea0>,
1603
+ 'poetry_update_version': <function poetry_update_version at 0x7aa7dc8fe0>,
1604
+ 'print_dir': <function print_dir at 0x7aa7dc91c0>,
1605
+ 'print_to_last_line': <function print_to_last_line at 0x7aa7dc9260>,
1606
+ 'random_bool': <function random_bool at 0x7aa7dc9300>,
1607
+ 'restart': <function restart at 0x7aa7dc93a0>,
1608
+ 'set_timeout': <function set_timeout at 0x7aa7dc9440>,
1609
+ 'sets_ordered': <function sets_ordered at 0x7aa7dc94e0>,
1610
+ 'sqlite_delete_table': <function sqlite_delete_table at 0x7aa7dc9580>,
1611
+ 'sqlite_get_all_tables': <function sqlite_get_all_tables at 0x7aa7dc9120>,
1612
+ 'sqlite_get_data_table': <function sqlite_get_data_table at 0x7aa7dc9ee0>,
1613
+ 'str_cmp': <function str_cmp at 0x7aa7dc9f80>,
1614
+ 'text_colorize': <function text_colorize at 0x7aa7dca020>},
1615
1615
  'class': {'ComparePerformance': <class 'pypipr.ComparePerformance.ComparePerformance'>,
1616
1616
  'PintUregQuantity': <class 'pint.Quantity'>,
1617
1617
  'RunParallel': <class 'pypipr.RunParallel.RunParallel'>},
1618
1618
  'variable': {'LINUX': True,
1619
- 'PintUreg': <pint.registry.UnitRegistry object at 0x71e05eee10>,
1619
+ 'PintUreg': <pint.registry.UnitRegistry object at 0x7aae966e90>,
1620
1620
  'WINDOWS': False},
1621
1621
  'module': {'asyncio': <module 'asyncio' from '/data/data/com.termux/files/usr/lib/python3.11/asyncio/__init__.py'>,
1622
1622
  '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'>,
@@ -1706,7 +1706,7 @@ print(password_generator())
1706
1706
 
1707
1707
  Output:
1708
1708
  ```py
1709
- u\=lyMuO
1709
+ xYWyp/-J
1710
1710
  ```
1711
1711
 
1712
1712
  ## pip_freeze_without_version
@@ -1764,7 +1764,7 @@ Output:
1764
1764
  __enter__ : https:/www.google.com
1765
1765
  __fspath__ : https:/www.google.com
1766
1766
  __getstate__ : (None, {'_drv': '', '_root': '', '_parts': ['https:', 'www.google.com'], '_str': 'https:/www.google.com'})
1767
- __hash__ : -5917974921579735672
1767
+ __hash__ : -7910218794911558268
1768
1768
  __init__ : None
1769
1769
  __init_subclass__ : None
1770
1770
  __module__ : pathlib
@@ -1777,8 +1777,8 @@ Output:
1777
1777
  _cached_cparts : ['https:', 'www.google.com']
1778
1778
  _cparts : ['https:', 'www.google.com']
1779
1779
  _drv :
1780
- _flavour : <pathlib._PosixFlavour object at 0x71e0329490>
1781
- _hash : -5917974921579735672
1780
+ _flavour : <pathlib._PosixFlavour object at 0x7aae0c53d0>
1781
+ _hash : -7910218794911558268
1782
1782
  _parts : ['https:', 'www.google.com']
1783
1783
  _root :
1784
1784
  _str : https:/www.google.com
@@ -1800,7 +1800,7 @@ Output:
1800
1800
  is_reserved : False
1801
1801
  is_socket : False
1802
1802
  is_symlink : False
1803
- iterdir : <generator object Path.iterdir at 0x71d23b6f80>
1803
+ iterdir : <generator object Path.iterdir at 0x7a9f3eef80>
1804
1804
  joinpath : https:/www.google.com
1805
1805
  name : www.google.com
1806
1806
  parent : https:
@@ -1874,7 +1874,7 @@ x.cancel()
1874
1874
 
1875
1875
  Output:
1876
1876
  ```py
1877
- <Timer(Thread-2, started 488838880496)>
1877
+ <Timer(Thread-2, started 526638206192)>
1878
1878
  menghentikan timeout 7
1879
1879
  ```
1880
1880
 
@@ -1892,7 +1892,7 @@ print(list(sets_ordered(array)))
1892
1892
 
1893
1893
  Output:
1894
1894
  ```py
1895
- <generator object sets_ordered at 0x71d2405970>
1895
+ <generator object sets_ordered at 0x7a9f4518a0>
1896
1896
  [2, 3, 12, 42, 1, 43, 41, 4, 24, 32]
1897
1897
  ```
1898
1898
 
@@ -1974,15 +1974,15 @@ print(ExampleComparePerformance().compare_performance())
1974
1974
 
1975
1975
  Output:
1976
1976
  ```py
1977
- {'a': <generator object ExampleComparePerformance.a.<locals>.<genexpr> at 0x71d2404ad0>,
1977
+ {'a': <generator object ExampleComparePerformance.a.<locals>.<genexpr> at 0x7a9f450a00>,
1978
1978
  'b': (0, 1, 2, 3, 4, 5, 6, 7, 8, 9),
1979
1979
  'c': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
1980
1980
  'd': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]}
1981
- {'a': 168, 'b': 135, 'c': 100, 'd': 150}
1982
- {'a': 147, 'b': 139, 'c': 100, 'd': 130}
1983
- {'a': 139, 'b': 136, 'c': 100, 'd': 127}
1984
- {'a': 120, 'b': 133, 'c': 100, 'd': 130}
1985
- {'a': 127, 'b': 131, 'c': 100, 'd': 126}
1981
+ {'a': 126, 'b': 127, 'c': 100, 'd': 193}
1982
+ {'a': 107, 'b': 139, 'c': 100, 'd': 177}
1983
+ {'a': 104, 'b': 132, 'c': 100, 'd': 161}
1984
+ {'a': 111, 'b': 129, 'c': 100, 'd': 158}
1985
+ {'a': 106, 'b': 124, 'c': 100, 'd': 151}
1986
1986
  ```
1987
1987
 
1988
1988
  ## PintUregQuantity
@@ -1,8 +0,0 @@
1
- import sqlite3
2
-
3
-
4
- def sqlite_delete_table(filename, tablename):
5
- conn = sqlite3.connect(filename)
6
- conn.execute(f"DROP TABLE IF EXISTS {tablename}")
7
- conn.commit()
8
- conn.close()
@@ -1,10 +0,0 @@
1
- import sqlite3
2
-
3
-
4
- def sqlite_get_all_tables(filename):
5
- conn = sqlite3.connect(filename)
6
- cursor = conn.cursor()
7
- cursor.execute("SELECT name FROM sqlite_master WHERE type='table' order by name;")
8
- tables = cursor.fetchall()
9
- conn.close()
10
- return tables
@@ -1,10 +0,0 @@
1
- import sqlite3
2
-
3
-
4
- def sqlite_get_data_table(filename, tablename):
5
- conn = sqlite3.connect(filename)
6
- cursor = conn.cursor()
7
- cursor.execute(f"SELECT * FROM {tablename}")
8
- rows = cursor.fetchall()
9
- conn.close()
10
- return rows
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes