pypipr 1.0.133__py3-none-any.whl → 1.0.135__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
pypipr/__init__.py CHANGED
@@ -71,7 +71,6 @@ 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_all_tables import sqlite_all_tables
75
74
  from .str_cmp import str_cmp
76
75
  from .text_colorize import text_colorize
77
76
  from .to_str import to_str
@@ -105,4 +104,4 @@ import tzdata
105
104
  import uuid
106
105
  import webbrowser
107
106
  import yaml
108
- import zoneinfo
107
+ import zoneinfo
@@ -1,12 +1,10 @@
1
1
  import sqlite3
2
2
 
3
3
 
4
- def sqlite_all_tables(filename):
4
+ def sqlite_get_all_tables(filename):
5
5
  conn = sqlite3.connect(filename)
6
6
  cursor = conn.cursor()
7
- cursor.execute("SELECT name FROM sqlite_master WHERE type='table';")
7
+ cursor.execute("SELECT name FROM sqlite_master WHERE type='table' order by name;")
8
8
  tables = cursor.fetchall()
9
- # for table in tables:
10
- # print(table[0])
11
9
  conn.close()
12
10
  return tables
@@ -0,0 +1,10 @@
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
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pypipr
3
- Version: 1.0.133
3
+ Version: 1.0.135
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 0x79b3faf740>
252
- <generator object int_range at 0x79b3faf740>
251
+ <generator object int_range at 0x7dfcdd7340>
252
+ <generator object int_range at 0x7dfcdd7340>
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 0x79b4031480>
284
+ <generator object batchmaker at 0x7dfce19240>
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 0x79b403a110>
338
+ <generator object batch_calculate at 0x7dfce15f30>
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 0x79b3faf840>
444
+ <generator object chunk_array at 0x7dfcdd7440>
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 22:52:49.278745+07:00
496
- 2024-05-15 15:52:49.279485+00:00
497
- 2024-05-15 08:52:49.280851-07:00
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
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 0x79b4039e40>
603
+ <generator object filter_empty at 0x7dfce15c60>
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 0x79b403a3e0>
651
- [<function ExampleGetClassMethod.a at 0x79b4072c00>, <function ExampleGetClassMethod.b at 0x79b4072ca0>, <function ExampleGetClassMethod.c at 0x79b4072de0>, <function ExampleGetClassMethod.d at 0x79b4072e80>]
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>]
652
652
  ```
653
653
 
654
654
  ## get_filesize
@@ -854,7 +854,6 @@ Output:
854
854
  'restart',
855
855
  'set_timeout',
856
856
  'sets_ordered',
857
- 'sqlite_all_tables',
858
857
  'str_cmp',
859
858
  'string',
860
859
  'subprocess',
@@ -1059,7 +1058,7 @@ Output:
1059
1058
 
1060
1059
  ## ienumerate
1061
1060
 
1062
- `ienumerate(iterator, start=0, key=<function int_to_int at 0x79baa079c0>)`
1061
+ `ienumerate(iterator, start=0, key=<function int_to_int at 0x7e0473f9c0>)`
1063
1062
 
1064
1063
  meningkatkan fungsi enumerate() pada python
1065
1064
  untuk key menggunakan huruf dan basis angka lainnya.
@@ -1072,7 +1071,7 @@ iprint(ienumerate(it, key=int_to_chr))
1072
1071
 
1073
1072
  Output:
1074
1073
  ```py
1075
- <generator object ienumerate at 0x79b403a4d0>
1074
+ <generator object ienumerate at 0x7dfce162f0>
1076
1075
  [('a', 'ini'), ('b', 'contoh'), ('c', 'enumerator')]
1077
1076
  ```
1078
1077
 
@@ -1139,7 +1138,7 @@ print(ijoin(10, ' '))
1139
1138
 
1140
1139
  Output:
1141
1140
  ```py
1142
- dfs, asd, weq, qweqw
1141
+ dfs, qweqw, weq, asd
1143
1142
  ,ini,path,seperti,url,
1144
1143
  ini,path,seperti,url
1145
1144
  <li>satu</li>
@@ -1185,9 +1184,9 @@ Output:
1185
1184
  ```py
1186
1185
  (['Home', 'Emas 1 Gram', 'History', 'Trend', 'Perak 1 Gram', 'Pluang'],
1187
1186
  [['Harga Emas Hari Ini - Rabu, 15 Mei 2024'],
1188
- ['Spot Emas USD↑2.380,78 (+26,16) / oz',
1187
+ ['Spot Emas USD↑2.378,85 (+24,23) / oz',
1189
1188
  'Kurs IDR↑16.131,00 (+46,00) / USD',
1190
- 'Emas IDR↑1.234.729 (+17.050) / gr'],
1189
+ 'Emas IDR↑1.233.728 (+16.049) / gr'],
1191
1190
  ['LM Antam (Jual)↑1.332.000 (+8.000) / gr',
1192
1191
  'LM Antam (Beli)↑1.223.000 (+8.000) / gr']],
1193
1192
  [['Harga Emas Hari Ini'],
@@ -1258,10 +1257,10 @@ Output:
1258
1257
  'Update harga LM Pegadaian :31 Agustus 2023']],
1259
1258
  [['Spot Harga Emas Hari Ini (Market Open)'],
1260
1259
  ['Satuan', 'USD', 'Kurs\xa0Dollar', 'IDR'],
1261
- ['Ounce\xa0(oz)', '2.380,78 (+26,16)', '16.131,00 (+46,00)', '38.404.362'],
1262
- ['Gram\xa0(gr)', '76,54', '16.131,00', '1.234.729 (+17.050)'],
1263
- ['Kilogram\xa0(kg)', '76.543,85', '16.131,00', '1.234.728.917'],
1264
- ['Update harga emas :15 Mei 2024, pukul 22:52Update kurs :15 Mei 2024, pukul '
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 '
1265
1264
  '13:10']],
1266
1265
  [['Gram', 'UBS Gold 99.99%'],
1267
1266
  ['Jual', 'Beli'],
@@ -1307,36 +1306,36 @@ Output:
1307
1306
  ['Unit', 'USD', 'IDR'],
1308
1307
  ['Angka', '+/-', 'Angka', '+/-'],
1309
1308
  ['Hari Ini', 'Kurs', '', '', '16.085', '+46+0,29%'],
1310
- ['oz', '2.354,62', '+26,16+1,11%', '37.874.063', '+530.299+1,40%'],
1311
- ['gr', '75,70', '+0,84+1,11%', '1.217.679', '+17.050+1,40%'],
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%'],
1312
1311
  ['30 Hari', 'Kurs', '', '', '15.907', '+224+1,41%'],
1313
- ['oz', '2.359,26', '+21,52+0,91%', '37.528.749', '+875.613+2,33%'],
1314
- ['gr', '75,85', '+0,69+0,91%', '1.206.577', '+28.152+2,33%'],
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%'],
1315
1314
  ['2 Bulan', 'Kurs', '', '', '15.582', '+549+3,52%'],
1316
- ['oz', '2.156,08', '+224,70+10,42%', '33.596.039', '+4.808.324+14,31%'],
1317
- ['gr', '69,32', '+7,22+10,42', '1.080.138', '+154.591+14,31%'],
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%'],
1318
1317
  ['6 Bulan', 'Kurs', '', '', '15.595', '+536+3,44%'],
1319
- ['oz', '1.981,17', '+399,61+20,17%', '30.896.346', '+7.508.016+24,30%'],
1320
- ['gr', '63,70', '+12,85+20,17%', '993.341', '+241.388+24,30%'],
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%'],
1321
1320
  ['1 Tahun', 'Kurs', '', '', '15.731', '+400+2,54%'],
1322
- ['oz', '1.823,86', '+556,92+30,54%', '28.691.142', '+9.713.221+33,85%'],
1323
- ['gr', '58,64', '+17,91+30,54%', '922.442', '+312.287+33,85%'],
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%'],
1324
1323
  ['2 Tahun', 'Kurs', '', '', '14.585', '+1.546+10,60%'],
1325
- ['oz', '1.816,04', '+564,74+31,10%', '26.486.962', '+11.917.401+44,99%'],
1326
- ['gr', '58,39', '+18,16+31,10%', '851.576', '+383.153+44,99%'],
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%'],
1327
1326
  ['3 Tahun', 'Kurs', '', '', '14.198', '+1.933+13,61%'],
1328
- ['oz', '1.843,91', '+536,87+29,12%', '26.179.834', '+12.224.528+46,69%'],
1329
- ['gr', '59,28', '+17,26+29,12%', '841.701', '+393.028+46,69%'],
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%'],
1330
1329
  ['5 Tahun', 'Kurs', '', '', '14.469', '+1.662+11,49%'],
1331
- ['oz', '1.275,87', '+1.104,91+86,60%', '18.460.563', '+19.943.799+108,03%'],
1332
- ['gr', '41,02', '+35,52+86,60%', '593.521', '+641.208+108,03%']])
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%']])
1333
1332
  (['Home', 'Emas 1 Gram', 'History', 'Trend', 'Perak 1 Gram', 'Pluang'],
1334
1333
  [[''],
1335
1334
  ['Emas 24 KaratHarga Emas 1 Gram', ''],
1336
- ['USD', '76,54↑', '+0,84+1,11%'],
1337
- ['KURS', '15.947,95↓', '-155,10-0,96%'],
1338
- ['IDR', '1.220.717,56↑', '+1.671,73+0,14%'],
1339
- ['Rabu, 15 Mei 2024 22:52']],
1335
+ ['USD', '76,48↑', '+0,78+1,03%'],
1336
+ ['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']],
1340
1339
  [[''],
1341
1340
  ['Emas 1 Gram (IDR)Emas 1 Gram (USD)Kurs USD-IDR',
1342
1341
  'Hari Ini',
@@ -1347,19 +1346,19 @@ Output:
1347
1346
  '']],
1348
1347
  [['Pergerakkan Harga Emas 1 Gram'],
1349
1348
  ['', 'Penutupan Kemarin', 'Pergerakkan Hari Ini', 'Rata-rata'],
1350
- ['USD', '75,70', '75,70 - 76,54', '76,12'],
1351
- ['KURS', '16.103,05', '15.947,95 - 16.103,05', '16.025,50'],
1352
- ['IDR', '1.219.045,83', '1.219.045,83 - 1.220.717,56', '1.219.881,70'],
1349
+ ['USD', '75,70', '75,70 - 76,48', '76,09'],
1350
+ ['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
1352
  [''],
1354
1353
  ['', 'Awal Tahun', 'Pergerakkan YTD', '+/- YTD'],
1355
- ['USD', '66,32', '64,07 - 77,14', '+10,22 (15,41%)'],
1356
- ['KURS', '15.390,10', '15.390,00 - 16.307,80', '+557,85 (3,62%)'],
1357
- ['IDR', '1.020.729,53', '997.660,12 - 1.256.829,06', '+199.988,03 (19,59%)'],
1354
+ ['USD', '66,32', '64,07 - 77,14', '+10,16 (15,32%)'],
1355
+ ['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
1357
  [''],
1359
1358
  ['', 'Tahun Lalu / 52 Minggu', 'Pergerakkan 52 Minggu', '+/- 52 Minggu'],
1360
- ['USD', '64,66', '58,43 - 77,14', '+11,88 (18,37%)'],
1361
- ['KURS', '14.844,45', '14.796,95 - 16.307,80', '+1.103,50 (7,43%)'],
1362
- ['IDR', '959.794,03', '912.925,68 - 1.256.829,06', '+260.923,53 (27,19%)']])
1359
+ ['USD', '64,66', '58,43 - 77,14', '+11,82 (18,28%)'],
1360
+ ['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
1362
  ```
1364
1363
 
1365
1364
  ## iloads
@@ -1489,7 +1488,7 @@ Output:
1489
1488
  ```py
1490
1489
  8
1491
1490
  ['mana', 'aja']
1492
- [<Element a at 0x79b40885a0>, <Element a at 0x79b3ee44b0>, <Element a at 0x79b3ee4550>, <Element a at 0x79b3ee45a0>, <Element a at 0x79b3ee45f0>, <Element a at 0x79b3ee4640>, <Element a at 0x79b3ee4690>, <Element a at 0x79b3ee46e0>, <Element a at 0x79b3ee4730>, <Element a at 0x79b3ee4780>, <Element a at 0x79b3ee47d0>, <Element a at 0x79b3ee4820>, <Element a at 0x79b3ee4870>, <Element a at 0x79b3ee48c0>, <Element a at 0x79b3ee4910>, <Element a at 0x79b3ee4960>, <Element a at 0x79b3ee49b0>, <Element a at 0x79b3ee4a00>]
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
1492
  False
1494
1493
  ```
1495
1494
 
@@ -1551,7 +1550,7 @@ print(list(iscandir("./", recursive=False, scan_file=False)))
1551
1550
 
1552
1551
  Output:
1553
1552
  ```py
1554
- <generator object iscandir at 0x79b3fafa40>
1553
+ <generator object iscandir at 0x7dfcdd7640>
1555
1554
  [PosixPath('.git'), PosixPath('.vscode'), PosixPath('pypipr'), PosixPath('__pycache__'), PosixPath('dist')]
1556
1555
  ```
1557
1556
 
@@ -1584,82 +1583,81 @@ iprint(ivars(__import__('pypipr')))
1584
1583
 
1585
1584
  Output:
1586
1585
  ```py
1587
- {'function': {'avg': <function avg at 0x79be9e0040>,
1588
- 'get_filemtime': <function get_filemtime at 0x79babbf060>,
1589
- 'print_colorize': <function print_colorize at 0x79babbf240>,
1590
- 'print_log': <function print_log at 0x79babbf100>,
1591
- 'console_run': <function console_run at 0x79babbf1a0>,
1592
- 'auto_reload': <function auto_reload at 0x79bb080f40>,
1593
- 'basename': <function basename at 0x79bab5a980>,
1594
- 'chr_to_int': <function chr_to_int at 0x79babbf7e0>,
1595
- 'int_to_chr': <function int_to_chr at 0x79babbf880>,
1596
- 'irange': <function irange at 0x79babbfb00>,
1597
- 'batchmaker': <function batchmaker at 0x79babbf4c0>,
1598
- 'calculate': <function calculate at 0x79babbf600>,
1599
- 'batch_calculate': <function batch_calculate at 0x79babbf380>,
1600
- 'bin_to_int': <function bin_to_int at 0x79bb080ea0>,
1601
- 'is_empty': <function is_empty at 0x79babcc2c0>,
1602
- 'exit_if_empty': <function exit_if_empty at 0x79babcc180>,
1603
- 'input_char': <function input_char at 0x79babcc220>,
1604
- 'choices': <function choices at 0x79babcc540>,
1605
- 'chunk_array': <function chunk_array at 0x79babcc5e0>,
1606
- 'create_folder': <function create_folder at 0x79babcc680>,
1607
- 'datetime_from_string': <function datetime_from_string at 0x79babcc720>,
1608
- 'datetime_now': <function datetime_now at 0x79babcc0e0>,
1609
- 'dict_first': <function dict_first at 0x79babcea20>,
1610
- 'dirname': <function dirname at 0x79babceac0>,
1611
- 'is_iterable': <function is_iterable at 0x79babceca0>,
1612
- 'to_str': <function to_str at 0x79babced40>,
1613
- 'filter_empty': <function filter_empty at 0x79babbf2e0>,
1614
- 'get_by_index': <function get_by_index at 0x79babceb60>,
1615
- 'get_class_method': <function get_class_method at 0x79babcede0>,
1616
- 'get_filesize': <function get_filesize at 0x79babcef20>,
1617
- 'github_init': <function github_init at 0x79babcefc0>,
1618
- 'github_pull': <function github_pull at 0x79babcf060>,
1619
- 'github_push': <function github_push at 0x79babcf1a0>,
1620
- 'github_user': <function github_user at 0x79babcf240>,
1621
- 'hex_to_int': <function hex_to_int at 0x79babcf2e0>,
1622
- 'iargv': <function iargv at 0x79babcf380>,
1623
- 'idir': <function idir at 0x79babcf420>,
1624
- 'idumps_html': <function idumps_html at 0x79babcfb00>,
1625
- 'idumps': <function idumps at 0x79babcf560>,
1626
- 'int_to_int': <function int_to_int at 0x79baa079c0>,
1627
- 'ienumerate': <function ienumerate at 0x79ba9fa020>,
1628
- 'ienv': <function ienv at 0x79baa076a0>,
1629
- 'iexec': <function iexec at 0x79baa07a60>,
1630
- 'ijoin': <function ijoin at 0x79baa07ba0>,
1631
- 'iloads_html': <function iloads_html at 0x79baa07d80>,
1632
- 'iloads': <function iloads at 0x79bf3a2020>,
1633
- 'int_to_bin': <function int_to_bin at 0x79baa07b00>,
1634
- 'int_to_hex': <function int_to_hex at 0x79baa07ce0>,
1635
- 'int_to_oct': <function int_to_oct at 0x79baa07e20>,
1636
- 'is_valid_url': <function is_valid_url at 0x79ba83fba0>,
1637
- 'iopen': <function iopen at 0x79baa18040>,
1638
- 'iprint': <function iprint at 0x79ba83f6a0>,
1639
- 'ireplace': <function ireplace at 0x79ba83f7e0>,
1640
- 'iscandir': <function iscandir at 0x79ba9009a0>,
1641
- 'isplit': <function isplit at 0x79ba900a40>,
1642
- 'ivars': <function ivars at 0x79ba900ae0>,
1643
- 'log': <function log at 0x79ba900b80>,
1644
- 'oct_to_int': <function oct_to_int at 0x79ba900c20>,
1645
- 'password_generator': <function password_generator at 0x79ba900cc0>,
1646
- 'pip_freeze_without_version': <function pip_freeze_without_version at 0x79ba900e00>,
1647
- 'poetry_publish': <function poetry_publish at 0x79ba900ea0>,
1648
- 'poetry_update_version': <function poetry_update_version at 0x79ba900fe0>,
1649
- 'print_dir': <function print_dir at 0x79ba9011c0>,
1650
- 'print_to_last_line': <function print_to_last_line at 0x79ba901260>,
1651
- 'random_bool': <function random_bool at 0x79ba901300>,
1652
- 'restart': <function restart at 0x79ba9013a0>,
1653
- 'set_timeout': <function set_timeout at 0x79ba901440>,
1654
- 'sets_ordered': <function sets_ordered at 0x79ba9014e0>,
1655
- 'sqlite_all_tables': <function sqlite_all_tables at 0x79ba901580>,
1656
- 'str_cmp': <function str_cmp at 0x79ba901620>,
1657
- 'text_colorize': <function text_colorize at 0x79ba901120>},
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>},
1658
1656
  'class': {'ComparePerformance': <class 'pypipr.ComparePerformance.ComparePerformance'>,
1659
1657
  'PintUregQuantity': <class 'pint.Quantity'>,
1660
1658
  'RunParallel': <class 'pypipr.RunParallel.RunParallel'>},
1661
1659
  'variable': {'LINUX': True,
1662
- 'PintUreg': <pint.registry.UnitRegistry object at 0x79be9eed10>,
1660
+ 'PintUreg': <pint.registry.UnitRegistry object at 0x7e091d3490>,
1663
1661
  'WINDOWS': False},
1664
1662
  'module': {'asyncio': <module 'asyncio' from '/data/data/com.termux/files/usr/lib/python3.11/asyncio/__init__.py'>,
1665
1663
  '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'>,
@@ -1749,7 +1747,7 @@ print(password_generator())
1749
1747
 
1750
1748
  Output:
1751
1749
  ```py
1752
- @<i$UuBB
1750
+ OR)^A<Ax
1753
1751
  ```
1754
1752
 
1755
1753
  ## pip_freeze_without_version
@@ -1807,7 +1805,7 @@ Output:
1807
1805
  __enter__ : https:/www.google.com
1808
1806
  __fspath__ : https:/www.google.com
1809
1807
  __getstate__ : (None, {'_drv': '', '_root': '', '_parts': ['https:', 'www.google.com'], '_str': 'https:/www.google.com'})
1810
- __hash__ : 5926800906210107811
1808
+ __hash__ : 423689897362171039
1811
1809
  __init__ : None
1812
1810
  __init_subclass__ : None
1813
1811
  __module__ : pathlib
@@ -1820,8 +1818,8 @@ Output:
1820
1818
  _cached_cparts : ['https:', 'www.google.com']
1821
1819
  _cparts : ['https:', 'www.google.com']
1822
1820
  _drv :
1823
- _flavour : <pathlib._PosixFlavour object at 0x79be7b53d0>
1824
- _hash : 5926800906210107811
1821
+ _flavour : <pathlib._PosixFlavour object at 0x7e08f1d4d0>
1822
+ _hash : 423689897362171039
1825
1823
  _parts : ['https:', 'www.google.com']
1826
1824
  _root :
1827
1825
  _str : https:/www.google.com
@@ -1843,7 +1841,7 @@ Output:
1843
1841
  is_reserved : False
1844
1842
  is_socket : False
1845
1843
  is_symlink : False
1846
- iterdir : <generator object Path.iterdir at 0x79b402ef80>
1844
+ iterdir : <generator object Path.iterdir at 0x7dfce23d80>
1847
1845
  joinpath : https:/www.google.com
1848
1846
  name : www.google.com
1849
1847
  parent : https:
@@ -1917,7 +1915,7 @@ x.cancel()
1917
1915
 
1918
1916
  Output:
1919
1917
  ```py
1920
- <Timer(Thread-2, started 522691681520)>
1918
+ <Timer(Thread-2, started 541094141168)>
1921
1919
  menghentikan timeout 7
1922
1920
  ```
1923
1921
 
@@ -1935,14 +1933,10 @@ print(list(sets_ordered(array)))
1935
1933
 
1936
1934
  Output:
1937
1935
  ```py
1938
- <generator object sets_ordered at 0x79b40952f0>
1936
+ <generator object sets_ordered at 0x7dfce6d560>
1939
1937
  [2, 3, 12, 42, 1, 43, 41, 4, 24, 32]
1940
1938
  ```
1941
1939
 
1942
- ## sqlite_all_tables
1943
-
1944
- `sqlite_all_tables(filename)`
1945
-
1946
1940
  ## str_cmp
1947
1941
 
1948
1942
  `str_cmp(t1, t2)`
@@ -2009,15 +2003,15 @@ print(ExampleComparePerformance().compare_performance())
2009
2003
 
2010
2004
  Output:
2011
2005
  ```py
2012
- {'a': <generator object ExampleComparePerformance.a.<locals>.<genexpr> at 0x79b4094930>,
2006
+ {'a': <generator object ExampleComparePerformance.a.<locals>.<genexpr> at 0x7dfce6c6c0>,
2013
2007
  'b': (0, 1, 2, 3, 4, 5, 6, 7, 8, 9),
2014
2008
  'c': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
2015
2009
  'd': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]}
2016
- {'a': 99, 'b': 126, 'c': 162, 'd': 175}
2017
- {'a': 100, 'b': 129, 'c': 134, 'd': 117}
2018
- {'a': 100, 'b': 131, 'c': 107, 'd': 119}
2019
- {'a': 100, 'b': 124, 'c': 105, 'd': 125}
2020
- {'a': 100, 'b': 125, 'c': 126, 'd': 121}
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}
2021
2015
  ```
2022
2016
 
2023
2017
  ## PintUregQuantity
@@ -4,7 +4,7 @@ pypipr/PintUreg.py,sha256=_jmHZhUn8AcgFkXvZ6OTsWnjtp-CYcXUJ-dG_QdcARY,222
4
4
  pypipr/PintUregQuantity.py,sha256=ErSZKB-GHShi1zKac30XgFdBwAUrxMo80IQzIjQ2HVc,118
5
5
  pypipr/RunParallel.py,sha256=3H6sVSeUSATQQsWBcDGTtaXuc-12Yc0XmDyVtsg3PMA,5992
6
6
  pypipr/WINDOWS.py,sha256=NMW-94lzdqwfEWv2lF_i2GcSHJFDwWjccFufpymg4-E,83
7
- pypipr/__init__.py,sha256=jdz6g-iArAnaOh7xRoTFvfxMmB4_5SNzs142wN5KeS8,3177
7
+ pypipr/__init__.py,sha256=bQXwbc9VduUhgoDvApdGiyiozO0tzdcFEeAMK3cC5jI,3129
8
8
  pypipr/__terminal__.py,sha256=N_NEXa0V5QLb-dkP1Vp_fYKNjE4jGTqkiYNwPPOXZtw,1412
9
9
  pypipr/auto_reload.py,sha256=FGchFBjQs_eT7CmOMLNYoch-17q7ySFOnPx5z1kbH3E,918
10
10
  pypipr/avg.py,sha256=wUtX3x8dgLoODhQLyMB-HRMVo8Ha2yz3cp7lgcUNbr0,218
@@ -74,11 +74,12 @@ pypipr/random_bool.py,sha256=OkvQqpusHGc5mt2nHCycA7-s2I0gbN6UxI7opMOFppE,352
74
74
  pypipr/restart.py,sha256=jUhsjZACAAcItYzCuiULHLFikoVyYDJWj16hCLARmAw,272
75
75
  pypipr/set_timeout.py,sha256=heg1J3jSArgG5_75BNLrujjh7I9meTyAzHpuAY_4IBc,698
76
76
  pypipr/sets_ordered.py,sha256=ve2Nc1eNYD_7QaTf_4otEAvzL1XpZP2MjX0KHSXF5nA,325
77
- pypipr/sqlite_all_tables.py,sha256=a7j46gvQ42nAemJXne4bLh8Vu5nC7HARlKHwAyXjvxk,306
77
+ pypipr/sqlite_get_all_tables.py,sha256=lI_qYIZNWw0JIPGY4S_SnXagMfC-aG-BjweyeR7OW68,271
78
+ pypipr/sqlite_get_data_table.py,sha256=9mlwy8h-XbIcB42PoDvaU7N14xp1F-3g78OC-NLFTA8,240
78
79
  pypipr/str_cmp.py,sha256=2kavWiT4VTddXcBotF1CxDOWSygk5rFrbllKxBjw9dc,377
79
80
  pypipr/text_colorize.py,sha256=IVjaCnXBSBu4Rh8pTO3CxDvxpA265HVwyKX_-PRXCcI,396
80
81
  pypipr/to_str.py,sha256=vSuspf-ZQldf4enkssa9XH0WMjkmWug51G9ia0K5occ,597
81
- pypipr-1.0.133.dist-info/METADATA,sha256=VPdSe5iNGmbiAISikU7ZjHdyhmMg0-2ycnTGzb5uDF0,54888
82
- pypipr-1.0.133.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
83
- pypipr-1.0.133.dist-info/entry_points.txt,sha256=XEBtOa61BCVW4cVvoqYQnyTcenJ1tzFFB09YnuqlKBY,51
84
- pypipr-1.0.133.dist-info/RECORD,,
82
+ pypipr-1.0.135.dist-info/METADATA,sha256=SL6ZoQWkscMhaIf5yyzB1CawB1CzxREvRiqXJzoRPBw,54729
83
+ pypipr-1.0.135.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
84
+ pypipr-1.0.135.dist-info/entry_points.txt,sha256=XEBtOa61BCVW4cVvoqYQnyTcenJ1tzFFB09YnuqlKBY,51
85
+ pypipr-1.0.135.dist-info/RECORD,,