pypipr 1.0.148__py3-none-any.whl → 1.0.149__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/__init__.py +1 -0
- pypipr/pip_update_pypipr.py +7 -0
- {pypipr-1.0.148.dist-info → pypipr-1.0.149.dist-info}/METADATA +148 -142
- {pypipr-1.0.148.dist-info → pypipr-1.0.149.dist-info}/RECORD +6 -5
- {pypipr-1.0.148.dist-info → pypipr-1.0.149.dist-info}/WHEEL +0 -0
- {pypipr-1.0.148.dist-info → pypipr-1.0.149.dist-info}/entry_points.txt +0 -0
pypipr/__init__.py
CHANGED
@@ -63,6 +63,7 @@ from .log import log
|
|
63
63
|
from .oct_to_int import oct_to_int
|
64
64
|
from .password_generator import password_generator
|
65
65
|
from .pip_freeze_without_version import pip_freeze_without_version
|
66
|
+
from .pip_update_pypipr import pip_update_pypipr
|
66
67
|
from .poetry_publish import poetry_publish
|
67
68
|
from .poetry_update_version import poetry_update_version
|
68
69
|
from .print_colorize import print_colorize
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: pypipr
|
3
|
-
Version: 1.0.
|
3
|
+
Version: 1.0.149
|
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 0x75b6c42c40>
|
252
|
+
<generator object int_range at 0x75b6c42c40>
|
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 0x75b6ba6c20>
|
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 0x75b69087c0>
|
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 0x75b6c42d40>
|
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-06 10:
|
496
|
-
2024-08-06 03:
|
497
|
-
2024-08-05 20:
|
495
|
+
2024-08-06 10:17:48.427879+07:00
|
496
|
+
2024-08-06 03:17:48.428343+00:00
|
497
|
+
2024-08-05 20:17:48.429157-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 0x75b69084f0>
|
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 0x75b6908a90>
|
655
|
+
[<function ExampleGetClassMethod.a at 0x75b6922520>, <function ExampleGetClassMethod.b at 0x75b69225c0>, <function ExampleGetClassMethod.c at 0x75b6922700>, <function ExampleGetClassMethod.d at 0x75b69227a0>]
|
656
656
|
```
|
657
657
|
|
658
658
|
## get_filesize
|
@@ -845,6 +845,7 @@ Output:
|
|
845
845
|
'pathlib',
|
846
846
|
'pint',
|
847
847
|
'pip_freeze_without_version',
|
848
|
+
'pip_update_pypipr',
|
848
849
|
'poetry_publish',
|
849
850
|
'poetry_update_version',
|
850
851
|
'pprint',
|
@@ -1070,7 +1071,7 @@ Output:
|
|
1070
1071
|
|
1071
1072
|
## ienumerate
|
1072
1073
|
|
1073
|
-
`ienumerate(iterator, start=0, key=<function int_to_int at
|
1074
|
+
`ienumerate(iterator, start=0, key=<function int_to_int at 0x75bb982ac0>)`
|
1074
1075
|
|
1075
1076
|
meningkatkan fungsi enumerate() pada python
|
1076
1077
|
untuk key menggunakan huruf dan basis angka lainnya.
|
@@ -1083,7 +1084,7 @@ iprint(ienumerate(it, key=int_to_chr))
|
|
1083
1084
|
|
1084
1085
|
Output:
|
1085
1086
|
```py
|
1086
|
-
<generator object ienumerate at
|
1087
|
+
<generator object ienumerate at 0x75b6908b80>
|
1087
1088
|
[('a', 'ini'), ('b', 'contoh'), ('c', 'enumerator')]
|
1088
1089
|
```
|
1089
1090
|
|
@@ -1150,7 +1151,7 @@ print(ijoin(10, ' '))
|
|
1150
1151
|
|
1151
1152
|
Output:
|
1152
1153
|
```py
|
1153
|
-
|
1154
|
+
qweqw, dfs, asd, weq
|
1154
1155
|
,ini,path,seperti,url,
|
1155
1156
|
ini,path,seperti,url
|
1156
1157
|
<li>satu</li>
|
@@ -1196,9 +1197,9 @@ Output:
|
|
1196
1197
|
```py
|
1197
1198
|
(['Home', 'Emas 1 Gram', 'History', 'Trend', 'Perak 1 Gram', 'Pluang'],
|
1198
1199
|
[['Harga Emas Hari Ini - Selasa, 06 Agustus 2024'],
|
1199
|
-
['Spot Emas USD↑2.
|
1200
|
+
['Spot Emas USD↑2.409,70 (+6,12) / oz',
|
1200
1201
|
'Kurs IDR↓16.154,00 (-80,00) / USD',
|
1201
|
-
'Emas IDR↓1.
|
1202
|
+
'Emas IDR↓1.251.509 (-3.004) / gr'],
|
1202
1203
|
['LM Antam (Jual)↓1.413.000 (-7.000) / gr',
|
1203
1204
|
'LM Antam (Beli)↓1.266.000 (-7.000) / gr']],
|
1204
1205
|
[['Harga Emas Hari Ini'],
|
@@ -1269,10 +1270,10 @@ Output:
|
|
1269
1270
|
'Update harga LM Pegadaian :31 Agustus 2023']],
|
1270
1271
|
[['Spot Harga Emas Hari Ini (Market Open)'],
|
1271
1272
|
['Satuan', 'USD', 'Kurs\xa0Dollar', 'IDR'],
|
1272
|
-
['Ounce\xa0(oz)', '2.
|
1273
|
-
['Gram\xa0(gr)', '77,
|
1274
|
-
['Kilogram\xa0(kg)', '77.
|
1275
|
-
['Update harga emas :06 Agustus 2024, pukul 10:
|
1273
|
+
['Ounce\xa0(oz)', '2.409,70 (+6,12)', '16.154,00 (-80,00)', '38.926.294'],
|
1274
|
+
['Gram\xa0(gr)', '77,47', '16.154,00', '1.251.509 (-3.004)'],
|
1275
|
+
['Kilogram\xa0(kg)', '77.473,65', '16.154,00', '1.251.509.408'],
|
1276
|
+
['Update harga emas :06 Agustus 2024, pukul 10:17Update kurs :06 Agustus '
|
1276
1277
|
'2024, pukul 09:10']],
|
1277
1278
|
[['Gram', 'UBS Gold 99.99%'],
|
1278
1279
|
['Jual', 'Beli'],
|
@@ -1310,36 +1311,36 @@ Output:
|
|
1310
1311
|
['Unit', 'USD', 'IDR'],
|
1311
1312
|
['Angka', '+/-', 'Angka', '+/-'],
|
1312
1313
|
['Hari Ini', 'Kurs', '', '', '16.234', '-80-0,49%'],
|
1313
|
-
['oz', '2.403,58', '+
|
1314
|
-
['gr', '77,28', '+0,
|
1314
|
+
['oz', '2.403,58', '+6,12+0,25%', '39.019.718', '-93.424-0,24%'],
|
1315
|
+
['gr', '77,28', '+0,20+0,25%', '1.254.513', '-3.004-0,24%'],
|
1315
1316
|
['30 Hari', 'Kurs', '', '', '16.341', '-187-1,14%'],
|
1316
|
-
['oz', '2.391,59', '+
|
1317
|
-
['gr', '76,89', '+0,
|
1317
|
+
['oz', '2.391,59', '+18,11+0,76%', '39.080.996', '-154.702-0,40%'],
|
1318
|
+
['gr', '76,89', '+0,58+0,76%', '1.256.483', '-4.974-0,40%'],
|
1318
1319
|
['2 Bulan', 'Kurs', '', '', '16.279', '-125-0,77%'],
|
1319
|
-
['oz', '2.309,83', '+
|
1320
|
-
['gr', '74,26', '+3,
|
1320
|
+
['oz', '2.309,83', '+99,87+4,32%', '37.601.723', '+1.324.571+3,52%'],
|
1321
|
+
['gr', '74,26', '+3,21+4,32', '1.208.923', '+42.586+3,52%'],
|
1321
1322
|
['6 Bulan', 'Kurs', '', '', '15.734', '+420+2,67%'],
|
1322
|
-
['oz', '2.030,69', '+
|
1323
|
-
['gr', '65,29', '+12,
|
1323
|
+
['oz', '2.030,69', '+379,01+18,66%', '31.950.876', '+6.975.417+21,83%'],
|
1324
|
+
['gr', '65,29', '+12,19+18,66%', '1.027.245', '+224.265+21,83%'],
|
1324
1325
|
['1 Tahun', 'Kurs', '', '', '15.731', '+423+2,69%'],
|
1325
|
-
['oz', '1.823,86', '+
|
1326
|
-
['gr', '58,64', '+18,
|
1326
|
+
['oz', '1.823,86', '+585,84+32,12%', '28.691.142', '+10.235.152+35,67%'],
|
1327
|
+
['gr', '58,64', '+18,84+32,12%', '922.442', '+329.068+35,67%'],
|
1327
1328
|
['2 Tahun', 'Kurs', '', '', '14.929', '+1.225+8,21%'],
|
1328
|
-
['oz', '1.787,68', '+
|
1329
|
-
['gr', '57,48', '+
|
1329
|
+
['oz', '1.787,68', '+622,02+34,79%', '26.688.275', '+12.238.019+45,86%'],
|
1330
|
+
['gr', '57,48', '+20,00+34,79%', '858.048', '+393.461+45,86%'],
|
1330
1331
|
['3 Tahun', 'Kurs', '', '', '14.342', '+1.812+12,63%'],
|
1331
|
-
['oz', '1.763,69', '+
|
1332
|
-
['gr', '56,70', '+20,
|
1332
|
+
['oz', '1.763,69', '+646,01+36,63%', '25.294.842', '+13.631.452+53,89%'],
|
1333
|
+
['gr', '56,70', '+20,77+36,63%', '813.248', '+438.261+53,89%'],
|
1333
1334
|
['5 Tahun', 'Kurs', '', '', '14.231', '+1.923+13,51%'],
|
1334
|
-
['oz', '1.496,30', '+
|
1335
|
-
['gr', '48,11', '+29,
|
1335
|
+
['oz', '1.496,30', '+913,40+61,04%', '21.293.845', '+17.632.449+82,81%'],
|
1336
|
+
['gr', '48,11', '+29,37+61,04%', '684.613', '+566.896+82,81%']])
|
1336
1337
|
(['Home', 'Emas 1 Gram', 'History', 'Trend', 'Perak 1 Gram', 'Pluang'],
|
1337
1338
|
[[''],
|
1338
1339
|
['Emas 24 KaratHarga Emas 1 Gram', ''],
|
1339
|
-
['USD', '77,
|
1340
|
-
['KURS', '16.
|
1341
|
-
['IDR', '1.
|
1342
|
-
['Selasa, 06 Agustus 2024 10:
|
1340
|
+
['USD', '77,47↑', '+0,19+0,25%'],
|
1341
|
+
['KURS', '16.186,25↓', '-18,75-0,12%'],
|
1342
|
+
['IDR', '1.254.007,93↑', '+1.735,90+0,14%'],
|
1343
|
+
['Selasa, 06 Agustus 2024 10:17']],
|
1343
1344
|
[[''],
|
1344
1345
|
['Emas 1 Gram (IDR)Emas 1 Gram (USD)Kurs USD-IDR',
|
1345
1346
|
'Hari Ini',
|
@@ -1350,19 +1351,19 @@ Output:
|
|
1350
1351
|
'']],
|
1351
1352
|
[['Pergerakkan Harga Emas 1 Gram'],
|
1352
1353
|
['', 'Penutupan Kemarin', 'Pergerakkan Hari Ini', 'Rata-rata'],
|
1353
|
-
['USD', '77,28', '77,28 - 77,
|
1354
|
-
['KURS', '16.205,00', '16.
|
1355
|
-
['IDR', '1.252.272,03', '1.252.272,03 - 1.
|
1354
|
+
['USD', '77,28', '77,28 - 77,47', '77,38'],
|
1355
|
+
['KURS', '16.205,00', '16.186,25 - 16.205,00', '16.195,63'],
|
1356
|
+
['IDR', '1.252.272,03', '1.252.272,03 - 1.254.007,93', '1.253.139,98'],
|
1356
1357
|
[''],
|
1357
1358
|
['', 'Awal Tahun', 'Pergerakkan YTD', '+/- YTD'],
|
1358
|
-
['USD', '66,32', '64,07 - 79,08', '+11,
|
1359
|
-
['KURS', '15.390,10', '15.390,00 - 16.509,65', '+
|
1360
|
-
['IDR', '1.020.729,53', '997.660,12 - 1.279.266,69', '+
|
1359
|
+
['USD', '66,32', '64,07 - 79,08', '+11,15 (16,81%)'],
|
1360
|
+
['KURS', '15.390,10', '15.390,00 - 16.509,65', '+796,15 (5,17%)'],
|
1361
|
+
['IDR', '1.020.729,53', '997.660,12 - 1.279.266,69', '+233.278,40 (22,85%)'],
|
1361
1362
|
[''],
|
1362
1363
|
['', 'Tahun Lalu / 52 Minggu', 'Pergerakkan 52 Minggu', '+/- 52 Minggu'],
|
1363
|
-
['USD', '62,46', '58,43 - 79,08', '+
|
1364
|
-
['KURS', '15.152,90', '15.152,90 - 16.509,65', '+1.
|
1365
|
-
['IDR', '946.487,57', '912.925,68 - 1.279.266,69', '+
|
1364
|
+
['USD', '62,46', '58,43 - 79,08', '+15,01 (24,03%)'],
|
1365
|
+
['KURS', '15.152,90', '15.152,90 - 16.509,65', '+1.033,35 (6,82%)'],
|
1366
|
+
['IDR', '946.487,57', '912.925,68 - 1.279.266,69', '+307.520,36 (32,49%)']])
|
1366
1367
|
```
|
1367
1368
|
|
1368
1369
|
## iloads
|
@@ -1492,7 +1493,7 @@ Output:
|
|
1492
1493
|
```py
|
1493
1494
|
8
|
1494
1495
|
['mana', 'aja']
|
1495
|
-
[<Element a at
|
1496
|
+
[<Element a at 0x75b6929860>, <Element a at 0x75b6979810>, <Element a at 0x75b69798b0>, <Element a at 0x75b6979900>, <Element a at 0x75b6979950>, <Element a at 0x75b69799a0>, <Element a at 0x75b69799f0>, <Element a at 0x75b6979a40>, <Element a at 0x75b6979a90>, <Element a at 0x75b6979ae0>, <Element a at 0x75b6979b30>, <Element a at 0x75b6979b80>, <Element a at 0x75b6979bd0>, <Element a at 0x75b6979c20>, <Element a at 0x75b6979c70>, <Element a at 0x75b6979cc0>, <Element a at 0x75b6979d10>, <Element a at 0x75b6979d60>, <Element a at 0x75b6979db0>, <Element a at 0x75b6979e00>]
|
1496
1497
|
False
|
1497
1498
|
```
|
1498
1499
|
|
@@ -1554,7 +1555,7 @@ print(list(iscandir("./", recursive=False, scan_file=False)))
|
|
1554
1555
|
|
1555
1556
|
Output:
|
1556
1557
|
```py
|
1557
|
-
<generator object iscandir at
|
1558
|
+
<generator object iscandir at 0x75b6c43140>
|
1558
1559
|
[PosixPath('.git'), PosixPath('.vscode'), PosixPath('pypipr'), PosixPath('__pycache__'), PosixPath('dist')]
|
1559
1560
|
```
|
1560
1561
|
|
@@ -1587,88 +1588,89 @@ iprint(ivars(__import__('pypipr')))
|
|
1587
1588
|
|
1588
1589
|
Output:
|
1589
1590
|
```py
|
1590
|
-
{'function': {'avg': <function avg at
|
1591
|
-
'get_filemtime': <function get_filemtime at
|
1592
|
-
'print_colorize': <function print_colorize at
|
1593
|
-
'print_log': <function print_log at
|
1594
|
-
'console_run': <function console_run at
|
1595
|
-
'auto_reload': <function auto_reload at
|
1596
|
-
'basename': <function basename at
|
1597
|
-
'chr_to_int': <function chr_to_int at
|
1598
|
-
'int_to_chr': <function int_to_chr at
|
1599
|
-
'irange': <function irange at
|
1600
|
-
'batchmaker': <function batchmaker at
|
1601
|
-
'calculate': <function calculate at
|
1602
|
-
'batch_calculate': <function batch_calculate at
|
1603
|
-
'bin_to_int': <function bin_to_int at
|
1604
|
-
'is_empty': <function is_empty at
|
1605
|
-
'exit_if_empty': <function exit_if_empty at
|
1606
|
-
'input_char': <function input_char at
|
1607
|
-
'choices': <function choices at
|
1608
|
-
'chunk_array': <function chunk_array at
|
1609
|
-
'create_folder': <function create_folder at
|
1610
|
-
'datetime_from_string': <function datetime_from_string at
|
1611
|
-
'datetime_now': <function datetime_now at
|
1612
|
-
'dict_first': <function dict_first at
|
1613
|
-
'dirname': <function dirname at
|
1614
|
-
'django_runserver': <function django_runserver at
|
1615
|
-
'is_iterable': <function is_iterable at
|
1616
|
-
'to_str': <function to_str at
|
1617
|
-
'filter_empty': <function filter_empty at
|
1618
|
-
'get_by_index': <function get_by_index at
|
1619
|
-
'get_class_method': <function get_class_method at
|
1620
|
-
'get_filesize': <function get_filesize at
|
1621
|
-
'github_init': <function github_init at
|
1622
|
-
'github_pull': <function github_pull at
|
1623
|
-
'github_push': <function github_push at
|
1624
|
-
'github_user': <function github_user at
|
1625
|
-
'hex_to_int': <function hex_to_int at
|
1626
|
-
'iargv': <function iargv at
|
1627
|
-
'idir': <function idir at
|
1628
|
-
'idumps_html': <function idumps_html at
|
1629
|
-
'idumps': <function idumps at
|
1630
|
-
'int_to_int': <function int_to_int at
|
1631
|
-
'ienumerate': <function ienumerate at
|
1632
|
-
'ienv': <function ienv at
|
1633
|
-
'iexec': <function iexec at
|
1634
|
-
'ijoin': <function ijoin at
|
1635
|
-
'iloads_html': <function iloads_html at
|
1636
|
-
'iloads': <function iloads at
|
1637
|
-
'int_to_bin': <function int_to_bin at
|
1638
|
-
'int_to_hex': <function int_to_hex at
|
1639
|
-
'int_to_oct': <function int_to_oct at
|
1640
|
-
'is_valid_url': <function is_valid_url at
|
1641
|
-
'iopen': <function iopen at
|
1642
|
-
'iprint': <function iprint at
|
1643
|
-
'ireplace': <function ireplace at
|
1644
|
-
'iscandir': <function iscandir at
|
1645
|
-
'isplit': <function isplit at
|
1646
|
-
'ivars': <function ivars at
|
1647
|
-
'log': <function log at
|
1648
|
-
'oct_to_int': <function oct_to_int at
|
1649
|
-
'password_generator': <function password_generator at
|
1650
|
-
'pip_freeze_without_version': <function pip_freeze_without_version at
|
1651
|
-
'
|
1652
|
-
'
|
1653
|
-
'
|
1654
|
-
'
|
1655
|
-
'
|
1656
|
-
'
|
1657
|
-
'
|
1658
|
-
'
|
1659
|
-
'
|
1660
|
-
'
|
1661
|
-
'
|
1662
|
-
'
|
1663
|
-
'
|
1664
|
-
'
|
1665
|
-
'
|
1591
|
+
{'function': {'avg': <function avg at 0x75c1b58040>,
|
1592
|
+
'get_filemtime': <function get_filemtime at 0x75bb8c9d00>,
|
1593
|
+
'print_colorize': <function print_colorize at 0x75bb8c9ee0>,
|
1594
|
+
'print_log': <function print_log at 0x75bb8c9da0>,
|
1595
|
+
'console_run': <function console_run at 0x75bb8c9e40>,
|
1596
|
+
'auto_reload': <function auto_reload at 0x75bb8c9620>,
|
1597
|
+
'basename': <function basename at 0x75bb8c9c60>,
|
1598
|
+
'chr_to_int': <function chr_to_int at 0x75bb8ca480>,
|
1599
|
+
'int_to_chr': <function int_to_chr at 0x75bb8ca520>,
|
1600
|
+
'irange': <function irange at 0x75bb8ca7a0>,
|
1601
|
+
'batchmaker': <function batchmaker at 0x75bb8ca160>,
|
1602
|
+
'calculate': <function calculate at 0x75bb8ca2a0>,
|
1603
|
+
'batch_calculate': <function batch_calculate at 0x75bb8ca020>,
|
1604
|
+
'bin_to_int': <function bin_to_int at 0x75bb8ca0c0>,
|
1605
|
+
'is_empty': <function is_empty at 0x75bb8caf20>,
|
1606
|
+
'exit_if_empty': <function exit_if_empty at 0x75bb8cade0>,
|
1607
|
+
'input_char': <function input_char at 0x75bb8ca3e0>,
|
1608
|
+
'choices': <function choices at 0x75bb8cb1a0>,
|
1609
|
+
'chunk_array': <function chunk_array at 0x75bb8cb240>,
|
1610
|
+
'create_folder': <function create_folder at 0x75bb8cb2e0>,
|
1611
|
+
'datetime_from_string': <function datetime_from_string at 0x75bb8cb380>,
|
1612
|
+
'datetime_now': <function datetime_now at 0x75bb8cb420>,
|
1613
|
+
'dict_first': <function dict_first at 0x75bb8ed620>,
|
1614
|
+
'dirname': <function dirname at 0x75bb8ed6c0>,
|
1615
|
+
'django_runserver': <function django_runserver at 0x75bb8ed9e0>,
|
1616
|
+
'is_iterable': <function is_iterable at 0x75bb8edda0>,
|
1617
|
+
'to_str': <function to_str at 0x75bb8ede40>,
|
1618
|
+
'filter_empty': <function filter_empty at 0x75bb8edc60>,
|
1619
|
+
'get_by_index': <function get_by_index at 0x75bb8edd00>,
|
1620
|
+
'get_class_method': <function get_class_method at 0x75bb8edee0>,
|
1621
|
+
'get_filesize': <function get_filesize at 0x75bb8ee020>,
|
1622
|
+
'github_init': <function github_init at 0x75bb8ee0c0>,
|
1623
|
+
'github_pull': <function github_pull at 0x75bb8ee160>,
|
1624
|
+
'github_push': <function github_push at 0x75bb8ee2a0>,
|
1625
|
+
'github_user': <function github_user at 0x75bb8ee340>,
|
1626
|
+
'hex_to_int': <function hex_to_int at 0x75bb8ee3e0>,
|
1627
|
+
'iargv': <function iargv at 0x75bb8ee480>,
|
1628
|
+
'idir': <function idir at 0x75bb8ee520>,
|
1629
|
+
'idumps_html': <function idumps_html at 0x75bb8eec00>,
|
1630
|
+
'idumps': <function idumps at 0x75bb8ee660>,
|
1631
|
+
'int_to_int': <function int_to_int at 0x75bb982ac0>,
|
1632
|
+
'ienumerate': <function ienumerate at 0x75bb8eeb60>,
|
1633
|
+
'ienv': <function ienv at 0x75bb970fe0>,
|
1634
|
+
'iexec': <function iexec at 0x75bb982b60>,
|
1635
|
+
'ijoin': <function ijoin at 0x75bb982ca0>,
|
1636
|
+
'iloads_html': <function iloads_html at 0x75bb982e80>,
|
1637
|
+
'iloads': <function iloads at 0x75c1e9a020>,
|
1638
|
+
'int_to_bin': <function int_to_bin at 0x75bb982c00>,
|
1639
|
+
'int_to_hex': <function int_to_hex at 0x75bb982de0>,
|
1640
|
+
'int_to_oct': <function int_to_oct at 0x75bb982f20>,
|
1641
|
+
'is_valid_url': <function is_valid_url at 0x75bb742ca0>,
|
1642
|
+
'iopen': <function iopen at 0x75bb983100>,
|
1643
|
+
'iprint': <function iprint at 0x75bb7427a0>,
|
1644
|
+
'ireplace': <function ireplace at 0x75bb7428e0>,
|
1645
|
+
'iscandir': <function iscandir at 0x75b7167a60>,
|
1646
|
+
'isplit': <function isplit at 0x75b7167b00>,
|
1647
|
+
'ivars': <function ivars at 0x75b7167ba0>,
|
1648
|
+
'log': <function log at 0x75b7167c40>,
|
1649
|
+
'oct_to_int': <function oct_to_int at 0x75b7167ce0>,
|
1650
|
+
'password_generator': <function password_generator at 0x75b7167d80>,
|
1651
|
+
'pip_freeze_without_version': <function pip_freeze_without_version at 0x75b7167ec0>,
|
1652
|
+
'pip_update_pypipr': <function pip_update_pypipr at 0x75b7167f60>,
|
1653
|
+
'poetry_publish': <function poetry_publish at 0x75b7170040>,
|
1654
|
+
'poetry_update_version': <function poetry_update_version at 0x75b7170180>,
|
1655
|
+
'print_dir': <function print_dir at 0x75b7170360>,
|
1656
|
+
'print_to_last_line': <function print_to_last_line at 0x75b7170400>,
|
1657
|
+
'random_bool': <function random_bool at 0x75b71704a0>,
|
1658
|
+
'restart': <function restart at 0x75b7170540>,
|
1659
|
+
'set_timeout': <function set_timeout at 0x75b71705e0>,
|
1660
|
+
'sets_ordered': <function sets_ordered at 0x75b7170680>,
|
1661
|
+
'sqlite_delete_table': <function sqlite_delete_table at 0x75b7170720>,
|
1662
|
+
'sqlite_get_all_tables': <function sqlite_get_all_tables at 0x75b7170900>,
|
1663
|
+
'sqlite_get_data_table': <function sqlite_get_data_table at 0x75b7171080>,
|
1664
|
+
'str_cmp': <function str_cmp at 0x75b7171120>,
|
1665
|
+
'text_colorize': <function text_colorize at 0x75b71711c0>,
|
1666
|
+
'traceback_filename': <function traceback_filename at 0x75b7171260>,
|
1667
|
+
'traceback_framename': <function traceback_framename at 0x75b7171300>},
|
1666
1668
|
'class': {'ComparePerformance': <class 'pypipr.ComparePerformance.ComparePerformance'>,
|
1667
1669
|
'PintUregQuantity': <class 'pint.Quantity'>,
|
1668
1670
|
'RunParallel': <class 'pypipr.RunParallel.RunParallel'>,
|
1669
1671
|
'TextCase': <class 'pypipr.TextCase.TextCase'>},
|
1670
1672
|
'variable': {'LINUX': True,
|
1671
|
-
'PintUreg': <pint.registry.UnitRegistry object at
|
1673
|
+
'PintUreg': <pint.registry.UnitRegistry object at 0x75c1b67490>,
|
1672
1674
|
'WINDOWS': False},
|
1673
1675
|
'module': {'asyncio': <module 'asyncio' from '/data/data/com.termux/files/usr/lib/python3.11/asyncio/__init__.py'>,
|
1674
1676
|
'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'>,
|
@@ -1759,7 +1761,7 @@ print(password_generator())
|
|
1759
1761
|
|
1760
1762
|
Output:
|
1761
1763
|
```py
|
1762
|
-
|
1764
|
+
i.hUwc+Z
|
1763
1765
|
```
|
1764
1766
|
|
1765
1767
|
## pip_freeze_without_version
|
@@ -1773,6 +1775,10 @@ Bertujuan untuk menggunakan Batteries Included Python.
|
|
1773
1775
|
print(pip_freeze_without_version())
|
1774
1776
|
```
|
1775
1777
|
|
1778
|
+
## pip_update_pypipr
|
1779
|
+
|
1780
|
+
`pip_update_pypipr()`
|
1781
|
+
|
1776
1782
|
## poetry_publish
|
1777
1783
|
|
1778
1784
|
`poetry_publish(token=None)`
|
@@ -1817,7 +1823,7 @@ Output:
|
|
1817
1823
|
__enter__ : https:/www.google.com
|
1818
1824
|
__fspath__ : https:/www.google.com
|
1819
1825
|
__getstate__ : (None, {'_drv': '', '_root': '', '_parts': ['https:', 'www.google.com'], '_str': 'https:/www.google.com'})
|
1820
|
-
__hash__ : -
|
1826
|
+
__hash__ : -8030757474120212955
|
1821
1827
|
__init__ : None
|
1822
1828
|
__init_subclass__ : None
|
1823
1829
|
__module__ : pathlib
|
@@ -1830,8 +1836,8 @@ Output:
|
|
1830
1836
|
_cached_cparts : ['https:', 'www.google.com']
|
1831
1837
|
_cparts : ['https:', 'www.google.com']
|
1832
1838
|
_drv :
|
1833
|
-
_flavour : <pathlib._PosixFlavour object at
|
1834
|
-
_hash : -
|
1839
|
+
_flavour : <pathlib._PosixFlavour object at 0x75c12cd7d0>
|
1840
|
+
_hash : -8030757474120212955
|
1835
1841
|
_parts : ['https:', 'www.google.com']
|
1836
1842
|
_root :
|
1837
1843
|
_str : https:/www.google.com
|
@@ -1853,7 +1859,7 @@ Output:
|
|
1853
1859
|
is_reserved : False
|
1854
1860
|
is_socket : False
|
1855
1861
|
is_symlink : False
|
1856
|
-
iterdir : <generator object Path.iterdir at
|
1862
|
+
iterdir : <generator object Path.iterdir at 0x75b6926500>
|
1857
1863
|
joinpath : https:/www.google.com
|
1858
1864
|
name : www.google.com
|
1859
1865
|
parent : https:
|
@@ -1938,7 +1944,7 @@ x.cancel()
|
|
1938
1944
|
|
1939
1945
|
Output:
|
1940
1946
|
```py
|
1941
|
-
<Timer(Thread-2, started
|
1947
|
+
<Timer(Thread-2, started 505551674608)>
|
1942
1948
|
menghentikan timeout 7
|
1943
1949
|
```
|
1944
1950
|
|
@@ -1956,7 +1962,7 @@ print(list(sets_ordered(array)))
|
|
1956
1962
|
|
1957
1963
|
Output:
|
1958
1964
|
```py
|
1959
|
-
<generator object sets_ordered at
|
1965
|
+
<generator object sets_ordered at 0x75b6948d40>
|
1960
1966
|
[2, 3, 12, 42, 1, 43, 41, 4, 24, 32]
|
1961
1967
|
```
|
1962
1968
|
|
@@ -2070,15 +2076,15 @@ print(ExampleComparePerformance().compare_performance())
|
|
2070
2076
|
|
2071
2077
|
Output:
|
2072
2078
|
```py
|
2073
|
-
{'a': <generator object ExampleComparePerformance.a.<locals>.<genexpr> at
|
2079
|
+
{'a': <generator object ExampleComparePerformance.a.<locals>.<genexpr> at 0x75b69482b0>,
|
2074
2080
|
'b': (0, 1, 2, 3, 4, 5, 6, 7, 8, 9),
|
2075
2081
|
'c': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
|
2076
2082
|
'd': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]}
|
2077
|
-
{'a':
|
2078
|
-
{'a':
|
2079
|
-
{'a':
|
2080
|
-
{'a':
|
2081
|
-
{'a':
|
2083
|
+
{'a': 170, 'b': 133, 'c': 100, 'd': 150}
|
2084
|
+
{'a': 133, 'b': 114, 'c': 100, 'd': 109}
|
2085
|
+
{'a': 131, 'b': 116, 'c': 100, 'd': 121}
|
2086
|
+
{'a': 114, 'b': 112, 'c': 100, 'd': 116}
|
2087
|
+
{'a': 105, 'b': 103, 'c': 100, 'd': 101}
|
2082
2088
|
```
|
2083
2089
|
|
2084
2090
|
## PintUregQuantity
|
@@ -6,7 +6,7 @@ pypipr/RunParallel.py,sha256=3H6sVSeUSATQQsWBcDGTtaXuc-12Yc0XmDyVtsg3PMA,5992
|
|
6
6
|
pypipr/TextCase.py,sha256=v62BsRiJUSOqYZM9BHTKvQtF6rWgaug5F0XirXNlens,2896
|
7
7
|
pypipr/TextCase.py.bak,sha256=coDInmzEu9y8FbTQmhAh2jl8MIt2eE4OsPMEUy8APxA,1229
|
8
8
|
pypipr/WINDOWS.py,sha256=NMW-94lzdqwfEWv2lF_i2GcSHJFDwWjccFufpymg4-E,83
|
9
|
-
pypipr/__init__.py,sha256=
|
9
|
+
pypipr/__init__.py,sha256=IO1sgTddHseR2ggf1bkUyfCNQiJgzT5iFXN9Izu4QKQ,3543
|
10
10
|
pypipr/__terminal__.py,sha256=N_NEXa0V5QLb-dkP1Vp_fYKNjE4jGTqkiYNwPPOXZtw,1412
|
11
11
|
pypipr/auto_reload.py,sha256=FGchFBjQs_eT7CmOMLNYoch-17q7ySFOnPx5z1kbH3E,918
|
12
12
|
pypipr/avg.py,sha256=wUtX3x8dgLoODhQLyMB-HRMVo8Ha2yz3cp7lgcUNbr0,218
|
@@ -66,6 +66,7 @@ pypipr/log.py,sha256=aQ9DeFG03xIAUQYR4TiBdh80M6WvxDtNDTSjpKOSXHk,1041
|
|
66
66
|
pypipr/oct_to_int.py,sha256=IoI_XOFZi6yzmqAirGIP6YWRgghU7IcPWzUk5DO1ZVo,191
|
67
67
|
pypipr/password_generator.py,sha256=O0KagbEEZnwm9OGy71G-wWvW1sJLdAmZNtlT4KKMrN4,357
|
68
68
|
pypipr/pip_freeze_without_version.py,sha256=txQ7zn-RCEsO94XK-IhSZtMgDUHvoMJm0kO0j07WEjM,675
|
69
|
+
pypipr/pip_update_pypipr.py,sha256=bKQ-7cReZHwQYcvkm9bVxbexdda1oz7jGXPsjdr-DnQ,147
|
69
70
|
pypipr/poetry_publish.py,sha256=2mebYHdjQ3PKaZsif_r1Nz4N-PEaoozPf4S6sm5nVkw,349
|
70
71
|
pypipr/poetry_update_version.py,sha256=iFA0DIz5_h7_v3PmWRzR5Ayu5h3ikNciTw_zI_3d3lg,470
|
71
72
|
pypipr/print_colorize.py,sha256=Ld4cjI9E7C8NDLCOkJLtwiV7WYBjizJ6dvmE__lN2GY,541
|
@@ -84,7 +85,7 @@ pypipr/text_colorize.py,sha256=IVjaCnXBSBu4Rh8pTO3CxDvxpA265HVwyKX_-PRXCcI,396
|
|
84
85
|
pypipr/to_str.py,sha256=vSuspf-ZQldf4enkssa9XH0WMjkmWug51G9ia0K5occ,597
|
85
86
|
pypipr/traceback_filename.py,sha256=4o85J0N8clI0cM6NTGcKZ4zxR9yS7W2NS_bz3J2_PnY,288
|
86
87
|
pypipr/traceback_framename.py,sha256=_mullrAZzMhBFEFVCgdsmkYQmYUkd58o-J-HuMntKyc,291
|
87
|
-
pypipr-1.0.
|
88
|
-
pypipr-1.0.
|
89
|
-
pypipr-1.0.
|
90
|
-
pypipr-1.0.
|
88
|
+
pypipr-1.0.149.dist-info/METADATA,sha256=tUNEO1Nbf5jWWxsGdeGw-4gsT7qWZ6nJTGbsPncj4qQ,56727
|
89
|
+
pypipr-1.0.149.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
90
|
+
pypipr-1.0.149.dist-info/entry_points.txt,sha256=XEBtOa61BCVW4cVvoqYQnyTcenJ1tzFFB09YnuqlKBY,51
|
91
|
+
pypipr-1.0.149.dist-info/RECORD,,
|
File without changes
|
File without changes
|