pypipr 1.0.141__py3-none-any.whl → 1.0.142__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pypipr/traceback_filename.py +2 -2
- pypipr/traceback_framename.py +2 -2
- {pypipr-1.0.141.dist-info → pypipr-1.0.142.dist-info}/METADATA +111 -111
- {pypipr-1.0.141.dist-info → pypipr-1.0.142.dist-info}/RECORD +6 -6
- {pypipr-1.0.141.dist-info → pypipr-1.0.142.dist-info}/WHEEL +0 -0
- {pypipr-1.0.141.dist-info → pypipr-1.0.142.dist-info}/entry_points.txt +0 -0
pypipr/traceback_filename.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import traceback
|
2
2
|
|
3
3
|
|
4
|
-
def traceback_filename():
|
4
|
+
def traceback_filename(stack_level=-3):
|
5
5
|
"""
|
6
6
|
Mendapatkan filename dimana fungsi yg memanggil
|
7
7
|
fungsi dimana fungsi ini diletakkan dipanggil.
|
@@ -10,4 +10,4 @@ def traceback_filename():
|
|
10
10
|
print(traceback_filename())
|
11
11
|
```
|
12
12
|
"""
|
13
|
-
return traceback.extract_stack()[
|
13
|
+
return traceback.extract_stack()[stack_level].filename
|
pypipr/traceback_framename.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import traceback
|
2
2
|
|
3
3
|
|
4
|
-
def traceback_framename():
|
4
|
+
def traceback_framename(stack_level=-3):
|
5
5
|
"""
|
6
6
|
Mendapatkan frame name dimana fungsi yg memanggil
|
7
7
|
fungsi dimana fungsi ini diletakan ini dipanggil.
|
@@ -10,4 +10,4 @@ def traceback_framename():
|
|
10
10
|
print(traceback_framename())
|
11
11
|
```
|
12
12
|
"""
|
13
|
-
return traceback.extract_stack()[
|
13
|
+
return traceback.extract_stack()[stack_level].name
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: pypipr
|
3
|
-
Version: 1.0.
|
3
|
+
Version: 1.0.142
|
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 0x7992437940>
|
252
|
+
<generator object int_range at 0x7992437940>
|
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 0x79924c1480>
|
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 0x79924ca110>
|
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 0x7992437a40>
|
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-25
|
496
|
-
2024-05-25
|
497
|
-
2024-05-
|
495
|
+
2024-05-25 23:31:33.469787+07:00
|
496
|
+
2024-05-25 16:31:33.471476+00:00
|
497
|
+
2024-05-25 09:31:33.476526-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 0x79924c9e40>
|
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 0x79924ca3e0>
|
651
|
+
[<function ExampleGetClassMethod.a at 0x7992507060>, <function ExampleGetClassMethod.b at 0x7992506fc0>, <function ExampleGetClassMethod.c at 0x79925071a0>, <function ExampleGetClassMethod.d at 0x7992507240>]
|
652
652
|
```
|
653
653
|
|
654
654
|
## get_filesize
|
@@ -1064,7 +1064,7 @@ Output:
|
|
1064
1064
|
|
1065
1065
|
## ienumerate
|
1066
1066
|
|
1067
|
-
`ienumerate(iterator, start=0, key=<function int_to_int at
|
1067
|
+
`ienumerate(iterator, start=0, key=<function int_to_int at 0x799dc539c0>)`
|
1068
1068
|
|
1069
1069
|
meningkatkan fungsi enumerate() pada python
|
1070
1070
|
untuk key menggunakan huruf dan basis angka lainnya.
|
@@ -1077,7 +1077,7 @@ iprint(ienumerate(it, key=int_to_chr))
|
|
1077
1077
|
|
1078
1078
|
Output:
|
1079
1079
|
```py
|
1080
|
-
<generator object ienumerate at
|
1080
|
+
<generator object ienumerate at 0x79924ca4d0>
|
1081
1081
|
[('a', 'ini'), ('b', 'contoh'), ('c', 'enumerator')]
|
1082
1082
|
```
|
1083
1083
|
|
@@ -1144,7 +1144,7 @@ print(ijoin(10, ' '))
|
|
1144
1144
|
|
1145
1145
|
Output:
|
1146
1146
|
```py
|
1147
|
-
qweqw,
|
1147
|
+
qweqw, dfs, asd, weq
|
1148
1148
|
,ini,path,seperti,url,
|
1149
1149
|
ini,path,seperti,url
|
1150
1150
|
<li>satu</li>
|
@@ -1233,7 +1233,7 @@ Output:
|
|
1233
1233
|
['Ounce\xa0(oz)', '2.334,20 (-0,64)', '16.024,00', '37.403.221'],
|
1234
1234
|
['Gram\xa0(gr)', '75,05', '16.024,00', '1.202.541 (-330)'],
|
1235
1235
|
['Kilogram\xa0(kg)', '75.046,27', '16.024,00', '1.202.541.474'],
|
1236
|
-
['Update harga emas :25 Mei 2024, pukul
|
1236
|
+
['Update harga emas :25 Mei 2024, pukul 23:31Update kurs :25 Mei 2024, pukul '
|
1237
1237
|
'13:10']],
|
1238
1238
|
[['Gram', 'UBS Gold 99.99%'],
|
1239
1239
|
['Jual', 'Beli'],
|
@@ -1284,7 +1284,7 @@ Output:
|
|
1284
1284
|
['USD', '75,05↓', '-0,02-0,03%'],
|
1285
1285
|
['KURS', '16.045,00↑', '+12,60+0,08%'],
|
1286
1286
|
['IDR', '1.204.117,45↑', '+615,70+0,05%'],
|
1287
|
-
['Sabtu, 25 Mei 2024
|
1287
|
+
['Sabtu, 25 Mei 2024 23:31']],
|
1288
1288
|
[[''],
|
1289
1289
|
['Emas 1 Gram (IDR)Emas 1 Gram (USD)Kurs USD-IDR',
|
1290
1290
|
'Hari Ini',
|
@@ -1437,7 +1437,7 @@ Output:
|
|
1437
1437
|
```py
|
1438
1438
|
8
|
1439
1439
|
['mana', 'aja']
|
1440
|
-
[<Element a at
|
1440
|
+
[<Element a at 0x7992515590>, <Element a at 0x7991c08780>, <Element a at 0x7991c08820>, <Element a at 0x7991c08870>, <Element a at 0x7991c088c0>, <Element a at 0x7991c08910>, <Element a at 0x7991c08960>, <Element a at 0x7991c089b0>, <Element a at 0x7991c08a00>, <Element a at 0x7991c08a50>, <Element a at 0x7991c08aa0>, <Element a at 0x7991c08af0>, <Element a at 0x7991c08b40>, <Element a at 0x7991c08b90>, <Element a at 0x7991c08be0>, <Element a at 0x7991c08c30>, <Element a at 0x7991c08c80>, <Element a at 0x7991c08cd0>]
|
1441
1441
|
False
|
1442
1442
|
```
|
1443
1443
|
|
@@ -1499,7 +1499,7 @@ print(list(iscandir("./", recursive=False, scan_file=False)))
|
|
1499
1499
|
|
1500
1500
|
Output:
|
1501
1501
|
```py
|
1502
|
-
<generator object iscandir at
|
1502
|
+
<generator object iscandir at 0x7992437b40>
|
1503
1503
|
[PosixPath('.git'), PosixPath('.vscode'), PosixPath('pypipr'), PosixPath('__pycache__'), PosixPath('dist')]
|
1504
1504
|
```
|
1505
1505
|
|
@@ -1532,86 +1532,86 @@ iprint(ivars(__import__('pypipr')))
|
|
1532
1532
|
|
1533
1533
|
Output:
|
1534
1534
|
```py
|
1535
|
-
{'function': {'avg': <function avg at
|
1536
|
-
'get_filemtime': <function get_filemtime at
|
1537
|
-
'print_colorize': <function print_colorize at
|
1538
|
-
'print_log': <function print_log at
|
1539
|
-
'console_run': <function console_run at
|
1540
|
-
'auto_reload': <function auto_reload at
|
1541
|
-
'basename': <function basename at
|
1542
|
-
'chr_to_int': <function chr_to_int at
|
1543
|
-
'int_to_chr': <function int_to_chr at
|
1544
|
-
'irange': <function irange at
|
1545
|
-
'batchmaker': <function batchmaker at
|
1546
|
-
'calculate': <function calculate at
|
1547
|
-
'batch_calculate': <function batch_calculate at
|
1548
|
-
'bin_to_int': <function bin_to_int at
|
1549
|
-
'is_empty': <function is_empty at
|
1550
|
-
'exit_if_empty': <function exit_if_empty at
|
1551
|
-
'input_char': <function input_char at
|
1552
|
-
'choices': <function choices at
|
1553
|
-
'chunk_array': <function chunk_array at
|
1554
|
-
'create_folder': <function create_folder at
|
1555
|
-
'datetime_from_string': <function datetime_from_string at
|
1556
|
-
'datetime_now': <function datetime_now at
|
1557
|
-
'dict_first': <function dict_first at
|
1558
|
-
'dirname': <function dirname at
|
1559
|
-
'is_iterable': <function is_iterable at
|
1560
|
-
'to_str': <function to_str at
|
1561
|
-
'filter_empty': <function filter_empty at
|
1562
|
-
'get_by_index': <function get_by_index at
|
1563
|
-
'get_class_method': <function get_class_method at
|
1564
|
-
'get_filesize': <function get_filesize at
|
1565
|
-
'github_init': <function github_init at
|
1566
|
-
'github_pull': <function github_pull at
|
1567
|
-
'github_push': <function github_push at
|
1568
|
-
'github_user': <function github_user at
|
1569
|
-
'hex_to_int': <function hex_to_int at
|
1570
|
-
'iargv': <function iargv at
|
1571
|
-
'idir': <function idir at
|
1572
|
-
'idumps_html': <function idumps_html at
|
1573
|
-
'idumps': <function idumps at
|
1574
|
-
'int_to_int': <function int_to_int at
|
1575
|
-
'ienumerate': <function ienumerate at
|
1576
|
-
'ienv': <function ienv at
|
1577
|
-
'iexec': <function iexec at
|
1578
|
-
'ijoin': <function ijoin at
|
1579
|
-
'iloads_html': <function iloads_html at
|
1580
|
-
'iloads': <function iloads at
|
1581
|
-
'int_to_bin': <function int_to_bin at
|
1582
|
-
'int_to_hex': <function int_to_hex at
|
1583
|
-
'int_to_oct': <function int_to_oct at
|
1584
|
-
'is_valid_url': <function is_valid_url at
|
1585
|
-
'iopen': <function iopen at
|
1586
|
-
'iprint': <function iprint at
|
1587
|
-
'ireplace': <function ireplace at
|
1588
|
-
'iscandir': <function iscandir at
|
1589
|
-
'isplit': <function isplit at
|
1590
|
-
'ivars': <function ivars at
|
1591
|
-
'log': <function log at
|
1592
|
-
'oct_to_int': <function oct_to_int at
|
1593
|
-
'password_generator': <function password_generator at
|
1594
|
-
'pip_freeze_without_version': <function pip_freeze_without_version at
|
1595
|
-
'poetry_publish': <function poetry_publish at
|
1596
|
-
'poetry_update_version': <function poetry_update_version at
|
1597
|
-
'print_dir': <function print_dir at
|
1598
|
-
'print_to_last_line': <function print_to_last_line at
|
1599
|
-
'random_bool': <function random_bool at
|
1600
|
-
'restart': <function restart at
|
1601
|
-
'set_timeout': <function set_timeout at
|
1602
|
-
'sets_ordered': <function sets_ordered at
|
1603
|
-
'sqlite_delete_table': <function sqlite_delete_table at
|
1604
|
-
'sqlite_get_all_tables': <function sqlite_get_all_tables at
|
1605
|
-
'sqlite_get_data_table': <function sqlite_get_data_table at
|
1606
|
-
'str_cmp': <function str_cmp at
|
1607
|
-
'text_colorize': <function text_colorize at
|
1608
|
-
'traceback_filename': <function traceback_filename at
|
1609
|
-
'traceback_framename': <function traceback_framename at
|
1535
|
+
{'function': {'avg': <function avg at 0x79a2dd8040>,
|
1536
|
+
'get_filemtime': <function get_filemtime at 0x799de1f060>,
|
1537
|
+
'print_colorize': <function print_colorize at 0x799de1f240>,
|
1538
|
+
'print_log': <function print_log at 0x799de1f100>,
|
1539
|
+
'console_run': <function console_run at 0x799de1f1a0>,
|
1540
|
+
'auto_reload': <function auto_reload at 0x799e798f40>,
|
1541
|
+
'basename': <function basename at 0x799ddba980>,
|
1542
|
+
'chr_to_int': <function chr_to_int at 0x799de1f7e0>,
|
1543
|
+
'int_to_chr': <function int_to_chr at 0x799de1f880>,
|
1544
|
+
'irange': <function irange at 0x799de1fb00>,
|
1545
|
+
'batchmaker': <function batchmaker at 0x799de1f4c0>,
|
1546
|
+
'calculate': <function calculate at 0x799de1f600>,
|
1547
|
+
'batch_calculate': <function batch_calculate at 0x799de1f380>,
|
1548
|
+
'bin_to_int': <function bin_to_int at 0x799e798ea0>,
|
1549
|
+
'is_empty': <function is_empty at 0x799de2c2c0>,
|
1550
|
+
'exit_if_empty': <function exit_if_empty at 0x799de2c180>,
|
1551
|
+
'input_char': <function input_char at 0x799de2c220>,
|
1552
|
+
'choices': <function choices at 0x799de2c540>,
|
1553
|
+
'chunk_array': <function chunk_array at 0x799de2c5e0>,
|
1554
|
+
'create_folder': <function create_folder at 0x799de2c680>,
|
1555
|
+
'datetime_from_string': <function datetime_from_string at 0x799de2c720>,
|
1556
|
+
'datetime_now': <function datetime_now at 0x799de2c0e0>,
|
1557
|
+
'dict_first': <function dict_first at 0x799de2ea20>,
|
1558
|
+
'dirname': <function dirname at 0x799de2eac0>,
|
1559
|
+
'is_iterable': <function is_iterable at 0x799de2eca0>,
|
1560
|
+
'to_str': <function to_str at 0x799de2ed40>,
|
1561
|
+
'filter_empty': <function filter_empty at 0x799de1f2e0>,
|
1562
|
+
'get_by_index': <function get_by_index at 0x799de2eb60>,
|
1563
|
+
'get_class_method': <function get_class_method at 0x799de2ede0>,
|
1564
|
+
'get_filesize': <function get_filesize at 0x799de2ef20>,
|
1565
|
+
'github_init': <function github_init at 0x799de2efc0>,
|
1566
|
+
'github_pull': <function github_pull at 0x799de2f060>,
|
1567
|
+
'github_push': <function github_push at 0x799de2f1a0>,
|
1568
|
+
'github_user': <function github_user at 0x799de2f240>,
|
1569
|
+
'hex_to_int': <function hex_to_int at 0x799de2f2e0>,
|
1570
|
+
'iargv': <function iargv at 0x799de2f380>,
|
1571
|
+
'idir': <function idir at 0x799de2f420>,
|
1572
|
+
'idumps_html': <function idumps_html at 0x799de2fb00>,
|
1573
|
+
'idumps': <function idumps at 0x799de2f560>,
|
1574
|
+
'int_to_int': <function int_to_int at 0x799dc539c0>,
|
1575
|
+
'ienumerate': <function ienumerate at 0x799dc46020>,
|
1576
|
+
'ienv': <function ienv at 0x799dc536a0>,
|
1577
|
+
'iexec': <function iexec at 0x799dc53a60>,
|
1578
|
+
'ijoin': <function ijoin at 0x799dc53ba0>,
|
1579
|
+
'iloads_html': <function iloads_html at 0x799dc53d80>,
|
1580
|
+
'iloads': <function iloads at 0x79a37da020>,
|
1581
|
+
'int_to_bin': <function int_to_bin at 0x799dc53b00>,
|
1582
|
+
'int_to_hex': <function int_to_hex at 0x799dc53ce0>,
|
1583
|
+
'int_to_oct': <function int_to_oct at 0x799dc53e20>,
|
1584
|
+
'is_valid_url': <function is_valid_url at 0x799daafba0>,
|
1585
|
+
'iopen': <function iopen at 0x799dc68040>,
|
1586
|
+
'iprint': <function iprint at 0x799daaf6a0>,
|
1587
|
+
'ireplace': <function ireplace at 0x799daaf7e0>,
|
1588
|
+
'iscandir': <function iscandir at 0x799db749a0>,
|
1589
|
+
'isplit': <function isplit at 0x799db74a40>,
|
1590
|
+
'ivars': <function ivars at 0x799db74ae0>,
|
1591
|
+
'log': <function log at 0x799db74b80>,
|
1592
|
+
'oct_to_int': <function oct_to_int at 0x799db74c20>,
|
1593
|
+
'password_generator': <function password_generator at 0x799db74cc0>,
|
1594
|
+
'pip_freeze_without_version': <function pip_freeze_without_version at 0x799db74e00>,
|
1595
|
+
'poetry_publish': <function poetry_publish at 0x799db74ea0>,
|
1596
|
+
'poetry_update_version': <function poetry_update_version at 0x799db74fe0>,
|
1597
|
+
'print_dir': <function print_dir at 0x799db751c0>,
|
1598
|
+
'print_to_last_line': <function print_to_last_line at 0x799db75260>,
|
1599
|
+
'random_bool': <function random_bool at 0x799db75300>,
|
1600
|
+
'restart': <function restart at 0x799db753a0>,
|
1601
|
+
'set_timeout': <function set_timeout at 0x799db75440>,
|
1602
|
+
'sets_ordered': <function sets_ordered at 0x799db754e0>,
|
1603
|
+
'sqlite_delete_table': <function sqlite_delete_table at 0x799db75580>,
|
1604
|
+
'sqlite_get_all_tables': <function sqlite_get_all_tables at 0x799db75120>,
|
1605
|
+
'sqlite_get_data_table': <function sqlite_get_data_table at 0x799db75ee0>,
|
1606
|
+
'str_cmp': <function str_cmp at 0x799db75f80>,
|
1607
|
+
'text_colorize': <function text_colorize at 0x799db76020>,
|
1608
|
+
'traceback_filename': <function traceback_filename at 0x799db760c0>,
|
1609
|
+
'traceback_framename': <function traceback_framename at 0x799db76160>},
|
1610
1610
|
'class': {'ComparePerformance': <class 'pypipr.ComparePerformance.ComparePerformance'>,
|
1611
1611
|
'PintUregQuantity': <class 'pint.Quantity'>,
|
1612
1612
|
'RunParallel': <class 'pypipr.RunParallel.RunParallel'>},
|
1613
1613
|
'variable': {'LINUX': True,
|
1614
|
-
'PintUreg': <pint.registry.UnitRegistry object at
|
1614
|
+
'PintUreg': <pint.registry.UnitRegistry object at 0x79a2de6890>,
|
1615
1615
|
'WINDOWS': False},
|
1616
1616
|
'module': {'asyncio': <module 'asyncio' from '/data/data/com.termux/files/usr/lib/python3.11/asyncio/__init__.py'>,
|
1617
1617
|
'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'>,
|
@@ -1702,7 +1702,7 @@ print(password_generator())
|
|
1702
1702
|
|
1703
1703
|
Output:
|
1704
1704
|
```py
|
1705
|
-
|
1705
|
+
TDg3SjEo
|
1706
1706
|
```
|
1707
1707
|
|
1708
1708
|
## pip_freeze_without_version
|
@@ -1760,7 +1760,7 @@ Output:
|
|
1760
1760
|
__enter__ : https:/www.google.com
|
1761
1761
|
__fspath__ : https:/www.google.com
|
1762
1762
|
__getstate__ : (None, {'_drv': '', '_root': '', '_parts': ['https:', 'www.google.com'], '_str': 'https:/www.google.com'})
|
1763
|
-
__hash__ : -
|
1763
|
+
__hash__ : -8320060757596931504
|
1764
1764
|
__init__ : None
|
1765
1765
|
__init_subclass__ : None
|
1766
1766
|
__module__ : pathlib
|
@@ -1773,8 +1773,8 @@ Output:
|
|
1773
1773
|
_cached_cparts : ['https:', 'www.google.com']
|
1774
1774
|
_cparts : ['https:', 'www.google.com']
|
1775
1775
|
_drv :
|
1776
|
-
_flavour : <pathlib._PosixFlavour object at
|
1777
|
-
_hash : -
|
1776
|
+
_flavour : <pathlib._PosixFlavour object at 0x79a2c1d350>
|
1777
|
+
_hash : -8320060757596931504
|
1778
1778
|
_parts : ['https:', 'www.google.com']
|
1779
1779
|
_root :
|
1780
1780
|
_str : https:/www.google.com
|
@@ -1796,7 +1796,7 @@ Output:
|
|
1796
1796
|
is_reserved : False
|
1797
1797
|
is_socket : False
|
1798
1798
|
is_symlink : False
|
1799
|
-
iterdir : <generator object Path.iterdir at
|
1799
|
+
iterdir : <generator object Path.iterdir at 0x79924bf060>
|
1800
1800
|
joinpath : https:/www.google.com
|
1801
1801
|
name : www.google.com
|
1802
1802
|
parent : https:
|
@@ -1847,7 +1847,7 @@ print(random_bool())
|
|
1847
1847
|
|
1848
1848
|
Output:
|
1849
1849
|
```py
|
1850
|
-
|
1850
|
+
False
|
1851
1851
|
```
|
1852
1852
|
|
1853
1853
|
## restart
|
@@ -1881,7 +1881,7 @@ x.cancel()
|
|
1881
1881
|
|
1882
1882
|
Output:
|
1883
1883
|
```py
|
1884
|
-
<Timer(Thread-2, started
|
1884
|
+
<Timer(Thread-2, started 522113236208)>
|
1885
1885
|
menghentikan timeout 7
|
1886
1886
|
```
|
1887
1887
|
|
@@ -1899,7 +1899,7 @@ print(list(sets_ordered(array)))
|
|
1899
1899
|
|
1900
1900
|
Output:
|
1901
1901
|
```py
|
1902
|
-
<generator object sets_ordered at
|
1902
|
+
<generator object sets_ordered at 0x799251db10>
|
1903
1903
|
[2, 3, 12, 42, 1, 43, 41, 4, 24, 32]
|
1904
1904
|
```
|
1905
1905
|
|
@@ -1956,7 +1956,7 @@ text_colorize("Print some text", color=colorama.Fore.RED)
|
|
1956
1956
|
|
1957
1957
|
## traceback_filename
|
1958
1958
|
|
1959
|
-
`traceback_filename()`
|
1959
|
+
`traceback_filename(stack_level=-3)`
|
1960
1960
|
|
1961
1961
|
Mendapatkan filename dimana fungsi yg memanggil
|
1962
1962
|
fungsi dimana fungsi ini diletakkan dipanggil.
|
@@ -1967,7 +1967,7 @@ print(traceback_filename())
|
|
1967
1967
|
|
1968
1968
|
## traceback_framename
|
1969
1969
|
|
1970
|
-
`traceback_framename()`
|
1970
|
+
`traceback_framename(stack_level=-3)`
|
1971
1971
|
|
1972
1972
|
Mendapatkan frame name dimana fungsi yg memanggil
|
1973
1973
|
fungsi dimana fungsi ini diletakan ini dipanggil.
|
@@ -2013,15 +2013,15 @@ print(ExampleComparePerformance().compare_performance())
|
|
2013
2013
|
|
2014
2014
|
Output:
|
2015
2015
|
```py
|
2016
|
-
{'a': <generator object ExampleComparePerformance.a.<locals>.<genexpr> at
|
2016
|
+
{'a': <generator object ExampleComparePerformance.a.<locals>.<genexpr> at 0x799251cd40>,
|
2017
2017
|
'b': (0, 1, 2, 3, 4, 5, 6, 7, 8, 9),
|
2018
2018
|
'c': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
|
2019
2019
|
'd': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]}
|
2020
|
-
{'a':
|
2021
|
-
{'a':
|
2022
|
-
{'a':
|
2023
|
-
{'a':
|
2024
|
-
{'a':
|
2020
|
+
{'a': 163, 'b': 136, 'c': 100, 'd': 155}
|
2021
|
+
{'a': 146, 'b': 145, 'c': 100, 'd': 124}
|
2022
|
+
{'a': 135, 'b': 135, 'c': 100, 'd': 125}
|
2023
|
+
{'a': 124, 'b': 129, 'c': 100, 'd': 127}
|
2024
|
+
{'a': 127, 'b': 135, 'c': 100, 'd': 130}
|
2025
2025
|
```
|
2026
2026
|
|
2027
2027
|
## PintUregQuantity
|
@@ -79,9 +79,9 @@ pypipr/sqlite_get_data_table.py,sha256=_GeaakCezPEmCB6cgTqgc1bKK_AMzjuxRGYZdOKA-
|
|
79
79
|
pypipr/str_cmp.py,sha256=2kavWiT4VTddXcBotF1CxDOWSygk5rFrbllKxBjw9dc,377
|
80
80
|
pypipr/text_colorize.py,sha256=IVjaCnXBSBu4Rh8pTO3CxDvxpA265HVwyKX_-PRXCcI,396
|
81
81
|
pypipr/to_str.py,sha256=vSuspf-ZQldf4enkssa9XH0WMjkmWug51G9ia0K5occ,597
|
82
|
-
pypipr/traceback_filename.py,sha256=
|
83
|
-
pypipr/traceback_framename.py,sha256=
|
84
|
-
pypipr-1.0.
|
85
|
-
pypipr-1.0.
|
86
|
-
pypipr-1.0.
|
87
|
-
pypipr-1.0.
|
82
|
+
pypipr/traceback_filename.py,sha256=4o85J0N8clI0cM6NTGcKZ4zxR9yS7W2NS_bz3J2_PnY,288
|
83
|
+
pypipr/traceback_framename.py,sha256=_mullrAZzMhBFEFVCgdsmkYQmYUkd58o-J-HuMntKyc,291
|
84
|
+
pypipr-1.0.142.dist-info/METADATA,sha256=jsoc8K6uNJZJYJQjxYc9TXVakruzGrn9zi1JF1hpdb4,55708
|
85
|
+
pypipr-1.0.142.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
86
|
+
pypipr-1.0.142.dist-info/entry_points.txt,sha256=XEBtOa61BCVW4cVvoqYQnyTcenJ1tzFFB09YnuqlKBY,51
|
87
|
+
pypipr-1.0.142.dist-info/RECORD,,
|
File without changes
|
File without changes
|