pypipr 1.0.179__tar.gz → 1.0.180__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.179 → pypipr-1.0.180}/PKG-INFO +142 -142
- {pypipr-1.0.179 → pypipr-1.0.180}/pypipr/traceback_filename.py +1 -1
- {pypipr-1.0.179 → pypipr-1.0.180}/pypipr/traceback_framename.py +1 -1
- {pypipr-1.0.179 → pypipr-1.0.180}/pyproject.toml +1 -1
- {pypipr-1.0.179 → pypipr-1.0.180}/readme.md +141 -141
- {pypipr-1.0.179 → pypipr-1.0.180}/pypipr/ComparePerformance.py +0 -0
- {pypipr-1.0.179 → pypipr-1.0.180}/pypipr/LINUX.py +0 -0
- {pypipr-1.0.179 → pypipr-1.0.180}/pypipr/PintUreg.py +0 -0
- {pypipr-1.0.179 → pypipr-1.0.180}/pypipr/PintUregQuantity.py +0 -0
- {pypipr-1.0.179 → pypipr-1.0.180}/pypipr/RunParallel.py +0 -0
- {pypipr-1.0.179 → pypipr-1.0.180}/pypipr/WINDOWS.py +0 -0
- {pypipr-1.0.179 → pypipr-1.0.180}/pypipr/__init__.py +0 -0
- {pypipr-1.0.179 → pypipr-1.0.180}/pypipr/__terminal__.py +0 -0
- {pypipr-1.0.179 → pypipr-1.0.180}/pypipr/auto_reload.py +0 -0
- {pypipr-1.0.179 → pypipr-1.0.180}/pypipr/avg.py +0 -0
- {pypipr-1.0.179 → pypipr-1.0.180}/pypipr/basename.py +0 -0
- {pypipr-1.0.179 → pypipr-1.0.180}/pypipr/batch_calculate.py +0 -0
- {pypipr-1.0.179 → pypipr-1.0.180}/pypipr/batchmaker.py +0 -0
- {pypipr-1.0.179 → pypipr-1.0.180}/pypipr/bin_to_int.py +0 -0
- {pypipr-1.0.179 → pypipr-1.0.180}/pypipr/calculate.py +0 -0
- {pypipr-1.0.179 → pypipr-1.0.180}/pypipr/choices.py +0 -0
- {pypipr-1.0.179 → pypipr-1.0.180}/pypipr/chr_to_int.py +0 -0
- {pypipr-1.0.179 → pypipr-1.0.180}/pypipr/chunk_array.py +0 -0
- {pypipr-1.0.179 → pypipr-1.0.180}/pypipr/console_run.py +0 -0
- {pypipr-1.0.179 → pypipr-1.0.180}/pypipr/create_folder.py +0 -0
- {pypipr-1.0.179 → pypipr-1.0.180}/pypipr/datetime_from_string.py +0 -0
- {pypipr-1.0.179 → pypipr-1.0.180}/pypipr/datetime_now.py +0 -0
- {pypipr-1.0.179 → pypipr-1.0.180}/pypipr/dict_first.py +0 -0
- {pypipr-1.0.179 → pypipr-1.0.180}/pypipr/dirname.py +0 -0
- {pypipr-1.0.179 → pypipr-1.0.180}/pypipr/django_clear_migrations.py +0 -0
- {pypipr-1.0.179 → pypipr-1.0.180}/pypipr/django_runserver.py +0 -0
- {pypipr-1.0.179 → pypipr-1.0.180}/pypipr/exit_if_empty.py +0 -0
- {pypipr-1.0.179 → pypipr-1.0.180}/pypipr/filter_empty.py +0 -0
- {pypipr-1.0.179 → pypipr-1.0.180}/pypipr/get_by_index.py +0 -0
- {pypipr-1.0.179 → pypipr-1.0.180}/pypipr/get_class_method.py +0 -0
- {pypipr-1.0.179 → pypipr-1.0.180}/pypipr/get_filemtime.py +0 -0
- {pypipr-1.0.179 → pypipr-1.0.180}/pypipr/get_filesize.py +0 -0
- {pypipr-1.0.179 → pypipr-1.0.180}/pypipr/github_init.py +0 -0
- {pypipr-1.0.179 → pypipr-1.0.180}/pypipr/github_pull.py +0 -0
- {pypipr-1.0.179 → pypipr-1.0.180}/pypipr/github_push.py +0 -0
- {pypipr-1.0.179 → pypipr-1.0.180}/pypipr/github_user.py +0 -0
- {pypipr-1.0.179 → pypipr-1.0.180}/pypipr/hex_to_int.py +0 -0
- {pypipr-1.0.179 → pypipr-1.0.180}/pypipr/iargv.py +0 -0
- {pypipr-1.0.179 → pypipr-1.0.180}/pypipr/idir.py +0 -0
- {pypipr-1.0.179 → pypipr-1.0.180}/pypipr/idumps.py +0 -0
- {pypipr-1.0.179 → pypipr-1.0.180}/pypipr/idumps_html.py +0 -0
- {pypipr-1.0.179 → pypipr-1.0.180}/pypipr/ienumerate.py +0 -0
- {pypipr-1.0.179 → pypipr-1.0.180}/pypipr/ienv.py +0 -0
- {pypipr-1.0.179 → pypipr-1.0.180}/pypipr/iexec.py +0 -0
- {pypipr-1.0.179 → pypipr-1.0.180}/pypipr/iinput.py +0 -0
- {pypipr-1.0.179 → pypipr-1.0.180}/pypipr/ijoin.py +0 -0
- {pypipr-1.0.179 → pypipr-1.0.180}/pypipr/iloads.py +0 -0
- {pypipr-1.0.179 → pypipr-1.0.180}/pypipr/iloads_html.py +0 -0
- {pypipr-1.0.179 → pypipr-1.0.180}/pypipr/input_char.py +0 -0
- {pypipr-1.0.179 → pypipr-1.0.180}/pypipr/int_to_bin.py +0 -0
- {pypipr-1.0.179 → pypipr-1.0.180}/pypipr/int_to_chr.py +0 -0
- {pypipr-1.0.179 → pypipr-1.0.180}/pypipr/int_to_hex.py +0 -0
- {pypipr-1.0.179 → pypipr-1.0.180}/pypipr/int_to_int.py +0 -0
- {pypipr-1.0.179 → pypipr-1.0.180}/pypipr/int_to_oct.py +0 -0
- {pypipr-1.0.179 → pypipr-1.0.180}/pypipr/iopen.py +0 -0
- {pypipr-1.0.179 → pypipr-1.0.180}/pypipr/iprint.py +0 -0
- {pypipr-1.0.179 → pypipr-1.0.180}/pypipr/irange.py +0 -0
- {pypipr-1.0.179 → pypipr-1.0.180}/pypipr/ireplace.py +0 -0
- {pypipr-1.0.179 → pypipr-1.0.180}/pypipr/is_empty.py +0 -0
- {pypipr-1.0.179 → pypipr-1.0.180}/pypipr/is_html.py +0 -0
- {pypipr-1.0.179 → pypipr-1.0.180}/pypipr/is_iterable.py +0 -0
- {pypipr-1.0.179 → pypipr-1.0.180}/pypipr/is_raw_string.py +0 -0
- {pypipr-1.0.179 → pypipr-1.0.180}/pypipr/is_valid_url.py +0 -0
- {pypipr-1.0.179 → pypipr-1.0.180}/pypipr/iscandir.py +0 -0
- {pypipr-1.0.179 → pypipr-1.0.180}/pypipr/isplit.py +0 -0
- {pypipr-1.0.179 → pypipr-1.0.180}/pypipr/ivars.py +0 -0
- {pypipr-1.0.179 → pypipr-1.0.180}/pypipr/log.py +0 -0
- {pypipr-1.0.179 → pypipr-1.0.180}/pypipr/no_indent.py +0 -0
- {pypipr-1.0.179 → pypipr-1.0.180}/pypipr/oct_to_int.py +0 -0
- {pypipr-1.0.179 → pypipr-1.0.180}/pypipr/password_generator.py +0 -0
- {pypipr-1.0.179 → pypipr-1.0.180}/pypipr/path_to_module.py +0 -0
- {pypipr-1.0.179 → pypipr-1.0.180}/pypipr/pip_freeze_without_version.py +0 -0
- {pypipr-1.0.179 → pypipr-1.0.180}/pypipr/pip_update_pypipr.py +0 -0
- {pypipr-1.0.179 → pypipr-1.0.180}/pypipr/poetry_publish.py +0 -0
- {pypipr-1.0.179 → pypipr-1.0.180}/pypipr/poetry_shell.py +0 -0
- {pypipr-1.0.179 → pypipr-1.0.180}/pypipr/poetry_update_version.py +0 -0
- {pypipr-1.0.179 → pypipr-1.0.180}/pypipr/print_colorize.py +0 -0
- {pypipr-1.0.179 → pypipr-1.0.180}/pypipr/print_dir.py +0 -0
- {pypipr-1.0.179 → pypipr-1.0.180}/pypipr/print_log.py +0 -0
- {pypipr-1.0.179 → pypipr-1.0.180}/pypipr/print_to_last_line.py +0 -0
- {pypipr-1.0.179 → pypipr-1.0.180}/pypipr/random_bool.py +0 -0
- {pypipr-1.0.179 → pypipr-1.0.180}/pypipr/repath.py +0 -0
- {pypipr-1.0.179 → pypipr-1.0.180}/pypipr/restart.py +0 -0
- {pypipr-1.0.179 → pypipr-1.0.180}/pypipr/set_timeout.py +0 -0
- {pypipr-1.0.179 → pypipr-1.0.180}/pypipr/sets_ordered.py +0 -0
- {pypipr-1.0.179 → pypipr-1.0.180}/pypipr/sqlite_backup.py +0 -0
- {pypipr-1.0.179 → pypipr-1.0.180}/pypipr/sqlite_delete_table.py +0 -0
- {pypipr-1.0.179 → pypipr-1.0.180}/pypipr/sqlite_get_all_tables.py +0 -0
- {pypipr-1.0.179 → pypipr-1.0.180}/pypipr/sqlite_get_data_table.py +0 -0
- {pypipr-1.0.179 → pypipr-1.0.180}/pypipr/str_cmp.py +0 -0
- {pypipr-1.0.179 → pypipr-1.0.180}/pypipr/text_colorize.py +0 -0
- {pypipr-1.0.179 → pypipr-1.0.180}/pypipr/tiles.py +0 -0
- {pypipr-1.0.179 → pypipr-1.0.180}/pypipr/to_str.py +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.3
|
2
2
|
Name: pypipr
|
3
|
-
Version: 1.0.
|
3
|
+
Version: 1.0.180
|
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
|
253
|
-
<generator object int_range at
|
252
|
+
<generator object int_range at 0x7b3a026940>
|
253
|
+
<generator object int_range at 0x7b3a026a40>
|
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
|
285
|
+
<generator object batchmaker at 0x7b39fd3d00>
|
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
|
339
|
+
<generator object batch_calculate at 0x7b3a02fe60>
|
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
|
445
|
+
<generator object chunk_array at 0x7b3a02b2e0>
|
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:
|
497
|
-
2025-05-08 02:
|
498
|
-
2025-05-07 19:
|
496
|
+
2025-05-08 09:26:45.866263+07:00
|
497
|
+
2025-05-08 02:26:45.867079+00:00
|
498
|
+
2025-05-07 19:26:45.868405-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
|
617
|
+
<generator object filter_empty at 0x7b3a02b4c0>
|
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
|
665
|
-
[<function ExampleGetClassMethod.a at
|
664
|
+
<generator object get_class_method at 0x7b39d24d60>
|
665
|
+
[<function ExampleGetClassMethod.a at 0x7b39d17ba0>, <function ExampleGetClassMethod.b at 0x7b39d17a60>, <function ExampleGetClassMethod.c at 0x7b39d17b00>, <function ExampleGetClassMethod.d at 0x7b39d17ce0>]
|
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
|
1093
|
+
`ienumerate(iterator, start=0, key=<function int_to_int at 0x7b3ae5ef20>)`
|
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
|
1106
|
+
<generator object ienumerate at 0x7b3a02b4c0>
|
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
|
-
|
1183
|
+
weq, asd, qweqw, dfs
|
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.
|
1229
|
+
['Spot Emas USD↑3.410,42 (+22,18) / 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.
|
1255
|
-
['Gram\xa0(gr)', '109,
|
1256
|
-
['Kilogram\xa0(kg)', '109.
|
1257
|
-
['Update harga emas :08 Mei 2025, pukul 09:
|
1254
|
+
['Ounce\xa0(oz)', '3.410,42 (+22,18)', '1,00', '3.410'],
|
1255
|
+
['Gram\xa0(gr)', '109,65', '1,00', '110 (+1)'],
|
1256
|
+
['Kilogram\xa0(kg)', '109.647,55', '1,00', '109.648'],
|
1257
|
+
['Update harga emas :08 Mei 2025, pukul 09:26Update 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', '+
|
1296
|
-
['gr', '108,93', '+0,
|
1295
|
+
['oz', '3.388,24', '+22,18+0,65%', '3.388', '+22+0,65%'],
|
1296
|
+
['gr', '108,93', '+0,71+0,65%', '109', '+1+0,65%'],
|
1297
1297
|
['30 Hari', 'Kurs', '', '', '1', '%'],
|
1298
|
-
['oz', '2.987,14', '+
|
1299
|
-
['gr', '96,04', '+13,
|
1298
|
+
['oz', '2.987,14', '+423,28+14,17%', '2.987', '+423+14,17%'],
|
1299
|
+
['gr', '96,04', '+13,61+14,17%', '96', '+14+14,17%'],
|
1300
1300
|
['2 Bulan', 'Kurs', '', '', '16.315', '-16.314-99,99%'],
|
1301
|
-
['oz', '2.911,17', '+
|
1302
|
-
['gr', '93,60', '+16,
|
1301
|
+
['oz', '2.911,17', '+499,25+17,15%', '47.495.739', '-47.492.328-99,99%'],
|
1302
|
+
['gr', '93,60', '+16,05+17,15', '1.527.023', '-1.526.914-99,99%'],
|
1303
1303
|
['6 Bulan', 'Kurs', '', '', '15.767', '-15.766-99,99%'],
|
1304
|
-
['oz', '2.684,64', '+
|
1305
|
-
['gr', '86,31', '+23,
|
1304
|
+
['oz', '2.684,64', '+725,78+27,03%', '42.328.719', '-42.325.308-99,99%'],
|
1305
|
+
['gr', '86,31', '+23,33+27,03%', '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.
|
1308
|
-
['gr', '74,51', '+35,
|
1307
|
+
['oz', '2.317,41', '+1.093,01+47,17%', '37.203.700', '-37.200.290-99,99%'],
|
1308
|
+
['gr', '74,51', '+35,14+47,17%', '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.
|
1311
|
-
['gr', '58,64', '+51,
|
1310
|
+
['oz', '1.823,86', '+1.586,56+86,99%', '28.691.142', '-28.687.731-99,99%'],
|
1311
|
+
['gr', '58,64', '+51,01+86,99%', '922.442', '-922.332-99,99%'],
|
1312
1312
|
['3 Tahun', 'Kurs', '', '', '14.480', '-14.479-99,99%'],
|
1313
|
-
['oz', '1.861,38', '+1.
|
1314
|
-
['gr', '59,84', '+49,
|
1313
|
+
['oz', '1.861,38', '+1.549,04+83,22%', '26.952.782', '-26.949.372-99,99%'],
|
1314
|
+
['gr', '59,84', '+49,80+83,22%', '866.552', '-866.442-99,99%'],
|
1315
1315
|
['5 Tahun', 'Kurs', '', '', '15.009', '-15.008-99,99%'],
|
1316
|
-
['oz', '1.702,22', '+1.
|
1317
|
-
['gr', '54,73', '+54,
|
1316
|
+
['oz', '1.702,22', '+1.708,20+100,35%', '25.548.637', '-25.545.227-99,99%'],
|
1317
|
+
['gr', '54,73', '+54,92+100,35%', '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
1321
|
['USD', '109,65↑', '+0,72+0,66%'],
|
1322
1322
|
['KURS', '16.550,98↑', '+82,48+0,50%'],
|
1323
1323
|
['IDR', '1.814.774,39↑', '+20.787,47+1,16%'],
|
1324
|
-
['Kamis, 08 Mei 2025 09:
|
1324
|
+
['Kamis, 08 Mei 2025 09:26']],
|
1325
1325
|
[[''],
|
1326
1326
|
['Emas 1 Gram (IDR)Emas 1 Gram (USD)Kurs USD-IDR',
|
1327
1327
|
'Hari Ini',
|
@@ -1480,7 +1480,7 @@ Output:
|
|
1480
1480
|
```py
|
1481
1481
|
8
|
1482
1482
|
['m', 'a', 'n', 'a', 'a', 'j', 'a']
|
1483
|
-
[<Element a at
|
1483
|
+
[<Element a at 0x7b39d5e8a0>, <Element a at 0x7b39d5e940>, <Element a at 0x7b39d5ebc0>, <Element a at 0x7b39d5ec60>, <Element a at 0x7b39d5ed00>, <Element a at 0x7b39d5edf0>, <Element a at 0x7b39d5f070>, <Element a at 0x7b39d5f200>, <Element a at 0x7b39d5f2f0>, <Element a at 0x7b39d5fbb0>, <Element a at 0x7b39d5fcf0>, <Element a at 0x7b39d5fd90>, <Element a at 0x7b39d5fe30>, <Element a at 0x7b39d5ff70>, <Element a at 0x7b39d5ffc0>, <Element a at 0x7b39d90050>, <Element a at 0x7b39d900a0>, <Element a at 0x7b39d900f0>]
|
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
|
1553
|
+
<generator object iscandir at 0x7b3a02b3d0>
|
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
|
1587
|
-
'get_filemtime': <function get_filemtime at
|
1588
|
-
'print_colorize': <function print_colorize at
|
1589
|
-
'print_log': <function print_log at
|
1590
|
-
'console_run': <function console_run at
|
1591
|
-
'auto_reload': <function auto_reload at
|
1592
|
-
'basename': <function basename at
|
1593
|
-
'chr_to_int': <function chr_to_int at
|
1594
|
-
'int_to_chr': <function int_to_chr at
|
1595
|
-
'irange': <function irange at
|
1596
|
-
'batchmaker': <function batchmaker at
|
1597
|
-
'calculate': <function calculate at
|
1598
|
-
'batch_calculate': <function batch_calculate at
|
1599
|
-
'bin_to_int': <function bin_to_int at
|
1600
|
-
'is_empty': <function is_empty at
|
1601
|
-
'exit_if_empty': <function exit_if_empty at
|
1602
|
-
'input_char': <function input_char at
|
1603
|
-
'choices': <function choices at
|
1604
|
-
'chunk_array': <function chunk_array at
|
1605
|
-
'create_folder': <function create_folder at
|
1606
|
-
'datetime_from_string': <function datetime_from_string at
|
1607
|
-
'datetime_now': <function datetime_now at
|
1608
|
-
'dict_first': <function dict_first at
|
1609
|
-
'dirname': <function dirname at
|
1610
|
-
'django_clear_migrations': <function django_clear_migrations at
|
1611
|
-
'django_runserver': <function django_runserver at
|
1612
|
-
'is_iterable': <function is_iterable at
|
1613
|
-
'to_str': <function to_str at
|
1614
|
-
'filter_empty': <function filter_empty at
|
1615
|
-
'get_by_index': <function get_by_index at
|
1616
|
-
'get_class_method': <function get_class_method at
|
1617
|
-
'get_filesize': <function get_filesize at
|
1618
|
-
'github_init': <function github_init at
|
1619
|
-
'github_pull': <function github_pull at
|
1620
|
-
'github_push': <function github_push at
|
1621
|
-
'github_user': <function github_user at
|
1622
|
-
'hex_to_int': <function hex_to_int at
|
1623
|
-
'iargv': <function iargv at
|
1624
|
-
'idir': <function idir at
|
1625
|
-
'idumps_html': <function idumps_html at
|
1626
|
-
'idumps': <function idumps at
|
1627
|
-
'int_to_int': <function int_to_int at
|
1628
|
-
'ienumerate': <function ienumerate at
|
1629
|
-
'ienv': <function ienv at
|
1630
|
-
'iexec': <function iexec at
|
1631
|
-
'iinput': <function iinput at
|
1632
|
-
'ijoin': <function ijoin at
|
1633
|
-
'iloads_html': <function iloads_html at
|
1634
|
-
'iloads': <function iloads at
|
1635
|
-
'int_to_bin': <function int_to_bin at
|
1636
|
-
'int_to_hex': <function int_to_hex at
|
1637
|
-
'int_to_oct': <function int_to_oct at
|
1638
|
-
'is_valid_url': <function is_valid_url at
|
1639
|
-
'iopen': <function iopen at
|
1640
|
-
'iprint': <function iprint at
|
1641
|
-
'is_raw_string': <function is_raw_string at
|
1642
|
-
'ireplace': <function ireplace at
|
1643
|
-
'is_html': <function is_html at
|
1644
|
-
'iscandir': <function iscandir at
|
1645
|
-
'isplit': <function isplit at
|
1646
|
-
'ivars': <function ivars at
|
1647
|
-
'log': <function log at
|
1648
|
-
'no_indent': <function no_indent at
|
1649
|
-
'oct_to_int': <function oct_to_int at
|
1650
|
-
'password_generator': <function password_generator at
|
1651
|
-
'path_to_module': <function path_to_module at
|
1652
|
-
'pip_freeze_without_version': <function pip_freeze_without_version at
|
1653
|
-
'pip_update_pypipr': <function pip_update_pypipr at
|
1654
|
-
'poetry_publish': <function poetry_publish at
|
1655
|
-
'poetry_shell': <function poetry_shell at
|
1656
|
-
'poetry_update_version': <function poetry_update_version at
|
1657
|
-
'print_dir': <function print_dir at
|
1658
|
-
'print_to_last_line': <function print_to_last_line at
|
1659
|
-
'random_bool': <function random_bool at
|
1660
|
-
'repath': <function repath at
|
1661
|
-
'restart': <function restart at
|
1662
|
-
'set_timeout': <function set_timeout at
|
1663
|
-
'sets_ordered': <function sets_ordered at
|
1664
|
-
'sqlite_backup': <function sqlite_backup at
|
1665
|
-
'sqlite_delete_table': <function sqlite_delete_table at
|
1666
|
-
'sqlite_get_all_tables': <function sqlite_get_all_tables at
|
1667
|
-
'sqlite_get_data_table': <function sqlite_get_data_table at
|
1668
|
-
'str_cmp': <function str_cmp at
|
1669
|
-
'text_colorize': <function text_colorize at
|
1670
|
-
'tiles': <function tiles at
|
1671
|
-
'traceback_filename': <function traceback_filename at
|
1672
|
-
'traceback_framename': <function traceback_framename at
|
1586
|
+
{'function': {'avg': <function avg at 0x7b401f0720>,
|
1587
|
+
'get_filemtime': <function get_filemtime at 0x7b3af6a0c0>,
|
1588
|
+
'print_colorize': <function print_colorize at 0x7b3af6a2a0>,
|
1589
|
+
'print_log': <function print_log at 0x7b3af6a160>,
|
1590
|
+
'console_run': <function console_run at 0x7b3af68720>,
|
1591
|
+
'auto_reload': <function auto_reload at 0x7b3b00fa60>,
|
1592
|
+
'basename': <function basename at 0x7b3af6a340>,
|
1593
|
+
'chr_to_int': <function chr_to_int at 0x7b3af6a8e0>,
|
1594
|
+
'int_to_chr': <function int_to_chr at 0x7b3af6a980>,
|
1595
|
+
'irange': <function irange at 0x7b3af6ae80>,
|
1596
|
+
'batchmaker': <function batchmaker at 0x7b3af6a660>,
|
1597
|
+
'calculate': <function calculate at 0x7b3af6a200>,
|
1598
|
+
'batch_calculate': <function batch_calculate at 0x7b3af6a3e0>,
|
1599
|
+
'bin_to_int': <function bin_to_int at 0x7b3af6a5c0>,
|
1600
|
+
'is_empty': <function is_empty at 0x7b3af6b740>,
|
1601
|
+
'exit_if_empty': <function exit_if_empty at 0x7b3af6b600>,
|
1602
|
+
'input_char': <function input_char at 0x7b3af6b6a0>,
|
1603
|
+
'choices': <function choices at 0x7b3af6b9c0>,
|
1604
|
+
'chunk_array': <function chunk_array at 0x7b3af6ba60>,
|
1605
|
+
'create_folder': <function create_folder at 0x7b3af6bb00>,
|
1606
|
+
'datetime_from_string': <function datetime_from_string at 0x7b3af6bba0>,
|
1607
|
+
'datetime_now': <function datetime_now at 0x7b3af6bc40>,
|
1608
|
+
'dict_first': <function dict_first at 0x7b3af59ee0>,
|
1609
|
+
'dirname': <function dirname at 0x7b3af5a020>,
|
1610
|
+
'django_clear_migrations': <function django_clear_migrations at 0x7b3af5a0c0>,
|
1611
|
+
'django_runserver': <function django_runserver at 0x7b3af5a3e0>,
|
1612
|
+
'is_iterable': <function is_iterable at 0x7b3af5a7a0>,
|
1613
|
+
'to_str': <function to_str at 0x7b3af5a8e0>,
|
1614
|
+
'filter_empty': <function filter_empty at 0x7b3af5a660>,
|
1615
|
+
'get_by_index': <function get_by_index at 0x7b3af5a840>,
|
1616
|
+
'get_class_method': <function get_class_method at 0x7b3af5a980>,
|
1617
|
+
'get_filesize': <function get_filesize at 0x7b3af5aac0>,
|
1618
|
+
'github_init': <function github_init at 0x7b3af5ab60>,
|
1619
|
+
'github_pull': <function github_pull at 0x7b3af5ac00>,
|
1620
|
+
'github_push': <function github_push at 0x7b3af5ad40>,
|
1621
|
+
'github_user': <function github_user at 0x7b3af5ade0>,
|
1622
|
+
'hex_to_int': <function hex_to_int at 0x7b3af5ae80>,
|
1623
|
+
'iargv': <function iargv at 0x7b3af5af20>,
|
1624
|
+
'idir': <function idir at 0x7b3af5afc0>,
|
1625
|
+
'idumps_html': <function idumps_html at 0x7b3ae5ea20>,
|
1626
|
+
'idumps': <function idumps at 0x7b3af5b060>,
|
1627
|
+
'int_to_int': <function int_to_int at 0x7b3ae5ef20>,
|
1628
|
+
'ienumerate': <function ienumerate at 0x7b3ae49260>,
|
1629
|
+
'ienv': <function ienv at 0x7b3ae5ede0>,
|
1630
|
+
'iexec': <function iexec at 0x7b3ae5efc0>,
|
1631
|
+
'iinput': <function iinput at 0x7b3ae5f060>,
|
1632
|
+
'ijoin': <function ijoin at 0x7b3ae5f100>,
|
1633
|
+
'iloads_html': <function iloads_html at 0x7b3ae5f420>,
|
1634
|
+
'iloads': <function iloads at 0x7b40ca5260>,
|
1635
|
+
'int_to_bin': <function int_to_bin at 0x7b3ae5f1a0>,
|
1636
|
+
'int_to_hex': <function int_to_hex at 0x7b3ae5f240>,
|
1637
|
+
'int_to_oct': <function int_to_oct at 0x7b3ae5f4c0>,
|
1638
|
+
'is_valid_url': <function is_valid_url at 0x7b3ae5f740>,
|
1639
|
+
'iopen': <function iopen at 0x7b3ac3f2e0>,
|
1640
|
+
'iprint': <function iprint at 0x7b3ac922a0>,
|
1641
|
+
'is_raw_string': <function is_raw_string at 0x7b3a218c20>,
|
1642
|
+
'ireplace': <function ireplace at 0x7b3a20f100>,
|
1643
|
+
'is_html': <function is_html at 0x7b3a218b80>,
|
1644
|
+
'iscandir': <function iscandir at 0x7b3a218cc0>,
|
1645
|
+
'isplit': <function isplit at 0x7b3a218d60>,
|
1646
|
+
'ivars': <function ivars at 0x7b3a218e00>,
|
1647
|
+
'log': <function log at 0x7b3a218ea0>,
|
1648
|
+
'no_indent': <function no_indent at 0x7b3a218f40>,
|
1649
|
+
'oct_to_int': <function oct_to_int at 0x7b3a218fe0>,
|
1650
|
+
'password_generator': <function password_generator at 0x7b3a219080>,
|
1651
|
+
'path_to_module': <function path_to_module at 0x7b3a219120>,
|
1652
|
+
'pip_freeze_without_version': <function pip_freeze_without_version at 0x7b3a2191c0>,
|
1653
|
+
'pip_update_pypipr': <function pip_update_pypipr at 0x7b3a219260>,
|
1654
|
+
'poetry_publish': <function poetry_publish at 0x7b3a219300>,
|
1655
|
+
'poetry_shell': <function poetry_shell at 0x7b3a2193a0>,
|
1656
|
+
'poetry_update_version': <function poetry_update_version at 0x7b3a2194e0>,
|
1657
|
+
'print_dir': <function print_dir at 0x7b3a219620>,
|
1658
|
+
'print_to_last_line': <function print_to_last_line at 0x7b3a2196c0>,
|
1659
|
+
'random_bool': <function random_bool at 0x7b3a219760>,
|
1660
|
+
'repath': <function repath at 0x7b3a2198a0>,
|
1661
|
+
'restart': <function restart at 0x7b3a219940>,
|
1662
|
+
'set_timeout': <function set_timeout at 0x7b3a2199e0>,
|
1663
|
+
'sets_ordered': <function sets_ordered at 0x7b3a219a80>,
|
1664
|
+
'sqlite_backup': <function sqlite_backup at 0x7b3a219b20>,
|
1665
|
+
'sqlite_delete_table': <function sqlite_delete_table at 0x7b3a219bc0>,
|
1666
|
+
'sqlite_get_all_tables': <function sqlite_get_all_tables at 0x7b3a219c60>,
|
1667
|
+
'sqlite_get_data_table': <function sqlite_get_data_table at 0x7b3a219d00>,
|
1668
|
+
'str_cmp': <function str_cmp at 0x7b3a21a5c0>,
|
1669
|
+
'text_colorize': <function text_colorize at 0x7b3a21a660>,
|
1670
|
+
'tiles': <function tiles at 0x7b3a21a700>,
|
1671
|
+
'traceback_filename': <function traceback_filename at 0x7b3a21a7a0>,
|
1672
|
+
'traceback_framename': <function traceback_framename at 0x7b3a21a840>},
|
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
|
1677
|
+
'PintUreg': <pint.registry.UnitRegistry object at 0x7b3b12f2c0>,
|
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
|
-
|
1772
|
+
WEaH=Zot
|
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__ :
|
1861
|
+
__hash__ : 7761070016147408781
|
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 :
|
1873
|
+
_hash : 7761070016147408781
|
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
|
1907
|
+
iterdir : <generator object Path.iterdir at 0x7b39d48110>
|
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
|
1918
|
+
walk : <generator object Path.walk at 0x7b3a2e74c0>
|
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
|
1998
|
+
<Timer(Thread-2, started 529228643568)>
|
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
|
2016
|
+
<generator object sets_ordered at 0x7b39d4ac20>
|
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())
|
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())
|
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
|
2138
|
+
{'a': <generator object ExampleComparePerformance.a.<locals>.<genexpr> at 0x7b3a084a00>,
|
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':
|
2143
|
-
{'a':
|
2144
|
-
{'a':
|
2145
|
-
{'a':
|
2146
|
-
{'a':
|
2142
|
+
{'a': 189, 'b': 194, 'c': 100, 'd': 171}
|
2143
|
+
{'a': 136, 'b': 167, 'c': 100, 'd': 171}
|
2144
|
+
{'a': 128, 'b': 167, 'c': 99, 'd': 179}
|
2145
|
+
{'a': 100, 'b': 130, 'c': 111, 'd': 161}
|
2146
|
+
{'a': 129, 'b': 168, 'c': 100, 'd': 170}
|
2147
2147
|
```
|
2148
2148
|
|
2149
2149
|
## PintUregQuantity
|