pypipr 1.0.177__py3-none-any.whl → 1.0.179__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/iopen.py CHANGED
@@ -36,7 +36,7 @@ def iopen(path, data=None, regex=None, css_select=None, xpath=None, file_append=
36
36
  ```python
37
37
  # FILE
38
38
  print(iopen("__iopen.txt", "mana aja"))
39
- print(iopen("__iopen.txt", regex="(\\w+)"))
39
+ print(iopen("__iopen.txt", regex="([a-zA-Z])"))
40
40
  # URL
41
41
  print(iopen("https://www.google.com/", css_select="a"))
42
42
  print(iopen("https://www.google.com/", dict(coba="dulu"), xpath="//a"))
@@ -7,7 +7,7 @@ def traceback_filename(stack_level=-3):
7
7
  fungsi dimana fungsi ini diletakkan dipanggil.
8
8
 
9
9
  ```py
10
- print(traceback_filename())
10
+ print(traceback_filename(-1))
11
11
  ```
12
12
  """
13
13
  return traceback.extract_stack()[stack_level].filename
@@ -7,7 +7,7 @@ def traceback_framename(stack_level=-3):
7
7
  fungsi dimana fungsi ini diletakan ini dipanggil.
8
8
 
9
9
  ```py
10
- print(traceback_framename())
10
+ print(traceback_framename(-1))
11
11
  ```
12
12
  """
13
13
  return traceback.extract_stack()[stack_level].name
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: pypipr
3
- Version: 1.0.177
3
+ Version: 1.0.179
4
4
  Summary: The Python Package Index Project
5
5
  Author: ufiapjj
6
6
  Author-email: ufiapjj@gmail.com
@@ -249,8 +249,8 @@ iprint(irange("z", "a", 4))
249
249
 
250
250
  Output:
251
251
  ```py
252
- <generator object int_range at 0x7c1dfaa940>
253
- <generator object int_range at 0x7c1dfaaa40>
252
+ <generator object int_range at 0x796a7ba940>
253
+ <generator object int_range at 0x796a7baa40>
254
254
  [13, 12, 11, 10, 9, 8, 7, 6]
255
255
  [2, 5, 8]
256
256
  []
@@ -282,7 +282,7 @@ print(list(batchmaker(s)))
282
282
 
283
283
  Output:
284
284
  ```py
285
- <generator object batchmaker at 0x7c1df57d00>
285
+ <generator object batchmaker at 0x796a767d00>
286
286
  ['Urutan 1 dan 10 dan j dan Z saja.', 'Urutan 1 dan 10 dan j dan K saja.', 'Urutan 1 dan 10 dan j dan saja.']
287
287
  ```
288
288
 
@@ -336,7 +336,7 @@ print(list(batch_calculate("{1 10} m ** {1 3}")))
336
336
 
337
337
  Output:
338
338
  ```py
339
- <generator object batch_calculate at 0x7c1dfb3e60>
339
+ <generator object batch_calculate at 0x796a7c7e60>
340
340
  [('1 m ** 1', <Quantity(1, 'meter')>), ('1 m ** 2', <Quantity(1, 'meter ** 2')>), ('1 m ** 3', <Quantity(1, 'meter ** 3')>)]
341
341
  ```
342
342
 
@@ -442,7 +442,7 @@ print(list(chunk_array(arr, 5)))
442
442
 
443
443
  Output:
444
444
  ```py
445
- <generator object chunk_array at 0x7c1dfaf2e0>
445
+ <generator object chunk_array at 0x796a7bf2e0>
446
446
  [[2, 3, 12, 3, 3], [42, 42, 1, 43, 2], [42, 41, 4, 24, 32], [42, 3, 12, 32, 42], [42]]
447
447
  ```
448
448
 
@@ -493,9 +493,9 @@ print(datetime_now("Etc/GMT+7"))
493
493
 
494
494
  Output:
495
495
  ```py
496
- 2025-05-08 09:22:09.048091+07:00
497
- 2025-05-08 02:22:09.049735+00:00
498
- 2025-05-07 19:22:09.052941-07:00
496
+ 2025-05-08 09:25:46.633474+07:00
497
+ 2025-05-08 02:25:46.634294+00:00
498
+ 2025-05-07 19:25:46.635864-07:00
499
499
  ```
500
500
 
501
501
  ## dict_first
@@ -614,7 +614,7 @@ iprint(filter_empty(var))
614
614
 
615
615
  Output:
616
616
  ```py
617
- <generator object filter_empty at 0x7c1dfaf4c0>
617
+ <generator object filter_empty at 0x796a7bf4c0>
618
618
  [1, '0', True, {}, ['eee']]
619
619
  ```
620
620
 
@@ -661,8 +661,8 @@ print(list(get_class_method(ExampleGetClassMethod)))
661
661
 
662
662
  Output:
663
663
  ```py
664
- <generator object get_class_method at 0x7c1c340d60>
665
- [<function ExampleGetClassMethod.a at 0x7c1c333ba0>, <function ExampleGetClassMethod.b at 0x7c1c333a60>, <function ExampleGetClassMethod.c at 0x7c1c333b00>, <function ExampleGetClassMethod.d at 0x7c1c333ce0>]
664
+ <generator object get_class_method at 0x796a638d60>
665
+ [<function ExampleGetClassMethod.a at 0x796a62bba0>, <function ExampleGetClassMethod.b at 0x796a62ba60>, <function ExampleGetClassMethod.c at 0x796a62bb00>, <function ExampleGetClassMethod.d at 0x796a62bce0>]
666
666
  ```
667
667
 
668
668
  ## get_filesize
@@ -1090,7 +1090,7 @@ Output:
1090
1090
 
1091
1091
  ## ienumerate
1092
1092
 
1093
- `ienumerate(iterator, start=0, key=<function int_to_int at 0x7c1fa42f20>)`
1093
+ `ienumerate(iterator, start=0, key=<function int_to_int at 0x7970356f20>)`
1094
1094
 
1095
1095
  meningkatkan fungsi enumerate() pada python
1096
1096
  untuk key menggunakan huruf dan basis angka lainnya.
@@ -1103,7 +1103,7 @@ iprint(ienumerate(it, key=int_to_chr))
1103
1103
 
1104
1104
  Output:
1105
1105
  ```py
1106
- <generator object ienumerate at 0x7c1dfaf4c0>
1106
+ <generator object ienumerate at 0x796a7bf4c0>
1107
1107
  [('a', 'ini'), ('b', 'contoh'), ('c', 'enumerator')]
1108
1108
  ```
1109
1109
 
@@ -1180,7 +1180,7 @@ print(ijoin(10, ' '))
1180
1180
 
1181
1181
  Output:
1182
1182
  ```py
1183
- dfs, qweqw, asd, weq
1183
+ qweqw, weq, dfs, asd
1184
1184
  ,ini,path,seperti,url,
1185
1185
  ini,path,seperti,url
1186
1186
  <li>satu</li>
@@ -1226,7 +1226,7 @@ Output:
1226
1226
  ```py
1227
1227
  (['Home', 'Emas 1 Gram', 'History', 'Trend', 'Perak 1 Gram', 'Pluang'],
1228
1228
  [['Harga Emas Hari Ini - Kamis, 08 Mei 2025'],
1229
- ['Spot Emas USD↑3.412,27 (+24,03) / oz',
1229
+ ['Spot Emas USD↑3.412,70 (+24,46) / oz',
1230
1230
  'Kurs IDR1,00 / USD',
1231
1231
  'Emas IDR↑110 (+1) / gr'],
1232
1232
  ['LM Antam (Jual)↓1.513.000 (-30.000) / gr',
@@ -1251,10 +1251,10 @@ Output:
1251
1251
  'Update harga LM Pegadaian :31 Desember 1969']],
1252
1252
  [['Spot Harga Emas Hari Ini (Market Open)'],
1253
1253
  ['Satuan', 'USD', 'Kurs\xa0Dollar', 'IDR'],
1254
- ['Ounce\xa0(oz)', '3.412,27 (+24,03)', '1,00', '3.412'],
1255
- ['Gram\xa0(gr)', '109,71', '1,00', '110 (+1)'],
1256
- ['Kilogram\xa0(kg)', '109.707,03', '1,00', '109.707'],
1257
- ['Update harga emas :08 Mei 2025, pukul 09:22Update kurs :14 Maret 2025, '
1254
+ ['Ounce\xa0(oz)', '3.412,70 (+24,46)', '1,00', '3.413'],
1255
+ ['Gram\xa0(gr)', '109,72', '1,00', '110 (+1)'],
1256
+ ['Kilogram\xa0(kg)', '109.720,85', '1,00', '109.721'],
1257
+ ['Update harga emas :08 Mei 2025, pukul 09:24Update kurs :14 Maret 2025, '
1258
1258
  'pukul 10:13']],
1259
1259
  [['Gram', 'UBS Gold 99.99%'],
1260
1260
  ['Jual', 'Beli'],
@@ -1292,36 +1292,36 @@ Output:
1292
1292
  ['Unit', 'USD', 'IDR'],
1293
1293
  ['Angka', '+/-', 'Angka', '+/-'],
1294
1294
  ['Hari Ini', 'Kurs', '', '', '1', '%'],
1295
- ['oz', '3.388,24', '+24,03+0,71%', '3.388', '+24+0,71%'],
1296
- ['gr', '108,93', '+0,77+0,71%', '109', '+1+0,71%'],
1295
+ ['oz', '3.388,24', '+24,46+0,72%', '3.388', '+24+0,72%'],
1296
+ ['gr', '108,93', '+0,79+0,72%', '109', '+1+0,72%'],
1297
1297
  ['30 Hari', 'Kurs', '', '', '1', '%'],
1298
- ['oz', '2.987,14', '+425,13+14,23%', '2.987', '+425+14,23%'],
1299
- ['gr', '96,04', '+13,67+14,23%', '96', '+14+14,23%'],
1298
+ ['oz', '2.987,14', '+425,56+14,25%', '2.987', '+426+14,25%'],
1299
+ ['gr', '96,04', '+13,68+14,25%', '96', '+14+14,25%'],
1300
1300
  ['2 Bulan', 'Kurs', '', '', '16.315', '-16.314-99,99%'],
1301
- ['oz', '2.911,17', '+501,10+17,21%', '47.495.739', '-47.492.326-99,99%'],
1302
- ['gr', '93,60', '+16,11+17,21', '1.527.023', '-1.526.914-99,99%'],
1301
+ ['oz', '2.911,17', '+501,53+17,23%', '47.495.739', '-47.492.326-99,99%'],
1302
+ ['gr', '93,60', '+16,12+17,23', '1.527.023', '-1.526.914-99,99%'],
1303
1303
  ['6 Bulan', 'Kurs', '', '', '15.767', '-15.766-99,99%'],
1304
- ['oz', '2.684,64', '+727,63+27,10%', '42.328.719', '-42.325.307-99,99%'],
1305
- ['gr', '86,31', '+23,39+27,10%', '1.360.900', '-1.360.790-99,99%'],
1304
+ ['oz', '2.684,64', '+728,06+27,12%', '42.328.719', '-42.325.306-99,99%'],
1305
+ ['gr', '86,31', '+23,41+27,12%', '1.360.900', '-1.360.790-99,99%'],
1306
1306
  ['1 Tahun', 'Kurs', '', '', '16.054', '-16.053-99,99%'],
1307
- ['oz', '2.317,41', '+1.094,86+47,24%', '37.203.700', '-37.200.288-99,99%'],
1308
- ['gr', '74,51', '+35,20+47,24%', '1.196.127', '-1.196.017-99,99%'],
1307
+ ['oz', '2.317,41', '+1.095,29+47,26%', '37.203.700', '-37.200.287-99,99%'],
1308
+ ['gr', '74,51', '+35,21+47,26%', '1.196.127', '-1.196.017-99,99%'],
1309
1309
  ['2 Tahun', 'Kurs', '', '', '15.731', '-15.730-99,99%'],
1310
- ['oz', '1.823,86', '+1.588,41+87,09%', '28.691.142', '-28.687.729-99,99%'],
1311
- ['gr', '58,64', '+51,07+87,09%', '922.442', '-922.332-99,99%'],
1310
+ ['oz', '1.823,86', '+1.588,84+87,11%', '28.691.142', '-28.687.729-99,99%'],
1311
+ ['gr', '58,64', '+51,08+87,11%', '922.442', '-922.332-99,99%'],
1312
1312
  ['3 Tahun', 'Kurs', '', '', '14.480', '-14.479-99,99%'],
1313
- ['oz', '1.861,38', '+1.550,89+83,32%', '26.952.782', '-26.949.370-99,99%'],
1314
- ['gr', '59,84', '+49,86+83,32%', '866.552', '-866.442-99,99%'],
1313
+ ['oz', '1.861,38', '+1.551,32+83,34%', '26.952.782', '-26.949.370-99,99%'],
1314
+ ['gr', '59,84', '+49,88+83,34%', '866.552', '-866.442-99,99%'],
1315
1315
  ['5 Tahun', 'Kurs', '', '', '15.009', '-15.008-99,99%'],
1316
- ['oz', '1.702,22', '+1.710,05+100,46%', '25.548.637', '-25.545.225-99,99%'],
1317
- ['gr', '54,73', '+54,98+100,46%', '821.408', '-821.298-99,99%']])
1316
+ ['oz', '1.702,22', '+1.710,48+100,49%', '25.548.637', '-25.545.224-99,99%'],
1317
+ ['gr', '54,73', '+54,99+100,49%', '821.408', '-821.298-99,99%']])
1318
1318
  (['Home', 'Emas 1 Gram', 'History', 'Trend', 'Perak 1 Gram', 'Pluang'],
1319
1319
  [[''],
1320
1320
  ['Emas 24 KaratHarga Emas 1 Gram', ''],
1321
- ['USD', '109,71↑', '+0,78+0,72%'],
1322
- ['KURS', '16.558,35↑', '+89,85+0,55%'],
1323
- ['IDR', '1.816.567,37↑', '+22.580,45+1,26%'],
1324
- ['Kamis, 08 Mei 2025 09:22']],
1321
+ ['USD', '109,65↑', '+0,72+0,66%'],
1322
+ ['KURS', '16.550,98↑', '+82,48+0,50%'],
1323
+ ['IDR', '1.814.774,39↑', '+20.787,47+1,16%'],
1324
+ ['Kamis, 08 Mei 2025 09:25']],
1325
1325
  [[''],
1326
1326
  ['Emas 1 Gram (IDR)Emas 1 Gram (USD)Kurs USD-IDR',
1327
1327
  'Hari Ini',
@@ -1332,25 +1332,25 @@ Output:
1332
1332
  '']],
1333
1333
  [['Pergerakkan Harga Emas 1 Gram'],
1334
1334
  ['', 'Penutupan Kemarin', 'Pergerakkan Hari Ini', 'Rata-rata'],
1335
- ['USD', '108,93', '108,93 - 109,71', '109,32'],
1336
- ['KURS', '16.468,50', '16.468,50 - 16.558,35', '16.513,43'],
1337
- ['IDR', '1.793.986,92', '1.793.986,92 - 1.816.567,37', '1.805.277,15'],
1335
+ ['USD', '108,93', '108,93 - 109,65', '109,29'],
1336
+ ['KURS', '16.468,50', '16.468,50 - 16.550,98', '16.509,74'],
1337
+ ['IDR', '1.793.986,92', '1.793.986,92 - 1.814.774,39', '1.804.380,66'],
1338
1338
  [''],
1339
1339
  ['', 'Awal Tahun', 'Pergerakkan YTD', '+/- YTD'],
1340
- ['USD', '84,42', '84,38 - 109,73', '+25,29 (29,96%)'],
1341
- ['KURS', '16.220,76', '16.156,70 - 16.877,75', '+337,59 (2,08%)'],
1340
+ ['USD', '84,42', '84,38 - 109,73', '+25,23 (29,89%)'],
1341
+ ['KURS', '16.220,76', '16.156,70 - 16.877,75', '+330,22 (2,04%)'],
1342
1342
  ['IDR',
1343
1343
  '1.369.306,75',
1344
1344
  '1.368.695,74 - 1.850.462,40',
1345
- '+447.260,62 (32,66%)'],
1345
+ '+445.467,64 (32,53%)'],
1346
1346
  [''],
1347
1347
  ['', 'Tahun Lalu / 52 Minggu', 'Pergerakkan 52 Minggu', '+/- 52 Minggu'],
1348
- ['USD', '74,37', '73,75 - 109,73', '+35,34 (47,52%)'],
1349
- ['KURS', '16.067,00', '15.100,00 - 16.877,75', '+491,35 (3,06%)'],
1348
+ ['USD', '74,37', '73,75 - 109,73', '+35,28 (47,44%)'],
1349
+ ['KURS', '16.067,00', '15.100,00 - 16.877,75', '+483,98 (3,01%)'],
1350
1350
  ['IDR',
1351
1351
  '1.194.982,56',
1352
1352
  '1.197.616,87 - 1.850.462,40',
1353
- '+621.584,81 (52,02%)']])
1353
+ '+619.791,83 (51,87%)']])
1354
1354
  ```
1355
1355
 
1356
1356
  ## iloads
@@ -1470,7 +1470,7 @@ Tulis URL :
1470
1470
  ```python
1471
1471
  # FILE
1472
1472
  print(iopen("__iopen.txt", "mana aja"))
1473
- print(iopen("__iopen.txt", regex="(\w+)"))
1473
+ print(iopen("__iopen.txt", regex="([a-zA-Z])"))
1474
1474
  # URL
1475
1475
  print(iopen("https://www.google.com/", css_select="a"))
1476
1476
  print(iopen("https://www.google.com/", dict(coba="dulu"), xpath="//a"))
@@ -1479,8 +1479,8 @@ print(iopen("https://www.google.com/", dict(coba="dulu"), xpath="//a"))
1479
1479
  Output:
1480
1480
  ```py
1481
1481
  8
1482
- ['mana', 'aja']
1483
- [<Element a at 0x7c1c37a8a0>, <Element a at 0x7c1c37a940>, <Element a at 0x7c1c37abc0>, <Element a at 0x7c1c37ac60>, <Element a at 0x7c1c37ad00>, <Element a at 0x7c1c37adf0>, <Element a at 0x7c1c37b070>, <Element a at 0x7c1c37b200>, <Element a at 0x7c1c37b2f0>, <Element a at 0x7c1c37bbb0>, <Element a at 0x7c1c37bcf0>, <Element a at 0x7c1c37bd90>, <Element a at 0x7c1c37be30>, <Element a at 0x7c1c37bf70>, <Element a at 0x7c1c37bfc0>, <Element a at 0x7c1c3ac050>, <Element a at 0x7c1c3ac0a0>, <Element a at 0x7c1c3ac0f0>]
1482
+ ['m', 'a', 'n', 'a', 'a', 'j', 'a']
1483
+ [<Element a at 0x796a6768a0>, <Element a at 0x796a676940>, <Element a at 0x796a676bc0>, <Element a at 0x796a676c60>, <Element a at 0x796a676d00>, <Element a at 0x796a676df0>, <Element a at 0x796a677070>, <Element a at 0x796a677200>, <Element a at 0x796a6772f0>, <Element a at 0x796a677bb0>, <Element a at 0x796a677cf0>, <Element a at 0x796a677d90>, <Element a at 0x796a677e30>, <Element a at 0x796a677f70>, <Element a at 0x796a677fc0>, <Element a at 0x796a6a4050>, <Element a at 0x796a6a40a0>, <Element a at 0x796a6a40f0>]
1484
1484
  False
1485
1485
  ```
1486
1486
 
@@ -1550,7 +1550,7 @@ print(list(iscandir("./", recursive=False, scan_file=False)))
1550
1550
 
1551
1551
  Output:
1552
1552
  ```py
1553
- <generator object iscandir at 0x7c1dfaf3d0>
1553
+ <generator object iscandir at 0x796a7bf3d0>
1554
1554
  [PosixPath('.git'), PosixPath('.vscode'), PosixPath('pypipr'), PosixPath('__pycache__'), PosixPath('dist')]
1555
1555
  ```
1556
1556
 
@@ -1583,98 +1583,98 @@ iprint(ivars(__import__('pypipr')))
1583
1583
 
1584
1584
  Output:
1585
1585
  ```py
1586
- {'function': {'avg': <function avg at 0x7c239f0720>,
1587
- 'get_filemtime': <function get_filemtime at 0x7c1fb4a0c0>,
1588
- 'print_colorize': <function print_colorize at 0x7c1fb4a2a0>,
1589
- 'print_log': <function print_log at 0x7c1fb4a160>,
1590
- 'console_run': <function console_run at 0x7c1fb48720>,
1591
- 'auto_reload': <function auto_reload at 0x7c1fbeba60>,
1592
- 'basename': <function basename at 0x7c1fb4a340>,
1593
- 'chr_to_int': <function chr_to_int at 0x7c1fb4a8e0>,
1594
- 'int_to_chr': <function int_to_chr at 0x7c1fb4a980>,
1595
- 'irange': <function irange at 0x7c1fb4ae80>,
1596
- 'batchmaker': <function batchmaker at 0x7c1fb4a660>,
1597
- 'calculate': <function calculate at 0x7c1fb4a200>,
1598
- 'batch_calculate': <function batch_calculate at 0x7c1fb4a3e0>,
1599
- 'bin_to_int': <function bin_to_int at 0x7c1fb4a5c0>,
1600
- 'is_empty': <function is_empty at 0x7c1fb4b740>,
1601
- 'exit_if_empty': <function exit_if_empty at 0x7c1fb4b600>,
1602
- 'input_char': <function input_char at 0x7c1fb4b6a0>,
1603
- 'choices': <function choices at 0x7c1fb4b9c0>,
1604
- 'chunk_array': <function chunk_array at 0x7c1fb4ba60>,
1605
- 'create_folder': <function create_folder at 0x7c1fb4bb00>,
1606
- 'datetime_from_string': <function datetime_from_string at 0x7c1fb4bba0>,
1607
- 'datetime_now': <function datetime_now at 0x7c1fb4bc40>,
1608
- 'dict_first': <function dict_first at 0x7c1fb39ee0>,
1609
- 'dirname': <function dirname at 0x7c1fb3a020>,
1610
- 'django_clear_migrations': <function django_clear_migrations at 0x7c1fb3a0c0>,
1611
- 'django_runserver': <function django_runserver at 0x7c1fb3a3e0>,
1612
- 'is_iterable': <function is_iterable at 0x7c1fb3a7a0>,
1613
- 'to_str': <function to_str at 0x7c1fb3a8e0>,
1614
- 'filter_empty': <function filter_empty at 0x7c1fb3a660>,
1615
- 'get_by_index': <function get_by_index at 0x7c1fb3a840>,
1616
- 'get_class_method': <function get_class_method at 0x7c1fb3a980>,
1617
- 'get_filesize': <function get_filesize at 0x7c1fb3aac0>,
1618
- 'github_init': <function github_init at 0x7c1fb3ab60>,
1619
- 'github_pull': <function github_pull at 0x7c1fb3ac00>,
1620
- 'github_push': <function github_push at 0x7c1fb3ad40>,
1621
- 'github_user': <function github_user at 0x7c1fb3ade0>,
1622
- 'hex_to_int': <function hex_to_int at 0x7c1fb3ae80>,
1623
- 'iargv': <function iargv at 0x7c1fb3af20>,
1624
- 'idir': <function idir at 0x7c1fb3afc0>,
1625
- 'idumps_html': <function idumps_html at 0x7c1fa42a20>,
1626
- 'idumps': <function idumps at 0x7c1fb3b060>,
1627
- 'int_to_int': <function int_to_int at 0x7c1fa42f20>,
1628
- 'ienumerate': <function ienumerate at 0x7c1fa2d260>,
1629
- 'ienv': <function ienv at 0x7c1fa42de0>,
1630
- 'iexec': <function iexec at 0x7c1fa42fc0>,
1631
- 'iinput': <function iinput at 0x7c1fa43060>,
1632
- 'ijoin': <function ijoin at 0x7c1fa43100>,
1633
- 'iloads_html': <function iloads_html at 0x7c1fa43420>,
1634
- 'iloads': <function iloads at 0x7c24435260>,
1635
- 'int_to_bin': <function int_to_bin at 0x7c1fa431a0>,
1636
- 'int_to_hex': <function int_to_hex at 0x7c1fa43240>,
1637
- 'int_to_oct': <function int_to_oct at 0x7c1fa434c0>,
1638
- 'is_valid_url': <function is_valid_url at 0x7c1fa43740>,
1639
- 'iopen': <function iopen at 0x7c1f8072e0>,
1640
- 'iprint': <function iprint at 0x7c1f85a2a0>,
1641
- 'is_raw_string': <function is_raw_string at 0x7c1e1a0c20>,
1642
- 'ireplace': <function ireplace at 0x7c1e193100>,
1643
- 'is_html': <function is_html at 0x7c1e1a0b80>,
1644
- 'iscandir': <function iscandir at 0x7c1e1a0cc0>,
1645
- 'isplit': <function isplit at 0x7c1e1a0d60>,
1646
- 'ivars': <function ivars at 0x7c1e1a0e00>,
1647
- 'log': <function log at 0x7c1e1a0ea0>,
1648
- 'no_indent': <function no_indent at 0x7c1e1a0f40>,
1649
- 'oct_to_int': <function oct_to_int at 0x7c1e1a0fe0>,
1650
- 'password_generator': <function password_generator at 0x7c1e1a1080>,
1651
- 'path_to_module': <function path_to_module at 0x7c1e1a1120>,
1652
- 'pip_freeze_without_version': <function pip_freeze_without_version at 0x7c1e1a11c0>,
1653
- 'pip_update_pypipr': <function pip_update_pypipr at 0x7c1e1a1260>,
1654
- 'poetry_publish': <function poetry_publish at 0x7c1e1a1300>,
1655
- 'poetry_shell': <function poetry_shell at 0x7c1e1a13a0>,
1656
- 'poetry_update_version': <function poetry_update_version at 0x7c1e1a14e0>,
1657
- 'print_dir': <function print_dir at 0x7c1e1a1620>,
1658
- 'print_to_last_line': <function print_to_last_line at 0x7c1e1a16c0>,
1659
- 'random_bool': <function random_bool at 0x7c1e1a1760>,
1660
- 'repath': <function repath at 0x7c1e1a18a0>,
1661
- 'restart': <function restart at 0x7c1e1a1940>,
1662
- 'set_timeout': <function set_timeout at 0x7c1e1a19e0>,
1663
- 'sets_ordered': <function sets_ordered at 0x7c1e1a1a80>,
1664
- 'sqlite_backup': <function sqlite_backup at 0x7c1e1a1b20>,
1665
- 'sqlite_delete_table': <function sqlite_delete_table at 0x7c1e1a1bc0>,
1666
- 'sqlite_get_all_tables': <function sqlite_get_all_tables at 0x7c1e1a1c60>,
1667
- 'sqlite_get_data_table': <function sqlite_get_data_table at 0x7c1e1a1d00>,
1668
- 'str_cmp': <function str_cmp at 0x7c1e1a25c0>,
1669
- 'text_colorize': <function text_colorize at 0x7c1e1a2660>,
1670
- 'tiles': <function tiles at 0x7c1e1a2700>,
1671
- 'traceback_filename': <function traceback_filename at 0x7c1e1a27a0>,
1672
- 'traceback_framename': <function traceback_framename at 0x7c1e1a2840>},
1586
+ {'function': {'avg': <function avg at 0x7977b68720>,
1587
+ 'get_filemtime': <function get_filemtime at 0x797045e0c0>,
1588
+ 'print_colorize': <function print_colorize at 0x797045e2a0>,
1589
+ 'print_log': <function print_log at 0x797045e160>,
1590
+ 'console_run': <function console_run at 0x797045c720>,
1591
+ 'auto_reload': <function auto_reload at 0x79704ffa60>,
1592
+ 'basename': <function basename at 0x797045e340>,
1593
+ 'chr_to_int': <function chr_to_int at 0x797045e8e0>,
1594
+ 'int_to_chr': <function int_to_chr at 0x797045e980>,
1595
+ 'irange': <function irange at 0x797045ee80>,
1596
+ 'batchmaker': <function batchmaker at 0x797045e660>,
1597
+ 'calculate': <function calculate at 0x797045e200>,
1598
+ 'batch_calculate': <function batch_calculate at 0x797045e3e0>,
1599
+ 'bin_to_int': <function bin_to_int at 0x797045e5c0>,
1600
+ 'is_empty': <function is_empty at 0x797045f740>,
1601
+ 'exit_if_empty': <function exit_if_empty at 0x797045f600>,
1602
+ 'input_char': <function input_char at 0x797045f6a0>,
1603
+ 'choices': <function choices at 0x797045f9c0>,
1604
+ 'chunk_array': <function chunk_array at 0x797045fa60>,
1605
+ 'create_folder': <function create_folder at 0x797045fb00>,
1606
+ 'datetime_from_string': <function datetime_from_string at 0x797045fba0>,
1607
+ 'datetime_now': <function datetime_now at 0x797045fc40>,
1608
+ 'dict_first': <function dict_first at 0x7970451ee0>,
1609
+ 'dirname': <function dirname at 0x7970452020>,
1610
+ 'django_clear_migrations': <function django_clear_migrations at 0x79704520c0>,
1611
+ 'django_runserver': <function django_runserver at 0x79704523e0>,
1612
+ 'is_iterable': <function is_iterable at 0x79704527a0>,
1613
+ 'to_str': <function to_str at 0x79704528e0>,
1614
+ 'filter_empty': <function filter_empty at 0x7970452660>,
1615
+ 'get_by_index': <function get_by_index at 0x7970452840>,
1616
+ 'get_class_method': <function get_class_method at 0x7970452980>,
1617
+ 'get_filesize': <function get_filesize at 0x7970452ac0>,
1618
+ 'github_init': <function github_init at 0x7970452b60>,
1619
+ 'github_pull': <function github_pull at 0x7970452c00>,
1620
+ 'github_push': <function github_push at 0x7970452d40>,
1621
+ 'github_user': <function github_user at 0x7970452de0>,
1622
+ 'hex_to_int': <function hex_to_int at 0x7970452e80>,
1623
+ 'iargv': <function iargv at 0x7970452f20>,
1624
+ 'idir': <function idir at 0x7970452fc0>,
1625
+ 'idumps_html': <function idumps_html at 0x7970356a20>,
1626
+ 'idumps': <function idumps at 0x7970453060>,
1627
+ 'int_to_int': <function int_to_int at 0x7970356f20>,
1628
+ 'ienumerate': <function ienumerate at 0x7970341260>,
1629
+ 'ienv': <function ienv at 0x7970356de0>,
1630
+ 'iexec': <function iexec at 0x7970356fc0>,
1631
+ 'iinput': <function iinput at 0x7970357060>,
1632
+ 'ijoin': <function ijoin at 0x7970357100>,
1633
+ 'iloads_html': <function iloads_html at 0x7970357420>,
1634
+ 'iloads': <function iloads at 0x7977f61260>,
1635
+ 'int_to_bin': <function int_to_bin at 0x79703571a0>,
1636
+ 'int_to_hex': <function int_to_hex at 0x7970357240>,
1637
+ 'int_to_oct': <function int_to_oct at 0x79703574c0>,
1638
+ 'is_valid_url': <function is_valid_url at 0x7970357740>,
1639
+ 'iopen': <function iopen at 0x79700d72e0>,
1640
+ 'iprint': <function iprint at 0x797012a2a0>,
1641
+ 'is_raw_string': <function is_raw_string at 0x796ba64c20>,
1642
+ 'ireplace': <function ireplace at 0x796ba5b100>,
1643
+ 'is_html': <function is_html at 0x796ba64b80>,
1644
+ 'iscandir': <function iscandir at 0x796ba64cc0>,
1645
+ 'isplit': <function isplit at 0x796ba64d60>,
1646
+ 'ivars': <function ivars at 0x796ba64e00>,
1647
+ 'log': <function log at 0x796ba64ea0>,
1648
+ 'no_indent': <function no_indent at 0x796ba64f40>,
1649
+ 'oct_to_int': <function oct_to_int at 0x796ba64fe0>,
1650
+ 'password_generator': <function password_generator at 0x796ba65080>,
1651
+ 'path_to_module': <function path_to_module at 0x796ba65120>,
1652
+ 'pip_freeze_without_version': <function pip_freeze_without_version at 0x796ba651c0>,
1653
+ 'pip_update_pypipr': <function pip_update_pypipr at 0x796ba65260>,
1654
+ 'poetry_publish': <function poetry_publish at 0x796ba65300>,
1655
+ 'poetry_shell': <function poetry_shell at 0x796ba653a0>,
1656
+ 'poetry_update_version': <function poetry_update_version at 0x796ba654e0>,
1657
+ 'print_dir': <function print_dir at 0x796ba65620>,
1658
+ 'print_to_last_line': <function print_to_last_line at 0x796ba656c0>,
1659
+ 'random_bool': <function random_bool at 0x796ba65760>,
1660
+ 'repath': <function repath at 0x796ba658a0>,
1661
+ 'restart': <function restart at 0x796ba65940>,
1662
+ 'set_timeout': <function set_timeout at 0x796ba659e0>,
1663
+ 'sets_ordered': <function sets_ordered at 0x796ba65a80>,
1664
+ 'sqlite_backup': <function sqlite_backup at 0x796ba65b20>,
1665
+ 'sqlite_delete_table': <function sqlite_delete_table at 0x796ba65bc0>,
1666
+ 'sqlite_get_all_tables': <function sqlite_get_all_tables at 0x796ba65c60>,
1667
+ 'sqlite_get_data_table': <function sqlite_get_data_table at 0x796ba65d00>,
1668
+ 'str_cmp': <function str_cmp at 0x796ba665c0>,
1669
+ 'text_colorize': <function text_colorize at 0x796ba66660>,
1670
+ 'tiles': <function tiles at 0x796ba66700>,
1671
+ 'traceback_filename': <function traceback_filename at 0x796ba667a0>,
1672
+ 'traceback_framename': <function traceback_framename at 0x796ba66840>},
1673
1673
  'class': {'ComparePerformance': <class 'pypipr.ComparePerformance.ComparePerformance'>,
1674
1674
  'PintUregQuantity': <class 'pint.Quantity'>,
1675
1675
  'RunParallel': <class 'pypipr.RunParallel.RunParallel'>},
1676
1676
  'variable': {'LINUX': True,
1677
- 'PintUreg': <pint.registry.UnitRegistry object at 0x7c239e8ce0>,
1677
+ 'PintUreg': <pint.registry.UnitRegistry object at 0x7977b60e00>,
1678
1678
  'WINDOWS': False},
1679
1679
  'module': {'asyncio': <module 'asyncio' from '/data/data/com.termux/files/usr/lib/python3.12/asyncio/__init__.py'>,
1680
1680
  'colorama': <module 'colorama' from '/data/data/com.termux/files/home/.cache/pypoetry/virtualenvs/pypipr-C3uocabE-py3.12/lib/python3.12/site-packages/colorama/__init__.py'>,
@@ -1769,7 +1769,7 @@ print(password_generator())
1769
1769
 
1770
1770
  Output:
1771
1771
  ```py
1772
- B3-jSE?*
1772
+ bSg~}ch3
1773
1773
  ```
1774
1774
 
1775
1775
  ## path_to_module
@@ -1858,7 +1858,7 @@ Output:
1858
1858
  __enter__ : https:/www.google.com
1859
1859
  __fspath__ : https:/www.google.com
1860
1860
  __getstate__ : (None, {'_raw_paths': ['https://www.google.com/'], '_drv': '', '_root': '', '_tail_cached': ['https:', 'www.google.com'], '_str': 'https:/www.google.com'})
1861
- __hash__ : 7136219051955999931
1861
+ __hash__ : 6711781137720003857
1862
1862
  __init__ : None
1863
1863
  __init_subclass__ : None
1864
1864
  __module__ : pathlib
@@ -1870,7 +1870,7 @@ Output:
1870
1870
  __subclasshook__ : NotImplemented
1871
1871
  _drv :
1872
1872
  _flavour : <module 'posixpath' (frozen)>
1873
- _hash : 7136219051955999931
1873
+ _hash : 6711781137720003857
1874
1874
  _lines : https:
1875
1875
  www.google.com
1876
1876
  _lines_cached : https:
@@ -1904,7 +1904,7 @@ _parts_normcase_cached : ['https:', 'www.google.com']
1904
1904
  is_reserved : False
1905
1905
  is_socket : False
1906
1906
  is_symlink : False
1907
- iterdir : <generator object Path.iterdir at 0x7c1c364040>
1907
+ iterdir : <generator object Path.iterdir at 0x796a65c110>
1908
1908
  joinpath : .
1909
1909
  name :
1910
1910
  parent : https:/www.google.com
@@ -1915,7 +1915,7 @@ _parts_normcase_cached : ['https:', 'www.google.com']
1915
1915
  stem :
1916
1916
  suffix :
1917
1917
  suffixes : []
1918
- walk : <generator object Path.walk at 0x7c1e26bc40>
1918
+ walk : <generator object Path.walk at 0x796bb2f4c0>
1919
1919
  with_segments : .
1920
1920
  ```
1921
1921
 
@@ -1995,7 +1995,7 @@ x.cancel()
1995
1995
 
1996
1996
  Output:
1997
1997
  ```py
1998
- <Timer(Thread-2, started 533022620912)>
1998
+ <Timer(Thread-2, started 521401314544)>
1999
1999
  menghentikan timeout 7
2000
2000
  ```
2001
2001
 
@@ -2013,7 +2013,7 @@ print(list(sets_ordered(array)))
2013
2013
 
2014
2014
  Output:
2015
2015
  ```py
2016
- <generator object sets_ordered at 0x7c1c366c20>
2016
+ <generator object sets_ordered at 0x796a65ec20>
2017
2017
  [2, 3, 12, 42, 1, 43, 41, 4, 24, 32]
2018
2018
  ```
2019
2019
 
@@ -2084,7 +2084,7 @@ Mendapatkan filename dimana fungsi yg memanggil
2084
2084
  fungsi dimana fungsi ini diletakkan dipanggil.
2085
2085
 
2086
2086
  ```py
2087
- print(traceback_filename())
2087
+ print(traceback_filename(-1))
2088
2088
  ```
2089
2089
 
2090
2090
  ## traceback_framename
@@ -2095,7 +2095,7 @@ Mendapatkan frame name dimana fungsi yg memanggil
2095
2095
  fungsi dimana fungsi ini diletakan ini dipanggil.
2096
2096
 
2097
2097
  ```py
2098
- print(traceback_framename())
2098
+ print(traceback_framename(-1))
2099
2099
  ```
2100
2100
 
2101
2101
  # CLASS
@@ -2135,15 +2135,15 @@ print(ExampleComparePerformance().compare_performance())
2135
2135
 
2136
2136
  Output:
2137
2137
  ```py
2138
- {'a': <generator object ExampleComparePerformance.a.<locals>.<genexpr> at 0x7c1e008ac0>,
2138
+ {'a': <generator object ExampleComparePerformance.a.<locals>.<genexpr> at 0x796a61ca00>,
2139
2139
  'b': (0, 1, 2, 3, 4, 5, 6, 7, 8, 9),
2140
2140
  'c': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
2141
2141
  'd': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]}
2142
- {'a': 100, 'b': 186, 'c': 103, 'd': 273}
2143
- {'a': 100, 'b': 166, 'c': 104, 'd': 221}
2144
- {'a': 102, 'b': 154, 'c': 100, 'd': 202}
2145
- {'a': 104, 'b': 165, 'c': 100, 'd': 220}
2146
- {'a': 104, 'b': 169, 'c': 100, 'd': 208}
2142
+ {'a': 126, 'b': 165, 'c': 100, 'd': 259}
2143
+ {'a': 105, 'b': 165, 'c': 100, 'd': 230}
2144
+ {'a': 100, 'b': 156, 'c': 100, 'd': 206}
2145
+ {'a': 106, 'b': 167, 'c': 100, 'd': 216}
2146
+ {'a': 105, 'b': 164, 'c': 100, 'd': 212}
2147
2147
  ```
2148
2148
 
2149
2149
  ## PintUregQuantity
@@ -52,7 +52,7 @@ pypipr/int_to_chr.py,sha256=Ae_cGhbwBCxmzqFrfjk0rLfAT049eYYjgMgJOtMpyhc,458
52
52
  pypipr/int_to_hex.py,sha256=w6kOPSNhOzjip7SWX7Q9df6f0vwwuKdbuHQhFjwOqN4,215
53
53
  pypipr/int_to_int.py,sha256=8qocfQtQowaVac4o4g1tpywMxm7OHDIbBqNl1RP6lGk,215
54
54
  pypipr/int_to_oct.py,sha256=GWu7VbHJXJxC6IvLEjQofUrbbXjQSEYPZvT2f6wh_Is,215
55
- pypipr/iopen.py,sha256=Cv-JyL6ZmI8RJWpJnIaaaQvwP8r4AmJ_He3l_a2waPE,2769
55
+ pypipr/iopen.py,sha256=rO_mQ4JQExUkoZbbB59Bgij8B4q9EK04TGOZKZNNCtY,2773
56
56
  pypipr/iprint.py,sha256=5ekT7RzcTd8Lsb8IQ9JeFJmFl2V6OYFbiHECt9W4iWg,838
57
57
  pypipr/irange.py,sha256=-RfSWKq0HezABk6jW-Tnwt3fHuhJDHtippwDe5eki0o,3504
58
58
  pypipr/ireplace.py,sha256=ce1vqq4kXs9yUPnNAi6p0o2O2zAoUetp4GhVvfv4B8s,873
@@ -91,9 +91,9 @@ pypipr/str_cmp.py,sha256=2kavWiT4VTddXcBotF1CxDOWSygk5rFrbllKxBjw9dc,377
91
91
  pypipr/text_colorize.py,sha256=IVjaCnXBSBu4Rh8pTO3CxDvxpA265HVwyKX_-PRXCcI,396
92
92
  pypipr/tiles.py,sha256=uSEYqvjBQHIz7pZKtdta1XwFhGrMFieMHOH2DKrlcXc,328
93
93
  pypipr/to_str.py,sha256=vSuspf-ZQldf4enkssa9XH0WMjkmWug51G9ia0K5occ,597
94
- pypipr/traceback_filename.py,sha256=4o85J0N8clI0cM6NTGcKZ4zxR9yS7W2NS_bz3J2_PnY,288
95
- pypipr/traceback_framename.py,sha256=_mullrAZzMhBFEFVCgdsmkYQmYUkd58o-J-HuMntKyc,291
96
- pypipr-1.0.177.dist-info/METADATA,sha256=tn1C9twA6CB2EpWntQ513lLH8nh6ydK3hzeJ-La6CIc,58401
97
- pypipr-1.0.177.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
98
- pypipr-1.0.177.dist-info/entry_points.txt,sha256=XEBtOa61BCVW4cVvoqYQnyTcenJ1tzFFB09YnuqlKBY,51
99
- pypipr-1.0.177.dist-info/RECORD,,
94
+ pypipr/traceback_filename.py,sha256=8kN54uO3a3IVIUf6TIw1AkkUWKdG0f1VOypHf2yAFIk,290
95
+ pypipr/traceback_framename.py,sha256=QK--lQFZv_oyqofKYtVlN6DZ4u8hxuCAkGMDAuNqxhk,293
96
+ pypipr-1.0.179.dist-info/METADATA,sha256=-z__D6RfG9PtLLpOEfNJ0JZrieHCKQUNMtUg-YJVfiQ,58430
97
+ pypipr-1.0.179.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
98
+ pypipr-1.0.179.dist-info/entry_points.txt,sha256=XEBtOa61BCVW4cVvoqYQnyTcenJ1tzFFB09YnuqlKBY,51
99
+ pypipr-1.0.179.dist-info/RECORD,,