pypipr 1.0.152__tar.gz → 1.0.154__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.152 → pypipr-1.0.154}/PKG-INFO +198 -225
- {pypipr-1.0.152 → pypipr-1.0.154}/pypipr/__init__.py +1 -0
- {pypipr-1.0.152 → pypipr-1.0.154}/pypipr/console_run.py +1 -4
- {pypipr-1.0.152 → pypipr-1.0.154}/pypipr/ireplace.py +6 -1
- pypipr-1.0.154/pypipr/is_raw_string.py +4 -0
- {pypipr-1.0.152 → pypipr-1.0.154}/pyproject.toml +1 -1
- {pypipr-1.0.152 → pypipr-1.0.154}/readme.md +197 -224
- {pypipr-1.0.152 → pypipr-1.0.154}/pypipr/ComparePerformance.py +0 -0
- {pypipr-1.0.152 → pypipr-1.0.154}/pypipr/LINUX.py +0 -0
- {pypipr-1.0.152 → pypipr-1.0.154}/pypipr/PintUreg.py +0 -0
- {pypipr-1.0.152 → pypipr-1.0.154}/pypipr/PintUregQuantity.py +0 -0
- {pypipr-1.0.152 → pypipr-1.0.154}/pypipr/RunParallel.py +0 -0
- {pypipr-1.0.152 → pypipr-1.0.154}/pypipr/TextCase.py +0 -0
- {pypipr-1.0.152 → pypipr-1.0.154}/pypipr/WINDOWS.py +0 -0
- {pypipr-1.0.152 → pypipr-1.0.154}/pypipr/__terminal__.py +0 -0
- {pypipr-1.0.152 → pypipr-1.0.154}/pypipr/auto_reload.py +0 -0
- {pypipr-1.0.152 → pypipr-1.0.154}/pypipr/avg.py +0 -0
- {pypipr-1.0.152 → pypipr-1.0.154}/pypipr/basename.py +0 -0
- {pypipr-1.0.152 → pypipr-1.0.154}/pypipr/batch_calculate.py +0 -0
- {pypipr-1.0.152 → pypipr-1.0.154}/pypipr/batchmaker.py +0 -0
- {pypipr-1.0.152 → pypipr-1.0.154}/pypipr/bin_to_int.py +0 -0
- {pypipr-1.0.152 → pypipr-1.0.154}/pypipr/calculate.py +0 -0
- {pypipr-1.0.152 → pypipr-1.0.154}/pypipr/choices.py +0 -0
- {pypipr-1.0.152 → pypipr-1.0.154}/pypipr/chr_to_int.py +0 -0
- {pypipr-1.0.152 → pypipr-1.0.154}/pypipr/chunk_array.py +0 -0
- {pypipr-1.0.152 → pypipr-1.0.154}/pypipr/create_folder.py +0 -0
- {pypipr-1.0.152 → pypipr-1.0.154}/pypipr/datetime_from_string.py +0 -0
- {pypipr-1.0.152 → pypipr-1.0.154}/pypipr/datetime_now.py +0 -0
- {pypipr-1.0.152 → pypipr-1.0.154}/pypipr/dict_first.py +0 -0
- {pypipr-1.0.152 → pypipr-1.0.154}/pypipr/dirname.py +0 -0
- {pypipr-1.0.152 → pypipr-1.0.154}/pypipr/django_runserver.py +0 -0
- {pypipr-1.0.152 → pypipr-1.0.154}/pypipr/exit_if_empty.py +0 -0
- {pypipr-1.0.152 → pypipr-1.0.154}/pypipr/filter_empty.py +0 -0
- {pypipr-1.0.152 → pypipr-1.0.154}/pypipr/get_by_index.py +0 -0
- {pypipr-1.0.152 → pypipr-1.0.154}/pypipr/get_class_method.py +0 -0
- {pypipr-1.0.152 → pypipr-1.0.154}/pypipr/get_filemtime.py +0 -0
- {pypipr-1.0.152 → pypipr-1.0.154}/pypipr/get_filesize.py +0 -0
- {pypipr-1.0.152 → pypipr-1.0.154}/pypipr/github_init.py +0 -0
- {pypipr-1.0.152 → pypipr-1.0.154}/pypipr/github_pull.py +0 -0
- {pypipr-1.0.152 → pypipr-1.0.154}/pypipr/github_push.py +0 -0
- {pypipr-1.0.152 → pypipr-1.0.154}/pypipr/github_user.py +0 -0
- {pypipr-1.0.152 → pypipr-1.0.154}/pypipr/hex_to_int.py +0 -0
- {pypipr-1.0.152 → pypipr-1.0.154}/pypipr/iargv.py +0 -0
- {pypipr-1.0.152 → pypipr-1.0.154}/pypipr/idir.py +0 -0
- {pypipr-1.0.152 → pypipr-1.0.154}/pypipr/idumps.py +0 -0
- {pypipr-1.0.152 → pypipr-1.0.154}/pypipr/idumps_html.py +0 -0
- {pypipr-1.0.152 → pypipr-1.0.154}/pypipr/ienumerate.py +0 -0
- {pypipr-1.0.152 → pypipr-1.0.154}/pypipr/ienv.py +0 -0
- {pypipr-1.0.152 → pypipr-1.0.154}/pypipr/iexec.py +0 -0
- {pypipr-1.0.152 → pypipr-1.0.154}/pypipr/ijoin.py +0 -0
- {pypipr-1.0.152 → pypipr-1.0.154}/pypipr/iloads.py +0 -0
- {pypipr-1.0.152 → pypipr-1.0.154}/pypipr/iloads_html.py +0 -0
- {pypipr-1.0.152 → pypipr-1.0.154}/pypipr/input_char.py +0 -0
- {pypipr-1.0.152 → pypipr-1.0.154}/pypipr/int_to_bin.py +0 -0
- {pypipr-1.0.152 → pypipr-1.0.154}/pypipr/int_to_chr.py +0 -0
- {pypipr-1.0.152 → pypipr-1.0.154}/pypipr/int_to_hex.py +0 -0
- {pypipr-1.0.152 → pypipr-1.0.154}/pypipr/int_to_int.py +0 -0
- {pypipr-1.0.152 → pypipr-1.0.154}/pypipr/int_to_oct.py +0 -0
- {pypipr-1.0.152 → pypipr-1.0.154}/pypipr/iopen.py +0 -0
- {pypipr-1.0.152 → pypipr-1.0.154}/pypipr/iprint.py +0 -0
- {pypipr-1.0.152 → pypipr-1.0.154}/pypipr/irange.py +0 -0
- {pypipr-1.0.152 → pypipr-1.0.154}/pypipr/is_empty.py +0 -0
- {pypipr-1.0.152 → pypipr-1.0.154}/pypipr/is_iterable.py +0 -0
- {pypipr-1.0.152 → pypipr-1.0.154}/pypipr/is_valid_url.py +0 -0
- {pypipr-1.0.152 → pypipr-1.0.154}/pypipr/iscandir.py +0 -0
- {pypipr-1.0.152 → pypipr-1.0.154}/pypipr/isplit.py +0 -0
- {pypipr-1.0.152 → pypipr-1.0.154}/pypipr/ivars.py +0 -0
- {pypipr-1.0.152 → pypipr-1.0.154}/pypipr/log.py +0 -0
- {pypipr-1.0.152 → pypipr-1.0.154}/pypipr/oct_to_int.py +0 -0
- {pypipr-1.0.152 → pypipr-1.0.154}/pypipr/password_generator.py +0 -0
- {pypipr-1.0.152 → pypipr-1.0.154}/pypipr/pip_freeze_without_version.py +0 -0
- {pypipr-1.0.152 → pypipr-1.0.154}/pypipr/pip_update_pypipr.py +0 -0
- {pypipr-1.0.152 → pypipr-1.0.154}/pypipr/poetry_publish.py +0 -0
- {pypipr-1.0.152 → pypipr-1.0.154}/pypipr/poetry_update_version.py +0 -0
- {pypipr-1.0.152 → pypipr-1.0.154}/pypipr/print_colorize.py +0 -0
- {pypipr-1.0.152 → pypipr-1.0.154}/pypipr/print_dir.py +0 -0
- {pypipr-1.0.152 → pypipr-1.0.154}/pypipr/print_log.py +0 -0
- {pypipr-1.0.152 → pypipr-1.0.154}/pypipr/print_to_last_line.py +0 -0
- {pypipr-1.0.152 → pypipr-1.0.154}/pypipr/random_bool.py +0 -0
- {pypipr-1.0.152 → pypipr-1.0.154}/pypipr/repath.py +0 -0
- {pypipr-1.0.152 → pypipr-1.0.154}/pypipr/restart.py +0 -0
- {pypipr-1.0.152 → pypipr-1.0.154}/pypipr/set_timeout.py +0 -0
- {pypipr-1.0.152 → pypipr-1.0.154}/pypipr/sets_ordered.py +0 -0
- {pypipr-1.0.152 → pypipr-1.0.154}/pypipr/sqlite_delete_table.py +0 -0
- {pypipr-1.0.152 → pypipr-1.0.154}/pypipr/sqlite_get_all_tables.py +0 -0
- {pypipr-1.0.152 → pypipr-1.0.154}/pypipr/sqlite_get_data_table.py +0 -0
- {pypipr-1.0.152 → pypipr-1.0.154}/pypipr/str_cmp.py +0 -0
- {pypipr-1.0.152 → pypipr-1.0.154}/pypipr/text_colorize.py +0 -0
- {pypipr-1.0.152 → pypipr-1.0.154}/pypipr/to_str.py +0 -0
- {pypipr-1.0.152 → pypipr-1.0.154}/pypipr/traceback_filename.py +0 -0
- {pypipr-1.0.152 → pypipr-1.0.154}/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.154
|
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 0x73f2e7ac40>
|
252
|
+
<generator object int_range at 0x73f2e7ac40>
|
253
253
|
[13, 12, 11, 10, 9, 8, 7, 6]
|
254
254
|
[2, 5, 8]
|
255
255
|
[2, 5, 8]
|
@@ -281,7 +281,7 @@ print(list(batchmaker(s)))
|
|
281
281
|
|
282
282
|
Output:
|
283
283
|
```py
|
284
|
-
<generator object batchmaker at
|
284
|
+
<generator object batchmaker at 0x73f2ddad40>
|
285
285
|
['Urutan 1 dan 10 dan j dan Z saja.', 'Urutan 1 dan 10 dan j dan K saja.', 'Urutan 4 dan 10 dan j dan Z saja.', 'Urutan 4 dan 10 dan j dan K saja.']
|
286
286
|
```
|
287
287
|
|
@@ -335,7 +335,7 @@ print(list(batch_calculate("{1 10} m ** {1 3}")))
|
|
335
335
|
|
336
336
|
Output:
|
337
337
|
```py
|
338
|
-
<generator object batch_calculate at
|
338
|
+
<generator object batch_calculate at 0x73f2b707c0>
|
339
339
|
[('1 m ** 1', <Quantity(1, 'meter')>), ('1 m ** 2', <Quantity(1, 'meter ** 2')>), ('2 m ** 1', <Quantity(2, 'meter')>), ('2 m ** 2', <Quantity(2, 'meter ** 2')>), ('3 m ** 1', <Quantity(3, 'meter')>), ('3 m ** 2', <Quantity(3, 'meter ** 2')>), ('4 m ** 1', <Quantity(4, 'meter')>), ('4 m ** 2', <Quantity(4, 'meter ** 2')>), ('5 m ** 1', <Quantity(5, 'meter')>), ('5 m ** 2', <Quantity(5, 'meter ** 2')>), ('6 m ** 1', <Quantity(6, 'meter')>), ('6 m ** 2', <Quantity(6, 'meter ** 2')>), ('7 m ** 1', <Quantity(7, 'meter')>), ('7 m ** 2', <Quantity(7, 'meter ** 2')>), ('8 m ** 1', <Quantity(8, 'meter')>), ('8 m ** 2', <Quantity(8, 'meter ** 2')>), ('9 m ** 1', <Quantity(9, 'meter')>), ('9 m ** 2', <Quantity(9, 'meter ** 2')>)]
|
340
340
|
```
|
341
341
|
|
@@ -441,7 +441,7 @@ print(list(chunk_array(arr, 5)))
|
|
441
441
|
|
442
442
|
Output:
|
443
443
|
```py
|
444
|
-
<generator object chunk_array at
|
444
|
+
<generator object chunk_array at 0x73f2e7ad40>
|
445
445
|
[[2, 3, 12, 3, 3], [42, 42, 1, 43, 2], [42, 41, 4, 24, 32], [42, 3, 12, 32, 42], [42]]
|
446
446
|
```
|
447
447
|
|
@@ -492,9 +492,9 @@ print(datetime_now("Etc/GMT+7"))
|
|
492
492
|
|
493
493
|
Output:
|
494
494
|
```py
|
495
|
-
2024-08-
|
496
|
-
2024-08-10
|
497
|
-
2024-08-
|
495
|
+
2024-08-12 17:42:26.339190+07:00
|
496
|
+
2024-08-12 10:42:26.339998+00:00
|
497
|
+
2024-08-12 03:42:26.343401-07:00
|
498
498
|
```
|
499
499
|
|
500
500
|
## dict_first
|
@@ -604,7 +604,7 @@ iprint(filter_empty(var))
|
|
604
604
|
|
605
605
|
Output:
|
606
606
|
```py
|
607
|
-
<generator object filter_empty at
|
607
|
+
<generator object filter_empty at 0x73f2b704f0>
|
608
608
|
[1, '0', True, {}, ['eee']]
|
609
609
|
```
|
610
610
|
|
@@ -651,8 +651,8 @@ print(list(get_class_method(ExampleGetClassMethod)))
|
|
651
651
|
|
652
652
|
Output:
|
653
653
|
```py
|
654
|
-
<generator object get_class_method at
|
655
|
-
[<function ExampleGetClassMethod.a at
|
654
|
+
<generator object get_class_method at 0x73f2b70a90>
|
655
|
+
[<function ExampleGetClassMethod.a at 0x73f2b8a840>, <function ExampleGetClassMethod.b at 0x73f2b8a8e0>, <function ExampleGetClassMethod.c at 0x73f2b8aa20>, <function ExampleGetClassMethod.d at 0x73f2b8aac0>]
|
656
656
|
```
|
657
657
|
|
658
658
|
## get_filesize
|
@@ -829,6 +829,7 @@ Output:
|
|
829
829
|
'ireplace',
|
830
830
|
'is_empty',
|
831
831
|
'is_iterable',
|
832
|
+
'is_raw_string',
|
832
833
|
'is_valid_url',
|
833
834
|
'iscandir',
|
834
835
|
'isplit',
|
@@ -1072,7 +1073,7 @@ Output:
|
|
1072
1073
|
|
1073
1074
|
## ienumerate
|
1074
1075
|
|
1075
|
-
`ienumerate(iterator, start=0, key=<function int_to_int at
|
1076
|
+
`ienumerate(iterator, start=0, key=<function int_to_int at 0x73f44feb60>)`
|
1076
1077
|
|
1077
1078
|
meningkatkan fungsi enumerate() pada python
|
1078
1079
|
untuk key menggunakan huruf dan basis angka lainnya.
|
@@ -1085,7 +1086,7 @@ iprint(ienumerate(it, key=int_to_chr))
|
|
1085
1086
|
|
1086
1087
|
Output:
|
1087
1088
|
```py
|
1088
|
-
<generator object ienumerate at
|
1089
|
+
<generator object ienumerate at 0x73f2b70b80>
|
1089
1090
|
[('a', 'ini'), ('b', 'contoh'), ('c', 'enumerator')]
|
1090
1091
|
```
|
1091
1092
|
|
@@ -1197,111 +1198,78 @@ pprint.pprint(iloads_html(iopen("https://harga-emas.org/1-gram/")), depth=10)
|
|
1197
1198
|
Output:
|
1198
1199
|
```py
|
1199
1200
|
(['Home', 'Emas 1 Gram', 'History', 'Trend', 'Perak 1 Gram', 'Pluang'],
|
1200
|
-
[['Harga Emas Hari Ini -
|
1201
|
-
['Spot Emas USD
|
1202
|
-
'Kurs
|
1203
|
-
'Emas IDR
|
1204
|
-
['LM Antam (Jual)
|
1205
|
-
'LM Antam (Beli)↓1.253.000 (-6.000) / gr']],
|
1201
|
+
[['Harga Emas Hari Ini - Senin, 12 Agustus 2024'],
|
1202
|
+
['Spot Emas USD↑2.444,18 (+13,08) / oz',
|
1203
|
+
'Kurs IDR↓15.914,00 (-38,00) / USD',
|
1204
|
+
'Emas IDR↑1.250.557 (+3.722) / gr'],
|
1205
|
+
['LM Antam (Jual)1.401.000 / gr', 'LM Antam (Beli)1.253.000 / gr']],
|
1206
1206
|
[['Harga Emas Hari Ini'],
|
1207
1207
|
['Gram', 'Gedung Antam Jakarta', 'Pegadaian'],
|
1208
1208
|
['per Gram (Rp)', 'per Batangan (Rp)', 'per Gram (Rp)', 'per Batangan (Rp)'],
|
1209
1209
|
['1000',
|
1210
|
-
'1.342
|
1211
|
-
'1.341.600
|
1210
|
+
'1.342',
|
1211
|
+
'1.341.600',
|
1212
1212
|
'1.043.040 (+8.200)',
|
1213
1213
|
'1.043.040.000 (+8.200.000)'],
|
1214
1214
|
['500',
|
1215
|
-
'2.683
|
1216
|
-
'1.341.640
|
1215
|
+
'2.683',
|
1216
|
+
'1.341.640',
|
1217
1217
|
'1.043.082 (+8.200)',
|
1218
1218
|
'521.541.000 (+4.100.000)'],
|
1219
1219
|
['250',
|
1220
|
-
'5.368
|
1221
|
-
'1.342.060
|
1220
|
+
'5.368',
|
1221
|
+
'1.342.060',
|
1222
1222
|
'1.043.512 (+8.200)',
|
1223
1223
|
'260.878.000 (+2.050.000)'],
|
1224
1224
|
['100',
|
1225
|
-
'13.431
|
1226
|
-
'1.343.120
|
1225
|
+
'13.431',
|
1226
|
+
'1.343.120',
|
1227
1227
|
'1.044.600 (+8.200)',
|
1228
1228
|
'104.460.000 (+820.000)'],
|
1229
|
-
['50',
|
1230
|
-
|
1231
|
-
|
1232
|
-
|
1233
|
-
|
1234
|
-
['
|
1235
|
-
|
1236
|
-
|
1237
|
-
|
1238
|
-
'
|
1239
|
-
['10',
|
1240
|
-
'135.050 (-800)',
|
1241
|
-
'1.350.500 (-8.000)',
|
1242
|
-
'1.052.200 (+8.200)',
|
1243
|
-
'10.522.000 (+82.000)'],
|
1244
|
-
['5',
|
1245
|
-
'271.200 (-1.600)',
|
1246
|
-
'1.356.000 (-8.000)',
|
1247
|
-
'1.057.800 (+8.200)',
|
1248
|
-
'5.289.000 (+41.000)'],
|
1249
|
-
['3',
|
1250
|
-
'454.222 (-2.667)',
|
1251
|
-
'1.362.667 (-8.000)',
|
1252
|
-
'1.064.667 (+8.000)',
|
1253
|
-
'3.194.000 (+24.000)'],
|
1254
|
-
['2',
|
1255
|
-
'685.500 (-4.000)',
|
1256
|
-
'1.371.000 (-8.000)',
|
1257
|
-
'1.073.500 (+8.500)',
|
1258
|
-
'2.147.000 (+17.000)'],
|
1259
|
-
['1',
|
1260
|
-
'1.401.000 (-8.000)',
|
1261
|
-
'1.401.000 (-8.000)',
|
1262
|
-
'1.104.000 (+8.000)',
|
1263
|
-
'1.104.000 (+8.000)'],
|
1264
|
-
['0.5',
|
1265
|
-
'3.002.000 (-16.000)',
|
1266
|
-
'1.501.000 (-8.000)',
|
1267
|
-
'1.208.000 (+8.000)',
|
1268
|
-
'604.000 (+4.000)'],
|
1269
|
-
['Update harga LM Antam :10 Agustus 2024, pukul 08:31Harga pembelian kembali '
|
1270
|
-
':Rp. 1.253.000/gram (-6.000)',
|
1229
|
+
['50', '26.878', '1.343.900', '1.045.400 (+8.200)', '52.270.000 (+410.000)'],
|
1230
|
+
['25', '53.819', '1.345.480', '1.047.040 (+8.200)', '26.176.000 (+205.000)'],
|
1231
|
+
['10', '135.050', '1.350.500', '1.052.200 (+8.200)', '10.522.000 (+82.000)'],
|
1232
|
+
['5', '271.200', '1.356.000', '1.057.800 (+8.200)', '5.289.000 (+41.000)'],
|
1233
|
+
['3', '454.222', '1.362.667', '1.064.667 (+8.000)', '3.194.000 (+24.000)'],
|
1234
|
+
['2', '685.500', '1.371.000', '1.073.500 (+8.500)', '2.147.000 (+17.000)'],
|
1235
|
+
['1', '1.401.000', '1.401.000', '1.104.000 (+8.000)', '1.104.000 (+8.000)'],
|
1236
|
+
['0.5', '3.002.000', '1.501.000', '1.208.000 (+8.000)', '604.000 (+4.000)'],
|
1237
|
+
['Update harga LM Antam :12 Agustus 2024, pukul 07:56Harga pembelian kembali '
|
1238
|
+
':Rp. 1.253.000/gram',
|
1271
1239
|
'Update harga LM Pegadaian :31 Agustus 2023']],
|
1272
|
-
[['Spot Harga Emas Hari Ini (Market
|
1240
|
+
[['Spot Harga Emas Hari Ini (Market Open)'],
|
1273
1241
|
['Satuan', 'USD', 'Kurs\xa0Dollar', 'IDR'],
|
1274
|
-
['Ounce\xa0(oz)', '2.
|
1275
|
-
['Gram\xa0(gr)', '78,
|
1276
|
-
['Kilogram\xa0(kg)', '78.
|
1277
|
-
['Update harga emas :
|
1242
|
+
['Ounce\xa0(oz)', '2.444,18 (+13,08)', '15.914,00 (-38,00)', '38.896.681'],
|
1243
|
+
['Gram\xa0(gr)', '78,58', '15.914,00', '1.250.557 (+3.722)'],
|
1244
|
+
['Kilogram\xa0(kg)', '78.582,21', '15.914,00', '1.250.557.319'],
|
1245
|
+
['Update harga emas :12 Agustus 2024, pukul 17:42Update kurs :12 Agustus '
|
1278
1246
|
'2024, pukul 13:10']],
|
1279
1247
|
[['Gram', 'UBS Gold 99.99%'],
|
1280
1248
|
['Jual', 'Beli'],
|
1281
1249
|
['/ Batang', '/ Gram', '/ Batang', '/ Gram'],
|
1282
1250
|
['100',
|
1283
|
-
'135.800.000
|
1284
|
-
'1.358.000
|
1285
|
-
'128.
|
1286
|
-
'1.
|
1251
|
+
'135.800.000',
|
1252
|
+
'1.358.000',
|
1253
|
+
'128.998.000 (+400.000)',
|
1254
|
+
'1.289.980 (+4.000)'],
|
1287
1255
|
['50',
|
1288
|
-
'68.150.000
|
1289
|
-
'1.363.000
|
1290
|
-
'64.
|
1291
|
-
'1.
|
1256
|
+
'68.150.000',
|
1257
|
+
'1.363.000',
|
1258
|
+
'64.549.000 (+200.000)',
|
1259
|
+
'1.290.980 (+4.000)'],
|
1292
1260
|
['25',
|
1293
|
-
'34.100.000
|
1294
|
-
'1.364.000
|
1295
|
-
'32.
|
1296
|
-
'1.
|
1261
|
+
'34.100.000',
|
1262
|
+
'1.364.000',
|
1263
|
+
'32.373.500 (+100.000)',
|
1264
|
+
'1.294.940 (+4.000)'],
|
1297
1265
|
['10',
|
1298
|
-
'13.720.000
|
1299
|
-
'1.372.000
|
1300
|
-
'
|
1301
|
-
'1.
|
1302
|
-
['5', '6.885.000
|
1303
|
-
['1', '1.411.000
|
1304
|
-
['', 'Update :
|
1266
|
+
'13.720.000',
|
1267
|
+
'1.372.000',
|
1268
|
+
'13.008.000 (+40.000)',
|
1269
|
+
'1.300.800 (+4.000)'],
|
1270
|
+
['5', '6.885.000', '1.377.000', '6.559.000 (+20.000)', '1.311.800 (+4.000)'],
|
1271
|
+
['1', '1.411.000', '1.411.000', '1.343.000 (+4.000)', '1.343.000 (+4.000)'],
|
1272
|
+
['', 'Update :12 Agustus 2024, pukul 13:38']],
|
1305
1273
|
[['Konversi Satuan'],
|
1306
1274
|
['Satuan', 'Ounce (oz)', 'Gram (gr)', 'Kilogram (kg)'],
|
1307
1275
|
['Ounce\xa0(oz)', '1', '31,1034767696', '0,0311034768'],
|
@@ -1311,37 +1279,37 @@ Output:
|
|
1311
1279
|
['Waktu', 'Emas'],
|
1312
1280
|
['Unit', 'USD', 'IDR'],
|
1313
1281
|
['Angka', '+/-', 'Angka', '+/-'],
|
1314
|
-
['Hari Ini', 'Kurs', '', '', '15.952', '%'],
|
1315
|
-
['oz', '2.
|
1316
|
-
['gr', '78,
|
1317
|
-
['30 Hari', 'Kurs', '', '', '16.
|
1318
|
-
['oz', '2.
|
1319
|
-
['gr', '77,
|
1320
|
-
['2 Bulan', 'Kurs', '', '', '16.
|
1321
|
-
['oz', '2.
|
1322
|
-
['gr', '
|
1323
|
-
['6 Bulan', 'Kurs', '', '', '15.
|
1324
|
-
['oz', '
|
1325
|
-
['gr', '64,
|
1326
|
-
['1 Tahun', 'Kurs', '', '', '15.731', '+
|
1327
|
-
['oz', '1.823,86', '+
|
1328
|
-
['gr', '58,64', '+19,
|
1329
|
-
['2 Tahun', 'Kurs', '', '', '14.
|
1330
|
-
['oz', '1.
|
1331
|
-
['gr', '57,
|
1332
|
-
['3 Tahun', 'Kurs', '', '', '14.
|
1333
|
-
['oz', '1.
|
1334
|
-
['gr', '
|
1335
|
-
['5 Tahun', 'Kurs', '', '', '14.
|
1336
|
-
['oz', '1.
|
1337
|
-
['gr', '48,
|
1282
|
+
['Hari Ini', 'Kurs', '', '', '15.952', '-38-0,24%'],
|
1283
|
+
['oz', '2.431,10', '+13,08+0,54%', '38.780.907', '+115.773+0,30%'],
|
1284
|
+
['gr', '78,16', '+0,42+0,54%', '1.246.835', '+3.722+0,30%'],
|
1285
|
+
['30 Hari', 'Kurs', '', '', '16.200', '-286-1,77%'],
|
1286
|
+
['oz', '2.411,67', '+32,51+1,35%', '39.069.054', '-172.373-0,44%'],
|
1287
|
+
['gr', '77,54', '+1,05+1,35%', '1.256.099', '-5.542-0,44%'],
|
1288
|
+
['2 Bulan', 'Kurs', '', '', '16.297', '-383-2,35%'],
|
1289
|
+
['oz', '2.299,22', '+144,96+6,30%', '37.470.388', '+1.426.292+3,81%'],
|
1290
|
+
['gr', '73,92', '+4,66+6,30', '1.204.701', '+45.856+3,81%'],
|
1291
|
+
['6 Bulan', 'Kurs', '', '', '15.612', '+302+1,93%'],
|
1292
|
+
['oz', '1.992,82', '+451,36+22,65%', '31.111.906', '+7.784.775+25,02%'],
|
1293
|
+
['gr', '64,07', '+14,51+22,65%', '1.000.271', '+250.286+25,02%'],
|
1294
|
+
['1 Tahun', 'Kurs', '', '', '15.731', '+183+1,16%'],
|
1295
|
+
['oz', '1.823,86', '+620,32+34,01%', '28.691.142', '+10.205.539+35,57%'],
|
1296
|
+
['gr', '58,64', '+19,94+34,01%', '922.442', '+328.116+35,57%'],
|
1297
|
+
['2 Tahun', 'Kurs', '', '', '14.799', '+1.115+7,53%'],
|
1298
|
+
['oz', '1.801,89', '+642,29+35,65%', '26.666.170', '+12.230.510+45,87%'],
|
1299
|
+
['gr', '57,93', '+20,65+35,65%', '857.337', '+393.220+45,87%'],
|
1300
|
+
['3 Tahun', 'Kurs', '', '', '14.389', '+1.525+10,60%'],
|
1301
|
+
['oz', '1.776,74', '+667,44+37,57%', '25.565.530', '+13.331.151+52,15%'],
|
1302
|
+
['gr', '57,12', '+21,46+37,57%', '821.951', '+428.606+52,15%'],
|
1303
|
+
['5 Tahun', 'Kurs', '', '', '14.234', '+1.680+11,80%'],
|
1304
|
+
['oz', '1.522,41', '+921,77+60,55%', '21.669.984', '+17.226.697+79,50%'],
|
1305
|
+
['gr', '48,95', '+29,64+60,55%', '696.706', '+553.851+79,50%']])
|
1338
1306
|
(['Home', 'Emas 1 Gram', 'History', 'Trend', 'Perak 1 Gram', 'Pluang'],
|
1339
1307
|
[[''],
|
1340
1308
|
['Emas 24 KaratHarga Emas 1 Gram', ''],
|
1341
|
-
['USD', '78,
|
1342
|
-
['KURS', '15.
|
1343
|
-
['IDR', '1.
|
1344
|
-
['
|
1309
|
+
['USD', '78,58↑', '+0,42+0,54%'],
|
1310
|
+
['KURS', '15.965,35↑', '+15,45+0,10%'],
|
1311
|
+
['IDR', '1.254.592,52↑', '+7.921,54+0,64%'],
|
1312
|
+
['Senin, 12 Agustus 2024 17:42']],
|
1345
1313
|
[[''],
|
1346
1314
|
['Emas 1 Gram (IDR)Emas 1 Gram (USD)Kurs USD-IDR',
|
1347
1315
|
'Hari Ini',
|
@@ -1352,19 +1320,19 @@ Output:
|
|
1352
1320
|
'']],
|
1353
1321
|
[['Pergerakkan Harga Emas 1 Gram'],
|
1354
1322
|
['', 'Penutupan Kemarin', 'Pergerakkan Hari Ini', 'Rata-rata'],
|
1355
|
-
['USD', '78,
|
1356
|
-
['KURS', '15.
|
1357
|
-
['IDR', '1.
|
1323
|
+
['USD', '78,16', '78,16 - 78,58', '78,37'],
|
1324
|
+
['KURS', '15.949,90', '15.949,90 - 15.965,35', '15.957,63'],
|
1325
|
+
['IDR', '1.246.670,98', '1.246.670,98 - 1.254.592,52', '1.250.631,75'],
|
1358
1326
|
[''],
|
1359
1327
|
['', 'Awal Tahun', 'Pergerakkan YTD', '+/- YTD'],
|
1360
|
-
['USD', '66,32', '64,07 - 79,08', '+
|
1361
|
-
['KURS', '15.390,10', '15.390,00 - 16.509,65', '+
|
1362
|
-
['IDR', '1.020.729,53', '997.660,12 - 1.279.266,69', '+
|
1328
|
+
['USD', '66,32', '64,07 - 79,08', '+12,26 (18,49%)'],
|
1329
|
+
['KURS', '15.390,10', '15.390,00 - 16.509,65', '+575,25 (3,74%)'],
|
1330
|
+
['IDR', '1.020.729,53', '997.660,12 - 1.279.266,69', '+233.862,99 (22,91%)'],
|
1363
1331
|
[''],
|
1364
1332
|
['', 'Tahun Lalu / 52 Minggu', 'Pergerakkan 52 Minggu', '+/- 52 Minggu'],
|
1365
|
-
['USD', '61,
|
1366
|
-
['KURS', '15.
|
1367
|
-
['IDR', '
|
1333
|
+
['USD', '61,55', '58,43 - 79,08', '+17,03 (27,67%)'],
|
1334
|
+
['KURS', '15.312,55', '15.203,25 - 16.509,65', '+652,80 (4,26%)'],
|
1335
|
+
['IDR', '942.483,02', '912.925,68 - 1.279.266,69', '+312.109,50 (33,12%)']])
|
1368
1336
|
```
|
1369
1337
|
|
1370
1338
|
## iloads
|
@@ -1494,7 +1462,7 @@ Output:
|
|
1494
1462
|
```py
|
1495
1463
|
8
|
1496
1464
|
['mana', 'aja']
|
1497
|
-
[<Element a at
|
1465
|
+
[<Element a at 0x73f2b93a70>, <Element a at 0x73f2be5d60>, <Element a at 0x73f2be5e00>, <Element a at 0x73f2be5e50>, <Element a at 0x73f2be5ea0>, <Element a at 0x73f2be5ef0>, <Element a at 0x73f2be5f40>, <Element a at 0x73f2be5f90>, <Element a at 0x73f2be5fe0>, <Element a at 0x73f2be6030>, <Element a at 0x73f2be6080>, <Element a at 0x73f2be60d0>, <Element a at 0x73f2be6120>, <Element a at 0x73f2be6170>, <Element a at 0x73f2be61c0>, <Element a at 0x73f2be6210>, <Element a at 0x73f2be6260>, <Element a at 0x73f2be62b0>]
|
1498
1466
|
False
|
1499
1467
|
```
|
1500
1468
|
|
@@ -1519,6 +1487,10 @@ Output:
|
|
1519
1487
|
[34m[1myang ini[0m [34m[1m{'12': 12, 'sdsd': {'12': 21, 'as': [88]}}[0m
|
1520
1488
|
```
|
1521
1489
|
|
1490
|
+
## is_raw_string
|
1491
|
+
|
1492
|
+
`is_raw_string(s)`
|
1493
|
+
|
1522
1494
|
## ireplace
|
1523
1495
|
|
1524
1496
|
`ireplace(string: str, replacements: dict, flags=re.IGNORECASE|re.MULTILINE|re.DOTALL)`
|
@@ -1556,7 +1528,7 @@ print(list(iscandir("./", recursive=False, scan_file=False)))
|
|
1556
1528
|
|
1557
1529
|
Output:
|
1558
1530
|
```py
|
1559
|
-
<generator object iscandir at
|
1531
|
+
<generator object iscandir at 0x73f2e7b140>
|
1560
1532
|
[PosixPath('.git'), PosixPath('.vscode'), PosixPath('pypipr'), PosixPath('__pycache__'), PosixPath('dist')]
|
1561
1533
|
```
|
1562
1534
|
|
@@ -1589,90 +1561,91 @@ iprint(ivars(__import__('pypipr')))
|
|
1589
1561
|
|
1590
1562
|
Output:
|
1591
1563
|
```py
|
1592
|
-
{'function': {'avg': <function avg at
|
1593
|
-
'get_filemtime': <function get_filemtime at
|
1594
|
-
'print_colorize': <function print_colorize at
|
1595
|
-
'print_log': <function print_log at
|
1596
|
-
'console_run': <function console_run at
|
1597
|
-
'auto_reload': <function auto_reload at
|
1598
|
-
'basename': <function basename at
|
1599
|
-
'chr_to_int': <function chr_to_int at
|
1600
|
-
'int_to_chr': <function int_to_chr at
|
1601
|
-
'irange': <function irange at
|
1602
|
-
'batchmaker': <function batchmaker at
|
1603
|
-
'calculate': <function calculate at
|
1604
|
-
'batch_calculate': <function batch_calculate at
|
1605
|
-
'bin_to_int': <function bin_to_int at
|
1606
|
-
'is_empty': <function is_empty at
|
1607
|
-
'exit_if_empty': <function exit_if_empty at
|
1608
|
-
'input_char': <function input_char at
|
1609
|
-
'choices': <function choices at
|
1610
|
-
'chunk_array': <function chunk_array at
|
1611
|
-
'create_folder': <function create_folder at
|
1612
|
-
'datetime_from_string': <function datetime_from_string at
|
1613
|
-
'datetime_now': <function datetime_now at
|
1614
|
-
'dict_first': <function dict_first at
|
1615
|
-
'dirname': <function dirname at
|
1616
|
-
'django_runserver': <function django_runserver at
|
1617
|
-
'is_iterable': <function is_iterable at
|
1618
|
-
'to_str': <function to_str at
|
1619
|
-
'filter_empty': <function filter_empty at
|
1620
|
-
'get_by_index': <function get_by_index at
|
1621
|
-
'get_class_method': <function get_class_method at
|
1622
|
-
'get_filesize': <function get_filesize at
|
1623
|
-
'github_init': <function github_init at
|
1624
|
-
'github_pull': <function github_pull at
|
1625
|
-
'github_push': <function github_push at
|
1626
|
-
'github_user': <function github_user at
|
1627
|
-
'hex_to_int': <function hex_to_int at
|
1628
|
-
'iargv': <function iargv at
|
1629
|
-
'idir': <function idir at
|
1630
|
-
'idumps_html': <function idumps_html at
|
1631
|
-
'idumps': <function idumps at
|
1632
|
-
'int_to_int': <function int_to_int at
|
1633
|
-
'ienumerate': <function ienumerate at
|
1634
|
-
'ienv': <function ienv at
|
1635
|
-
'iexec': <function iexec at
|
1636
|
-
'ijoin': <function ijoin at
|
1637
|
-
'iloads_html': <function iloads_html at
|
1638
|
-
'iloads': <function iloads at
|
1639
|
-
'int_to_bin': <function int_to_bin at
|
1640
|
-
'int_to_hex': <function int_to_hex at
|
1641
|
-
'int_to_oct': <function int_to_oct at
|
1642
|
-
'is_valid_url': <function is_valid_url at
|
1643
|
-
'iopen': <function iopen at
|
1644
|
-
'iprint': <function iprint at
|
1645
|
-
'
|
1646
|
-
'
|
1647
|
-
'
|
1648
|
-
'
|
1649
|
-
'
|
1650
|
-
'
|
1651
|
-
'
|
1652
|
-
'
|
1653
|
-
'
|
1654
|
-
'
|
1655
|
-
'
|
1656
|
-
'
|
1657
|
-
'
|
1658
|
-
'
|
1659
|
-
'
|
1660
|
-
'
|
1661
|
-
'
|
1662
|
-
'
|
1663
|
-
'
|
1664
|
-
'
|
1665
|
-
'
|
1666
|
-
'
|
1667
|
-
'
|
1668
|
-
'
|
1669
|
-
'
|
1564
|
+
{'function': {'avg': <function avg at 0x73f99e0040>,
|
1565
|
+
'get_filemtime': <function get_filemtime at 0x73f4445d00>,
|
1566
|
+
'print_colorize': <function print_colorize at 0x73f4445ee0>,
|
1567
|
+
'print_log': <function print_log at 0x73f4445da0>,
|
1568
|
+
'console_run': <function console_run at 0x73f4445e40>,
|
1569
|
+
'auto_reload': <function auto_reload at 0x73f4445620>,
|
1570
|
+
'basename': <function basename at 0x73f4445c60>,
|
1571
|
+
'chr_to_int': <function chr_to_int at 0x73f4446480>,
|
1572
|
+
'int_to_chr': <function int_to_chr at 0x73f4446520>,
|
1573
|
+
'irange': <function irange at 0x73f44467a0>,
|
1574
|
+
'batchmaker': <function batchmaker at 0x73f4446160>,
|
1575
|
+
'calculate': <function calculate at 0x73f44462a0>,
|
1576
|
+
'batch_calculate': <function batch_calculate at 0x73f4446020>,
|
1577
|
+
'bin_to_int': <function bin_to_int at 0x73f44460c0>,
|
1578
|
+
'is_empty': <function is_empty at 0x73f4446f20>,
|
1579
|
+
'exit_if_empty': <function exit_if_empty at 0x73f4446de0>,
|
1580
|
+
'input_char': <function input_char at 0x73f44463e0>,
|
1581
|
+
'choices': <function choices at 0x73f44471a0>,
|
1582
|
+
'chunk_array': <function chunk_array at 0x73f4447240>,
|
1583
|
+
'create_folder': <function create_folder at 0x73f4447380>,
|
1584
|
+
'datetime_from_string': <function datetime_from_string at 0x73f4447420>,
|
1585
|
+
'datetime_now': <function datetime_now at 0x73f44474c0>,
|
1586
|
+
'dict_first': <function dict_first at 0x73f44696c0>,
|
1587
|
+
'dirname': <function dirname at 0x73f4469760>,
|
1588
|
+
'django_runserver': <function django_runserver at 0x73f4469a80>,
|
1589
|
+
'is_iterable': <function is_iterable at 0x73f4469e40>,
|
1590
|
+
'to_str': <function to_str at 0x73f4469ee0>,
|
1591
|
+
'filter_empty': <function filter_empty at 0x73f4469d00>,
|
1592
|
+
'get_by_index': <function get_by_index at 0x73f4469da0>,
|
1593
|
+
'get_class_method': <function get_class_method at 0x73f4469f80>,
|
1594
|
+
'get_filesize': <function get_filesize at 0x73f446a0c0>,
|
1595
|
+
'github_init': <function github_init at 0x73f446a160>,
|
1596
|
+
'github_pull': <function github_pull at 0x73f446a200>,
|
1597
|
+
'github_push': <function github_push at 0x73f446a340>,
|
1598
|
+
'github_user': <function github_user at 0x73f446a3e0>,
|
1599
|
+
'hex_to_int': <function hex_to_int at 0x73f446a480>,
|
1600
|
+
'iargv': <function iargv at 0x73f446a520>,
|
1601
|
+
'idir': <function idir at 0x73f446a5c0>,
|
1602
|
+
'idumps_html': <function idumps_html at 0x73f446aca0>,
|
1603
|
+
'idumps': <function idumps at 0x73f446a700>,
|
1604
|
+
'int_to_int': <function int_to_int at 0x73f44feb60>,
|
1605
|
+
'ienumerate': <function ienumerate at 0x73f446ac00>,
|
1606
|
+
'ienv': <function ienv at 0x73f44ed080>,
|
1607
|
+
'iexec': <function iexec at 0x73f44fec00>,
|
1608
|
+
'ijoin': <function ijoin at 0x73f44fed40>,
|
1609
|
+
'iloads_html': <function iloads_html at 0x73f44fef20>,
|
1610
|
+
'iloads': <function iloads at 0x73fa3e2020>,
|
1611
|
+
'int_to_bin': <function int_to_bin at 0x73f44feca0>,
|
1612
|
+
'int_to_hex': <function int_to_hex at 0x73f44fee80>,
|
1613
|
+
'int_to_oct': <function int_to_oct at 0x73f44fefc0>,
|
1614
|
+
'is_valid_url': <function is_valid_url at 0x73f42bed40>,
|
1615
|
+
'iopen': <function iopen at 0x73f44ff1a0>,
|
1616
|
+
'iprint': <function iprint at 0x73f42be840>,
|
1617
|
+
'is_raw_string': <function is_raw_string at 0x73f33cfc40>,
|
1618
|
+
'ireplace': <function ireplace at 0x73f4323420>,
|
1619
|
+
'iscandir': <function iscandir at 0x73f33cfb00>,
|
1620
|
+
'isplit': <function isplit at 0x73f33cfce0>,
|
1621
|
+
'ivars': <function ivars at 0x73f33cfd80>,
|
1622
|
+
'log': <function log at 0x73f33cfe20>,
|
1623
|
+
'oct_to_int': <function oct_to_int at 0x73f33cfec0>,
|
1624
|
+
'password_generator': <function password_generator at 0x73f33cff60>,
|
1625
|
+
'pip_freeze_without_version': <function pip_freeze_without_version at 0x73f33d40e0>,
|
1626
|
+
'pip_update_pypipr': <function pip_update_pypipr at 0x73f33d4180>,
|
1627
|
+
'poetry_publish': <function poetry_publish at 0x73f33d4220>,
|
1628
|
+
'poetry_update_version': <function poetry_update_version at 0x73f33d4360>,
|
1629
|
+
'print_dir': <function print_dir at 0x73f33d4540>,
|
1630
|
+
'print_to_last_line': <function print_to_last_line at 0x73f33d45e0>,
|
1631
|
+
'random_bool': <function random_bool at 0x73f33d4680>,
|
1632
|
+
'repath': <function repath at 0x73f33d47c0>,
|
1633
|
+
'restart': <function restart at 0x73f33d4860>,
|
1634
|
+
'set_timeout': <function set_timeout at 0x73f33d4900>,
|
1635
|
+
'sets_ordered': <function sets_ordered at 0x73f33d49a0>,
|
1636
|
+
'sqlite_delete_table': <function sqlite_delete_table at 0x73f33d4a40>,
|
1637
|
+
'sqlite_get_all_tables': <function sqlite_get_all_tables at 0x73f33d4720>,
|
1638
|
+
'sqlite_get_data_table': <function sqlite_get_data_table at 0x73f33d53a0>,
|
1639
|
+
'str_cmp': <function str_cmp at 0x73f33d5440>,
|
1640
|
+
'text_colorize': <function text_colorize at 0x73f33d54e0>,
|
1641
|
+
'traceback_filename': <function traceback_filename at 0x73f33d5580>,
|
1642
|
+
'traceback_framename': <function traceback_framename at 0x73f33d5620>},
|
1670
1643
|
'class': {'ComparePerformance': <class 'pypipr.ComparePerformance.ComparePerformance'>,
|
1671
1644
|
'PintUregQuantity': <class 'pint.Quantity'>,
|
1672
1645
|
'RunParallel': <class 'pypipr.RunParallel.RunParallel'>,
|
1673
1646
|
'TextCase': <class 'pypipr.TextCase.TextCase'>},
|
1674
1647
|
'variable': {'LINUX': True,
|
1675
|
-
'PintUreg': <pint.registry.UnitRegistry object at
|
1648
|
+
'PintUreg': <pint.registry.UnitRegistry object at 0x73f99ef3d0>,
|
1676
1649
|
'WINDOWS': False},
|
1677
1650
|
'module': {'asyncio': <module 'asyncio' from '/data/data/com.termux/files/usr/lib/python3.11/asyncio/__init__.py'>,
|
1678
1651
|
'colorama': <module 'colorama' from '/data/data/com.termux/files/home/.cache/pypoetry/virtualenvs/pypipr-ZoJyDxLL-py3.11/lib/python3.11/site-packages/colorama/__init__.py'>,
|
@@ -1763,7 +1736,7 @@ print(password_generator())
|
|
1763
1736
|
|
1764
1737
|
Output:
|
1765
1738
|
```py
|
1766
|
-
|
1739
|
+
!XSnf@^B
|
1767
1740
|
```
|
1768
1741
|
|
1769
1742
|
## pip_freeze_without_version
|
@@ -1825,7 +1798,7 @@ Output:
|
|
1825
1798
|
__enter__ : https:/www.google.com
|
1826
1799
|
__fspath__ : https:/www.google.com
|
1827
1800
|
__getstate__ : (None, {'_drv': '', '_root': '', '_parts': ['https:', 'www.google.com'], '_str': 'https:/www.google.com'})
|
1828
|
-
__hash__ :
|
1801
|
+
__hash__ : 5374944819999717424
|
1829
1802
|
__init__ : None
|
1830
1803
|
__init_subclass__ : None
|
1831
1804
|
__module__ : pathlib
|
@@ -1838,8 +1811,8 @@ Output:
|
|
1838
1811
|
_cached_cparts : ['https:', 'www.google.com']
|
1839
1812
|
_cparts : ['https:', 'www.google.com']
|
1840
1813
|
_drv :
|
1841
|
-
_flavour : <pathlib._PosixFlavour object at
|
1842
|
-
_hash :
|
1814
|
+
_flavour : <pathlib._PosixFlavour object at 0x73f9835750>
|
1815
|
+
_hash : 5374944819999717424
|
1843
1816
|
_parts : ['https:', 'www.google.com']
|
1844
1817
|
_root :
|
1845
1818
|
_str : https:/www.google.com
|
@@ -1861,7 +1834,7 @@ Output:
|
|
1861
1834
|
is_reserved : False
|
1862
1835
|
is_socket : False
|
1863
1836
|
is_symlink : False
|
1864
|
-
iterdir : <generator object Path.iterdir at
|
1837
|
+
iterdir : <generator object Path.iterdir at 0x73f2b8e5e0>
|
1865
1838
|
joinpath : https:/www.google.com
|
1866
1839
|
name : www.google.com
|
1867
1840
|
parent : https:
|
@@ -1950,7 +1923,7 @@ x.cancel()
|
|
1950
1923
|
|
1951
1924
|
Output:
|
1952
1925
|
```py
|
1953
|
-
<Timer(Thread-2, started
|
1926
|
+
<Timer(Thread-2, started 497970703600)>
|
1954
1927
|
menghentikan timeout 7
|
1955
1928
|
```
|
1956
1929
|
|
@@ -1968,7 +1941,7 @@ print(list(sets_ordered(array)))
|
|
1968
1941
|
|
1969
1942
|
Output:
|
1970
1943
|
```py
|
1971
|
-
<generator object sets_ordered at
|
1944
|
+
<generator object sets_ordered at 0x73f2bb0e10>
|
1972
1945
|
[2, 3, 12, 42, 1, 43, 41, 4, 24, 32]
|
1973
1946
|
```
|
1974
1947
|
|
@@ -2082,15 +2055,15 @@ print(ExampleComparePerformance().compare_performance())
|
|
2082
2055
|
|
2083
2056
|
Output:
|
2084
2057
|
```py
|
2085
|
-
{'a': <generator object ExampleComparePerformance.a.<locals>.<genexpr> at
|
2058
|
+
{'a': <generator object ExampleComparePerformance.a.<locals>.<genexpr> at 0x73f2bb0a00>,
|
2086
2059
|
'b': (0, 1, 2, 3, 4, 5, 6, 7, 8, 9),
|
2087
2060
|
'c': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
|
2088
2061
|
'd': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]}
|
2089
|
-
{'a':
|
2090
|
-
{'a':
|
2091
|
-
{'a':
|
2092
|
-
{'a':
|
2093
|
-
{'a':
|
2062
|
+
{'a': 119, 'b': 157, 'c': 100, 'd': 203}
|
2063
|
+
{'a': 116, 'b': 124, 'c': 100, 'd': 171}
|
2064
|
+
{'a': 117, 'b': 125, 'c': 100, 'd': 159}
|
2065
|
+
{'a': 110, 'b': 127, 'c': 99, 'd': 146}
|
2066
|
+
{'a': 128, 'b': 130, 'c': 99, 'd': 152}
|
2094
2067
|
```
|
2095
2068
|
|
2096
2069
|
## PintUregQuantity
|