pypipr 1.0.130__tar.gz → 1.0.132__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.130 → pypipr-1.0.132}/PKG-INFO +212 -206
- {pypipr-1.0.130 → pypipr-1.0.132}/pypipr/__init__.py +1 -0
- {pypipr-1.0.130 → pypipr-1.0.132}/pypipr/github_pull.py +1 -1
- {pypipr-1.0.130 → pypipr-1.0.132}/pypipr/github_push.py +4 -7
- pypipr-1.0.132/pypipr/sqlite_all_tables.py +12 -0
- {pypipr-1.0.130 → pypipr-1.0.132}/pyproject.toml +1 -1
- {pypipr-1.0.130 → pypipr-1.0.132}/readme.md +211 -205
- {pypipr-1.0.130 → pypipr-1.0.132}/pypipr/ComparePerformance.py +0 -0
- {pypipr-1.0.130 → pypipr-1.0.132}/pypipr/LINUX.py +0 -0
- {pypipr-1.0.130 → pypipr-1.0.132}/pypipr/PintUreg.py +0 -0
- {pypipr-1.0.130 → pypipr-1.0.132}/pypipr/PintUregQuantity.py +0 -0
- {pypipr-1.0.130 → pypipr-1.0.132}/pypipr/RunParallel.py +0 -0
- {pypipr-1.0.130 → pypipr-1.0.132}/pypipr/WINDOWS.py +0 -0
- {pypipr-1.0.130 → pypipr-1.0.132}/pypipr/__terminal__.py +0 -0
- {pypipr-1.0.130 → pypipr-1.0.132}/pypipr/auto_reload.py +0 -0
- {pypipr-1.0.130 → pypipr-1.0.132}/pypipr/avg.py +0 -0
- {pypipr-1.0.130 → pypipr-1.0.132}/pypipr/basename.py +0 -0
- {pypipr-1.0.130 → pypipr-1.0.132}/pypipr/batch_calculate.py +0 -0
- {pypipr-1.0.130 → pypipr-1.0.132}/pypipr/batchmaker.py +0 -0
- {pypipr-1.0.130 → pypipr-1.0.132}/pypipr/bin_to_int.py +0 -0
- {pypipr-1.0.130 → pypipr-1.0.132}/pypipr/calculate.py +0 -0
- {pypipr-1.0.130 → pypipr-1.0.132}/pypipr/choices.py +0 -0
- {pypipr-1.0.130 → pypipr-1.0.132}/pypipr/choices.py.bak +0 -0
- {pypipr-1.0.130 → pypipr-1.0.132}/pypipr/chr_to_int.py +0 -0
- {pypipr-1.0.130 → pypipr-1.0.132}/pypipr/chunk_array.py +0 -0
- {pypipr-1.0.130 → pypipr-1.0.132}/pypipr/console_run.py +0 -0
- {pypipr-1.0.130 → pypipr-1.0.132}/pypipr/create_folder.py +0 -0
- {pypipr-1.0.130 → pypipr-1.0.132}/pypipr/datetime_from_string.py +0 -0
- {pypipr-1.0.130 → pypipr-1.0.132}/pypipr/datetime_now.py +0 -0
- {pypipr-1.0.130 → pypipr-1.0.132}/pypipr/dict_first.py +0 -0
- {pypipr-1.0.130 → pypipr-1.0.132}/pypipr/dirname.py +0 -0
- {pypipr-1.0.130 → pypipr-1.0.132}/pypipr/exit_if_empty.py +0 -0
- {pypipr-1.0.130 → pypipr-1.0.132}/pypipr/filter_empty.py +0 -0
- {pypipr-1.0.130 → pypipr-1.0.132}/pypipr/get_by_index.py +0 -0
- {pypipr-1.0.130 → pypipr-1.0.132}/pypipr/get_class_method.py +0 -0
- {pypipr-1.0.130 → pypipr-1.0.132}/pypipr/get_filemtime.py +0 -0
- {pypipr-1.0.130 → pypipr-1.0.132}/pypipr/get_filesize.py +0 -0
- {pypipr-1.0.130 → pypipr-1.0.132}/pypipr/github_init.py +0 -0
- {pypipr-1.0.130 → pypipr-1.0.132}/pypipr/github_user.py +0 -0
- {pypipr-1.0.130 → pypipr-1.0.132}/pypipr/hex_to_int.py +0 -0
- {pypipr-1.0.130 → pypipr-1.0.132}/pypipr/iargv.py +0 -0
- {pypipr-1.0.130 → pypipr-1.0.132}/pypipr/idir.py +0 -0
- {pypipr-1.0.130 → pypipr-1.0.132}/pypipr/idumps.py +0 -0
- {pypipr-1.0.130 → pypipr-1.0.132}/pypipr/idumps_html.py +0 -0
- {pypipr-1.0.130 → pypipr-1.0.132}/pypipr/ienumerate.py +0 -0
- {pypipr-1.0.130 → pypipr-1.0.132}/pypipr/ienv.py +0 -0
- {pypipr-1.0.130 → pypipr-1.0.132}/pypipr/iexec.py +0 -0
- {pypipr-1.0.130 → pypipr-1.0.132}/pypipr/ijoin.py +0 -0
- {pypipr-1.0.130 → pypipr-1.0.132}/pypipr/iloads.py +0 -0
- {pypipr-1.0.130 → pypipr-1.0.132}/pypipr/iloads_html.py +0 -0
- {pypipr-1.0.130 → pypipr-1.0.132}/pypipr/input_char.py +0 -0
- {pypipr-1.0.130 → pypipr-1.0.132}/pypipr/int_to_bin.py +0 -0
- {pypipr-1.0.130 → pypipr-1.0.132}/pypipr/int_to_chr.py +0 -0
- {pypipr-1.0.130 → pypipr-1.0.132}/pypipr/int_to_hex.py +0 -0
- {pypipr-1.0.130 → pypipr-1.0.132}/pypipr/int_to_int.py +0 -0
- {pypipr-1.0.130 → pypipr-1.0.132}/pypipr/int_to_oct.py +0 -0
- {pypipr-1.0.130 → pypipr-1.0.132}/pypipr/iopen.py +0 -0
- {pypipr-1.0.130 → pypipr-1.0.132}/pypipr/iprint.py +0 -0
- {pypipr-1.0.130 → pypipr-1.0.132}/pypipr/irange.py +0 -0
- {pypipr-1.0.130 → pypipr-1.0.132}/pypipr/ireplace.py +0 -0
- {pypipr-1.0.130 → pypipr-1.0.132}/pypipr/is_empty.py +0 -0
- {pypipr-1.0.130 → pypipr-1.0.132}/pypipr/is_iterable.py +0 -0
- {pypipr-1.0.130 → pypipr-1.0.132}/pypipr/is_valid_url.py +0 -0
- {pypipr-1.0.130 → pypipr-1.0.132}/pypipr/iscandir.py +0 -0
- {pypipr-1.0.130 → pypipr-1.0.132}/pypipr/isplit.py +0 -0
- {pypipr-1.0.130 → pypipr-1.0.132}/pypipr/ivars.py +0 -0
- {pypipr-1.0.130 → pypipr-1.0.132}/pypipr/log.py +0 -0
- {pypipr-1.0.130 → pypipr-1.0.132}/pypipr/oct_to_int.py +0 -0
- {pypipr-1.0.130 → pypipr-1.0.132}/pypipr/password_generator.py +0 -0
- {pypipr-1.0.130 → pypipr-1.0.132}/pypipr/pip_freeze_without_version.py +0 -0
- {pypipr-1.0.130 → pypipr-1.0.132}/pypipr/poetry_publish.py +0 -0
- {pypipr-1.0.130 → pypipr-1.0.132}/pypipr/poetry_update_version.py +0 -0
- {pypipr-1.0.130 → pypipr-1.0.132}/pypipr/print_colorize.py +0 -0
- {pypipr-1.0.130 → pypipr-1.0.132}/pypipr/print_dir.py +0 -0
- {pypipr-1.0.130 → pypipr-1.0.132}/pypipr/print_log.py +0 -0
- {pypipr-1.0.130 → pypipr-1.0.132}/pypipr/print_to_last_line.py +0 -0
- {pypipr-1.0.130 → pypipr-1.0.132}/pypipr/random_bool.py +0 -0
- {pypipr-1.0.130 → pypipr-1.0.132}/pypipr/restart.py +0 -0
- {pypipr-1.0.130 → pypipr-1.0.132}/pypipr/set_timeout.py +0 -0
- {pypipr-1.0.130 → pypipr-1.0.132}/pypipr/sets_ordered.py +0 -0
- {pypipr-1.0.130 → pypipr-1.0.132}/pypipr/str_cmp.py +0 -0
- {pypipr-1.0.130 → pypipr-1.0.132}/pypipr/text_colorize.py +0 -0
- {pypipr-1.0.130 → pypipr-1.0.132}/pypipr/to_str.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.132
|
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 0x7e513bf740>
|
252
|
+
<generator object int_range at 0x7e513bf740>
|
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 0x7e51445480>
|
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 0x7e5144e110>
|
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 0x7e513bf840>
|
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-05-
|
496
|
-
2024-05-
|
497
|
-
2024-05-
|
495
|
+
2024-05-15 22:50:52.734070+07:00
|
496
|
+
2024-05-15 15:50:52.735542+00:00
|
497
|
+
2024-05-15 08:50:52.739140-07:00
|
498
498
|
```
|
499
499
|
|
500
500
|
## dict_first
|
@@ -600,7 +600,7 @@ iprint(filter_empty(var))
|
|
600
600
|
|
601
601
|
Output:
|
602
602
|
```py
|
603
|
-
<generator object filter_empty at
|
603
|
+
<generator object filter_empty at 0x7e5144de40>
|
604
604
|
[1, '0', True, {}, ['eee']]
|
605
605
|
```
|
606
606
|
|
@@ -647,8 +647,8 @@ print(list(get_class_method(ExampleGetClassMethod)))
|
|
647
647
|
|
648
648
|
Output:
|
649
649
|
```py
|
650
|
-
<generator object get_class_method at
|
651
|
-
[<function ExampleGetClassMethod.a at
|
650
|
+
<generator object get_class_method at 0x7e5144e3e0>
|
651
|
+
[<function ExampleGetClassMethod.a at 0x7e51482c00>, <function ExampleGetClassMethod.b at 0x7e51482ca0>, <function ExampleGetClassMethod.c at 0x7e51482de0>, <function ExampleGetClassMethod.d at 0x7e51482e80>]
|
652
652
|
```
|
653
653
|
|
654
654
|
## get_filesize
|
@@ -854,6 +854,7 @@ Output:
|
|
854
854
|
'restart',
|
855
855
|
'set_timeout',
|
856
856
|
'sets_ordered',
|
857
|
+
'sqlite_all_tables',
|
857
858
|
'str_cmp',
|
858
859
|
'string',
|
859
860
|
'subprocess',
|
@@ -1058,7 +1059,7 @@ Output:
|
|
1058
1059
|
|
1059
1060
|
## ienumerate
|
1060
1061
|
|
1061
|
-
`ienumerate(iterator, start=0, key=<function int_to_int at
|
1062
|
+
`ienumerate(iterator, start=0, key=<function int_to_int at 0x7e5c05b9c0>)`
|
1062
1063
|
|
1063
1064
|
meningkatkan fungsi enumerate() pada python
|
1064
1065
|
untuk key menggunakan huruf dan basis angka lainnya.
|
@@ -1071,7 +1072,7 @@ iprint(ienumerate(it, key=int_to_chr))
|
|
1071
1072
|
|
1072
1073
|
Output:
|
1073
1074
|
```py
|
1074
|
-
<generator object ienumerate at
|
1075
|
+
<generator object ienumerate at 0x7e5144e4d0>
|
1075
1076
|
[('a', 'ini'), ('b', 'contoh'), ('c', 'enumerator')]
|
1076
1077
|
```
|
1077
1078
|
|
@@ -1138,7 +1139,7 @@ print(ijoin(10, ' '))
|
|
1138
1139
|
|
1139
1140
|
Output:
|
1140
1141
|
```py
|
1141
|
-
|
1142
|
+
weq, asd, dfs, qweqw
|
1142
1143
|
,ini,path,seperti,url,
|
1143
1144
|
ini,path,seperti,url
|
1144
1145
|
<li>satu</li>
|
@@ -1183,119 +1184,119 @@ pprint.pprint(iloads_html(iopen("https://harga-emas.org/1-gram/")), depth=10)
|
|
1183
1184
|
Output:
|
1184
1185
|
```py
|
1185
1186
|
(['Home', 'Emas 1 Gram', 'History', 'Trend', 'Perak 1 Gram', 'Pluang'],
|
1186
|
-
[['Harga Emas Hari Ini -
|
1187
|
-
['Spot Emas USD
|
1188
|
-
'Kurs IDR
|
1189
|
-
'Emas IDR
|
1190
|
-
['LM Antam (Jual)↑1.
|
1191
|
-
'LM Antam (Beli)↑1.
|
1187
|
+
[['Harga Emas Hari Ini - Rabu, 15 Mei 2024'],
|
1188
|
+
['Spot Emas USD↑2.381,49 (+26,87) / oz',
|
1189
|
+
'Kurs IDR↑16.131,00 (+46,00) / USD',
|
1190
|
+
'Emas IDR↑1.235.097 (+17.418) / gr'],
|
1191
|
+
['LM Antam (Jual)↑1.332.000 (+8.000) / gr',
|
1192
|
+
'LM Antam (Beli)↑1.223.000 (+8.000) / gr']],
|
1192
1193
|
[['Harga Emas Hari Ini'],
|
1193
1194
|
['Gram', 'Gedung Antam Jakarta', 'Pegadaian'],
|
1194
1195
|
['per Gram (Rp)', 'per Batangan (Rp)', 'per Gram (Rp)', 'per Batangan (Rp)'],
|
1195
1196
|
['1000',
|
1196
|
-
'1.
|
1197
|
-
'1.
|
1197
|
+
'1.273 (+8)',
|
1198
|
+
'1.272.600 (+8.000)',
|
1198
1199
|
'1.043.040 (+8.200)',
|
1199
1200
|
'1.043.040.000 (+8.200.000)'],
|
1200
1201
|
['500',
|
1201
|
-
'2.
|
1202
|
-
'1.
|
1202
|
+
'2.545 (+16)',
|
1203
|
+
'1.272.640 (+8.000)',
|
1203
1204
|
'1.043.082 (+8.200)',
|
1204
1205
|
'521.541.000 (+4.100.000)'],
|
1205
1206
|
['250',
|
1206
|
-
'5.
|
1207
|
-
'1.
|
1207
|
+
'5.092 (+32)',
|
1208
|
+
'1.273.060 (+8.000)',
|
1208
1209
|
'1.043.512 (+8.200)',
|
1209
1210
|
'260.878.000 (+2.050.000)'],
|
1210
1211
|
['100',
|
1211
|
-
'12.
|
1212
|
-
'1.
|
1212
|
+
'12.741 (+80)',
|
1213
|
+
'1.274.120 (+8.000)',
|
1213
1214
|
'1.044.600 (+8.200)',
|
1214
1215
|
'104.460.000 (+820.000)'],
|
1215
1216
|
['50',
|
1216
|
-
'25.
|
1217
|
-
'1.
|
1217
|
+
'25.498 (+160)',
|
1218
|
+
'1.274.900 (+8.000)',
|
1218
1219
|
'1.045.400 (+8.200)',
|
1219
1220
|
'52.270.000 (+410.000)'],
|
1220
1221
|
['25',
|
1221
|
-
'
|
1222
|
-
'1.
|
1222
|
+
'51.059 (+320)',
|
1223
|
+
'1.276.480 (+8.000)',
|
1223
1224
|
'1.047.040 (+8.200)',
|
1224
1225
|
'26.176.000 (+205.000)'],
|
1225
1226
|
['10',
|
1226
|
-
'
|
1227
|
-
'1.
|
1227
|
+
'128.150 (+800)',
|
1228
|
+
'1.281.500 (+8.000)',
|
1228
1229
|
'1.052.200 (+8.200)',
|
1229
1230
|
'10.522.000 (+82.000)'],
|
1230
1231
|
['5',
|
1231
|
-
'
|
1232
|
-
'1.
|
1232
|
+
'257.400 (+1.600)',
|
1233
|
+
'1.287.000 (+8.000)',
|
1233
1234
|
'1.057.800 (+8.200)',
|
1234
1235
|
'5.289.000 (+41.000)'],
|
1235
1236
|
['3',
|
1236
|
-
'
|
1237
|
-
'1.
|
1237
|
+
'431.222 (+2.667)',
|
1238
|
+
'1.293.667 (+8.000)',
|
1238
1239
|
'1.064.667 (+8.000)',
|
1239
1240
|
'3.194.000 (+24.000)'],
|
1240
1241
|
['2',
|
1241
|
-
'
|
1242
|
-
'1.
|
1242
|
+
'651.000 (+4.000)',
|
1243
|
+
'1.302.000 (+8.000)',
|
1243
1244
|
'1.073.500 (+8.500)',
|
1244
1245
|
'2.147.000 (+17.000)'],
|
1245
1246
|
['1',
|
1246
|
-
'1.
|
1247
|
-
'1.
|
1247
|
+
'1.332.000 (+8.000)',
|
1248
|
+
'1.332.000 (+8.000)',
|
1248
1249
|
'1.104.000 (+8.000)',
|
1249
1250
|
'1.104.000 (+8.000)'],
|
1250
1251
|
['0.5',
|
1251
|
-
'2.
|
1252
|
-
'1.
|
1252
|
+
'2.864.000 (+16.000)',
|
1253
|
+
'1.432.000 (+8.000)',
|
1253
1254
|
'1.208.000 (+8.000)',
|
1254
1255
|
'604.000 (+4.000)'],
|
1255
|
-
['Update harga LM Antam :
|
1256
|
-
':Rp. 1.
|
1256
|
+
['Update harga LM Antam :15 Mei 2024, pukul 08:33Harga pembelian kembali '
|
1257
|
+
':Rp. 1.223.000/gram (+8.000)',
|
1257
1258
|
'Update harga LM Pegadaian :31 Agustus 2023']],
|
1258
1259
|
[['Spot Harga Emas Hari Ini (Market Open)'],
|
1259
1260
|
['Satuan', 'USD', 'Kurs\xa0Dollar', 'IDR'],
|
1260
|
-
['Ounce\xa0(oz)', '2.
|
1261
|
-
['Gram\xa0(gr)', '
|
1262
|
-
['Kilogram\xa0(kg)', '
|
1263
|
-
['Update harga emas :
|
1261
|
+
['Ounce\xa0(oz)', '2.381,49 (+26,87)', '16.131,00 (+46,00)', '38.415.815'],
|
1262
|
+
['Gram\xa0(gr)', '76,57', '16.131,00', '1.235.097 (+17.418)'],
|
1263
|
+
['Kilogram\xa0(kg)', '76.566,68', '16.131,00', '1.235.097.140'],
|
1264
|
+
['Update harga emas :15 Mei 2024, pukul 22:50Update kurs :15 Mei 2024, pukul '
|
1264
1265
|
'13:10']],
|
1265
1266
|
[['Gram', 'UBS Gold 99.99%'],
|
1266
1267
|
['Jual', 'Beli'],
|
1267
1268
|
['/ Batang', '/ Gram', '/ Batang', '/ Gram'],
|
1268
1269
|
['100',
|
1269
|
-
'
|
1270
|
-
'1.
|
1271
|
-
'
|
1272
|
-
'1.
|
1270
|
+
'127.412.000 (+1.112.000)',
|
1271
|
+
'1.274.120 (+11.120)',
|
1272
|
+
'125.185.000 (+400.000)',
|
1273
|
+
'1.251.850 (+4.000)'],
|
1273
1274
|
['50',
|
1274
|
-
'
|
1275
|
-
'1.
|
1276
|
-
'
|
1277
|
-
'1.
|
1275
|
+
'63.600.000 (+350.000)',
|
1276
|
+
'1.272.000 (+7.000)',
|
1277
|
+
'62.645.000 (+200.000)',
|
1278
|
+
'1.252.900 (+4.000)'],
|
1278
1279
|
['25',
|
1279
|
-
'31.
|
1280
|
-
'1.
|
1281
|
-
'
|
1282
|
-
'1.
|
1280
|
+
'31.850.000 (+175.000)',
|
1281
|
+
'1.274.000 (+7.000)',
|
1282
|
+
'31.425.000 (+100.000)',
|
1283
|
+
'1.257.000 (+4.000)'],
|
1283
1284
|
['10',
|
1284
|
-
'12.
|
1285
|
-
'1.
|
1286
|
-
'12.
|
1287
|
-
'1.
|
1285
|
+
'12.790.000 (+80.000)',
|
1286
|
+
'1.279.000 (+8.000)',
|
1287
|
+
'12.620.000 (+40.000)',
|
1288
|
+
'1.262.000 (+4.000)'],
|
1288
1289
|
['5',
|
1289
|
-
'6.
|
1290
|
-
'1.
|
1291
|
-
'6.
|
1292
|
-
'1.
|
1290
|
+
'6.420.000 (+40.000)',
|
1291
|
+
'1.284.000 (+8.000)',
|
1292
|
+
'6.362.000 (+20.000)',
|
1293
|
+
'1.272.400 (+4.000)'],
|
1293
1294
|
['1',
|
1294
|
-
'1.
|
1295
|
-
'1.
|
1296
|
-
'1.
|
1297
|
-
'1.
|
1298
|
-
['', 'Update :
|
1295
|
+
'1.330.000 (+6.000)',
|
1296
|
+
'1.330.000 (+6.000)',
|
1297
|
+
'1.305.000 (+4.000)',
|
1298
|
+
'1.305.000 (+4.000)'],
|
1299
|
+
['', 'Update :15 Mei 2024, pukul 12:24']],
|
1299
1300
|
[['Konversi Satuan'],
|
1300
1301
|
['Satuan', 'Ounce (oz)', 'Gram (gr)', 'Kilogram (kg)'],
|
1301
1302
|
['Ounce\xa0(oz)', '1', '31,1034767696', '0,0311034768'],
|
@@ -1305,37 +1306,37 @@ Output:
|
|
1305
1306
|
['Waktu', 'Emas'],
|
1306
1307
|
['Unit', 'USD', 'IDR'],
|
1307
1308
|
['Angka', '+/-', 'Angka', '+/-'],
|
1308
|
-
['Hari Ini', 'Kurs', '', '', '16.
|
1309
|
-
['oz', '2.
|
1310
|
-
['gr', '
|
1311
|
-
['30 Hari', 'Kurs', '', '', '15.907', '+
|
1312
|
-
['oz', '2.
|
1313
|
-
['gr', '
|
1314
|
-
['2 Bulan', 'Kurs', '', '', '15.
|
1315
|
-
['oz', '2.
|
1316
|
-
['gr', '
|
1317
|
-
['6 Bulan', 'Kurs', '', '', '15.
|
1318
|
-
['oz', '1.
|
1319
|
-
['gr', '63,
|
1320
|
-
['1 Tahun', 'Kurs', '', '', '15.731', '+
|
1321
|
-
['oz', '1.823,86', '+
|
1322
|
-
['gr', '58,64', '+
|
1323
|
-
['2 Tahun', 'Kurs', '', '', '14.
|
1324
|
-
['oz', '1.
|
1325
|
-
['gr', '
|
1326
|
-
['3 Tahun', 'Kurs', '', '', '14.
|
1327
|
-
['oz', '1.
|
1328
|
-
['gr', '
|
1329
|
-
['5 Tahun', 'Kurs', '', '', '14.
|
1330
|
-
['oz', '1.
|
1331
|
-
['gr', '41,
|
1309
|
+
['Hari Ini', 'Kurs', '', '', '16.085', '+46+0,29%'],
|
1310
|
+
['oz', '2.354,62', '+26,87+1,14%', '37.874.063', '+541.752+1,43%'],
|
1311
|
+
['gr', '75,70', '+0,86+1,14%', '1.217.679', '+17.418+1,43%'],
|
1312
|
+
['30 Hari', 'Kurs', '', '', '15.907', '+224+1,41%'],
|
1313
|
+
['oz', '2.359,26', '+22,23+0,94%', '37.528.749', '+887.066+2,36%'],
|
1314
|
+
['gr', '75,85', '+0,71+0,94%', '1.206.577', '+28.520+2,36%'],
|
1315
|
+
['2 Bulan', 'Kurs', '', '', '15.582', '+549+3,52%'],
|
1316
|
+
['oz', '2.156,08', '+225,41+10,45%', '33.596.039', '+4.819.777+14,35%'],
|
1317
|
+
['gr', '69,32', '+7,25+10,45', '1.080.138', '+154.959+14,35%'],
|
1318
|
+
['6 Bulan', 'Kurs', '', '', '15.595', '+536+3,44%'],
|
1319
|
+
['oz', '1.981,17', '+400,32+20,21%', '30.896.346', '+7.519.469+24,34%'],
|
1320
|
+
['gr', '63,70', '+12,87+20,21%', '993.341', '+241.757+24,34%'],
|
1321
|
+
['1 Tahun', 'Kurs', '', '', '15.731', '+400+2,54%'],
|
1322
|
+
['oz', '1.823,86', '+557,63+30,57%', '28.691.142', '+9.724.674+33,89%'],
|
1323
|
+
['gr', '58,64', '+17,93+30,57%', '922.442', '+312.656+33,89%'],
|
1324
|
+
['2 Tahun', 'Kurs', '', '', '14.585', '+1.546+10,60%'],
|
1325
|
+
['oz', '1.816,04', '+565,45+31,14%', '26.486.962', '+11.928.854+45,04%'],
|
1326
|
+
['gr', '58,39', '+18,18+31,14%', '851.576', '+383.522+45,04%'],
|
1327
|
+
['3 Tahun', 'Kurs', '', '', '14.198', '+1.933+13,61%'],
|
1328
|
+
['oz', '1.843,91', '+537,58+29,15%', '26.179.834', '+12.235.981+46,74%'],
|
1329
|
+
['gr', '59,28', '+17,28+29,15%', '841.701', '+393.396+46,74%'],
|
1330
|
+
['5 Tahun', 'Kurs', '', '', '14.469', '+1.662+11,49%'],
|
1331
|
+
['oz', '1.275,87', '+1.105,62+86,66%', '18.460.563', '+19.955.252+108,10%'],
|
1332
|
+
['gr', '41,02', '+35,55+86,66%', '593.521', '+641.576+108,10%']])
|
1332
1333
|
(['Home', 'Emas 1 Gram', 'History', 'Trend', 'Perak 1 Gram', 'Pluang'],
|
1333
1334
|
[[''],
|
1334
1335
|
['Emas 24 KaratHarga Emas 1 Gram', ''],
|
1335
|
-
['USD', '
|
1336
|
-
['KURS', '
|
1337
|
-
['IDR', '1.
|
1338
|
-
['
|
1336
|
+
['USD', '76,57↑', '+0,87+1,15%'],
|
1337
|
+
['KURS', '15.947,95↓', '-155,10-0,96%'],
|
1338
|
+
['IDR', '1.221.081,61↑', '+2.035,78+0,17%'],
|
1339
|
+
['Rabu, 15 Mei 2024 22:50']],
|
1339
1340
|
[[''],
|
1340
1341
|
['Emas 1 Gram (IDR)Emas 1 Gram (USD)Kurs USD-IDR',
|
1341
1342
|
'Hari Ini',
|
@@ -1346,19 +1347,19 @@ Output:
|
|
1346
1347
|
'']],
|
1347
1348
|
[['Pergerakkan Harga Emas 1 Gram'],
|
1348
1349
|
['', 'Penutupan Kemarin', 'Pergerakkan Hari Ini', 'Rata-rata'],
|
1349
|
-
['USD', '
|
1350
|
-
['KURS', '16.
|
1351
|
-
['IDR', '1.
|
1350
|
+
['USD', '75,70', '75,70 - 76,57', '76,14'],
|
1351
|
+
['KURS', '16.103,05', '15.947,95 - 16.103,05', '16.025,50'],
|
1352
|
+
['IDR', '1.219.045,83', '1.219.045,83 - 1.221.081,61', '1.220.063,72'],
|
1352
1353
|
[''],
|
1353
1354
|
['', 'Awal Tahun', 'Pergerakkan YTD', '+/- YTD'],
|
1354
|
-
['USD', '66,32', '64,07 - 77,14', '+
|
1355
|
-
['KURS', '15.390,10', '15.390,00 - 16.307,80', '+
|
1356
|
-
['IDR', '1.020.729,53', '997.660,12 - 1.256.829,06', '+
|
1355
|
+
['USD', '66,32', '64,07 - 77,14', '+10,25 (15,46%)'],
|
1356
|
+
['KURS', '15.390,10', '15.390,00 - 16.307,80', '+557,85 (3,62%)'],
|
1357
|
+
['IDR', '1.020.729,53', '997.660,12 - 1.256.829,06', '+200.352,08 (19,63%)'],
|
1357
1358
|
[''],
|
1358
1359
|
['', 'Tahun Lalu / 52 Minggu', 'Pergerakkan 52 Minggu', '+/- 52 Minggu'],
|
1359
|
-
['USD', '64,
|
1360
|
-
['KURS', '14.
|
1361
|
-
['IDR', '
|
1360
|
+
['USD', '64,66', '58,43 - 77,14', '+11,91 (18,42%)'],
|
1361
|
+
['KURS', '14.844,45', '14.796,95 - 16.307,80', '+1.103,50 (7,43%)'],
|
1362
|
+
['IDR', '959.794,03', '912.925,68 - 1.256.829,06', '+261.287,58 (27,22%)']])
|
1362
1363
|
```
|
1363
1364
|
|
1364
1365
|
## iloads
|
@@ -1488,7 +1489,7 @@ Output:
|
|
1488
1489
|
```py
|
1489
1490
|
8
|
1490
1491
|
['mana', 'aja']
|
1491
|
-
[<Element a at
|
1492
|
+
[<Element a at 0x7e5bf2ea30>, <Element a at 0x7e5149a8a0>, <Element a at 0x7e512f4640>, <Element a at 0x7e512f46e0>, <Element a at 0x7e512f4730>, <Element a at 0x7e512f4780>, <Element a at 0x7e512f47d0>, <Element a at 0x7e512f4820>, <Element a at 0x7e512f4870>, <Element a at 0x7e512f48c0>, <Element a at 0x7e512f4910>, <Element a at 0x7e512f4960>, <Element a at 0x7e512f49b0>, <Element a at 0x7e512f4a00>, <Element a at 0x7e512f4a50>, <Element a at 0x7e512f4aa0>, <Element a at 0x7e512f4af0>, <Element a at 0x7e512f4b40>]
|
1492
1493
|
False
|
1493
1494
|
```
|
1494
1495
|
|
@@ -1550,7 +1551,7 @@ print(list(iscandir("./", recursive=False, scan_file=False)))
|
|
1550
1551
|
|
1551
1552
|
Output:
|
1552
1553
|
```py
|
1553
|
-
<generator object iscandir at
|
1554
|
+
<generator object iscandir at 0x7e513bfa40>
|
1554
1555
|
[PosixPath('.git'), PosixPath('.vscode'), PosixPath('pypipr'), PosixPath('__pycache__'), PosixPath('dist')]
|
1555
1556
|
```
|
1556
1557
|
|
@@ -1583,112 +1584,113 @@ iprint(ivars(__import__('pypipr')))
|
|
1583
1584
|
|
1584
1585
|
Output:
|
1585
1586
|
```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
|
-
'is_iterable': <function is_iterable at
|
1611
|
-
'to_str': <function to_str at
|
1612
|
-
'filter_empty': <function filter_empty at
|
1613
|
-
'get_by_index': <function get_by_index at
|
1614
|
-
'get_class_method': <function get_class_method at
|
1615
|
-
'get_filesize': <function get_filesize at
|
1616
|
-
'github_init': <function github_init at
|
1617
|
-
'github_pull': <function github_pull at
|
1618
|
-
'github_push': <function github_push at
|
1619
|
-
'github_user': <function github_user at
|
1620
|
-
'hex_to_int': <function hex_to_int at
|
1621
|
-
'iargv': <function iargv at
|
1622
|
-
'idir': <function idir at
|
1623
|
-
'idumps_html': <function idumps_html at
|
1624
|
-
'idumps': <function idumps at
|
1625
|
-
'int_to_int': <function int_to_int at
|
1626
|
-
'ienumerate': <function ienumerate at
|
1627
|
-
'ienv': <function ienv at
|
1628
|
-
'iexec': <function iexec at
|
1629
|
-
'ijoin': <function ijoin at
|
1630
|
-
'iloads_html': <function iloads_html at
|
1631
|
-
'iloads': <function iloads at
|
1632
|
-
'int_to_bin': <function int_to_bin at
|
1633
|
-
'int_to_hex': <function int_to_hex at
|
1634
|
-
'int_to_oct': <function int_to_oct at
|
1635
|
-
'is_valid_url': <function is_valid_url at
|
1636
|
-
'iopen': <function iopen at
|
1637
|
-
'iprint': <function iprint at
|
1638
|
-
'ireplace': <function ireplace at
|
1639
|
-
'iscandir': <function iscandir at
|
1640
|
-
'isplit': <function isplit at
|
1641
|
-
'ivars': <function ivars at
|
1642
|
-
'log': <function log at
|
1643
|
-
'oct_to_int': <function oct_to_int at
|
1644
|
-
'password_generator': <function password_generator at
|
1645
|
-
'pip_freeze_without_version': <function pip_freeze_without_version at
|
1646
|
-
'poetry_publish': <function poetry_publish at
|
1647
|
-
'poetry_update_version': <function poetry_update_version at
|
1648
|
-
'print_dir': <function print_dir at
|
1649
|
-
'print_to_last_line': <function print_to_last_line at
|
1650
|
-
'random_bool': <function random_bool at
|
1651
|
-
'restart': <function restart at
|
1652
|
-
'set_timeout': <function set_timeout at
|
1653
|
-
'sets_ordered': <function sets_ordered at
|
1654
|
-
'
|
1655
|
-
'
|
1587
|
+
{'function': {'avg': <function avg at 0x7e5e1e0040>,
|
1588
|
+
'get_filemtime': <function get_filemtime at 0x7e5c2cb060>,
|
1589
|
+
'print_colorize': <function print_colorize at 0x7e5c2cb240>,
|
1590
|
+
'print_log': <function print_log at 0x7e5c2cb100>,
|
1591
|
+
'console_run': <function console_run at 0x7e5c2cb1a0>,
|
1592
|
+
'auto_reload': <function auto_reload at 0x7e5c6fcf40>,
|
1593
|
+
'basename': <function basename at 0x7e5c266980>,
|
1594
|
+
'chr_to_int': <function chr_to_int at 0x7e5c2cb7e0>,
|
1595
|
+
'int_to_chr': <function int_to_chr at 0x7e5c2cb880>,
|
1596
|
+
'irange': <function irange at 0x7e5c2cbb00>,
|
1597
|
+
'batchmaker': <function batchmaker at 0x7e5c2cb4c0>,
|
1598
|
+
'calculate': <function calculate at 0x7e5c2cb600>,
|
1599
|
+
'batch_calculate': <function batch_calculate at 0x7e5c2cb380>,
|
1600
|
+
'bin_to_int': <function bin_to_int at 0x7e5c6fcea0>,
|
1601
|
+
'is_empty': <function is_empty at 0x7e5c2d82c0>,
|
1602
|
+
'exit_if_empty': <function exit_if_empty at 0x7e5c2d8180>,
|
1603
|
+
'input_char': <function input_char at 0x7e5c2d8220>,
|
1604
|
+
'choices': <function choices at 0x7e5c2d8540>,
|
1605
|
+
'chunk_array': <function chunk_array at 0x7e5c2d85e0>,
|
1606
|
+
'create_folder': <function create_folder at 0x7e5c2d8680>,
|
1607
|
+
'datetime_from_string': <function datetime_from_string at 0x7e5c2d8720>,
|
1608
|
+
'datetime_now': <function datetime_now at 0x7e5c2d80e0>,
|
1609
|
+
'dict_first': <function dict_first at 0x7e5c2daa20>,
|
1610
|
+
'dirname': <function dirname at 0x7e5c2daac0>,
|
1611
|
+
'is_iterable': <function is_iterable at 0x7e5c2daca0>,
|
1612
|
+
'to_str': <function to_str at 0x7e5c2dad40>,
|
1613
|
+
'filter_empty': <function filter_empty at 0x7e5c2cb2e0>,
|
1614
|
+
'get_by_index': <function get_by_index at 0x7e5c2dab60>,
|
1615
|
+
'get_class_method': <function get_class_method at 0x7e5c2dade0>,
|
1616
|
+
'get_filesize': <function get_filesize at 0x7e5c2daf20>,
|
1617
|
+
'github_init': <function github_init at 0x7e5c2dafc0>,
|
1618
|
+
'github_pull': <function github_pull at 0x7e5c2db060>,
|
1619
|
+
'github_push': <function github_push at 0x7e5c2db1a0>,
|
1620
|
+
'github_user': <function github_user at 0x7e5c2db240>,
|
1621
|
+
'hex_to_int': <function hex_to_int at 0x7e5c2db2e0>,
|
1622
|
+
'iargv': <function iargv at 0x7e5c2db380>,
|
1623
|
+
'idir': <function idir at 0x7e5c2db420>,
|
1624
|
+
'idumps_html': <function idumps_html at 0x7e5c2dbb00>,
|
1625
|
+
'idumps': <function idumps at 0x7e5c2db560>,
|
1626
|
+
'int_to_int': <function int_to_int at 0x7e5c05b9c0>,
|
1627
|
+
'ienumerate': <function ienumerate at 0x7e5c04e020>,
|
1628
|
+
'ienv': <function ienv at 0x7e5c05b6a0>,
|
1629
|
+
'iexec': <function iexec at 0x7e5c05ba60>,
|
1630
|
+
'ijoin': <function ijoin at 0x7e5c05bba0>,
|
1631
|
+
'iloads_html': <function iloads_html at 0x7e5c05bd80>,
|
1632
|
+
'iloads': <function iloads at 0x7e5ebe2020>,
|
1633
|
+
'int_to_bin': <function int_to_bin at 0x7e5c05bb00>,
|
1634
|
+
'int_to_hex': <function int_to_hex at 0x7e5c05bce0>,
|
1635
|
+
'int_to_oct': <function int_to_oct at 0x7e5c05be20>,
|
1636
|
+
'is_valid_url': <function is_valid_url at 0x7e5bea3ba0>,
|
1637
|
+
'iopen': <function iopen at 0x7e5c070040>,
|
1638
|
+
'iprint': <function iprint at 0x7e5bea36a0>,
|
1639
|
+
'ireplace': <function ireplace at 0x7e5bea37e0>,
|
1640
|
+
'iscandir': <function iscandir at 0x7e5bf649a0>,
|
1641
|
+
'isplit': <function isplit at 0x7e5bf64a40>,
|
1642
|
+
'ivars': <function ivars at 0x7e5bf64ae0>,
|
1643
|
+
'log': <function log at 0x7e5bf64b80>,
|
1644
|
+
'oct_to_int': <function oct_to_int at 0x7e5bf64c20>,
|
1645
|
+
'password_generator': <function password_generator at 0x7e5bf64cc0>,
|
1646
|
+
'pip_freeze_without_version': <function pip_freeze_without_version at 0x7e5bf64e00>,
|
1647
|
+
'poetry_publish': <function poetry_publish at 0x7e5bf64ea0>,
|
1648
|
+
'poetry_update_version': <function poetry_update_version at 0x7e5bf64fe0>,
|
1649
|
+
'print_dir': <function print_dir at 0x7e5bf651c0>,
|
1650
|
+
'print_to_last_line': <function print_to_last_line at 0x7e5bf65260>,
|
1651
|
+
'random_bool': <function random_bool at 0x7e5bf65300>,
|
1652
|
+
'restart': <function restart at 0x7e5bf653a0>,
|
1653
|
+
'set_timeout': <function set_timeout at 0x7e5bf65440>,
|
1654
|
+
'sets_ordered': <function sets_ordered at 0x7e5bf654e0>,
|
1655
|
+
'sqlite_all_tables': <function sqlite_all_tables at 0x7e5bf65580>,
|
1656
|
+
'str_cmp': <function str_cmp at 0x7e5bf65620>,
|
1657
|
+
'text_colorize': <function text_colorize at 0x7e5bf65120>},
|
1656
1658
|
'class': {'ComparePerformance': <class 'pypipr.ComparePerformance.ComparePerformance'>,
|
1657
1659
|
'PintUregQuantity': <class 'pint.Quantity'>,
|
1658
1660
|
'RunParallel': <class 'pypipr.RunParallel.RunParallel'>},
|
1659
1661
|
'variable': {'LINUX': True,
|
1660
|
-
'PintUreg': <pint.registry.UnitRegistry object at
|
1662
|
+
'PintUreg': <pint.registry.UnitRegistry object at 0x7e5e149850>,
|
1661
1663
|
'WINDOWS': False},
|
1662
1664
|
'module': {'asyncio': <module 'asyncio' from '/data/data/com.termux/files/usr/lib/python3.11/asyncio/__init__.py'>,
|
1663
|
-
'colorama': <module 'colorama' from '/data/data/com.termux/files/
|
1665
|
+
'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'>,
|
1664
1666
|
'csv': <module 'csv' from '/data/data/com.termux/files/usr/lib/python3.11/csv.py'>,
|
1665
1667
|
'datetime': <module 'datetime' from '/data/data/com.termux/files/usr/lib/python3.11/datetime.py'>,
|
1666
1668
|
'functools': <module 'functools' from '/data/data/com.termux/files/usr/lib/python3.11/functools.py'>,
|
1667
1669
|
'inspect': <module 'inspect' from '/data/data/com.termux/files/usr/lib/python3.11/inspect.py'>,
|
1668
1670
|
'io': <module 'io' (frozen)>,
|
1669
1671
|
'json': <module 'json' from '/data/data/com.termux/files/usr/lib/python3.11/json/__init__.py'>,
|
1670
|
-
'lxml': <module 'lxml' from '/data/data/com.termux/files/
|
1672
|
+
'lxml': <module 'lxml' from '/data/data/com.termux/files/home/.cache/pypoetry/virtualenvs/pypipr-ZoJyDxLL-py3.11/lib/python3.11/site-packages/lxml/__init__.py'>,
|
1671
1673
|
'math': <module 'math' from '/data/data/com.termux/files/usr/lib/python3.11/lib-dynload/math.cpython-311.so'>,
|
1672
1674
|
'multiprocessing': <module 'multiprocessing' from '/data/data/com.termux/files/usr/lib/python3.11/multiprocessing/__init__.py'>,
|
1673
1675
|
'operator': <module 'operator' from '/data/data/com.termux/files/usr/lib/python3.11/operator.py'>,
|
1674
1676
|
'os': <module 'os' (frozen)>,
|
1675
1677
|
'pathlib': <module 'pathlib' from '/data/data/com.termux/files/usr/lib/python3.11/pathlib.py'>,
|
1676
|
-
'pint': <module 'pint' from '/data/data/com.termux/files/
|
1678
|
+
'pint': <module 'pint' from '/data/data/com.termux/files/home/.cache/pypoetry/virtualenvs/pypipr-ZoJyDxLL-py3.11/lib/python3.11/site-packages/pint/__init__.py'>,
|
1677
1679
|
'pprint': <module 'pprint' from '/data/data/com.termux/files/usr/lib/python3.11/pprint.py'>,
|
1678
1680
|
'queue': <module 'queue' from '/data/data/com.termux/files/usr/lib/python3.11/queue.py'>,
|
1679
1681
|
'random': <module 'random' from '/data/data/com.termux/files/usr/lib/python3.11/random.py'>,
|
1680
1682
|
're': <module 're' from '/data/data/com.termux/files/usr/lib/python3.11/re/__init__.py'>,
|
1681
|
-
'requests': <module 'requests' from '/data/data/com.termux/files/
|
1683
|
+
'requests': <module 'requests' from '/data/data/com.termux/files/home/.cache/pypoetry/virtualenvs/pypipr-ZoJyDxLL-py3.11/lib/python3.11/site-packages/requests/__init__.py'>,
|
1682
1684
|
'string': <module 'string' from '/data/data/com.termux/files/usr/lib/python3.11/string.py'>,
|
1683
1685
|
'subprocess': <module 'subprocess' from '/data/data/com.termux/files/usr/lib/python3.11/subprocess.py'>,
|
1684
1686
|
'sys': <module 'sys' (built-in)>,
|
1685
1687
|
'textwrap': <module 'textwrap' from '/data/data/com.termux/files/usr/lib/python3.11/textwrap.py'>,
|
1686
1688
|
'threading': <module 'threading' from '/data/data/com.termux/files/usr/lib/python3.11/threading.py'>,
|
1687
1689
|
'time': <module 'time' (built-in)>,
|
1688
|
-
'tzdata': <module 'tzdata' from '/data/data/com.termux/files/
|
1690
|
+
'tzdata': <module 'tzdata' from '/data/data/com.termux/files/home/.cache/pypoetry/virtualenvs/pypipr-ZoJyDxLL-py3.11/lib/python3.11/site-packages/tzdata/__init__.py'>,
|
1689
1691
|
'uuid': <module 'uuid' from '/data/data/com.termux/files/usr/lib/python3.11/uuid.py'>,
|
1690
1692
|
'webbrowser': <module 'webbrowser' from '/data/data/com.termux/files/usr/lib/python3.11/webbrowser.py'>,
|
1691
|
-
'yaml': <module 'yaml' from '/data/data/com.termux/files/
|
1693
|
+
'yaml': <module 'yaml' from '/data/data/com.termux/files/home/.cache/pypoetry/virtualenvs/pypipr-ZoJyDxLL-py3.11/lib/python3.11/site-packages/yaml/__init__.py'>,
|
1692
1694
|
'zoneinfo': <module 'zoneinfo' from '/data/data/com.termux/files/usr/lib/python3.11/zoneinfo/__init__.py'>}}
|
1693
1695
|
```
|
1694
1696
|
|
@@ -1747,7 +1749,7 @@ print(password_generator())
|
|
1747
1749
|
|
1748
1750
|
Output:
|
1749
1751
|
```py
|
1750
|
-
|
1752
|
+
+$*`'-kM
|
1751
1753
|
```
|
1752
1754
|
|
1753
1755
|
## pip_freeze_without_version
|
@@ -1805,7 +1807,7 @@ Output:
|
|
1805
1807
|
__enter__ : https:/www.google.com
|
1806
1808
|
__fspath__ : https:/www.google.com
|
1807
1809
|
__getstate__ : (None, {'_drv': '', '_root': '', '_parts': ['https:', 'www.google.com'], '_str': 'https:/www.google.com'})
|
1808
|
-
__hash__ : -
|
1810
|
+
__hash__ : -397421269161790689
|
1809
1811
|
__init__ : None
|
1810
1812
|
__init_subclass__ : None
|
1811
1813
|
__module__ : pathlib
|
@@ -1818,8 +1820,8 @@ Output:
|
|
1818
1820
|
_cached_cparts : ['https:', 'www.google.com']
|
1819
1821
|
_cparts : ['https:', 'www.google.com']
|
1820
1822
|
_drv :
|
1821
|
-
_flavour : <pathlib._PosixFlavour object at
|
1822
|
-
_hash : -
|
1823
|
+
_flavour : <pathlib._PosixFlavour object at 0x7e5e029510>
|
1824
|
+
_hash : -397421269161790689
|
1823
1825
|
_parts : ['https:', 'www.google.com']
|
1824
1826
|
_root :
|
1825
1827
|
_str : https:/www.google.com
|
@@ -1841,7 +1843,7 @@ Output:
|
|
1841
1843
|
is_reserved : False
|
1842
1844
|
is_socket : False
|
1843
1845
|
is_symlink : False
|
1844
|
-
iterdir : <generator object Path.iterdir at
|
1846
|
+
iterdir : <generator object Path.iterdir at 0x7e5143ef80>
|
1845
1847
|
joinpath : https:/www.google.com
|
1846
1848
|
name : www.google.com
|
1847
1849
|
parent : https:
|
@@ -1881,7 +1883,7 @@ print(random_bool())
|
|
1881
1883
|
|
1882
1884
|
Output:
|
1883
1885
|
```py
|
1884
|
-
|
1886
|
+
True
|
1885
1887
|
```
|
1886
1888
|
|
1887
1889
|
## restart
|
@@ -1915,7 +1917,7 @@ x.cancel()
|
|
1915
1917
|
|
1916
1918
|
Output:
|
1917
1919
|
```py
|
1918
|
-
<Timer(Thread-2, started
|
1920
|
+
<Timer(Thread-2, started 542509780208)>
|
1919
1921
|
menghentikan timeout 7
|
1920
1922
|
```
|
1921
1923
|
|
@@ -1933,10 +1935,14 @@ print(list(sets_ordered(array)))
|
|
1933
1935
|
|
1934
1936
|
Output:
|
1935
1937
|
```py
|
1936
|
-
<generator object sets_ordered at
|
1938
|
+
<generator object sets_ordered at 0x7e512a9700>
|
1937
1939
|
[2, 3, 12, 42, 1, 43, 41, 4, 24, 32]
|
1938
1940
|
```
|
1939
1941
|
|
1942
|
+
## sqlite_all_tables
|
1943
|
+
|
1944
|
+
`sqlite_all_tables()`
|
1945
|
+
|
1940
1946
|
## str_cmp
|
1941
1947
|
|
1942
1948
|
`str_cmp(t1, t2)`
|
@@ -2003,15 +2009,15 @@ print(ExampleComparePerformance().compare_performance())
|
|
2003
2009
|
|
2004
2010
|
Output:
|
2005
2011
|
```py
|
2006
|
-
{'a': <generator object ExampleComparePerformance.a.<locals>.<genexpr> at
|
2012
|
+
{'a': <generator object ExampleComparePerformance.a.<locals>.<genexpr> at 0x7e512a8860>,
|
2007
2013
|
'b': (0, 1, 2, 3, 4, 5, 6, 7, 8, 9),
|
2008
2014
|
'c': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
|
2009
2015
|
'd': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]}
|
2010
|
-
{'a':
|
2011
|
-
{'a':
|
2012
|
-
{'a':
|
2013
|
-
{'a':
|
2014
|
-
{'a':
|
2016
|
+
{'a': 100, 'b': 190, 'c': 104, 'd': 150}
|
2017
|
+
{'a': 100, 'b': 163, 'c': 105, 'd': 123}
|
2018
|
+
{'a': 104, 'b': 148, 'c': 100, 'd': 123}
|
2019
|
+
{'a': 107, 'b': 144, 'c': 99, 'd': 140}
|
2020
|
+
{'a': 101, 'b': 140, 'c': 100, 'd': 129}
|
2015
2021
|
```
|
2016
2022
|
|
2017
2023
|
## PintUregQuantity
|