pypipr 1.0.158__tar.gz → 1.0.160__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {pypipr-1.0.158 → pypipr-1.0.160}/PKG-INFO +151 -145
- {pypipr-1.0.158 → pypipr-1.0.160}/pypipr/__init__.py +2 -1
- {pypipr-1.0.158 → pypipr-1.0.160}/pyproject.toml +1 -1
- {pypipr-1.0.158 → pypipr-1.0.160}/readme.md +150 -144
- {pypipr-1.0.158 → pypipr-1.0.160}/pypipr/ComparePerformance.py +0 -0
- {pypipr-1.0.158 → pypipr-1.0.160}/pypipr/LINUX.py +0 -0
- {pypipr-1.0.158 → pypipr-1.0.160}/pypipr/PintUreg.py +0 -0
- {pypipr-1.0.158 → pypipr-1.0.160}/pypipr/PintUregQuantity.py +0 -0
- {pypipr-1.0.158 → pypipr-1.0.160}/pypipr/RunParallel.py +0 -0
- {pypipr-1.0.158 → pypipr-1.0.160}/pypipr/TextCase.py +0 -0
- {pypipr-1.0.158 → pypipr-1.0.160}/pypipr/WINDOWS.py +0 -0
- {pypipr-1.0.158 → pypipr-1.0.160}/pypipr/__terminal__.py +0 -0
- {pypipr-1.0.158 → pypipr-1.0.160}/pypipr/auto_reload.py +0 -0
- {pypipr-1.0.158 → pypipr-1.0.160}/pypipr/avg.py +0 -0
- {pypipr-1.0.158 → pypipr-1.0.160}/pypipr/basename.py +0 -0
- {pypipr-1.0.158 → pypipr-1.0.160}/pypipr/batch_calculate.py +0 -0
- {pypipr-1.0.158 → pypipr-1.0.160}/pypipr/batchmaker.py +0 -0
- {pypipr-1.0.158 → pypipr-1.0.160}/pypipr/bin_to_int.py +0 -0
- {pypipr-1.0.158 → pypipr-1.0.160}/pypipr/calculate.py +0 -0
- {pypipr-1.0.158 → pypipr-1.0.160}/pypipr/choices.py +0 -0
- {pypipr-1.0.158 → pypipr-1.0.160}/pypipr/chr_to_int.py +0 -0
- {pypipr-1.0.158 → pypipr-1.0.160}/pypipr/chunk_array.py +0 -0
- {pypipr-1.0.158 → pypipr-1.0.160}/pypipr/console_run.py +0 -0
- {pypipr-1.0.158 → pypipr-1.0.160}/pypipr/create_folder.py +0 -0
- {pypipr-1.0.158 → pypipr-1.0.160}/pypipr/datetime_from_string.py +0 -0
- {pypipr-1.0.158 → pypipr-1.0.160}/pypipr/datetime_now.py +0 -0
- {pypipr-1.0.158 → pypipr-1.0.160}/pypipr/dict_first.py +0 -0
- {pypipr-1.0.158 → pypipr-1.0.160}/pypipr/dirname.py +0 -0
- {pypipr-1.0.158 → pypipr-1.0.160}/pypipr/django_clear_migrations.py +0 -0
- {pypipr-1.0.158 → pypipr-1.0.160}/pypipr/django_runserver.py +0 -0
- {pypipr-1.0.158 → pypipr-1.0.160}/pypipr/exit_if_empty.py +0 -0
- {pypipr-1.0.158 → pypipr-1.0.160}/pypipr/filter_empty.py +0 -0
- {pypipr-1.0.158 → pypipr-1.0.160}/pypipr/get_by_index.py +0 -0
- {pypipr-1.0.158 → pypipr-1.0.160}/pypipr/get_class_method.py +0 -0
- {pypipr-1.0.158 → pypipr-1.0.160}/pypipr/get_filemtime.py +0 -0
- {pypipr-1.0.158 → pypipr-1.0.160}/pypipr/get_filesize.py +0 -0
- {pypipr-1.0.158 → pypipr-1.0.160}/pypipr/github_init.py +0 -0
- {pypipr-1.0.158 → pypipr-1.0.160}/pypipr/github_pull.py +0 -0
- {pypipr-1.0.158 → pypipr-1.0.160}/pypipr/github_push.py +0 -0
- {pypipr-1.0.158 → pypipr-1.0.160}/pypipr/github_user.py +0 -0
- {pypipr-1.0.158 → pypipr-1.0.160}/pypipr/hex_to_int.py +0 -0
- {pypipr-1.0.158 → pypipr-1.0.160}/pypipr/iargv.py +0 -0
- {pypipr-1.0.158 → pypipr-1.0.160}/pypipr/idir.py +0 -0
- {pypipr-1.0.158 → pypipr-1.0.160}/pypipr/idumps.py +0 -0
- {pypipr-1.0.158 → pypipr-1.0.160}/pypipr/idumps_html.py +0 -0
- {pypipr-1.0.158 → pypipr-1.0.160}/pypipr/ienumerate.py +0 -0
- {pypipr-1.0.158 → pypipr-1.0.160}/pypipr/ienv.py +0 -0
- {pypipr-1.0.158 → pypipr-1.0.160}/pypipr/iexec.py +0 -0
- {pypipr-1.0.158 → pypipr-1.0.160}/pypipr/ijoin.py +0 -0
- {pypipr-1.0.158 → pypipr-1.0.160}/pypipr/iloads.py +0 -0
- {pypipr-1.0.158 → pypipr-1.0.160}/pypipr/iloads_html.py +0 -0
- {pypipr-1.0.158 → pypipr-1.0.160}/pypipr/input_char.py +0 -0
- {pypipr-1.0.158 → pypipr-1.0.160}/pypipr/int_to_bin.py +0 -0
- {pypipr-1.0.158 → pypipr-1.0.160}/pypipr/int_to_chr.py +0 -0
- {pypipr-1.0.158 → pypipr-1.0.160}/pypipr/int_to_hex.py +0 -0
- {pypipr-1.0.158 → pypipr-1.0.160}/pypipr/int_to_int.py +0 -0
- {pypipr-1.0.158 → pypipr-1.0.160}/pypipr/int_to_oct.py +0 -0
- {pypipr-1.0.158 → pypipr-1.0.160}/pypipr/iopen.py +0 -0
- {pypipr-1.0.158 → pypipr-1.0.160}/pypipr/iprint.py +0 -0
- {pypipr-1.0.158 → pypipr-1.0.160}/pypipr/irange.py +0 -0
- {pypipr-1.0.158 → pypipr-1.0.160}/pypipr/ireplace.py +0 -0
- {pypipr-1.0.158 → pypipr-1.0.160}/pypipr/is_empty.py +0 -0
- {pypipr-1.0.158 → pypipr-1.0.160}/pypipr/is_html.py +0 -0
- {pypipr-1.0.158 → pypipr-1.0.160}/pypipr/is_iterable.py +0 -0
- {pypipr-1.0.158 → pypipr-1.0.160}/pypipr/is_raw_string.py +0 -0
- {pypipr-1.0.158 → pypipr-1.0.160}/pypipr/is_valid_url.py +0 -0
- {pypipr-1.0.158 → pypipr-1.0.160}/pypipr/iscandir.py +0 -0
- {pypipr-1.0.158 → pypipr-1.0.160}/pypipr/isplit.py +0 -0
- {pypipr-1.0.158 → pypipr-1.0.160}/pypipr/ivars.py +0 -0
- {pypipr-1.0.158 → pypipr-1.0.160}/pypipr/log.py +0 -0
- {pypipr-1.0.158 → pypipr-1.0.160}/pypipr/oct_to_int.py +0 -0
- {pypipr-1.0.158 → pypipr-1.0.160}/pypipr/password_generator.py +0 -0
- {pypipr-1.0.158 → pypipr-1.0.160}/pypipr/pip_freeze_without_version.py +0 -0
- {pypipr-1.0.158 → pypipr-1.0.160}/pypipr/pip_update_pypipr.py +0 -0
- {pypipr-1.0.158 → pypipr-1.0.160}/pypipr/poetry_publish.py +0 -0
- {pypipr-1.0.158 → pypipr-1.0.160}/pypipr/poetry_update_version.py +0 -0
- {pypipr-1.0.158 → pypipr-1.0.160}/pypipr/print_colorize.py +0 -0
- {pypipr-1.0.158 → pypipr-1.0.160}/pypipr/print_dir.py +0 -0
- {pypipr-1.0.158 → pypipr-1.0.160}/pypipr/print_log.py +0 -0
- {pypipr-1.0.158 → pypipr-1.0.160}/pypipr/print_to_last_line.py +0 -0
- {pypipr-1.0.158 → pypipr-1.0.160}/pypipr/random_bool.py +0 -0
- {pypipr-1.0.158 → pypipr-1.0.160}/pypipr/repath.py +0 -0
- {pypipr-1.0.158 → pypipr-1.0.160}/pypipr/restart.py +0 -0
- {pypipr-1.0.158 → pypipr-1.0.160}/pypipr/set_timeout.py +0 -0
- {pypipr-1.0.158 → pypipr-1.0.160}/pypipr/sets_ordered.py +0 -0
- {pypipr-1.0.158 → pypipr-1.0.160}/pypipr/sqlite_backup.py +0 -0
- {pypipr-1.0.158 → pypipr-1.0.160}/pypipr/sqlite_delete_table.py +0 -0
- {pypipr-1.0.158 → pypipr-1.0.160}/pypipr/sqlite_get_all_tables.py +0 -0
- {pypipr-1.0.158 → pypipr-1.0.160}/pypipr/sqlite_get_data_table.py +0 -0
- {pypipr-1.0.158 → pypipr-1.0.160}/pypipr/str_cmp.py +0 -0
- {pypipr-1.0.158 → pypipr-1.0.160}/pypipr/text_colorize.py +0 -0
- {pypipr-1.0.158 → pypipr-1.0.160}/pypipr/tiles.py +0 -0
- {pypipr-1.0.158 → pypipr-1.0.160}/pypipr/to_str.py +0 -0
- {pypipr-1.0.158 → pypipr-1.0.160}/pypipr/traceback_filename.py +0 -0
- {pypipr-1.0.158 → pypipr-1.0.160}/pypipr/traceback_framename.py +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: pypipr
|
3
|
-
Version: 1.0.
|
3
|
+
Version: 1.0.160
|
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
|
252
|
-
<generator object int_range at
|
251
|
+
<generator object int_range at 0x71b1db6940>
|
252
|
+
<generator object int_range at 0x71b1db6a40>
|
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
|
284
|
+
<generator object batchmaker at 0x71b1dcb1c0>
|
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
|
338
|
+
<generator object batch_calculate at 0x71b1ddb300>
|
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
|
444
|
+
<generator object chunk_array at 0x71b1dc2e30>
|
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:
|
496
|
-
2025-04-03 11:
|
497
|
-
2025-04-03 04:
|
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
|
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
|
611
|
+
<generator object filter_empty at 0x71b1dc3010>
|
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
|
659
|
-
[<function ExampleGetClassMethod.a at
|
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>]
|
660
660
|
```
|
661
661
|
|
662
662
|
## get_filesize
|
@@ -880,6 +880,7 @@ Output:
|
|
880
880
|
'text_colorize',
|
881
881
|
'textwrap',
|
882
882
|
'threading',
|
883
|
+
'tiles',
|
883
884
|
'time',
|
884
885
|
'to_str',
|
885
886
|
'traceback',
|
@@ -1080,7 +1081,7 @@ Output:
|
|
1080
1081
|
|
1081
1082
|
## ienumerate
|
1082
1083
|
|
1083
|
-
`ienumerate(iterator, start=0, key=<function int_to_int at
|
1084
|
+
`ienumerate(iterator, start=0, key=<function int_to_int at 0x71b7f765c0>)`
|
1084
1085
|
|
1085
1086
|
meningkatkan fungsi enumerate() pada python
|
1086
1087
|
untuk key menggunakan huruf dan basis angka lainnya.
|
@@ -1093,7 +1094,7 @@ iprint(ienumerate(it, key=int_to_chr))
|
|
1093
1094
|
|
1094
1095
|
Output:
|
1095
1096
|
```py
|
1096
|
-
<generator object ienumerate at
|
1097
|
+
<generator object ienumerate at 0x71b1dc3010>
|
1097
1098
|
[('a', 'ini'), ('b', 'contoh'), ('c', 'enumerator')]
|
1098
1099
|
```
|
1099
1100
|
|
@@ -1160,7 +1161,7 @@ print(ijoin(10, ' '))
|
|
1160
1161
|
|
1161
1162
|
Output:
|
1162
1163
|
```py
|
1163
|
-
weq,
|
1164
|
+
qweqw, weq, dfs, asd
|
1164
1165
|
,ini,path,seperti,url,
|
1165
1166
|
ini,path,seperti,url
|
1166
1167
|
<li>satu</li>
|
@@ -1206,7 +1207,7 @@ Output:
|
|
1206
1207
|
```py
|
1207
1208
|
(['Home', 'Emas 1 Gram', 'History', 'Trend', 'Perak 1 Gram', 'Pluang'],
|
1208
1209
|
[['Harga Emas Hari Ini - Kamis, 03 April 2025'],
|
1209
|
-
['Spot Emas USD↓3.
|
1210
|
+
['Spot Emas USD↓3.092,90 (-37,56) / oz',
|
1210
1211
|
'Kurs IDR1,00 / USD',
|
1211
1212
|
'Emas IDR↓99 (-1) / gr'],
|
1212
1213
|
['LM Antam (Jual)↓1.513.000 (-30.000) / gr',
|
@@ -1231,10 +1232,10 @@ Output:
|
|
1231
1232
|
'Update harga LM Pegadaian :31 Desember 1969']],
|
1232
1233
|
[['Spot Harga Emas Hari Ini (Market Open)'],
|
1233
1234
|
['Satuan', 'USD', 'Kurs\xa0Dollar', 'IDR'],
|
1234
|
-
['Ounce\xa0(oz)', '3.
|
1235
|
-
['Gram\xa0(gr)', '99,
|
1236
|
-
['Kilogram\xa0(kg)', '99.
|
1237
|
-
['Update harga emas :03 April 2025, pukul 18:
|
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, '
|
1238
1239
|
'pukul 10:13']],
|
1239
1240
|
[['Gram', 'UBS Gold 99.99%'],
|
1240
1241
|
['Jual', 'Beli'],
|
@@ -1272,36 +1273,36 @@ Output:
|
|
1272
1273
|
['Unit', 'USD', 'IDR'],
|
1273
1274
|
['Angka', '+/-', 'Angka', '+/-'],
|
1274
1275
|
['Hari Ini', 'Kurs', '', '', '1', '%'],
|
1275
|
-
['oz', '3.130,46', '-
|
1276
|
-
['gr', '100,65', '-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%'],
|
1277
1278
|
['30 Hari', 'Kurs', '', '', '16.506', '-16.505-99,99%'],
|
1278
|
-
['oz', '2.915,26', '+
|
1279
|
-
['gr', '93,73', '+5,
|
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%'],
|
1280
1281
|
['2 Bulan', 'Kurs', '', '', '16.259', '-16.258-99,99%'],
|
1281
|
-
['oz', '2.798,49', '+
|
1282
|
-
['gr', '89,97', '+9,
|
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%'],
|
1283
1284
|
['6 Bulan', 'Kurs', '', '', '15.394', '-15.393-99,99%'],
|
1284
|
-
['oz', '2.653,25', '+
|
1285
|
-
['gr', '85,30', '+14,
|
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%'],
|
1286
1287
|
['1 Tahun', 'Kurs', '', '', '15.934', '-15.933-99,99%'],
|
1287
|
-
['oz', '2.292,15', '+
|
1288
|
-
['gr', '73,69', '+25,
|
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%'],
|
1289
1290
|
['2 Tahun', 'Kurs', '', '', '15.731', '-15.730-99,99%'],
|
1290
|
-
['oz', '1.823,86', '+1.
|
1291
|
-
['gr', '58,64', '+40,
|
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%'],
|
1292
1293
|
['3 Tahun', 'Kurs', '', '', '14.364', '-14.363-99,99%'],
|
1293
|
-
['oz', '1.931,33', '+1.
|
1294
|
-
['gr', '62,09', '+37,
|
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%'],
|
1295
1296
|
['5 Tahun', 'Kurs', '', '', '16.464', '-16.463-99,99%'],
|
1296
|
-
['oz', '1.618,13', '+1.
|
1297
|
-
['gr', '52,02', '+47,
|
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%']])
|
1298
1299
|
(['Home', 'Emas 1 Gram', 'History', 'Trend', 'Perak 1 Gram', 'Pluang'],
|
1299
1300
|
[[''],
|
1300
1301
|
['Emas 24 KaratHarga Emas 1 Gram', ''],
|
1301
|
-
['USD', '99,
|
1302
|
+
['USD', '99,44↓', '-1,21-1,20%'],
|
1302
1303
|
['KURS', '16.355,25↓', '%'],
|
1303
|
-
['IDR', '1.
|
1304
|
-
['Kamis, 03 April 2025 18:
|
1304
|
+
['IDR', '1.626.350,43↓', '-19.750,30-1,20%'],
|
1305
|
+
['Kamis, 03 April 2025 18:56']],
|
1305
1306
|
[[''],
|
1306
1307
|
['Emas 1 Gram (IDR)Emas 1 Gram (USD)Kurs USD-IDR',
|
1307
1308
|
'Hari Ini',
|
@@ -1312,25 +1313,25 @@ Output:
|
|
1312
1313
|
'']],
|
1313
1314
|
[['Pergerakkan Harga Emas 1 Gram'],
|
1314
1315
|
['', 'Penutupan Kemarin', 'Pergerakkan Hari Ini', 'Rata-rata'],
|
1315
|
-
['USD', '100,65', '99,
|
1316
|
+
['USD', '100,65', '99,44 - 100,65', '100,05'],
|
1316
1317
|
['KURS', '16.355,25', '16.355,25 - 16.355,25', '16.355,25'],
|
1317
|
-
['IDR', '1.646.100,73', '1.
|
1318
|
+
['IDR', '1.646.100,73', '1.626.350,43 - 1.646.100,73', '1.636.225,58'],
|
1318
1319
|
[''],
|
1319
1320
|
['', 'Awal Tahun', 'Pergerakkan YTD', '+/- YTD'],
|
1320
|
-
['USD', '84,42', '84,38 - 100,65', '+
|
1321
|
+
['USD', '84,42', '84,38 - 100,65', '+15,02 (17,79%)'],
|
1321
1322
|
['KURS', '16.220,76', '16.156,70 - 16.387,00', '+134,49 (0,83%)'],
|
1322
1323
|
['IDR',
|
1323
1324
|
'1.369.306,75',
|
1324
1325
|
'1.368.695,74 - 1.646.100,73',
|
1325
|
-
'+
|
1326
|
+
'+257.043,68 (18,77%)'],
|
1326
1327
|
[''],
|
1327
1328
|
['', 'Tahun Lalu / 52 Minggu', 'Pergerakkan 52 Minggu', '+/- 52 Minggu'],
|
1328
|
-
['USD', '72,67', '73,56 - 100,65', '+26,
|
1329
|
+
['USD', '72,67', '73,56 - 100,65', '+26,77 (36,84%)'],
|
1329
1330
|
['KURS', '15.946,00', '15.100,00 - 16.509,65', '+409,25 (2,57%)'],
|
1330
1331
|
['IDR',
|
1331
1332
|
'1.158.816,50',
|
1332
1333
|
'1.167.120,22 - 1.646.100,73',
|
1333
|
-
'+
|
1334
|
+
'+467.533,93 (40,35%)']])
|
1334
1335
|
```
|
1335
1336
|
|
1336
1337
|
## iloads
|
@@ -1460,7 +1461,7 @@ Output:
|
|
1460
1461
|
```py
|
1461
1462
|
8
|
1462
1463
|
['mana', 'aja']
|
1463
|
-
[<Element a at
|
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>]
|
1464
1465
|
False
|
1465
1466
|
```
|
1466
1467
|
|
@@ -1530,8 +1531,8 @@ print(list(iscandir("./", recursive=False, scan_file=False)))
|
|
1530
1531
|
|
1531
1532
|
Output:
|
1532
1533
|
```py
|
1533
|
-
<generator object iscandir at
|
1534
|
-
[PosixPath('.git'), PosixPath('.vscode'), PosixPath('pypipr')]
|
1534
|
+
<generator object iscandir at 0x71b1dc2f20>
|
1535
|
+
[PosixPath('.git'), PosixPath('.vscode'), PosixPath('pypipr'), PosixPath('__pycache__'), PosixPath('dist')]
|
1535
1536
|
```
|
1536
1537
|
|
1537
1538
|
## isplit
|
@@ -1563,94 +1564,95 @@ iprint(ivars(__import__('pypipr')))
|
|
1563
1564
|
|
1564
1565
|
Output:
|
1565
1566
|
```py
|
1566
|
-
{'function': {'avg': <function avg at
|
1567
|
-
'get_filemtime': <function get_filemtime at
|
1568
|
-
'print_colorize': <function print_colorize at
|
1569
|
-
'print_log': <function print_log at
|
1570
|
-
'console_run': <function console_run at
|
1571
|
-
'auto_reload': <function auto_reload at
|
1572
|
-
'basename': <function basename at
|
1573
|
-
'chr_to_int': <function chr_to_int at
|
1574
|
-
'int_to_chr': <function int_to_chr at
|
1575
|
-
'irange': <function irange at
|
1576
|
-
'batchmaker': <function batchmaker at
|
1577
|
-
'calculate': <function calculate at
|
1578
|
-
'batch_calculate': <function batch_calculate at
|
1579
|
-
'bin_to_int': <function bin_to_int at
|
1580
|
-
'is_empty': <function is_empty at
|
1581
|
-
'exit_if_empty': <function exit_if_empty at
|
1582
|
-
'input_char': <function input_char at
|
1583
|
-
'choices': <function choices at
|
1584
|
-
'chunk_array': <function chunk_array at
|
1585
|
-
'create_folder': <function create_folder at
|
1586
|
-
'datetime_from_string': <function datetime_from_string at
|
1587
|
-
'datetime_now': <function datetime_now at
|
1588
|
-
'dict_first': <function dict_first at
|
1589
|
-
'dirname': <function dirname at
|
1590
|
-
'django_clear_migrations': <function django_clear_migrations at
|
1591
|
-
'django_runserver': <function django_runserver at
|
1592
|
-
'is_iterable': <function is_iterable at
|
1593
|
-
'to_str': <function to_str at
|
1594
|
-
'filter_empty': <function filter_empty at
|
1595
|
-
'get_by_index': <function get_by_index at
|
1596
|
-
'get_class_method': <function get_class_method at
|
1597
|
-
'get_filesize': <function get_filesize at
|
1598
|
-
'github_init': <function github_init at
|
1599
|
-
'github_pull': <function github_pull at
|
1600
|
-
'github_push': <function github_push at
|
1601
|
-
'github_user': <function github_user at
|
1602
|
-
'hex_to_int': <function hex_to_int at
|
1603
|
-
'iargv': <function iargv at
|
1604
|
-
'idir': <function idir at
|
1605
|
-
'idumps_html': <function idumps_html at
|
1606
|
-
'idumps': <function idumps at
|
1607
|
-
'int_to_int': <function int_to_int at
|
1608
|
-
'ienumerate': <function ienumerate at
|
1609
|
-
'ienv': <function ienv at
|
1610
|
-
'iexec': <function iexec at
|
1611
|
-
'ijoin': <function ijoin at
|
1612
|
-
'iloads_html': <function iloads_html at
|
1613
|
-
'iloads': <function iloads at
|
1614
|
-
'int_to_bin': <function int_to_bin at
|
1615
|
-
'int_to_hex': <function int_to_hex at
|
1616
|
-
'int_to_oct': <function int_to_oct at
|
1617
|
-
'is_valid_url': <function is_valid_url at
|
1618
|
-
'iopen': <function iopen at
|
1619
|
-
'iprint': <function iprint at
|
1620
|
-
'is_raw_string': <function is_raw_string at
|
1621
|
-
'ireplace': <function ireplace at
|
1622
|
-
'is_html': <function is_html at
|
1623
|
-
'iscandir': <function iscandir at
|
1624
|
-
'isplit': <function isplit at
|
1625
|
-
'ivars': <function ivars at
|
1626
|
-
'log': <function log at
|
1627
|
-
'oct_to_int': <function oct_to_int at
|
1628
|
-
'password_generator': <function password_generator at
|
1629
|
-
'pip_freeze_without_version': <function pip_freeze_without_version at
|
1630
|
-
'pip_update_pypipr': <function pip_update_pypipr at
|
1631
|
-
'poetry_publish': <function poetry_publish at
|
1632
|
-
'poetry_update_version': <function poetry_update_version at
|
1633
|
-
'print_dir': <function print_dir at
|
1634
|
-
'print_to_last_line': <function print_to_last_line at
|
1635
|
-
'random_bool': <function random_bool at
|
1636
|
-
'repath': <function repath at
|
1637
|
-
'restart': <function restart at
|
1638
|
-
'set_timeout': <function set_timeout at
|
1639
|
-
'sets_ordered': <function sets_ordered at
|
1640
|
-
'sqlite_backup': <function sqlite_backup at
|
1641
|
-
'sqlite_delete_table': <function sqlite_delete_table at
|
1642
|
-
'sqlite_get_all_tables': <function sqlite_get_all_tables at
|
1643
|
-
'sqlite_get_data_table': <function sqlite_get_data_table at
|
1644
|
-
'str_cmp': <function str_cmp at
|
1645
|
-
'text_colorize': <function text_colorize at
|
1646
|
-
'
|
1647
|
-
'
|
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>},
|
1648
1650
|
'class': {'ComparePerformance': <class 'pypipr.ComparePerformance.ComparePerformance'>,
|
1649
1651
|
'PintUregQuantity': <class 'pint.Quantity'>,
|
1650
1652
|
'RunParallel': <class 'pypipr.RunParallel.RunParallel'>,
|
1651
1653
|
'TextCase': <class 'pypipr.TextCase.TextCase'>},
|
1652
1654
|
'variable': {'LINUX': True,
|
1653
|
-
'PintUreg': <pint.registry.UnitRegistry object at
|
1655
|
+
'PintUreg': <pint.registry.UnitRegistry object at 0x71b86a4500>,
|
1654
1656
|
'WINDOWS': False},
|
1655
1657
|
'module': {'asyncio': <module 'asyncio' from '/data/data/com.termux/files/usr/lib/python3.12/asyncio/__init__.py'>,
|
1656
1658
|
'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'>,
|
@@ -1741,7 +1743,7 @@ print(password_generator())
|
|
1741
1743
|
|
1742
1744
|
Output:
|
1743
1745
|
```py
|
1744
|
-
|
1746
|
+
0:LhB8Ep
|
1745
1747
|
```
|
1746
1748
|
|
1747
1749
|
## pip_freeze_without_version
|
@@ -1803,7 +1805,7 @@ Output:
|
|
1803
1805
|
__enter__ : https:/www.google.com
|
1804
1806
|
__fspath__ : https:/www.google.com
|
1805
1807
|
__getstate__ : (None, {'_raw_paths': ['https://www.google.com/'], '_drv': '', '_root': '', '_tail_cached': ['https:', 'www.google.com'], '_str': 'https:/www.google.com'})
|
1806
|
-
__hash__ :
|
1808
|
+
__hash__ : 2687015673452643001
|
1807
1809
|
__init__ : None
|
1808
1810
|
__init_subclass__ : None
|
1809
1811
|
__module__ : pathlib
|
@@ -1815,7 +1817,7 @@ Output:
|
|
1815
1817
|
__subclasshook__ : NotImplemented
|
1816
1818
|
_drv :
|
1817
1819
|
_flavour : <module 'posixpath' (frozen)>
|
1818
|
-
_hash :
|
1820
|
+
_hash : 2687015673452643001
|
1819
1821
|
_lines : https:
|
1820
1822
|
www.google.com
|
1821
1823
|
_lines_cached : https:
|
@@ -1849,7 +1851,7 @@ _parts_normcase_cached : ['https:', 'www.google.com']
|
|
1849
1851
|
is_reserved : False
|
1850
1852
|
is_socket : False
|
1851
1853
|
is_symlink : False
|
1852
|
-
iterdir : <generator object Path.iterdir at
|
1854
|
+
iterdir : <generator object Path.iterdir at 0x71b1dcfe00>
|
1853
1855
|
joinpath : .
|
1854
1856
|
name :
|
1855
1857
|
parent : https:/www.google.com
|
@@ -1860,7 +1862,7 @@ _parts_normcase_cached : ['https:', 'www.google.com']
|
|
1860
1862
|
stem :
|
1861
1863
|
suffix :
|
1862
1864
|
suffixes : []
|
1863
|
-
walk : <generator object Path.walk at
|
1865
|
+
walk : <generator object Path.walk at 0x71b1ff3d80>
|
1864
1866
|
with_segments : .
|
1865
1867
|
```
|
1866
1868
|
|
@@ -1902,7 +1904,7 @@ print(random_bool())
|
|
1902
1904
|
|
1903
1905
|
Output:
|
1904
1906
|
```py
|
1905
|
-
|
1907
|
+
True
|
1906
1908
|
```
|
1907
1909
|
|
1908
1910
|
## repath
|
@@ -1940,7 +1942,7 @@ x.cancel()
|
|
1940
1942
|
|
1941
1943
|
Output:
|
1942
1944
|
```py
|
1943
|
-
<Timer(Thread-2, started
|
1945
|
+
<Timer(Thread-2, started 488251948272)>
|
1944
1946
|
menghentikan timeout 7
|
1945
1947
|
```
|
1946
1948
|
|
@@ -1958,7 +1960,7 @@ print(list(sets_ordered(array)))
|
|
1958
1960
|
|
1959
1961
|
Output:
|
1960
1962
|
```py
|
1961
|
-
<generator object sets_ordered at
|
1963
|
+
<generator object sets_ordered at 0x71b1c5ac20>
|
1962
1964
|
[2, 3, 12, 42, 1, 43, 41, 4, 24, 32]
|
1963
1965
|
```
|
1964
1966
|
|
@@ -2017,6 +2019,10 @@ text_colorize("Print some text")
|
|
2017
2019
|
text_colorize("Print some text", color=colorama.Fore.RED)
|
2018
2020
|
```
|
2019
2021
|
|
2022
|
+
## tiles
|
2023
|
+
|
2024
|
+
`tiles(tile_x=None, tile_y=None, area_x=None, area_y=None, gap_x=None, gap_y=None)`
|
2025
|
+
|
2020
2026
|
## traceback_filename
|
2021
2027
|
|
2022
2028
|
`traceback_filename(stack_level=-3)`
|
@@ -2076,15 +2082,15 @@ print(ExampleComparePerformance().compare_performance())
|
|
2076
2082
|
|
2077
2083
|
Output:
|
2078
2084
|
```py
|
2079
|
-
{'a': <generator object ExampleComparePerformance.a.<locals>.<genexpr> at
|
2085
|
+
{'a': <generator object ExampleComparePerformance.a.<locals>.<genexpr> at 0x71b1e18ac0>,
|
2080
2086
|
'b': (0, 1, 2, 3, 4, 5, 6, 7, 8, 9),
|
2081
2087
|
'c': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
|
2082
2088
|
'd': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]}
|
2083
|
-
{'a':
|
2084
|
-
{'a': 103, 'b':
|
2085
|
-
{'a': 100, 'b':
|
2086
|
-
{'a':
|
2087
|
-
{'a':
|
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}
|
2088
2094
|
```
|
2089
2095
|
|
2090
2096
|
## PintUregQuantity
|
@@ -84,6 +84,7 @@ from .sqlite_get_all_tables import sqlite_get_all_tables
|
|
84
84
|
from .sqlite_get_data_table import sqlite_get_data_table
|
85
85
|
from .str_cmp import str_cmp
|
86
86
|
from .text_colorize import text_colorize
|
87
|
+
from .tiles import tiles
|
87
88
|
from .to_str import to_str
|
88
89
|
from .traceback_filename import traceback_filename
|
89
90
|
from .traceback_framename import traceback_framename
|
@@ -118,4 +119,4 @@ import tzdata
|
|
118
119
|
import uuid
|
119
120
|
import webbrowser
|
120
121
|
import yaml
|
121
|
-
import zoneinfo
|
122
|
+
import zoneinfo
|