pypipr 1.0.81__py3-none-any.whl → 1.0.83__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/ibuiltins/ivars.py +45 -0
- {pypipr-1.0.81.dist-info → pypipr-1.0.83.dist-info}/METADATA +197 -69
- {pypipr-1.0.81.dist-info → pypipr-1.0.83.dist-info}/RECORD +6 -5
- {pypipr-1.0.81.dist-info → pypipr-1.0.83.dist-info}/WHEEL +0 -0
- {pypipr-1.0.81.dist-info → pypipr-1.0.83.dist-info}/entry_points.txt +0 -0
pypipr/__init__.py
CHANGED
@@ -19,6 +19,7 @@ from .ibuiltins.get_from_index import get_from_index
|
|
19
19
|
from .ibuiltins.is_empty import is_empty
|
20
20
|
from .ibuiltins.is_iterable import is_iterable
|
21
21
|
from .ibuiltins.is_valid_url import is_valid_url
|
22
|
+
from .ibuiltins.ivars import ivars
|
22
23
|
from .ibuiltins.password_generator import password_generator
|
23
24
|
from .ibuiltins.random_bool import random_bool
|
24
25
|
from .ibuiltins.set_timeout import set_timeout
|
@@ -0,0 +1,45 @@
|
|
1
|
+
import inspect
|
2
|
+
|
3
|
+
|
4
|
+
def ivars(obj, skip_underscore=True):
|
5
|
+
"""
|
6
|
+
Membuat dictionary berdasarkan kategori untuk setiap
|
7
|
+
member dari object.
|
8
|
+
|
9
|
+
```python
|
10
|
+
iprint(ivars(__import__('pypipr')))
|
11
|
+
```
|
12
|
+
"""
|
13
|
+
result = {
|
14
|
+
"module": {},
|
15
|
+
"class": {},
|
16
|
+
"function": {},
|
17
|
+
"property": {},
|
18
|
+
"variable": {},
|
19
|
+
"method": {},
|
20
|
+
"__module__": {},
|
21
|
+
"__class__": {},
|
22
|
+
"__function__": {},
|
23
|
+
"__property__": {},
|
24
|
+
"__variable__": {},
|
25
|
+
"__method__": {},
|
26
|
+
}
|
27
|
+
uu = lambda x: "__" if x.startswith("__") or x.endswith("__") else ""
|
28
|
+
for i, v in vars(obj).items():
|
29
|
+
u = uu(i)
|
30
|
+
if u and skip_underscore:
|
31
|
+
continue
|
32
|
+
if inspect.ismodule(v):
|
33
|
+
result[f"{u}module{u}"][i] = v
|
34
|
+
elif inspect.isclass(v):
|
35
|
+
result[f"{u}class{u}"][i] = v
|
36
|
+
elif inspect.ismethod(v):
|
37
|
+
result[f"{u}method{u}"][i] = v
|
38
|
+
elif inspect.isfunction(v):
|
39
|
+
result[f"{u}function{u}"][i] = v
|
40
|
+
else:
|
41
|
+
if isinstance(v, property):
|
42
|
+
result[f"{u}property{u}"][i] = v
|
43
|
+
else:
|
44
|
+
result[f"{u}variable{u}"][i] = v
|
45
|
+
return result
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: pypipr
|
3
|
-
Version: 1.0.
|
3
|
+
Version: 1.0.83
|
4
4
|
Summary: The Python Package Index Project
|
5
5
|
Author: ufiapjj
|
6
6
|
Author-email: ufiapjj@gmail.com
|
@@ -106,7 +106,7 @@ print(list(batch_calculate("{1 10} m ** {1 3}")))
|
|
106
106
|
|
107
107
|
Output:
|
108
108
|
```py
|
109
|
-
<generator object batch_calculate at
|
109
|
+
<generator object batch_calculate at 0x700e3453f0>
|
110
110
|
[('1 m ** 1', <Quantity(1, 'meter')>), ('1 m ** 2', <Quantity(1, 'meter ** 2')>), ('1 m ** 3', <Quantity(1, 'meter ** 3')>), ('2 m ** 1', <Quantity(2, 'meter')>), ('2 m ** 2', <Quantity(2, 'meter ** 2')>), ('2 m ** 3', <Quantity(2, 'meter ** 3')>), ('3 m ** 1', <Quantity(3, 'meter')>), ('3 m ** 2', <Quantity(3, 'meter ** 2')>), ('3 m ** 3', <Quantity(3, 'meter ** 3')>), ('4 m ** 1', <Quantity(4, 'meter')>), ('4 m ** 2', <Quantity(4, 'meter ** 2')>), ('4 m ** 3', <Quantity(4, 'meter ** 3')>), ('5 m ** 1', <Quantity(5, 'meter')>), ('5 m ** 2', <Quantity(5, 'meter ** 2')>), ('5 m ** 3', <Quantity(5, 'meter ** 3')>), ('6 m ** 1', <Quantity(6, 'meter')>), ('6 m ** 2', <Quantity(6, 'meter ** 2')>), ('6 m ** 3', <Quantity(6, 'meter ** 3')>), ('7 m ** 1', <Quantity(7, 'meter')>), ('7 m ** 2', <Quantity(7, 'meter ** 2')>), ('7 m ** 3', <Quantity(7, 'meter ** 3')>), ('8 m ** 1', <Quantity(8, 'meter')>), ('8 m ** 2', <Quantity(8, 'meter ** 2')>), ('8 m ** 3', <Quantity(8, 'meter ** 3')>), ('9 m ** 1', <Quantity(9, 'meter')>), ('9 m ** 2', <Quantity(9, 'meter ** 2')>), ('9 m ** 3', <Quantity(9, 'meter ** 3')>), ('10 m ** 1', <Quantity(10, 'meter')>), ('10 m ** 2', <Quantity(10, 'meter ** 2')>), ('10 m ** 3', <Quantity(10, 'meter ** 3')>)]
|
111
111
|
```
|
112
112
|
|
@@ -131,7 +131,7 @@ print(list(batchmaker(s)))
|
|
131
131
|
|
132
132
|
Output:
|
133
133
|
```py
|
134
|
-
<generator object batchmaker at
|
134
|
+
<generator object batchmaker at 0x700e49fe20>
|
135
135
|
['Urutan 1 dan 10 dan j dan Z saja.', 'Urutan 1 dan 10 dan j dan K saja.', 'Urutan 1 dan 10 dan k dan Z saja.', 'Urutan 1 dan 10 dan k dan K saja.', 'Urutan 1 dan 9 dan j dan Z saja.', 'Urutan 1 dan 9 dan j dan K saja.', 'Urutan 1 dan 9 dan k dan Z saja.', 'Urutan 1 dan 9 dan k dan K saja.', 'Urutan 4 dan 10 dan j dan Z saja.', 'Urutan 4 dan 10 dan j dan K saja.', 'Urutan 4 dan 10 dan k dan Z saja.', 'Urutan 4 dan 10 dan k dan K saja.', 'Urutan 4 dan 9 dan j dan Z saja.', 'Urutan 4 dan 9 dan j dan K saja.', 'Urutan 4 dan 9 dan k dan Z saja.', 'Urutan 4 dan 9 dan k dan K saja.']
|
136
136
|
```
|
137
137
|
|
@@ -208,7 +208,7 @@ print(list(chunk_array(arr, 5)))
|
|
208
208
|
|
209
209
|
Output:
|
210
210
|
```py
|
211
|
-
<generator object chunk_array at
|
211
|
+
<generator object chunk_array at 0x700e3c4440>
|
212
212
|
[[2, 3, 12, 3, 3], [42, 42, 1, 43, 2], [42, 41, 4, 24, 32], [42, 3, 12, 32, 42], [42]]
|
213
213
|
```
|
214
214
|
|
@@ -270,9 +270,9 @@ print(datetime_now("Etc/GMT+7"))
|
|
270
270
|
|
271
271
|
Output:
|
272
272
|
```py
|
273
|
-
2024-04-23
|
274
|
-
2024-04-23
|
275
|
-
2024-04-22
|
273
|
+
2024-04-23 12:41:20.880670+07:00
|
274
|
+
2024-04-23 05:41:20.881117+00:00
|
275
|
+
2024-04-22 22:41:20.881802-07:00
|
276
276
|
```
|
277
277
|
|
278
278
|
## dict_first
|
@@ -339,7 +339,7 @@ print(filter_empty(var))
|
|
339
339
|
|
340
340
|
Output:
|
341
341
|
```py
|
342
|
-
<generator object filter_empty at
|
342
|
+
<generator object filter_empty at 0x700e3453f0>
|
343
343
|
```
|
344
344
|
|
345
345
|
## get_class_method
|
@@ -368,8 +368,8 @@ print(list(get_class_method(ExampleGetClassMethod)))
|
|
368
368
|
|
369
369
|
Output:
|
370
370
|
```py
|
371
|
-
<generator object get_class_method at
|
372
|
-
[<function ExampleGetClassMethod.a at
|
371
|
+
<generator object get_class_method at 0x700e347100>
|
372
|
+
[<function ExampleGetClassMethod.a at 0x700e3e0fe0>, <function ExampleGetClassMethod.b at 0x700e3e1260>, <function ExampleGetClassMethod.c at 0x700e3e11c0>, <function ExampleGetClassMethod.d at 0x700e3e1120>]
|
373
373
|
```
|
374
374
|
|
375
375
|
## get_filemtime
|
@@ -681,7 +681,7 @@ print(ijoin(10, ' '))
|
|
681
681
|
|
682
682
|
Output:
|
683
683
|
```py
|
684
|
-
|
684
|
+
weq, asd, dfs, qweqw
|
685
685
|
,ini,path,seperti,url,
|
686
686
|
ini,path,seperti,url
|
687
687
|
<li>satu</li>
|
@@ -747,9 +747,9 @@ Output:
|
|
747
747
|
```py
|
748
748
|
(['Home', 'Emas 1 Gram', 'History', 'Trend', 'Perak 1 Gram', 'Pluang'],
|
749
749
|
[['Harga Emas Hari Ini - Selasa, 23 April 2024'],
|
750
|
-
['Spot Emas USD↓2.
|
750
|
+
['Spot Emas USD↓2.309,06 (-21,07) / oz',
|
751
751
|
'Kurs IDR↓16.224,00 (-56,00) / USD',
|
752
|
-
'Emas IDR↓1.
|
752
|
+
'Emas IDR↓1.204.437 (-15.186) / gr'],
|
753
753
|
['LM Antam (Jual)↓1.325.000 (-18.000) / gr',
|
754
754
|
'LM Antam (Beli)↓1.223.000 (-15.000) / gr']],
|
755
755
|
[['Harga Emas Hari Ini'],
|
@@ -820,10 +820,10 @@ Output:
|
|
820
820
|
'Update harga LM Pegadaian :31 Agustus 2023']],
|
821
821
|
[['Spot Harga Emas Hari Ini (Market Open)'],
|
822
822
|
['Satuan', 'USD', 'Kurs\xa0Dollar', 'IDR'],
|
823
|
-
['Ounce\xa0(oz)', '2.
|
824
|
-
['Gram\xa0(gr)', '74,
|
825
|
-
['Kilogram\xa0(kg)', '74.
|
826
|
-
['Update harga emas :23 April 2024, pukul
|
823
|
+
['Ounce\xa0(oz)', '2.309,06 (-21,07)', '16.224,00 (-56,00)', '37.462.189'],
|
824
|
+
['Gram\xa0(gr)', '74,24', '16.224,00', '1.204.437 (-15.186)'],
|
825
|
+
['Kilogram\xa0(kg)', '74.238,00', '16.224,00', '1.204.437.360'],
|
826
|
+
['Update harga emas :23 April 2024, pukul 12:41Update kurs :23 April 2024, '
|
827
827
|
'pukul 09:10']],
|
828
828
|
[['Gram', 'UBS Gold 99.99%'],
|
829
829
|
['Jual', 'Beli'],
|
@@ -831,26 +831,34 @@ Output:
|
|
831
831
|
['100',
|
832
832
|
'126.712.000 (-1.488.000)',
|
833
833
|
'1.267.120 (-14.880)',
|
834
|
-
'
|
835
|
-
'1.
|
834
|
+
'123.685.000 (-3.400.000)',
|
835
|
+
'1.236.850 (-34.000)'],
|
836
836
|
['50',
|
837
837
|
'63.395.000 (-855.000)',
|
838
838
|
'1.267.900 (-17.100)',
|
839
|
-
'
|
840
|
-
'1.
|
839
|
+
'61.895.000 (-1.700.000)',
|
840
|
+
'1.237.900 (-34.000)'],
|
841
841
|
['25',
|
842
842
|
'31.737.000 (-413.000)',
|
843
843
|
'1.269.480 (-16.520)',
|
844
|
-
'31.
|
845
|
-
'1.
|
844
|
+
'31.050.000 (-850.000)',
|
845
|
+
'1.242.000 (-34.000)'],
|
846
846
|
['10',
|
847
847
|
'12.745.000 (-165.000)',
|
848
848
|
'1.274.500 (-16.500)',
|
849
|
-
'12.
|
850
|
-
'1.
|
851
|
-
['5',
|
852
|
-
|
853
|
-
|
849
|
+
'12.470.000 (-340.000)',
|
850
|
+
'1.247.000 (-34.000)'],
|
851
|
+
['5',
|
852
|
+
'6.400.000 (-80.000)',
|
853
|
+
'1.280.000 (-16.000)',
|
854
|
+
'6.287.000 (-170.000)',
|
855
|
+
'1.257.400 (-34.000)'],
|
856
|
+
['1',
|
857
|
+
'1.325.000 (-15.000)',
|
858
|
+
'1.325.000 (-15.000)',
|
859
|
+
'1.290.000 (-34.000)',
|
860
|
+
'1.290.000 (-34.000)'],
|
861
|
+
['', 'Update :23 April 2024, pukul 11:31']],
|
854
862
|
[['Konversi Satuan'],
|
855
863
|
['Satuan', 'Ounce (oz)', 'Gram (gr)', 'Kilogram (kg)'],
|
856
864
|
['Ounce\xa0(oz)', '1', '31,1034767696', '0,0311034768'],
|
@@ -861,36 +869,36 @@ Output:
|
|
861
869
|
['Unit', 'USD', 'IDR'],
|
862
870
|
['Angka', '+/-', 'Angka', '+/-'],
|
863
871
|
['Hari Ini', 'Kurs', '', '', '16.280', '-56-0,34%'],
|
864
|
-
['oz', '2.330,13', '-
|
865
|
-
['gr', '74,92', '-0,
|
872
|
+
['oz', '2.330,13', '-21,07-0,90%', '37.934.516', '-472.327-1,25%'],
|
873
|
+
['gr', '74,92', '-0,68-0,90%', '1.219.623', '-15.186-1,25%'],
|
866
874
|
['30 Hari', 'Kurs', '', '', '15.662', '+562+3,59%'],
|
867
|
-
['oz', '2.165,64', '+
|
868
|
-
['gr', '69,63', '+4,
|
875
|
+
['oz', '2.165,64', '+143,42+6,62%', '33.918.254', '+3.543.936+10,45%'],
|
876
|
+
['gr', '69,63', '+4,61+6,62%', '1.090.497', '+113.940+10,45%'],
|
869
877
|
['2 Bulan', 'Kurs', '', '', '15.630', '+594+3,80%'],
|
870
|
-
['oz', '2.038,19', '+
|
871
|
-
['gr', '65,53', '+8,
|
878
|
+
['oz', '2.038,19', '+270,87+13,29%', '31.856.910', '+5.605.280+17,60%'],
|
879
|
+
['gr', '65,53', '+8,71+13,29', '1.024.223', '+180.214+17,60%'],
|
872
880
|
['6 Bulan', 'Kurs', '', '', '15.871', '+353+2,22%'],
|
873
|
-
['oz', '1.984,00', '+
|
874
|
-
['gr', '63,79', '+10,
|
881
|
+
['oz', '1.984,00', '+325,06+16,38%', '31.488.064', '+5.974.125+18,97%'],
|
882
|
+
['gr', '63,79', '+10,45+16,38%', '1.012.365', '+192.073+18,97%'],
|
875
883
|
['1 Tahun', 'Kurs', '', '', '15.731', '+493+3,13%'],
|
876
|
-
['oz', '1.823,86', '+
|
877
|
-
['gr', '58,64', '+15,
|
884
|
+
['oz', '1.823,86', '+485,20+26,60%', '28.691.142', '+8.771.048+30,57%'],
|
885
|
+
['gr', '58,64', '+15,60+26,60%', '922.442', '+281.996+30,57%'],
|
878
886
|
['2 Tahun', 'Kurs', '', '', '14.348', '+1.876+13,07%'],
|
879
|
-
['oz', '1.931,96', '+
|
880
|
-
['gr', '62,11', '+
|
887
|
+
['oz', '1.931,96', '+377,10+19,52%', '27.719.762', '+9.742.427+35,15%'],
|
888
|
+
['gr', '62,11', '+12,12+19,52%', '891.211', '+313.226+35,15%'],
|
881
889
|
['3 Tahun', 'Kurs', '', '', '14.530', '+1.694+11,66%'],
|
882
|
-
['oz', '1.777,11', '+
|
883
|
-
['gr', '57,14', '+
|
890
|
+
['oz', '1.777,11', '+531,95+29,93%', '25.821.408', '+11.640.781+45,08%'],
|
891
|
+
['gr', '57,14', '+17,10+29,93%', '830.178', '+374.260+45,08%'],
|
884
892
|
['5 Tahun', 'Kurs', '', '', '14.154', '+2.070+14,62%'],
|
885
|
-
['oz', '1.277,64', '+1.
|
886
|
-
['gr', '41,08', '+
|
893
|
+
['oz', '1.277,64', '+1.031,42+80,73%', '18.083.717', '+19.378.473+107,16%'],
|
894
|
+
['gr', '41,08', '+33,16+80,73%', '581.405', '+623.032+107,16%']])
|
887
895
|
(['Home', 'Emas 1 Gram', 'History', 'Trend', 'Perak 1 Gram', 'Pluang'],
|
888
896
|
[[''],
|
889
897
|
['Emas 24 KaratHarga Emas 1 Gram', ''],
|
890
|
-
['USD', '74,
|
891
|
-
['KURS', '16.
|
892
|
-
['IDR', '1.
|
893
|
-
['Selasa, 23 April 2024
|
898
|
+
['USD', '74,24↓', '-0,68-0,91%'],
|
899
|
+
['KURS', '16.233,90↓', '-12,45-0,08%'],
|
900
|
+
['IDR', '1.205.172,32↓', '-11.929,80-0,98%'],
|
901
|
+
['Selasa, 23 April 2024 12:41']],
|
894
902
|
[[''],
|
895
903
|
['Emas 1 Gram (IDR)Emas 1 Gram (USD)Kurs USD-IDR',
|
896
904
|
'Hari Ini',
|
@@ -901,19 +909,19 @@ Output:
|
|
901
909
|
'']],
|
902
910
|
[['Pergerakkan Harga Emas 1 Gram'],
|
903
911
|
['', 'Penutupan Kemarin', 'Pergerakkan Hari Ini', 'Rata-rata'],
|
904
|
-
['USD', '74,92', '74,
|
905
|
-
['KURS', '16.246,35', '16.
|
906
|
-
['IDR', '1.217.102,12', '1.
|
912
|
+
['USD', '74,92', '74,24 - 74,92', '74,58'],
|
913
|
+
['KURS', '16.246,35', '16.233,90 - 16.246,35', '16.240,13'],
|
914
|
+
['IDR', '1.217.102,12', '1.205.172,32 - 1.217.102,12', '1.211.137,22'],
|
907
915
|
[''],
|
908
916
|
['', 'Awal Tahun', 'Pergerakkan YTD', '+/- YTD'],
|
909
|
-
['USD', '66,32', '64,07 - 77,14', '+7,
|
910
|
-
['KURS', '15.390,10', '15.390,00 - 16.307,80', '+
|
911
|
-
['IDR', '1.020.729,53', '997.660,12 - 1.256.829,06', '+
|
917
|
+
['USD', '66,32', '64,07 - 77,14', '+7,92 (11,94%)'],
|
918
|
+
['KURS', '15.390,10', '15.390,00 - 16.307,80', '+843,80 (5,48%)'],
|
919
|
+
['IDR', '1.020.729,53', '997.660,12 - 1.256.829,06', '+184.442,79 (18,07%)'],
|
912
920
|
[''],
|
913
921
|
['', 'Tahun Lalu / 52 Minggu', 'Pergerakkan 52 Minggu', '+/- 52 Minggu'],
|
914
|
-
['USD', '63,76', '58,43 - 77,14', '+10,
|
915
|
-
['KURS', '14.936,00', '14.669,40 - 16.307,80', '+1.
|
916
|
-
['IDR', '952.339,68', '912.925,68 - 1.256.829,06', '+
|
922
|
+
['USD', '63,76', '58,43 - 77,14', '+10,48 (16,44%)'],
|
923
|
+
['KURS', '14.936,00', '14.669,40 - 16.307,80', '+1.297,90 (8,69%)'],
|
924
|
+
['IDR', '952.339,68', '912.925,68 - 1.256.829,06', '+252.832,64 (26,55%)']])
|
917
925
|
```
|
918
926
|
|
919
927
|
## input_char
|
@@ -967,7 +975,7 @@ Output:
|
|
967
975
|
```py
|
968
976
|
8
|
969
977
|
['mana', 'aja']
|
970
|
-
[<Element a at
|
978
|
+
[<Element a at 0x702273dcc0>, <Element a at 0x700e41da40>, <Element a at 0x700e41dae0>, <Element a at 0x700e41db30>, <Element a at 0x700e41db80>, <Element a at 0x700e41dbd0>, <Element a at 0x700e41dc20>, <Element a at 0x700e41dc70>, <Element a at 0x700e41dcc0>, <Element a at 0x700e41dd10>, <Element a at 0x700e41dd60>, <Element a at 0x700e41ddb0>, <Element a at 0x700e41de00>, <Element a at 0x700e41de50>, <Element a at 0x700e41dea0>, <Element a at 0x700e41def0>, <Element a at 0x700e41df40>, <Element a at 0x700e41df90>]
|
971
979
|
False
|
972
980
|
```
|
973
981
|
|
@@ -1008,8 +1016,8 @@ print(list(irange(10, 5)))
|
|
1008
1016
|
|
1009
1017
|
Output:
|
1010
1018
|
```py
|
1011
|
-
<generator object irange at
|
1012
|
-
<generator object irange at
|
1019
|
+
<generator object irange at 0x700e3a28a0>
|
1020
|
+
<generator object irange at 0x700e3a28a0>
|
1013
1021
|
['a', 'k', 'u']
|
1014
1022
|
[1, 2, 3, 4, 5, 6, 7]
|
1015
1023
|
[10, 9, 8, 7, 6, 5]
|
@@ -1126,7 +1134,7 @@ print(list(iscandir("./", recursive=False, scan_file=False)))
|
|
1126
1134
|
|
1127
1135
|
Output:
|
1128
1136
|
```py
|
1129
|
-
<generator object iscandir at
|
1137
|
+
<generator object iscandir at 0x700e3c4840>
|
1130
1138
|
[PosixPath('.git'), PosixPath('.vscode'), PosixPath('pypipr'), PosixPath('__pycache__'), PosixPath('dist')]
|
1131
1139
|
```
|
1132
1140
|
|
@@ -1146,6 +1154,126 @@ Output:
|
|
1146
1154
|
['', 'ini', 'contoh', 'path', '']
|
1147
1155
|
```
|
1148
1156
|
|
1157
|
+
## ivars
|
1158
|
+
|
1159
|
+
`ivars(obj, skip_underscore=True)`
|
1160
|
+
|
1161
|
+
Membuat dictionary berdasarkan kategori untuk setiap
|
1162
|
+
member dari object.
|
1163
|
+
|
1164
|
+
```python
|
1165
|
+
iprint(ivars(__import__('pypipr')))
|
1166
|
+
```
|
1167
|
+
|
1168
|
+
Output:
|
1169
|
+
```py
|
1170
|
+
{'module': {'ibuiltins': <module 'pypipr.ibuiltins' from '/data/data/com.termux/files/home/pypipr/pypipr/ibuiltins/__init__.py'>,
|
1171
|
+
'iconsole': <module 'pypipr.iconsole' from '/data/data/com.termux/files/home/pypipr/pypipr/iconsole/__init__.py'>,
|
1172
|
+
'idjango': <module 'pypipr.idjango' from '/data/data/com.termux/files/home/pypipr/pypipr/idjango/__init__.py'>,
|
1173
|
+
'iengineering': <module 'pypipr.iengineering' from '/data/data/com.termux/files/home/pypipr/pypipr/iengineering/__init__.py'>,
|
1174
|
+
'ifunctions': <module 'pypipr.ifunctions' from '/data/data/com.termux/files/home/pypipr/pypipr/ifunctions/__init__.py'>,
|
1175
|
+
'iflow': <module 'pypipr.iflow' (<_frozen_importlib_external.NamespaceLoader object at 0x70181677d0>)>,
|
1176
|
+
'colorama': <module 'colorama' from '/data/data/com.termux/files/usr/lib/python3.11/site-packages/colorama/__init__.py'>,
|
1177
|
+
'datetime': <module 'datetime' from '/data/data/com.termux/files/usr/lib/python3.11/datetime.py'>,
|
1178
|
+
'functools': <module 'functools' from '/data/data/com.termux/files/usr/lib/python3.11/functools.py'>,
|
1179
|
+
'inspect': <module 'inspect' from '/data/data/com.termux/files/usr/lib/python3.11/inspect.py'>,
|
1180
|
+
'io': <module 'io' (frozen)>,
|
1181
|
+
'json': <module 'json' from '/data/data/com.termux/files/usr/lib/python3.11/json/__init__.py'>,
|
1182
|
+
'lxml': <module 'lxml' from '/data/data/com.termux/files/usr/lib/python3.11/site-packages/lxml/__init__.py'>,
|
1183
|
+
'math': <module 'math' from '/data/data/com.termux/files/usr/lib/python3.11/lib-dynload/math.cpython-311.so'>,
|
1184
|
+
'operator': <module 'operator' from '/data/data/com.termux/files/usr/lib/python3.11/operator.py'>,
|
1185
|
+
'os': <module 'os' (frozen)>,
|
1186
|
+
'pathlib': <module 'pathlib' from '/data/data/com.termux/files/usr/lib/python3.11/pathlib.py'>,
|
1187
|
+
'pint': <module 'pint' from '/data/data/com.termux/files/usr/lib/python3.11/site-packages/pint/__init__.py'>,
|
1188
|
+
'pprint': <module 'pprint' from '/data/data/com.termux/files/usr/lib/python3.11/pprint.py'>,
|
1189
|
+
'queue': <module 'queue' from '/data/data/com.termux/files/usr/lib/python3.11/queue.py'>,
|
1190
|
+
'random': <module 'random' from '/data/data/com.termux/files/usr/lib/python3.11/random.py'>,
|
1191
|
+
're': <module 're' from '/data/data/com.termux/files/usr/lib/python3.11/re/__init__.py'>,
|
1192
|
+
'requests': <module 'requests' from '/data/data/com.termux/files/usr/lib/python3.11/site-packages/requests/__init__.py'>,
|
1193
|
+
'string': <module 'string' from '/data/data/com.termux/files/usr/lib/python3.11/string.py'>,
|
1194
|
+
'subprocess': <module 'subprocess' from '/data/data/com.termux/files/usr/lib/python3.11/subprocess.py'>,
|
1195
|
+
'sys': <module 'sys' (built-in)>,
|
1196
|
+
'textwrap': <module 'textwrap' from '/data/data/com.termux/files/usr/lib/python3.11/textwrap.py'>,
|
1197
|
+
'time': <module 'time' (built-in)>,
|
1198
|
+
'tzdata': <module 'tzdata' from '/data/data/com.termux/files/usr/lib/python3.11/site-packages/tzdata/__init__.py'>,
|
1199
|
+
'uuid': <module 'uuid' from '/data/data/com.termux/files/usr/lib/python3.11/uuid.py'>,
|
1200
|
+
'webbrowser': <module 'webbrowser' from '/data/data/com.termux/files/usr/lib/python3.11/webbrowser.py'>,
|
1201
|
+
'yaml': <module 'yaml' from '/data/data/com.termux/files/usr/lib/python3.11/site-packages/yaml/__init__.py'>,
|
1202
|
+
'zoneinfo': <module 'zoneinfo' from '/data/data/com.termux/files/usr/lib/python3.11/zoneinfo/__init__.py'>},
|
1203
|
+
'class': {'ComparePerformance': <class 'pypipr.ibuiltins.ComparePerformance.ComparePerformance'>,
|
1204
|
+
'RunParallel': <class 'pypipr.ibuiltins.RunParallel.RunParallel'>,
|
1205
|
+
'APIMixinView': <class 'pypipr.idjango.APIMixinView.APIMixinView'>,
|
1206
|
+
'PintUregQuantity': <class 'pint.Quantity'>},
|
1207
|
+
'function': {'avg': <function avg at 0x7022732d40>,
|
1208
|
+
'basename': <function basename at 0x70226fea20>,
|
1209
|
+
'chunk_array': <function chunk_array at 0x701eed8ae0>,
|
1210
|
+
'create_folder': <function create_folder at 0x701eed8cc0>,
|
1211
|
+
'datetime_from_string': <function datetime_from_string at 0x701eed8ea0>,
|
1212
|
+
'datetime_now': <function datetime_now at 0x701ef5bba0>,
|
1213
|
+
'dict_first': <function dict_first at 0x701ef5bb00>,
|
1214
|
+
'dirname': <function dirname at 0x701ef5ba60>,
|
1215
|
+
'exit_if_empty': <function exit_if_empty at 0x701ef5b920>,
|
1216
|
+
'filter_empty': <function filter_empty at 0x701ef7e7a0>,
|
1217
|
+
'get_class_method': <function get_class_method at 0x701ef7db20>,
|
1218
|
+
'get_filemtime': <function get_filemtime at 0x701ef7d9e0>,
|
1219
|
+
'get_filesize': <function get_filesize at 0x701ef7d800>,
|
1220
|
+
'get_from_index': <function get_from_index at 0x701ef7d620>,
|
1221
|
+
'is_empty': <function is_empty at 0x701ef7e8e0>,
|
1222
|
+
'is_iterable': <function is_iterable at 0x701ef7dc60>,
|
1223
|
+
'is_valid_url': <function is_valid_url at 0x701ef7d6c0>,
|
1224
|
+
'ivars': <function ivars at 0x701ef7d3a0>,
|
1225
|
+
'password_generator': <function password_generator at 0x701ef7d300>,
|
1226
|
+
'random_bool': <function random_bool at 0x701ef7cf40>,
|
1227
|
+
'set_timeout': <function set_timeout at 0x701ef7f2e0>,
|
1228
|
+
'sets_ordered': <function sets_ordered at 0x701ef7f420>,
|
1229
|
+
'str_cmp': <function str_cmp at 0x701ef7f4c0>,
|
1230
|
+
'to_str': <function to_str at 0x701ef7dbc0>,
|
1231
|
+
'choices': <function choices at 0x701ef7f560>,
|
1232
|
+
'console_run': <function console_run at 0x701ef7f7e0>,
|
1233
|
+
'input_char': <function input_char at 0x701ef7f920>,
|
1234
|
+
'log': <function log at 0x701ef7fb00>,
|
1235
|
+
'print_colorize': <function print_colorize at 0x701ef7fba0>,
|
1236
|
+
'print_dir': <function print_dir at 0x701ef7fce0>,
|
1237
|
+
'print_log': <function print_log at 0x701ef7f9c0>,
|
1238
|
+
'print_to_last_line': <function print_to_last_line at 0x701ef7f740>,
|
1239
|
+
'text_colorize': <function text_colorize at 0x701ef7f880>,
|
1240
|
+
'batch_calculate': <function batch_calculate at 0x701817d080>,
|
1241
|
+
'batchmaker': <function batchmaker at 0x701815e480>,
|
1242
|
+
'calculate': <function calculate at 0x701817dda0>,
|
1243
|
+
'auto_reload': <function auto_reload at 0x701817df80>,
|
1244
|
+
'github_pull': <function github_pull at 0x701817db20>,
|
1245
|
+
'github_push': <function github_push at 0x701817e200>,
|
1246
|
+
'github_user': <function github_user at 0x701817e520>,
|
1247
|
+
'pip_freeze_without_version': <function pip_freeze_without_version at 0x7017eb5b20>,
|
1248
|
+
'poetry_publish': <function poetry_publish at 0x7017eb5c60>,
|
1249
|
+
'poetry_update_version': <function poetry_update_version at 0x7017eda480>,
|
1250
|
+
'iargv': <function iargv at 0x700e5abba0>,
|
1251
|
+
'idumps': <function idumps at 0x700e5ac360>,
|
1252
|
+
'idumps_html': <function idumps_html at 0x700e610720>,
|
1253
|
+
'ienv': <function ienv at 0x700e5abe20>,
|
1254
|
+
'iexec': <function iexec at 0x700e6109a0>,
|
1255
|
+
'ijoin': <function ijoin at 0x7017eb59e0>,
|
1256
|
+
'iloads': <function iloads at 0x700e610a40>,
|
1257
|
+
'iloads_html': <function iloads_html at 0x700e610cc0>,
|
1258
|
+
'iopen': <function iopen at 0x7017eb5d00>,
|
1259
|
+
'iprint': <function iprint at 0x700e5abc40>,
|
1260
|
+
'irange': <function irange at 0x701817dee0>,
|
1261
|
+
'ireplace': <function ireplace at 0x700e610b80>,
|
1262
|
+
'iscandir': <function iscandir at 0x700e612980>,
|
1263
|
+
'isplit': <function isplit at 0x700e612a20>},
|
1264
|
+
'property': {},
|
1265
|
+
'variable': {'LINUX': True,
|
1266
|
+
'WINDOWS': False,
|
1267
|
+
'PintUreg': <pint.registry.UnitRegistry object at 0x701efa3290>},
|
1268
|
+
'method': {},
|
1269
|
+
'__module__': {},
|
1270
|
+
'__class__': {},
|
1271
|
+
'__function__': {},
|
1272
|
+
'__property__': {},
|
1273
|
+
'__variable__': {},
|
1274
|
+
'__method__': {}}
|
1275
|
+
```
|
1276
|
+
|
1149
1277
|
## log
|
1150
1278
|
|
1151
1279
|
`log(text=None)`
|
@@ -1185,7 +1313,7 @@ print(password_generator())
|
|
1185
1313
|
|
1186
1314
|
Output:
|
1187
1315
|
```py
|
1188
|
-
|
1316
|
+
AJc4[N|"
|
1189
1317
|
```
|
1190
1318
|
|
1191
1319
|
## pip_freeze_without_version
|
@@ -1254,7 +1382,7 @@ Output:
|
|
1254
1382
|
__enter__ : https:/www.google.com
|
1255
1383
|
__fspath__ : https:/www.google.com
|
1256
1384
|
__getstate__ : (None, {'_drv': '', '_root': '', '_parts': ['https:', 'www.google.com'], '_str': 'https:/www.google.com'})
|
1257
|
-
__hash__ :
|
1385
|
+
__hash__ : 2559351135473141218
|
1258
1386
|
__init__ : None
|
1259
1387
|
__init_subclass__ : None
|
1260
1388
|
__module__ : pathlib
|
@@ -1267,8 +1395,8 @@ Output:
|
|
1267
1395
|
_cached_cparts : ['https:', 'www.google.com']
|
1268
1396
|
_cparts : ['https:', 'www.google.com']
|
1269
1397
|
_drv :
|
1270
|
-
_flavour : <pathlib._PosixFlavour object at
|
1271
|
-
_hash :
|
1398
|
+
_flavour : <pathlib._PosixFlavour object at 0x701ef47ed0>
|
1399
|
+
_hash : 2559351135473141218
|
1272
1400
|
_parts : ['https:', 'www.google.com']
|
1273
1401
|
_root :
|
1274
1402
|
_str : https:/www.google.com
|
@@ -1290,7 +1418,7 @@ Output:
|
|
1290
1418
|
is_reserved : False
|
1291
1419
|
is_socket : False
|
1292
1420
|
is_symlink : False
|
1293
|
-
iterdir : <generator object Path.iterdir at
|
1421
|
+
iterdir : <generator object Path.iterdir at 0x700e3ce6c0>
|
1294
1422
|
joinpath : https:/www.google.com
|
1295
1423
|
name : www.google.com
|
1296
1424
|
parent : https:
|
@@ -1373,7 +1501,7 @@ x.cancel()
|
|
1373
1501
|
|
1374
1502
|
Output:
|
1375
1503
|
```py
|
1376
|
-
<Timer(Thread-2, started
|
1504
|
+
<Timer(Thread-2, started 481246035184)>
|
1377
1505
|
menghentikan timeout 7
|
1378
1506
|
```
|
1379
1507
|
|
@@ -1391,7 +1519,7 @@ print(list(sets_ordered(array)))
|
|
1391
1519
|
|
1392
1520
|
Output:
|
1393
1521
|
```py
|
1394
|
-
<generator object sets_ordered at
|
1522
|
+
<generator object sets_ordered at 0x700e3f4790>
|
1395
1523
|
[2, 3, 12, 42, 1, 43, 41, 4, 24, 32]
|
1396
1524
|
```
|
1397
1525
|
|
@@ -1500,7 +1628,7 @@ print(ExampleComparePerformance().compare_performance())
|
|
1500
1628
|
|
1501
1629
|
Output:
|
1502
1630
|
```py
|
1503
|
-
{'a': <generator object ExampleComparePerformance.a.<locals>.<genexpr> at
|
1631
|
+
{'a': <generator object ExampleComparePerformance.a.<locals>.<genexpr> at 0x700e3f4380>,
|
1504
1632
|
'b': (0, 1, 2, 3, 4, 5, 6, 7, 8, 9),
|
1505
1633
|
'c': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
|
1506
1634
|
'd': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
pypipr/__init__.py,sha256=
|
1
|
+
pypipr/__init__.py,sha256=uHTy1kwkpbPygK_TtI1u6cORz3b_qlZphekHA4wa_Nk,3296
|
2
2
|
pypipr/ibuiltins/ComparePerformance.py,sha256=fCATdlDgmgiz7QkQNLDMF9VweicesjOaTtfQeBRr64U,2229
|
3
3
|
pypipr/ibuiltins/LINUX.py,sha256=p8OJwS9GCs50pz2UlcbUooPWSZgWmLI67PjcnzDTSWI,100
|
4
4
|
pypipr/ibuiltins/RunParallel.py,sha256=D9QAJr6O6l1yYFv5vypKmboeadAX996gBG9sjpHRkiM,5996
|
@@ -21,6 +21,7 @@ pypipr/ibuiltins/get_from_index.py,sha256=Mylo_-BX637qXzcuXiJlmodGFQG1bWyphfIwaF
|
|
21
21
|
pypipr/ibuiltins/is_empty.py,sha256=eqsH6ATuuOLVVSpIsV_8zTBBibPrWjESu9LCMAv8YyY,683
|
22
22
|
pypipr/ibuiltins/is_iterable.py,sha256=VCzLfFZyQO5qF2wFTVbuZIxyf4BVkflWiRQaOjd9kFs,922
|
23
23
|
pypipr/ibuiltins/is_valid_url.py,sha256=g72vv4_9Zy8dtT0i1JvToRX-mgCzojQCBVHdO1KDwqo,1008
|
24
|
+
pypipr/ibuiltins/ivars.py,sha256=OpyA4qUEqsjDv3qNCAekGo2e5i9nhSPol_vhKdoPWmk,1212
|
24
25
|
pypipr/ibuiltins/password_generator.py,sha256=NnFAYkAr6kZiED4JZIJ15_VeGWSpBCCy9rSA5Re_CW4,496
|
25
26
|
pypipr/ibuiltins/random_bool.py,sha256=99kM1fy7figeG5mZhbPzQ3FFzV47Jxg1aPImF78298E,405
|
26
27
|
pypipr/ibuiltins/set_timeout.py,sha256=heg1J3jSArgG5_75BNLrujjh7I9meTyAzHpuAY_4IBc,698
|
@@ -69,7 +70,7 @@ pypipr/ifunctions/iscandir.py,sha256=Ev6jus16vOXdNTN9Ia-_35ESplx7N_ZWA0kYoeimXbk
|
|
69
70
|
pypipr/ifunctions/isplit.py,sha256=N2BiA_wVnrENYwokSzvo0CAiQWk3g7AnwuWFIUgevNM,383
|
70
71
|
pypipr/pypipr.py.bak,sha256=HF-ehQd6BY8hm9fRkQHravLNrJRlI5g_AzbCc3dbikQ,1061
|
71
72
|
pypipr/terminal.py,sha256=XhZz9lntVfRHEs6P7rOjJ688ukw_Xnrht8mbqcAR8QY,1745
|
72
|
-
pypipr-1.0.
|
73
|
-
pypipr-1.0.
|
74
|
-
pypipr-1.0.
|
75
|
-
pypipr-1.0.
|
73
|
+
pypipr-1.0.83.dist-info/METADATA,sha256=5-T7lpAlfpVNo2uu1VDMyr6FQ5Rl_2QkwONOM2ES5ls,49897
|
74
|
+
pypipr-1.0.83.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
75
|
+
pypipr-1.0.83.dist-info/entry_points.txt,sha256=ikcrTRCn3jaySem1mM9uhYEPDq2PVOs48CyEqLUkY38,47
|
76
|
+
pypipr-1.0.83.dist-info/RECORD,,
|
File without changes
|
File without changes
|