pypipr 1.0.138__py3-none-any.whl → 1.0.139__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.
@@ -2,6 +2,10 @@ import sqlite3
2
2
 
3
3
 
4
4
  def sqlite_delete_table(filename, tablename):
5
+ """
6
+ Perintah sederhana untuk menghapus tabel
7
+ dari database SQLite.
8
+ """
5
9
  con = sqlite3.connect(filename)
6
10
  cur = con.cursor()
7
11
  cur.execute(f"DROP TABLE IF EXISTS {tablename}")
@@ -2,6 +2,11 @@ import sqlite3
2
2
 
3
3
 
4
4
  def sqlite_get_all_tables(filename):
5
+ """
6
+ Perintah SQLite untuk menampilkan seluruh tabel
7
+ yang ada pada database.
8
+ Hanya akan mengembalikan kolom nama tabel saja.
9
+ """
5
10
  con = sqlite3.connect(filename)
6
11
  cur = con.cursor()
7
12
  cur.execute("SELECT name FROM sqlite_master WHERE type='table' order by name;")
@@ -2,6 +2,10 @@ import sqlite3
2
2
 
3
3
 
4
4
  def sqlite_get_data_table(filename, tablename):
5
+ """
6
+ Perintah SQLite untuk menampilkan seluruh data
7
+ pada tabel database
8
+ """
5
9
  con = sqlite3.connect(filename)
6
10
  cur = con.cursor()
7
11
  cur.execute(f"SELECT * FROM {tablename}")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pypipr
3
- Version: 1.0.138
3
+ Version: 1.0.139
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 0x7a9f373740>
252
- <generator object int_range at 0x7a9f373740>
251
+ <generator object int_range at 0x7202777740>
252
+ <generator object int_range at 0x7202777740>
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 0x7a9f3f5480>
284
+ <generator object batchmaker at 0x72027f9480>
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 0x7a9f3fe110>
338
+ <generator object batch_calculate at 0x7202802110>
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 0x7a9f373840>
444
+ <generator object chunk_array at 0x7202777840>
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: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
495
+ 2024-05-16 07:34:10.455319+07:00
496
+ 2024-05-16 00:34:10.456904+00:00
497
+ 2024-05-15 17:34:10.461001-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 0x7a9f3fde40>
603
+ <generator object filter_empty at 0x7202801e40>
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 0x7a9f3fe3e0>
651
- [<function ExampleGetClassMethod.a at 0x7a9f436e80>, <function ExampleGetClassMethod.b at 0x7a9f436f20>, <function ExampleGetClassMethod.c at 0x7a9f434ea0>, <function ExampleGetClassMethod.d at 0x7a9f437100>]
650
+ <generator object get_class_method at 0x72028023e0>
651
+ [<function ExampleGetClassMethod.a at 0x720283ee80>, <function ExampleGetClassMethod.b at 0x720283ef20>, <function ExampleGetClassMethod.c at 0x720283cea0>, <function ExampleGetClassMethod.d at 0x720283f100>]
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 0x7aa7e979c0>)`
1064
+ `ienumerate(iterator, start=0, key=<function int_to_int at 0x7209feb9c0>)`
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 0x7a9f3fe4d0>
1077
+ <generator object ienumerate at 0x72028024d0>
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, weq, dfs, qweqw
1144
+ weq, asd, dfs, qweqw
1145
1145
  ,ini,path,seperti,url,
1146
1146
  ini,path,seperti,url
1147
1147
  <li>satu</li>
@@ -1187,9 +1187,9 @@ Output:
1187
1187
  ```py
1188
1188
  (['Home', 'Emas 1 Gram', 'History', 'Trend', 'Perak 1 Gram', 'Pluang'],
1189
1189
  [['Harga Emas Hari Ini - Kamis, 16 Mei 2024'],
1190
- ['Spot Emas USD2.386,03 / oz',
1190
+ ['Spot Emas USD↑2.393,98 (+7,95) / oz',
1191
1191
  'Kurs IDR16.131,00 / USD',
1192
- 'Emas IDR1.237.452 / gr'],
1192
+ 'Emas IDR↑1.241.575 (+4.123) / gr'],
1193
1193
  ['LM Antam (Jual)↑1.332.000 (+8.000) / gr',
1194
1194
  'LM Antam (Beli)↑1.223.000 (+8.000) / gr']],
1195
1195
  [['Harga Emas Hari Ini'],
@@ -1260,10 +1260,10 @@ Output:
1260
1260
  'Update harga LM Pegadaian :31 Agustus 2023']],
1261
1261
  [['Spot Harga Emas Hari Ini (Market Open)'],
1262
1262
  ['Satuan', 'USD', 'Kurs\xa0Dollar', 'IDR'],
1263
- ['Ounce\xa0(oz)', '2.386,03', '16.131,00', '38.489.050'],
1264
- ['Gram\xa0(gr)', '76,71', '16.131,00', '1.237.452'],
1265
- ['Kilogram\xa0(kg)', '76.712,65', '16.131,00', '1.237.451.691'],
1266
- ['Update harga emas :16 Mei 2024, pukul 04:58Update kurs :15 Mei 2024, pukul '
1263
+ ['Ounce\xa0(oz)', '2.393,98 (+7,95)', '16.131,00', '38.617.291'],
1264
+ ['Gram\xa0(gr)', '76,97', '16.131,00', '1.241.575 (+4.123)'],
1265
+ ['Kilogram\xa0(kg)', '76.968,24', '16.131,00', '1.241.574.750'],
1266
+ ['Update harga emas :16 Mei 2024, pukul 07:34Update kurs :15 Mei 2024, pukul '
1267
1267
  '13:10']],
1268
1268
  [['Gram', 'UBS Gold 99.99%'],
1269
1269
  ['Jual', 'Beli'],
@@ -1285,36 +1285,36 @@ Output:
1285
1285
  ['Unit', 'USD', 'IDR'],
1286
1286
  ['Angka', '+/-', 'Angka', '+/-'],
1287
1287
  ['Hari Ini', 'Kurs', '', '', '16.131', '%'],
1288
- ['oz', '2.386,03', '%', '38.489.050', '%'],
1289
- ['gr', '76,71', '%', '1.237.452', '%'],
1288
+ ['oz', '2.386,03', '+7,95+0,33%', '38.489.050', '+128.241+0,33%'],
1289
+ ['gr', '76,71', '+0,26+0,33%', '1.237.452', '+4.123+0,33%'],
1290
1290
  ['30 Hari', 'Kurs', '', '', '15.873', '+258+1,63%'],
1291
- ['oz', '2.397,12', '-11,09-0,46%', '38.049.486', '+439.564+1,16%'],
1292
- ['gr', '77,07', '-0,36-0,46%', '1.223.319', '+14.132+1,16%'],
1291
+ ['oz', '2.397,12', '-3,14-0,13%', '38.049.486', '+567.806+1,49%'],
1292
+ ['gr', '77,07', '-0,10-0,13%', '1.223.319', '+18.255+1,49%'],
1293
1293
  ['2 Bulan', 'Kurs', '', '', '15.582', '+549+3,52%'],
1294
- ['oz', '2.156,08', '+229,95+10,67%', '33.596.039', '+4.893.011+14,56%'],
1295
- ['gr', '69,32', '+7,39+10,67', '1.080.138', '+157.314+14,56%'],
1294
+ ['oz', '2.156,08', '+237,90+11,03%', '33.596.039', '+5.021.253+14,95%'],
1295
+ ['gr', '69,32', '+7,65+11,03', '1.080.138', '+161.437+14,95%'],
1296
1296
  ['6 Bulan', 'Kurs', '', '', '15.595', '+536+3,44%'],
1297
- ['oz', '1.980,79', '+405,24+20,46%', '30.890.420', '+7.598.630+24,60%'],
1298
- ['gr', '63,68', '+13,03+20,46%', '993.150', '+244.302+24,60%'],
1297
+ ['oz', '1.980,79', '+413,19+20,86%', '30.890.420', '+7.726.871+25,01%'],
1298
+ ['gr', '63,68', '+13,28+20,86%', '993.150', '+248.425+25,01%'],
1299
1299
  ['1 Tahun', 'Kurs', '', '', '15.731', '+400+2,54%'],
1300
- ['oz', '1.823,86', '+562,17+30,82%', '28.691.142', '+9.797.908+34,15%'],
1301
- ['gr', '58,64', '+18,07+30,82%', '922.442', '+315.010+34,15%'],
1300
+ ['oz', '1.823,86', '+570,12+31,26%', '28.691.142', '+9.926.150+34,60%'],
1301
+ ['gr', '58,64', '+18,33+31,26%', '922.442', '+319.133+34,60%'],
1302
1302
  ['2 Tahun', 'Kurs', '', '', '14.619', '+1.512+10,34%'],
1303
- ['oz', '1.821,43', '+564,60+31,00%', '26.627.503', '+11.861.547+44,55%'],
1304
- ['gr', '58,56', '+18,15+31,00%', '856.094', '+381.358+44,55%'],
1303
+ ['oz', '1.821,43', '+572,55+31,43%', '26.627.503', '+11.989.788+45,03%'],
1304
+ ['gr', '58,56', '+18,41+31,43%', '856.094', '+385.481+45,03%'],
1305
1305
  ['3 Tahun', 'Kurs', '', '', '14.203', '+1.928+13,57%'],
1306
- ['oz', '1.867,94', '+518,09+27,74%', '26.530.370', '+11.958.679+45,08%'],
1307
- ['gr', '60,06', '+16,66+27,74%', '852.971', '+384.480+45,08%'],
1306
+ ['oz', '1.867,94', '+526,04+28,16%', '26.530.370', '+12.086.921+45,56%'],
1307
+ ['gr', '60,06', '+16,91+28,16%', '852.971', '+388.604+45,56%'],
1308
1308
  ['5 Tahun', 'Kurs', '', '', '14.469', '+1.662+11,49%'],
1309
- ['oz', '1.277,78', '+1.108,25+86,73%', '18.488.199', '+20.000.851+108,18%'],
1310
- ['gr', '41,08', '+35,63+86,73%', '594.409', '+643.042+108,18%']])
1309
+ ['oz', '1.277,78', '+1.116,20+87,35%', '18.488.199', '+20.129.093+108,88%'],
1310
+ ['gr', '41,08', '+35,89+87,35%', '594.409', '+647.165+108,88%']])
1311
1311
  (['Home', 'Emas 1 Gram', 'History', 'Trend', 'Perak 1 Gram', 'Pluang'],
1312
1312
  [[''],
1313
1313
  ['Emas 24 KaratHarga Emas 1 Gram', ''],
1314
- ['USD', '76,71↓', '%'],
1315
- ['KURS', '15.916,70↓', '-14,25-0,09%'],
1316
- ['IDR', '1.221.012,17↓', '-1.093,16-0,09%'],
1317
- ['Kamis, 16 Mei 2024 04:58']],
1314
+ ['USD', '76,97↑', '+0,26+0,34%'],
1315
+ ['KURS', '15.917,00↓', '-13,95-0,09%'],
1316
+ ['IDR', '1.225.103,55↑', '+2.998,22+0,25%'],
1317
+ ['Kamis, 16 Mei 2024 07:34']],
1318
1318
  [[''],
1319
1319
  ['Emas 1 Gram (IDR)Emas 1 Gram (USD)Kurs USD-IDR',
1320
1320
  'Hari Ini',
@@ -1325,19 +1325,19 @@ Output:
1325
1325
  '']],
1326
1326
  [['Pergerakkan Harga Emas 1 Gram'],
1327
1327
  ['', 'Penutupan Kemarin', 'Pergerakkan Hari Ini', 'Rata-rata'],
1328
- ['USD', '76,71', '76,71 - 76,71', '76,71'],
1329
- ['KURS', '15.930,95', '15.916,70 - 15.930,95', '15.923,83'],
1330
- ['IDR', '1.222.105,33', '1.221.012,17 - 1.222.105,33', '1.221.558,75'],
1328
+ ['USD', '76,71', '76,71 - 76,97', '76,84'],
1329
+ ['KURS', '15.930,95', '15.917,00 - 15.930,95', '15.923,98'],
1330
+ ['IDR', '1.222.105,33', '1.222.105,33 - 1.225.103,55', '1.223.604,44'],
1331
1331
  [''],
1332
1332
  ['', 'Awal Tahun', 'Pergerakkan YTD', '+/- YTD'],
1333
- ['USD', '66,32', '64,07 - 77,14', '+10,39 (15,67%)'],
1334
- ['KURS', '15.390,10', '15.390,00 - 16.307,80', '+526,60 (3,42%)'],
1335
- ['IDR', '1.020.729,53', '997.660,12 - 1.256.829,06', '+200.282,64 (19,62%)'],
1333
+ ['USD', '66,32', '64,07 - 77,14', '+10,65 (16,06%)'],
1334
+ ['KURS', '15.390,10', '15.390,00 - 16.307,80', '+526,90 (3,42%)'],
1335
+ ['IDR', '1.020.729,53', '997.660,12 - 1.256.829,06', '+204.374,02 (20,02%)'],
1336
1336
  [''],
1337
1337
  ['', 'Tahun Lalu / 52 Minggu', 'Pergerakkan 52 Minggu', '+/- 52 Minggu'],
1338
- ['USD', '64,94', '58,43 - 77,14', '+11,77 (18,12%)'],
1339
- ['KURS', '14.796,95', '14.833,15 - 16.307,80', '+1.119,75 (7,57%)'],
1340
- ['IDR', '960.842,68', '912.925,68 - 1.256.829,06', '+260.169,49 (27,08%)']])
1338
+ ['USD', '64,94', '58,43 - 77,14', '+12,03 (18,52%)'],
1339
+ ['KURS', '14.796,95', '14.833,15 - 16.307,80', '+1.120,05 (7,57%)'],
1340
+ ['IDR', '960.842,68', '912.925,68 - 1.256.829,06', '+264.260,87 (27,50%)']])
1341
1341
  ```
1342
1342
 
1343
1343
  ## iloads
@@ -1467,7 +1467,7 @@ Output:
1467
1467
  ```py
1468
1468
  8
1469
1469
  ['mana', 'aja']
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>]
1470
+ [<Element a at 0x7202850b40>, <Element a at 0x720269c730>, <Element a at 0x720269c7d0>, <Element a at 0x720269c820>, <Element a at 0x720269c870>, <Element a at 0x720269c8c0>, <Element a at 0x720269c910>, <Element a at 0x720269c960>, <Element a at 0x720269c9b0>, <Element a at 0x720269ca00>, <Element a at 0x720269ca50>, <Element a at 0x720269caa0>, <Element a at 0x720269caf0>, <Element a at 0x720269cb40>, <Element a at 0x720269cb90>, <Element a at 0x720269cbe0>, <Element a at 0x720269cc30>, <Element a at 0x720269cc80>]
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 0x7a9f373940>
1532
+ <generator object iscandir at 0x7202777a40>
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 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>},
1565
+ {'function': {'avg': <function avg at 0x720d7e0040>,
1566
+ 'get_filemtime': <function get_filemtime at 0x720a22b060>,
1567
+ 'print_colorize': <function print_colorize at 0x720a22b240>,
1568
+ 'print_log': <function print_log at 0x720a22b100>,
1569
+ 'console_run': <function console_run at 0x720a22b1a0>,
1570
+ 'auto_reload': <function auto_reload at 0x720a674f40>,
1571
+ 'basename': <function basename at 0x720a1c6980>,
1572
+ 'chr_to_int': <function chr_to_int at 0x720a22b7e0>,
1573
+ 'int_to_chr': <function int_to_chr at 0x720a22b880>,
1574
+ 'irange': <function irange at 0x720a22bb00>,
1575
+ 'batchmaker': <function batchmaker at 0x720a22b4c0>,
1576
+ 'calculate': <function calculate at 0x720a22b600>,
1577
+ 'batch_calculate': <function batch_calculate at 0x720a22b380>,
1578
+ 'bin_to_int': <function bin_to_int at 0x720a674ea0>,
1579
+ 'is_empty': <function is_empty at 0x720a2382c0>,
1580
+ 'exit_if_empty': <function exit_if_empty at 0x720a238180>,
1581
+ 'input_char': <function input_char at 0x720a238220>,
1582
+ 'choices': <function choices at 0x720a238540>,
1583
+ 'chunk_array': <function chunk_array at 0x720a2385e0>,
1584
+ 'create_folder': <function create_folder at 0x720a238680>,
1585
+ 'datetime_from_string': <function datetime_from_string at 0x720a238720>,
1586
+ 'datetime_now': <function datetime_now at 0x720a2380e0>,
1587
+ 'dict_first': <function dict_first at 0x720a23aa20>,
1588
+ 'dirname': <function dirname at 0x720a23aac0>,
1589
+ 'is_iterable': <function is_iterable at 0x720a23aca0>,
1590
+ 'to_str': <function to_str at 0x720a23ad40>,
1591
+ 'filter_empty': <function filter_empty at 0x720a22b2e0>,
1592
+ 'get_by_index': <function get_by_index at 0x720a23ab60>,
1593
+ 'get_class_method': <function get_class_method at 0x720a23ade0>,
1594
+ 'get_filesize': <function get_filesize at 0x720a23af20>,
1595
+ 'github_init': <function github_init at 0x720a23afc0>,
1596
+ 'github_pull': <function github_pull at 0x720a23b060>,
1597
+ 'github_push': <function github_push at 0x720a23b1a0>,
1598
+ 'github_user': <function github_user at 0x720a23b240>,
1599
+ 'hex_to_int': <function hex_to_int at 0x720a23b2e0>,
1600
+ 'iargv': <function iargv at 0x720a23b380>,
1601
+ 'idir': <function idir at 0x720a23b420>,
1602
+ 'idumps_html': <function idumps_html at 0x720a23bb00>,
1603
+ 'idumps': <function idumps at 0x720a23b560>,
1604
+ 'int_to_int': <function int_to_int at 0x7209feb9c0>,
1605
+ 'ienumerate': <function ienumerate at 0x7209fde020>,
1606
+ 'ienv': <function ienv at 0x7209feb6a0>,
1607
+ 'iexec': <function iexec at 0x7209feba60>,
1608
+ 'ijoin': <function ijoin at 0x7209febba0>,
1609
+ 'iloads_html': <function iloads_html at 0x7209febd80>,
1610
+ 'iloads': <function iloads at 0x720e1a2020>,
1611
+ 'int_to_bin': <function int_to_bin at 0x7209febb00>,
1612
+ 'int_to_hex': <function int_to_hex at 0x7209febce0>,
1613
+ 'int_to_oct': <function int_to_oct at 0x7209febe20>,
1614
+ 'is_valid_url': <function is_valid_url at 0x7209e33ba0>,
1615
+ 'iopen': <function iopen at 0x720a000040>,
1616
+ 'iprint': <function iprint at 0x7209e336a0>,
1617
+ 'ireplace': <function ireplace at 0x7209e337e0>,
1618
+ 'iscandir': <function iscandir at 0x7209ef49a0>,
1619
+ 'isplit': <function isplit at 0x7209ef4a40>,
1620
+ 'ivars': <function ivars at 0x7209ef4ae0>,
1621
+ 'log': <function log at 0x7209ef4b80>,
1622
+ 'oct_to_int': <function oct_to_int at 0x7209ef4c20>,
1623
+ 'password_generator': <function password_generator at 0x7209ef4cc0>,
1624
+ 'pip_freeze_without_version': <function pip_freeze_without_version at 0x7209ef4e00>,
1625
+ 'poetry_publish': <function poetry_publish at 0x7209ef4ea0>,
1626
+ 'poetry_update_version': <function poetry_update_version at 0x7209ef4fe0>,
1627
+ 'print_dir': <function print_dir at 0x7209ef51c0>,
1628
+ 'print_to_last_line': <function print_to_last_line at 0x7209ef5260>,
1629
+ 'random_bool': <function random_bool at 0x7209ef5300>,
1630
+ 'restart': <function restart at 0x7209ef53a0>,
1631
+ 'set_timeout': <function set_timeout at 0x7209ef5440>,
1632
+ 'sets_ordered': <function sets_ordered at 0x7209ef54e0>,
1633
+ 'sqlite_delete_table': <function sqlite_delete_table at 0x7209ef5580>,
1634
+ 'sqlite_get_all_tables': <function sqlite_get_all_tables at 0x7209ef5120>,
1635
+ 'sqlite_get_data_table': <function sqlite_get_data_table at 0x7209ef5ee0>,
1636
+ 'str_cmp': <function str_cmp at 0x7209ef5f80>,
1637
+ 'text_colorize': <function text_colorize at 0x7209ef6020>},
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 0x7aae966e90>,
1642
+ 'PintUreg': <pint.registry.UnitRegistry object at 0x720d749850>,
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
- xYWyp/-J
1732
+ +cFAcqE,
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__ : -7910218794911558268
1790
+ __hash__ : -2598595217708777404
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 0x7aae0c53d0>
1804
- _hash : -7910218794911558268
1803
+ _flavour : <pathlib._PosixFlavour object at 0x720d58d410>
1804
+ _hash : -2598595217708777404
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 0x7a9f3eef80>
1826
+ iterdir : <generator object Path.iterdir at 0x72027f6f80>
1827
1827
  joinpath : https:/www.google.com
1828
1828
  name : www.google.com
1829
1829
  parent : https:
@@ -1863,7 +1863,7 @@ print(random_bool())
1863
1863
 
1864
1864
  Output:
1865
1865
  ```py
1866
- True
1866
+ False
1867
1867
  ```
1868
1868
 
1869
1869
  ## restart
@@ -1897,7 +1897,7 @@ x.cancel()
1897
1897
 
1898
1898
  Output:
1899
1899
  ```py
1900
- <Timer(Thread-2, started 526638206192)>
1900
+ <Timer(Thread-2, started 489648635120)>
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 0x7a9f4518a0>
1918
+ <generator object sets_ordered at 0x72026598a0>
1919
1919
  [2, 3, 12, 42, 1, 43, 41, 4, 24, 32]
1920
1920
  ```
1921
1921
 
@@ -1923,14 +1923,24 @@ Output:
1923
1923
 
1924
1924
  `sqlite_delete_table(filename, tablename)`
1925
1925
 
1926
+ Perintah sederhana untuk menghapus tabel
1927
+ dari database SQLite.
1928
+
1926
1929
  ## sqlite_get_all_tables
1927
1930
 
1928
1931
  `sqlite_get_all_tables(filename)`
1929
1932
 
1933
+ Perintah SQLite untuk menampilkan seluruh tabel
1934
+ yang ada pada database.
1935
+ Hanya akan mengembalikan kolom nama tabel saja.
1936
+
1930
1937
  ## sqlite_get_data_table
1931
1938
 
1932
1939
  `sqlite_get_data_table(filename, tablename)`
1933
1940
 
1941
+ Perintah SQLite untuk menampilkan seluruh data
1942
+ pada tabel database
1943
+
1934
1944
  ## str_cmp
1935
1945
 
1936
1946
  `str_cmp(t1, t2)`
@@ -1997,15 +2007,15 @@ print(ExampleComparePerformance().compare_performance())
1997
2007
 
1998
2008
  Output:
1999
2009
  ```py
2000
- {'a': <generator object ExampleComparePerformance.a.<locals>.<genexpr> at 0x7a9f450a00>,
2010
+ {'a': <generator object ExampleComparePerformance.a.<locals>.<genexpr> at 0x7202658a00>,
2001
2011
  'b': (0, 1, 2, 3, 4, 5, 6, 7, 8, 9),
2002
2012
  'c': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
2003
2013
  'd': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]}
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}
2014
+ {'a': 130, 'b': 119, 'c': 100, 'd': 193}
2015
+ {'a': 100, 'b': 123, 'c': 101, 'd': 165}
2016
+ {'a': 101, 'b': 118, 'c': 100, 'd': 155}
2017
+ {'a': 114, 'b': 122, 'c': 100, 'd': 145}
2018
+ {'a': 101, 'b': 119, 'c': 100, 'd': 148}
2009
2019
  ```
2010
2020
 
2011
2021
  ## PintUregQuantity
@@ -73,13 +73,13 @@ pypipr/random_bool.py,sha256=OkvQqpusHGc5mt2nHCycA7-s2I0gbN6UxI7opMOFppE,352
73
73
  pypipr/restart.py,sha256=jUhsjZACAAcItYzCuiULHLFikoVyYDJWj16hCLARmAw,272
74
74
  pypipr/set_timeout.py,sha256=heg1J3jSArgG5_75BNLrujjh7I9meTyAzHpuAY_4IBc,698
75
75
  pypipr/sets_ordered.py,sha256=ve2Nc1eNYD_7QaTf_4otEAvzL1XpZP2MjX0KHSXF5nA,325
76
- pypipr/sqlite_delete_table.py,sha256=d1bmJTz8LL-dkfmp5Y3wQD465ZE-IYtuY4sKDpBJQeU,208
77
- pypipr/sqlite_get_all_tables.py,sha256=XDayAj8GzmLEju7WUzfpZmBe0MlfXRRXLrRSw_v56TE,259
78
- pypipr/sqlite_get_data_table.py,sha256=i50bBcRVcCaEGyVPbKwu1mtQUOlufSdbXSllKp_gQuU,228
76
+ pypipr/sqlite_delete_table.py,sha256=x385gVBHp1WkIdMpYEihOmFHglQ6yMl9H14W-ynKRHY,295
77
+ pypipr/sqlite_get_all_tables.py,sha256=RyRzVOEFkwHDaOkNWJ4zoR9KavFNmYneh8KDJyTzKD4,407
78
+ pypipr/sqlite_get_data_table.py,sha256=_GeaakCezPEmCB6cgTqgc1bKK_AMzjuxRGYZdOKA-DA,319
79
79
  pypipr/str_cmp.py,sha256=2kavWiT4VTddXcBotF1CxDOWSygk5rFrbllKxBjw9dc,377
80
80
  pypipr/text_colorize.py,sha256=IVjaCnXBSBu4Rh8pTO3CxDvxpA265HVwyKX_-PRXCcI,396
81
81
  pypipr/to_str.py,sha256=vSuspf-ZQldf4enkssa9XH0WMjkmWug51G9ia0K5occ,597
82
- pypipr-1.0.138.dist-info/METADATA,sha256=K4rNE3Fc2WKqTq_Yx23bJlMScS6jPWLJOmeiZycSixk,54840
83
- pypipr-1.0.138.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
84
- pypipr-1.0.138.dist-info/entry_points.txt,sha256=XEBtOa61BCVW4cVvoqYQnyTcenJ1tzFFB09YnuqlKBY,51
85
- pypipr-1.0.138.dist-info/RECORD,,
82
+ pypipr-1.0.139.dist-info/METADATA,sha256=4Ql9hV-2LptV5AvcesE2eRqKDapbg_qHSmsm5KabdLU,55195
83
+ pypipr-1.0.139.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
84
+ pypipr-1.0.139.dist-info/entry_points.txt,sha256=XEBtOa61BCVW4cVvoqYQnyTcenJ1tzFFB09YnuqlKBY,51
85
+ pypipr-1.0.139.dist-info/RECORD,,