pypipr 1.0.160__py3-none-any.whl → 1.0.162__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
@@ -41,6 +41,7 @@ from .idumps_html import idumps_html
41
41
  from .ienumerate import ienumerate
42
42
  from .ienv import ienv
43
43
  from .iexec import iexec
44
+ from .iinput import iinput
44
45
  from .ijoin import ijoin
45
46
  from .iloads import iloads
46
47
  from .iloads_html import iloads_html
pypipr/iinput.py ADDED
@@ -0,0 +1,21 @@
1
+ import sys
2
+
3
+ args = sys.argv
4
+ args_iter = iter(sys.argv)
5
+
6
+
7
+ def iinput(msg=None, default=None):
8
+ """
9
+ improve input() function, dengan mengecek argv terlebih dahulu,
10
+ jika tersedia maka gunakan argv,
11
+ """
12
+ global args_iter
13
+
14
+ # RESET: buat iterator baru
15
+ if msg is None:
16
+ args_iter = iter(args)
17
+
18
+ try:
19
+ return next(args_iter)
20
+ except StopIteration:
21
+ return input(msg or "") or default
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pypipr
3
- Version: 1.0.160
3
+ Version: 1.0.162
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 0x71b1db6940>
252
- <generator object int_range at 0x71b1db6a40>
251
+ <generator object int_range at 0x791a9b6940>
252
+ <generator object int_range at 0x791a9b6a40>
253
253
  [13, 12, 11, 10, 9, 8, 7, 6]
254
254
  [2, 5, 8]
255
255
  []
@@ -281,7 +281,7 @@ print(list(batchmaker(s)))
281
281
 
282
282
  Output:
283
283
  ```py
284
- <generator object batchmaker at 0x71b1dcb1c0>
284
+ <generator object batchmaker at 0x791a9c71c0>
285
285
  ['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.']
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 0x71b1ddb300>
338
+ <generator object batch_calculate at 0x791a9df300>
339
339
  [('1 m ** 1', <Quantity(1, 'meter')>), ('1 m ** 2', <Quantity(1, 'meter ** 2')>), ('1 m ** 3', <Quantity(1, 'meter ** 3')>)]
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 0x71b1dc2e30>
444
+ <generator object chunk_array at 0x791a9c2e30>
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
- 2025-04-03 18:56:29.042161+07:00
496
- 2025-04-03 11:56:29.042982+00:00
497
- 2025-04-03 04:56:29.044609-07:00
495
+ 2025-04-07 13:49:12.371794+07:00
496
+ 2025-04-07 06:49:12.373787+00:00
497
+ 2025-04-06 23:49:12.376803-07:00
498
498
  ```
499
499
 
500
500
  ## dict_first
@@ -608,7 +608,7 @@ iprint(filter_empty(var))
608
608
 
609
609
  Output:
610
610
  ```py
611
- <generator object filter_empty at 0x71b1dc3010>
611
+ <generator object filter_empty at 0x791a9c3010>
612
612
  [1, '0', True, {}, ['eee']]
613
613
  ```
614
614
 
@@ -655,8 +655,8 @@ print(list(get_class_method(ExampleGetClassMethod)))
655
655
 
656
656
  Output:
657
657
  ```py
658
- <generator object get_class_method at 0x71b1ddbe60>
659
- [<function ExampleGetClassMethod.a at 0x71b1c36b60>, <function ExampleGetClassMethod.b at 0x71b1c349a0>, <function ExampleGetClassMethod.c at 0x71b1c36ac0>, <function ExampleGetClassMethod.d at 0x71b1c36ca0>]
658
+ <generator object get_class_method at 0x791a9dfe60>
659
+ [<function ExampleGetClassMethod.a at 0x791a836d40>, <function ExampleGetClassMethod.b at 0x791a836c00>, <function ExampleGetClassMethod.c at 0x791a836b60>, <function ExampleGetClassMethod.d at 0x791a836de0>]
660
660
  ```
661
661
 
662
662
  ## get_filesize
@@ -817,6 +817,7 @@ Output:
817
817
  'ienumerate',
818
818
  'ienv',
819
819
  'iexec',
820
+ 'iinput',
820
821
  'ijoin',
821
822
  'iloads',
822
823
  'iloads_html',
@@ -1081,7 +1082,7 @@ Output:
1081
1082
 
1082
1083
  ## ienumerate
1083
1084
 
1084
- `ienumerate(iterator, start=0, key=<function int_to_int at 0x71b7f765c0>)`
1085
+ `ienumerate(iterator, start=0, key=<function int_to_int at 0x791d6f25c0>)`
1085
1086
 
1086
1087
  meningkatkan fungsi enumerate() pada python
1087
1088
  untuk key menggunakan huruf dan basis angka lainnya.
@@ -1094,7 +1095,7 @@ iprint(ienumerate(it, key=int_to_chr))
1094
1095
 
1095
1096
  Output:
1096
1097
  ```py
1097
- <generator object ienumerate at 0x71b1dc3010>
1098
+ <generator object ienumerate at 0x791a9c3010>
1098
1099
  [('a', 'ini'), ('b', 'contoh'), ('c', 'enumerator')]
1099
1100
  ```
1100
1101
 
@@ -1137,6 +1138,13 @@ Output:
1137
1138
 
1138
1139
  ```
1139
1140
 
1141
+ ## iinput
1142
+
1143
+ `iinput(msg=None, default=None)`
1144
+
1145
+ improve input() function, dengan mengecek argv terlebih dahulu,
1146
+ jika tersedia maka gunakan argv,
1147
+
1140
1148
  ## ijoin
1141
1149
 
1142
1150
  `ijoin(iterable, separator='', start='', end='', remove_empty=False, recursive=True, recursive_flat=False, str_strip=False)`
@@ -1161,7 +1169,7 @@ print(ijoin(10, ' '))
1161
1169
 
1162
1170
  Output:
1163
1171
  ```py
1164
- qweqw, weq, dfs, asd
1172
+ weq, qweqw, asd, dfs
1165
1173
  ,ini,path,seperti,url,
1166
1174
  ini,path,seperti,url
1167
1175
  <li>satu</li>
@@ -1206,10 +1214,10 @@ pprint.pprint(iloads_html(iopen("https://harga-emas.org/1-gram/")), depth=10)
1206
1214
  Output:
1207
1215
  ```py
1208
1216
  (['Home', 'Emas 1 Gram', 'History', 'Trend', 'Perak 1 Gram', 'Pluang'],
1209
- [['Harga Emas Hari Ini - Kamis, 03 April 2025'],
1210
- ['Spot Emas USD↓3.092,90 (-37,56) / oz',
1217
+ [['Harga Emas Hari Ini - Senin, 07 April 2025'],
1218
+ ['Spot Emas USD↓3.027,07 (-10,58) / oz',
1211
1219
  'Kurs IDR1,00 / USD',
1212
- 'Emas IDR↓99 (-1) / gr'],
1220
+ 'Emas IDR↓97 (-0) / gr'],
1213
1221
  ['LM Antam (Jual)↓1.513.000 (-30.000) / gr',
1214
1222
  'LM Antam (Beli)↓1.366.000 (-30.000) / gr']],
1215
1223
  [['Harga Emas Hari Ini'],
@@ -1232,10 +1240,10 @@ Output:
1232
1240
  'Update harga LM Pegadaian :31 Desember 1969']],
1233
1241
  [['Spot Harga Emas Hari Ini (Market Open)'],
1234
1242
  ['Satuan', 'USD', 'Kurs\xa0Dollar', 'IDR'],
1235
- ['Ounce\xa0(oz)', '3.092,90 (-37,56)', '1,00', '3.093'],
1236
- ['Gram\xa0(gr)', '99,44', '1,00', '99 (-1)'],
1237
- ['Kilogram\xa0(kg)', '99.439,04', '1,00', '99.439'],
1238
- ['Update harga emas :03 April 2025, pukul 18:56Update kurs :14 Maret 2025, '
1243
+ ['Ounce\xa0(oz)', '3.027,07 (-10,58)', '1,00', '3.027'],
1244
+ ['Gram\xa0(gr)', '97,32', '1,00', '97 (-0)'],
1245
+ ['Kilogram\xa0(kg)', '97.322,56', '1,00', '97.323'],
1246
+ ['Update harga emas :07 April 2025, pukul 13:49Update kurs :14 Maret 2025, '
1239
1247
  'pukul 10:13']],
1240
1248
  [['Gram', 'UBS Gold 99.99%'],
1241
1249
  ['Jual', 'Beli'],
@@ -1273,36 +1281,36 @@ Output:
1273
1281
  ['Unit', 'USD', 'IDR'],
1274
1282
  ['Angka', '+/-', 'Angka', '+/-'],
1275
1283
  ['Hari Ini', 'Kurs', '', '', '1', '%'],
1276
- ['oz', '3.130,46', '-37,56-1,20%', '3.130', '-38-1,20%'],
1277
- ['gr', '100,65', '-1,21-1,20%', '101', '-1-1,20%'],
1278
- ['30 Hari', 'Kurs', '', '', '16.506', '-16.505-99,99%'],
1279
- ['oz', '2.915,26', '+177,64+6,09%', '48.119.282', '-48.116.189-99,99%'],
1280
- ['gr', '93,73', '+5,71+6,09%', '1.547.071', '-1.546.971-99,99%'],
1281
- ['2 Bulan', 'Kurs', '', '', '16.259', '-16.258-99,99%'],
1282
- ['oz', '2.798,49', '+294,41+10,52%', '45.500.649', '-45.497.556-99,99%'],
1283
- ['gr', '89,97', '+9,47+10,52', '1.462.880', '-1.462.780-99,99%'],
1284
- ['6 Bulan', 'Kurs', '', '', '15.394', '-15.393-99,99%'],
1285
- ['oz', '2.653,25', '+439,65+16,57%', '40.844.131', '-40.841.038-99,99%'],
1286
- ['gr', '85,30', '+14,14+16,57%', '1.313.169', '-1.313.070-99,99%'],
1287
- ['1 Tahun', 'Kurs', '', '', '15.934', '-15.933-99,99%'],
1288
- ['oz', '2.292,15', '+800,75+34,93%', '36.523.118', '-36.520.025-99,99%'],
1289
- ['gr', '73,69', '+25,74+34,93%', '1.174.246', '-1.174.146-99,99%'],
1284
+ ['oz', '3.037,65', '-10,58-0,35%', '3.038', '-11-0,35%'],
1285
+ ['gr', '97,66', '-0,34-0,35%', '98', '-0-0,35%'],
1286
+ ['30 Hari', 'Kurs', '', '', '16.315', '-16.314-99,99%'],
1287
+ ['oz', '2.911,17', '+115,90+3,98%', '47.495.739', '-47.492.711-99,99%'],
1288
+ ['gr', '93,60', '+3,73+3,98%', '1.527.023', '-1.526.926-99,99%'],
1289
+ ['2 Bulan', 'Kurs', '', '', '16.308', '-16.307-99,99%'],
1290
+ ['oz', '2.849,65', '+177,42+6,23%', '46.472.092', '-46.469.065-99,99%'],
1291
+ ['gr', '91,62', '+5,70+6,23', '1.494.112', '-1.494.015-99,99%'],
1292
+ ['6 Bulan', 'Kurs', '', '', '15.671', '-15.670-99,99%'],
1293
+ ['oz', '2.609,31', '+417,76+16,01%', '40.890.497', '-40.887.470-99,99%'],
1294
+ ['gr', '83,89', '+13,43+16,01%', '1.314.660', '-1.314.563-99,99%'],
1295
+ ['1 Tahun', 'Kurs', '', '', '15.907', '-15.906-99,99%'],
1296
+ ['oz', '2.329,93', '+697,14+29,92%', '37.062.197', '-37.059.169-99,99%'],
1297
+ ['gr', '74,91', '+22,41+29,92%', '1.191.577', '-1.191.480-99,99%'],
1290
1298
  ['2 Tahun', 'Kurs', '', '', '15.731', '-15.730-99,99%'],
1291
- ['oz', '1.823,86', '+1.269,04+69,58%', '28.691.142', '-28.688.049-99,99%'],
1292
- ['gr', '58,64', '+40,80+69,58%', '922.442', '-922.342-99,99%'],
1293
- ['3 Tahun', 'Kurs', '', '', '14.364', '-14.363-99,99%'],
1294
- ['oz', '1.931,33', '+1.161,57+60,14%', '27.741.624', '-27.738.531-99,99%'],
1295
- ['gr', '62,09', '+37,35+60,14%', '891.914', '-891.814-99,99%'],
1296
- ['5 Tahun', 'Kurs', '', '', '16.464', '-16.463-99,99%'],
1297
- ['oz', '1.618,13', '+1.474,77+91,14%', '26.640.892', '-26.637.799-99,99%'],
1298
- ['gr', '52,02', '+47,41+91,14%', '856.525', '-856.425-99,99%']])
1299
+ ['oz', '1.823,86', '+1.203,21+65,97%', '28.691.142', '-28.688.115-99,99%'],
1300
+ ['gr', '58,64', '+38,68+65,97%', '922.442', '-922.344-99,99%'],
1301
+ ['3 Tahun', 'Kurs', '', '', '14.359', '-14.358-99,99%'],
1302
+ ['oz', '1.941,36', '+1.085,71+55,93%', '27.876.008', '-27.872.981-99,99%'],
1303
+ ['gr', '62,42', '+34,91+55,93%', '896.234', '-896.137-99,99%'],
1304
+ ['5 Tahun', 'Kurs', '', '', '16.245', '-16.244-99,99%'],
1305
+ ['oz', '1.650,14', '+1.376,93+83,44%', '26.806.541', '-26.803.514-99,99%'],
1306
+ ['gr', '53,05', '+44,27+83,44%', '861.850', '-861.753-99,99%']])
1299
1307
  (['Home', 'Emas 1 Gram', 'History', 'Trend', 'Perak 1 Gram', 'Pluang'],
1300
1308
  [[''],
1301
1309
  ['Emas 24 KaratHarga Emas 1 Gram', ''],
1302
- ['USD', '99,44↓', '-1,21-1,20%'],
1310
+ ['USD', '97,32↓', '-0,34-0,35%'],
1303
1311
  ['KURS', '16.355,25↓', '%'],
1304
- ['IDR', '1.626.350,43↓', '-19.750,30-1,20%'],
1305
- ['Kamis, 03 April 2025 18:56']],
1312
+ ['IDR', '1.591.734,81↓', '-5.563,32-0,35%'],
1313
+ ['Senin, 07 April 2025 13:49']],
1306
1314
  [[''],
1307
1315
  ['Emas 1 Gram (IDR)Emas 1 Gram (USD)Kurs USD-IDR',
1308
1316
  'Hari Ini',
@@ -1313,25 +1321,25 @@ Output:
1313
1321
  '']],
1314
1322
  [['Pergerakkan Harga Emas 1 Gram'],
1315
1323
  ['', 'Penutupan Kemarin', 'Pergerakkan Hari Ini', 'Rata-rata'],
1316
- ['USD', '100,65', '99,44 - 100,65', '100,05'],
1324
+ ['USD', '97,66', '97,32 - 97,66', '97,49'],
1317
1325
  ['KURS', '16.355,25', '16.355,25 - 16.355,25', '16.355,25'],
1318
- ['IDR', '1.646.100,73', '1.626.350,43 - 1.646.100,73', '1.636.225,58'],
1326
+ ['IDR', '1.597.298,13', '1.591.734,81 - 1.597.298,13', '1.594.516,47'],
1319
1327
  [''],
1320
1328
  ['', 'Awal Tahun', 'Pergerakkan YTD', '+/- YTD'],
1321
- ['USD', '84,42', '84,38 - 100,65', '+15,02 (17,79%)'],
1329
+ ['USD', '84,42', '84,38 - 100,65', '+12,90 (15,28%)'],
1322
1330
  ['KURS', '16.220,76', '16.156,70 - 16.387,00', '+134,49 (0,83%)'],
1323
1331
  ['IDR',
1324
1332
  '1.369.306,75',
1325
1333
  '1.368.695,74 - 1.646.100,73',
1326
- '+257.043,68 (18,77%)'],
1334
+ '+222.428,06 (16,24%)'],
1327
1335
  [''],
1328
1336
  ['', 'Tahun Lalu / 52 Minggu', 'Pergerakkan 52 Minggu', '+/- 52 Minggu'],
1329
- ['USD', '72,67', '73,56 - 100,65', '+26,77 (36,84%)'],
1330
- ['KURS', '15.946,00', '15.100,00 - 16.509,65', '+409,25 (2,57%)'],
1337
+ ['USD', '74,91', '73,75 - 100,65', '+22,41 (29,92%)'],
1338
+ ['KURS', '15.887,75', '15.100,00 - 16.509,65', '+467,50 (2,94%)'],
1331
1339
  ['IDR',
1332
- '1.158.816,50',
1333
- '1.167.120,22 - 1.646.100,73',
1334
- '+467.533,93 (40,35%)']])
1340
+ '1.190.135,29',
1341
+ '1.181.943,88 - 1.646.100,73',
1342
+ '+401.599,52 (33,74%)']])
1335
1343
  ```
1336
1344
 
1337
1345
  ## iloads
@@ -1461,7 +1469,7 @@ Output:
1461
1469
  ```py
1462
1470
  8
1463
1471
  ['mana', 'aja']
1464
- [<Element a at 0x71b1c416d0>, <Element a at 0x71b1c7bca0>, <Element a at 0x71b1c7bcf0>, <Element a at 0x71b1c7bd40>, <Element a at 0x71b1c7bd90>, <Element a at 0x71b1c7bde0>, <Element a at 0x71b1c7be30>, <Element a at 0x71b1c7be80>, <Element a at 0x71b1c7bed0>, <Element a at 0x71b1c7bf20>, <Element a at 0x71b1c7bf70>, <Element a at 0x71b1c7bfc0>, <Element a at 0x71b1c98050>, <Element a at 0x71b1c980a0>, <Element a at 0x71b1c980f0>, <Element a at 0x71b1c98140>, <Element a at 0x71b1c98190>, <Element a at 0x71b1c981e0>]
1472
+ [<Element a at 0x791a8416d0>, <Element a at 0x791a87bca0>, <Element a at 0x791a87bcf0>, <Element a at 0x791a87bd40>, <Element a at 0x791a87bd90>, <Element a at 0x791a87bde0>, <Element a at 0x791a87be30>, <Element a at 0x791a87be80>, <Element a at 0x791a87bed0>, <Element a at 0x791a87bf20>, <Element a at 0x791a87bf70>, <Element a at 0x791a87bfc0>, <Element a at 0x791a898050>, <Element a at 0x791a8980a0>, <Element a at 0x791a8980f0>, <Element a at 0x791a898140>, <Element a at 0x791a898190>, <Element a at 0x791a8981e0>]
1465
1473
  False
1466
1474
  ```
1467
1475
 
@@ -1531,7 +1539,7 @@ print(list(iscandir("./", recursive=False, scan_file=False)))
1531
1539
 
1532
1540
  Output:
1533
1541
  ```py
1534
- <generator object iscandir at 0x71b1dc2f20>
1542
+ <generator object iscandir at 0x791a9c2f20>
1535
1543
  [PosixPath('.git'), PosixPath('.vscode'), PosixPath('pypipr'), PosixPath('__pycache__'), PosixPath('dist')]
1536
1544
  ```
1537
1545
 
@@ -1564,95 +1572,96 @@ iprint(ivars(__import__('pypipr')))
1564
1572
 
1565
1573
  Output:
1566
1574
  ```py
1567
- {'function': {'avg': <function avg at 0x71b9ff0680>,
1568
- 'get_filemtime': <function get_filemtime at 0x71b7ec93a0>,
1569
- 'print_colorize': <function print_colorize at 0x71b7ec9580>,
1570
- 'print_log': <function print_log at 0x71b85d74c0>,
1571
- 'console_run': <function console_run at 0x71b7ec9440>,
1572
- 'auto_reload': <function auto_reload at 0x71b7ec8d60>,
1573
- 'basename': <function basename at 0x71b7ec9620>,
1574
- 'chr_to_int': <function chr_to_int at 0x71b7ec9bc0>,
1575
- 'int_to_chr': <function int_to_chr at 0x71b7ec9c60>,
1576
- 'irange': <function irange at 0x71b7eca160>,
1577
- 'batchmaker': <function batchmaker at 0x71b7ec9940>,
1578
- 'calculate': <function calculate at 0x71b7ec94e0>,
1579
- 'batch_calculate': <function batch_calculate at 0x71b7ec96c0>,
1580
- 'bin_to_int': <function bin_to_int at 0x71b7ec98a0>,
1581
- 'is_empty': <function is_empty at 0x71b7ecaa20>,
1582
- 'exit_if_empty': <function exit_if_empty at 0x71b7eca8e0>,
1583
- 'input_char': <function input_char at 0x71b7eca980>,
1584
- 'choices': <function choices at 0x71b7ecaca0>,
1585
- 'chunk_array': <function chunk_array at 0x71b7ecad40>,
1586
- 'create_folder': <function create_folder at 0x71b7ecade0>,
1587
- 'datetime_from_string': <function datetime_from_string at 0x71b7ecae80>,
1588
- 'datetime_now': <function datetime_now at 0x71b7ecaf20>,
1589
- 'dict_first': <function dict_first at 0x71b7ee91c0>,
1590
- 'dirname': <function dirname at 0x71b7ee9260>,
1591
- 'django_clear_migrations': <function django_clear_migrations at 0x71b7ee9300>,
1592
- 'django_runserver': <function django_runserver at 0x71b7ee9620>,
1593
- 'is_iterable': <function is_iterable at 0x71b7ee99e0>,
1594
- 'to_str': <function to_str at 0x71b7ee9b20>,
1595
- 'filter_empty': <function filter_empty at 0x71b7ee98a0>,
1596
- 'get_by_index': <function get_by_index at 0x71b7ee9a80>,
1597
- 'get_class_method': <function get_class_method at 0x71b7ee9bc0>,
1598
- 'get_filesize': <function get_filesize at 0x71b7ee9d00>,
1599
- 'github_init': <function github_init at 0x71b7ee9da0>,
1600
- 'github_pull': <function github_pull at 0x71b7ee9e40>,
1601
- 'github_push': <function github_push at 0x71b7ee9f80>,
1602
- 'github_user': <function github_user at 0x71b7eea020>,
1603
- 'hex_to_int': <function hex_to_int at 0x71b7eea0c0>,
1604
- 'iargv': <function iargv at 0x71b7eea160>,
1605
- 'idir': <function idir at 0x71b7eea200>,
1606
- 'idumps_html': <function idumps_html at 0x71b7f760c0>,
1607
- 'idumps': <function idumps at 0x71b7eea2a0>,
1608
- 'int_to_int': <function int_to_int at 0x71b7f765c0>,
1609
- 'ienumerate': <function ienumerate at 0x71b7f5c900>,
1610
- 'ienv': <function ienv at 0x71b7f76480>,
1611
- 'iexec': <function iexec at 0x71b7f76660>,
1612
- 'ijoin': <function ijoin at 0x71b7f76700>,
1613
- 'iloads_html': <function iloads_html at 0x71b7f76a20>,
1614
- 'iloads': <function iloads at 0x71baaa5260>,
1615
- 'int_to_bin': <function int_to_bin at 0x71b7f767a0>,
1616
- 'int_to_hex': <function int_to_hex at 0x71b7f76840>,
1617
- 'int_to_oct': <function int_to_oct at 0x71b7f76ac0>,
1618
- 'is_valid_url': <function is_valid_url at 0x71b7f76d40>,
1619
- 'iopen': <function iopen at 0x71b7d1a8e0>,
1620
- 'iprint': <function iprint at 0x71b7f76c00>,
1621
- 'is_raw_string': <function is_raw_string at 0x71b1f2c180>,
1622
- 'ireplace': <function ireplace at 0x71b1f16660>,
1623
- 'is_html': <function is_html at 0x71b1f2c0e0>,
1624
- 'iscandir': <function iscandir at 0x71b1f2c220>,
1625
- 'isplit': <function isplit at 0x71b1f2c2c0>,
1626
- 'ivars': <function ivars at 0x71b1f2c360>,
1627
- 'log': <function log at 0x71b1f2c400>,
1628
- 'oct_to_int': <function oct_to_int at 0x71b1f2c4a0>,
1629
- 'password_generator': <function password_generator at 0x71b1f2c540>,
1630
- 'pip_freeze_without_version': <function pip_freeze_without_version at 0x71b1f2c5e0>,
1631
- 'pip_update_pypipr': <function pip_update_pypipr at 0x71b1f2c680>,
1632
- 'poetry_publish': <function poetry_publish at 0x71b1f2c720>,
1633
- 'poetry_update_version': <function poetry_update_version at 0x71b1f2c860>,
1634
- 'print_dir': <function print_dir at 0x71b1f2c9a0>,
1635
- 'print_to_last_line': <function print_to_last_line at 0x71b1f2ca40>,
1636
- 'random_bool': <function random_bool at 0x71b1f2cae0>,
1637
- 'repath': <function repath at 0x71b1f2cc20>,
1638
- 'restart': <function restart at 0x71b1f2ccc0>,
1639
- 'set_timeout': <function set_timeout at 0x71b1f2cd60>,
1640
- 'sets_ordered': <function sets_ordered at 0x71b1f2ce00>,
1641
- 'sqlite_backup': <function sqlite_backup at 0x71b1f2cea0>,
1642
- 'sqlite_delete_table': <function sqlite_delete_table at 0x71b1f2cf40>,
1643
- 'sqlite_get_all_tables': <function sqlite_get_all_tables at 0x71b1f2cfe0>,
1644
- 'sqlite_get_data_table': <function sqlite_get_data_table at 0x71b1f2d080>,
1645
- 'str_cmp': <function str_cmp at 0x71b1f2d940>,
1646
- 'text_colorize': <function text_colorize at 0x71b1f2d9e0>,
1647
- 'tiles': <function tiles at 0x71b1f2dbc0>,
1648
- 'traceback_filename': <function traceback_filename at 0x71b1f2db20>,
1649
- 'traceback_framename': <function traceback_framename at 0x71b1f2da80>},
1575
+ {'function': {'avg': <function avg at 0x7920df0680>,
1576
+ 'get_filemtime': <function get_filemtime at 0x791d6453a0>,
1577
+ 'print_colorize': <function print_colorize at 0x791d645580>,
1578
+ 'print_log': <function print_log at 0x791dd2f4c0>,
1579
+ 'console_run': <function console_run at 0x791d645440>,
1580
+ 'auto_reload': <function auto_reload at 0x791d644d60>,
1581
+ 'basename': <function basename at 0x791d645620>,
1582
+ 'chr_to_int': <function chr_to_int at 0x791d645bc0>,
1583
+ 'int_to_chr': <function int_to_chr at 0x791d645c60>,
1584
+ 'irange': <function irange at 0x791d646160>,
1585
+ 'batchmaker': <function batchmaker at 0x791d645940>,
1586
+ 'calculate': <function calculate at 0x791d6454e0>,
1587
+ 'batch_calculate': <function batch_calculate at 0x791d6456c0>,
1588
+ 'bin_to_int': <function bin_to_int at 0x791d6458a0>,
1589
+ 'is_empty': <function is_empty at 0x791d646a20>,
1590
+ 'exit_if_empty': <function exit_if_empty at 0x791d6468e0>,
1591
+ 'input_char': <function input_char at 0x791d646980>,
1592
+ 'choices': <function choices at 0x791d646ca0>,
1593
+ 'chunk_array': <function chunk_array at 0x791d646d40>,
1594
+ 'create_folder': <function create_folder at 0x791d646de0>,
1595
+ 'datetime_from_string': <function datetime_from_string at 0x791d646e80>,
1596
+ 'datetime_now': <function datetime_now at 0x791d646f20>,
1597
+ 'dict_first': <function dict_first at 0x791d6651c0>,
1598
+ 'dirname': <function dirname at 0x791d665260>,
1599
+ 'django_clear_migrations': <function django_clear_migrations at 0x791d665300>,
1600
+ 'django_runserver': <function django_runserver at 0x791d665620>,
1601
+ 'is_iterable': <function is_iterable at 0x791d6659e0>,
1602
+ 'to_str': <function to_str at 0x791d665b20>,
1603
+ 'filter_empty': <function filter_empty at 0x791d6658a0>,
1604
+ 'get_by_index': <function get_by_index at 0x791d665a80>,
1605
+ 'get_class_method': <function get_class_method at 0x791d665bc0>,
1606
+ 'get_filesize': <function get_filesize at 0x791d665d00>,
1607
+ 'github_init': <function github_init at 0x791d665da0>,
1608
+ 'github_pull': <function github_pull at 0x791d665e40>,
1609
+ 'github_push': <function github_push at 0x791d665f80>,
1610
+ 'github_user': <function github_user at 0x791d666020>,
1611
+ 'hex_to_int': <function hex_to_int at 0x791d6660c0>,
1612
+ 'iargv': <function iargv at 0x791d666160>,
1613
+ 'idir': <function idir at 0x791d666200>,
1614
+ 'idumps_html': <function idumps_html at 0x791d6f20c0>,
1615
+ 'idumps': <function idumps at 0x791d6662a0>,
1616
+ 'int_to_int': <function int_to_int at 0x791d6f25c0>,
1617
+ 'ienumerate': <function ienumerate at 0x791d6d8900>,
1618
+ 'ienv': <function ienv at 0x791d6f2480>,
1619
+ 'iexec': <function iexec at 0x791d6f2660>,
1620
+ 'iinput': <function iinput at 0x791d6f27a0>,
1621
+ 'ijoin': <function ijoin at 0x791d6f2840>,
1622
+ 'iloads_html': <function iloads_html at 0x791d6f2b60>,
1623
+ 'iloads': <function iloads at 0x7921865260>,
1624
+ 'int_to_bin': <function int_to_bin at 0x791d6f28e0>,
1625
+ 'int_to_hex': <function int_to_hex at 0x791d6f2980>,
1626
+ 'int_to_oct': <function int_to_oct at 0x791d6f2c00>,
1627
+ 'is_valid_url': <function is_valid_url at 0x791d6f2e80>,
1628
+ 'iopen': <function iopen at 0x791d49aa20>,
1629
+ 'iprint': <function iprint at 0x791d4ed9e0>,
1630
+ 'is_raw_string': <function is_raw_string at 0x791ab382c0>,
1631
+ 'ireplace': <function ireplace at 0x791ab1e7a0>,
1632
+ 'is_html': <function is_html at 0x791ab38220>,
1633
+ 'iscandir': <function iscandir at 0x791ab38360>,
1634
+ 'isplit': <function isplit at 0x791ab38400>,
1635
+ 'ivars': <function ivars at 0x791ab384a0>,
1636
+ 'log': <function log at 0x791ab38540>,
1637
+ 'oct_to_int': <function oct_to_int at 0x791ab385e0>,
1638
+ 'password_generator': <function password_generator at 0x791ab38680>,
1639
+ 'pip_freeze_without_version': <function pip_freeze_without_version at 0x791ab38720>,
1640
+ 'pip_update_pypipr': <function pip_update_pypipr at 0x791ab387c0>,
1641
+ 'poetry_publish': <function poetry_publish at 0x791ab38860>,
1642
+ 'poetry_update_version': <function poetry_update_version at 0x791ab389a0>,
1643
+ 'print_dir': <function print_dir at 0x791ab38ae0>,
1644
+ 'print_to_last_line': <function print_to_last_line at 0x791ab38b80>,
1645
+ 'random_bool': <function random_bool at 0x791ab38c20>,
1646
+ 'repath': <function repath at 0x791ab38d60>,
1647
+ 'restart': <function restart at 0x791ab38e00>,
1648
+ 'set_timeout': <function set_timeout at 0x791ab38ea0>,
1649
+ 'sets_ordered': <function sets_ordered at 0x791ab38f40>,
1650
+ 'sqlite_backup': <function sqlite_backup at 0x791ab38fe0>,
1651
+ 'sqlite_delete_table': <function sqlite_delete_table at 0x791ab39080>,
1652
+ 'sqlite_get_all_tables': <function sqlite_get_all_tables at 0x791ab38cc0>,
1653
+ 'sqlite_get_data_table': <function sqlite_get_data_table at 0x791ab391c0>,
1654
+ 'str_cmp': <function str_cmp at 0x791ab39a80>,
1655
+ 'text_colorize': <function text_colorize at 0x791ab39b20>,
1656
+ 'tiles': <function tiles at 0x791ab39bc0>,
1657
+ 'traceback_filename': <function traceback_filename at 0x791ab39c60>,
1658
+ 'traceback_framename': <function traceback_framename at 0x791ab39d00>},
1650
1659
  'class': {'ComparePerformance': <class 'pypipr.ComparePerformance.ComparePerformance'>,
1651
1660
  'PintUregQuantity': <class 'pint.Quantity'>,
1652
1661
  'RunParallel': <class 'pypipr.RunParallel.RunParallel'>,
1653
1662
  'TextCase': <class 'pypipr.TextCase.TextCase'>},
1654
1663
  'variable': {'LINUX': True,
1655
- 'PintUreg': <pint.registry.UnitRegistry object at 0x71b86a4500>,
1664
+ 'PintUreg': <pint.registry.UnitRegistry object at 0x791dd17d70>,
1656
1665
  'WINDOWS': False},
1657
1666
  'module': {'asyncio': <module 'asyncio' from '/data/data/com.termux/files/usr/lib/python3.12/asyncio/__init__.py'>,
1658
1667
  'colorama': <module 'colorama' from '/data/data/com.termux/files/home/.cache/pypoetry/virtualenvs/pypipr-ZoJyDxLL-py3.12/lib/python3.12/site-packages/colorama/__init__.py'>,
@@ -1743,7 +1752,7 @@ print(password_generator())
1743
1752
 
1744
1753
  Output:
1745
1754
  ```py
1746
- 0:LhB8Ep
1755
+ a/-!sFQg
1747
1756
  ```
1748
1757
 
1749
1758
  ## pip_freeze_without_version
@@ -1805,7 +1814,7 @@ Output:
1805
1814
  __enter__ : https:/www.google.com
1806
1815
  __fspath__ : https:/www.google.com
1807
1816
  __getstate__ : (None, {'_raw_paths': ['https://www.google.com/'], '_drv': '', '_root': '', '_tail_cached': ['https:', 'www.google.com'], '_str': 'https:/www.google.com'})
1808
- __hash__ : 2687015673452643001
1817
+ __hash__ : 8032597448736556733
1809
1818
  __init__ : None
1810
1819
  __init_subclass__ : None
1811
1820
  __module__ : pathlib
@@ -1817,7 +1826,7 @@ Output:
1817
1826
  __subclasshook__ : NotImplemented
1818
1827
  _drv :
1819
1828
  _flavour : <module 'posixpath' (frozen)>
1820
- _hash : 2687015673452643001
1829
+ _hash : 8032597448736556733
1821
1830
  _lines : https:
1822
1831
  www.google.com
1823
1832
  _lines_cached : https:
@@ -1851,7 +1860,7 @@ _parts_normcase_cached : ['https:', 'www.google.com']
1851
1860
  is_reserved : False
1852
1861
  is_socket : False
1853
1862
  is_symlink : False
1854
- iterdir : <generator object Path.iterdir at 0x71b1dcfe00>
1863
+ iterdir : <generator object Path.iterdir at 0x791a9cbe00>
1855
1864
  joinpath : .
1856
1865
  name :
1857
1866
  parent : https:/www.google.com
@@ -1862,7 +1871,7 @@ _parts_normcase_cached : ['https:', 'www.google.com']
1862
1871
  stem :
1863
1872
  suffix :
1864
1873
  suffixes : []
1865
- walk : <generator object Path.walk at 0x71b1ff3d80>
1874
+ walk : <generator object Path.walk at 0x791abffd80>
1866
1875
  with_segments : .
1867
1876
  ```
1868
1877
 
@@ -1942,7 +1951,7 @@ x.cancel()
1942
1951
 
1943
1952
  Output:
1944
1953
  ```py
1945
- <Timer(Thread-2, started 488251948272)>
1954
+ <Timer(Thread-2, started 520101309680)>
1946
1955
  menghentikan timeout 7
1947
1956
  ```
1948
1957
 
@@ -1960,7 +1969,7 @@ print(list(sets_ordered(array)))
1960
1969
 
1961
1970
  Output:
1962
1971
  ```py
1963
- <generator object sets_ordered at 0x71b1c5ac20>
1972
+ <generator object sets_ordered at 0x791a85ac20>
1964
1973
  [2, 3, 12, 42, 1, 43, 41, 4, 24, 32]
1965
1974
  ```
1966
1975
 
@@ -2082,15 +2091,15 @@ print(ExampleComparePerformance().compare_performance())
2082
2091
 
2083
2092
  Output:
2084
2093
  ```py
2085
- {'a': <generator object ExampleComparePerformance.a.<locals>.<genexpr> at 0x71b1e18ac0>,
2094
+ {'a': <generator object ExampleComparePerformance.a.<locals>.<genexpr> at 0x791aa18ac0>,
2086
2095
  'b': (0, 1, 2, 3, 4, 5, 6, 7, 8, 9),
2087
2096
  'c': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
2088
2097
  'd': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]}
2089
- {'a': 131, 'b': 166, 'c': 100, 'd': 273}
2090
- {'a': 103, 'b': 160, 'c': 100, 'd': 214}
2091
- {'a': 100, 'b': 151, 'c': 101, 'd': 194}
2092
- {'a': 101, 'b': 156, 'c': 99, 'd': 206}
2093
- {'a': 106, 'b': 168, 'c': 100, 'd': 218}
2098
+ {'a': 172, 'b': 175, 'c': 100, 'd': 166}
2099
+ {'a': 136, 'b': 167, 'c': 100, 'd': 169}
2100
+ {'a': 120, 'b': 158, 'c': 100, 'd': 174}
2101
+ {'a': 121, 'b': 159, 'c': 100, 'd': 163}
2102
+ {'a': 121, 'b': 160, 'c': 99, 'd': 165}
2094
2103
  ```
2095
2104
 
2096
2105
  ## PintUregQuantity
@@ -5,7 +5,7 @@ pypipr/PintUregQuantity.py,sha256=ErSZKB-GHShi1zKac30XgFdBwAUrxMo80IQzIjQ2HVc,11
5
5
  pypipr/RunParallel.py,sha256=a7Fa0YrnCeXakdgLTd2BYjB6Ck6vvZ1gIaTS7ZISmSg,6536
6
6
  pypipr/TextCase.py,sha256=v62BsRiJUSOqYZM9BHTKvQtF6rWgaug5F0XirXNlens,2896
7
7
  pypipr/WINDOWS.py,sha256=NMW-94lzdqwfEWv2lF_i2GcSHJFDwWjccFufpymg4-E,83
8
- pypipr/__init__.py,sha256=v8xW3t2gM3uGlFlya5pDF01lx20CxmGeVRywOFNaWq4,3767
8
+ pypipr/__init__.py,sha256=C30OOH87tRf56r7HDMOXqcvjcMP1eVT-B7vSBvR3ax4,3794
9
9
  pypipr/__terminal__.py,sha256=N_NEXa0V5QLb-dkP1Vp_fYKNjE4jGTqkiYNwPPOXZtw,1412
10
10
  pypipr/auto_reload.py,sha256=FGchFBjQs_eT7CmOMLNYoch-17q7ySFOnPx5z1kbH3E,918
11
11
  pypipr/avg.py,sha256=wUtX3x8dgLoODhQLyMB-HRMVo8Ha2yz3cp7lgcUNbr0,218
@@ -43,6 +43,7 @@ pypipr/idumps_html.py,sha256=IdDLF3YB7fKvoCjeQC4pLhrVdeWFpVupnSDeI_TsqEY,1428
43
43
  pypipr/ienumerate.py,sha256=7JBtPt5LVa7lTzbAx0WMoML6pgkx50Qpw9PLgUpp9sc,411
44
44
  pypipr/ienv.py,sha256=DYFz_liUc4yYGKBqgVSLY0GBCsarfmRqVGsMjhTdRbc,657
45
45
  pypipr/iexec.py,sha256=nK_WMRK2LnyZh9i7NpYii_bfDZUKfAsJ5PVf5ZrHuRo,465
46
+ pypipr/iinput.py,sha256=nB0VkvQjWenllRvDZcuWLXg2Jkah807wUo5Luh-Tgew,429
46
47
  pypipr/ijoin.py,sha256=2qi9Dx3t1ksZShC6a15FAJ-A8DnscohZxZFXwYM_x0g,2036
47
48
  pypipr/iloads.py,sha256=eyvSgqDxOXzU5dcPDT8cbtGtUIfjogxOqeQfwIhc92Q,638
48
49
  pypipr/iloads_html.py,sha256=HwpSvnV5PgjtPcXeYUeC_NovQ3jeKvGKkL3s4GfdVr8,4152
@@ -90,7 +91,7 @@ pypipr/tiles.py,sha256=uSEYqvjBQHIz7pZKtdta1XwFhGrMFieMHOH2DKrlcXc,328
90
91
  pypipr/to_str.py,sha256=vSuspf-ZQldf4enkssa9XH0WMjkmWug51G9ia0K5occ,597
91
92
  pypipr/traceback_filename.py,sha256=4o85J0N8clI0cM6NTGcKZ4zxR9yS7W2NS_bz3J2_PnY,288
92
93
  pypipr/traceback_framename.py,sha256=_mullrAZzMhBFEFVCgdsmkYQmYUkd58o-J-HuMntKyc,291
93
- pypipr-1.0.160.dist-info/METADATA,sha256=CKgw5fpqVZSxqb9kFnh0gzLsxWxd_KkITQJ1A45F3EM,56961
94
- pypipr-1.0.160.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
95
- pypipr-1.0.160.dist-info/entry_points.txt,sha256=XEBtOa61BCVW4cVvoqYQnyTcenJ1tzFFB09YnuqlKBY,51
96
- pypipr-1.0.160.dist-info/RECORD,,
94
+ pypipr-1.0.162.dist-info/METADATA,sha256=vVD6ya5145g0nKnouu0vyLWt3sfjvjGj0pLhmk-lH4o,57168
95
+ pypipr-1.0.162.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
96
+ pypipr-1.0.162.dist-info/entry_points.txt,sha256=XEBtOa61BCVW4cVvoqYQnyTcenJ1tzFFB09YnuqlKBY,51
97
+ pypipr-1.0.162.dist-info/RECORD,,