pypipr 1.0.83__py3-none-any.whl → 1.0.84__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/ibuiltins/ivars.py +33 -32
- {pypipr-1.0.83.dist-info → pypipr-1.0.84.dist-info}/METADATA +130 -138
- {pypipr-1.0.83.dist-info → pypipr-1.0.84.dist-info}/RECORD +5 -5
- {pypipr-1.0.83.dist-info → pypipr-1.0.84.dist-info}/WHEEL +0 -0
- {pypipr-1.0.83.dist-info → pypipr-1.0.84.dist-info}/entry_points.txt +0 -0
pypipr/ibuiltins/ivars.py
CHANGED
@@ -1,5 +1,12 @@
|
|
1
1
|
import inspect
|
2
2
|
|
3
|
+
c = {
|
4
|
+
"module": inspect.ismodule,
|
5
|
+
"class": inspect.isclass,
|
6
|
+
"method": inspect.ismethod,
|
7
|
+
"function": inspect.isfunction,
|
8
|
+
}
|
9
|
+
|
3
10
|
|
4
11
|
def ivars(obj, skip_underscore=True):
|
5
12
|
"""
|
@@ -10,36 +17,30 @@ def ivars(obj, skip_underscore=True):
|
|
10
17
|
iprint(ivars(__import__('pypipr')))
|
11
18
|
```
|
12
19
|
"""
|
13
|
-
|
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 ""
|
20
|
+
r = {}
|
28
21
|
for i, v in vars(obj).items():
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
22
|
+
z = None
|
23
|
+
|
24
|
+
for x, y in c.items():
|
25
|
+
if y(v):
|
26
|
+
z = x
|
27
|
+
break
|
28
|
+
|
29
|
+
if z is None:
|
30
|
+
z = "variable"
|
31
|
+
|
32
|
+
if i.startswith("__") or i.endswith("__"):
|
33
|
+
if skip_underscore:
|
34
|
+
continue
|
35
|
+
z = f"__{z}__"
|
36
|
+
|
37
|
+
try:
|
38
|
+
r[z][i] = v
|
39
|
+
except Exception:
|
40
|
+
r[z] = {}
|
41
|
+
r[z][i] = v
|
42
|
+
|
43
|
+
return r
|
44
|
+
|
45
|
+
if __name__ == "__main__":
|
46
|
+
print(ivars(__import__("pypipr")))
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: pypipr
|
3
|
-
Version: 1.0.
|
3
|
+
Version: 1.0.84
|
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 0x7eda8d53f0>
|
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 0x7edaa2fd00>
|
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 0x7eda954440>
|
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-
|
273
|
+
2024-04-23 15:40:26.808897+07:00
|
274
|
+
2024-04-23 08:40:26.809249+00:00
|
275
|
+
2024-04-23 01:40:26.809861-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 0x7eda8d53f0>
|
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 0x7eda8d7100>
|
372
|
+
[<function ExampleGetClassMethod.a at 0x7eda970fe0>, <function ExampleGetClassMethod.b at 0x7eda971260>, <function ExampleGetClassMethod.c at 0x7eda9711c0>, <function ExampleGetClassMethod.d at 0x7eda971120>]
|
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
|
+
asd, dfs, qweqw, weq
|
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.305,35 (-24,78) / oz',
|
751
751
|
'Kurs IDR↓16.224,00 (-56,00) / USD',
|
752
|
-
'Emas IDR↓1.
|
752
|
+
'Emas IDR↓1.202.502 (-17.121) / 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,44 +820,44 @@ 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
|
827
|
-
'pukul
|
823
|
+
['Ounce\xa0(oz)', '2.305,35 (-24,78)', '16.224,00 (-56,00)', '37.401.998'],
|
824
|
+
['Gram\xa0(gr)', '74,12', '16.224,00', '1.202.502 (-17.121)'],
|
825
|
+
['Kilogram\xa0(kg)', '74.118,72', '16.224,00', '1.202.502.173'],
|
826
|
+
['Update harga emas :23 April 2024, pukul 15:39Update kurs :23 April 2024, '
|
827
|
+
'pukul 13:10']],
|
828
828
|
[['Gram', 'UBS Gold 99.99%'],
|
829
829
|
['Jual', 'Beli'],
|
830
830
|
['/ Batang', '/ Gram', '/ Batang', '/ Gram'],
|
831
831
|
['100',
|
832
832
|
'126.712.000 (-1.488.000)',
|
833
833
|
'1.267.120 (-14.880)',
|
834
|
-
'123.
|
835
|
-
'1.
|
834
|
+
'123.735.000 (-3.350.000)',
|
835
|
+
'1.237.350 (-33.500)'],
|
836
836
|
['50',
|
837
837
|
'63.395.000 (-855.000)',
|
838
838
|
'1.267.900 (-17.100)',
|
839
|
-
'61.
|
840
|
-
'1.
|
839
|
+
'61.920.000 (-1.675.000)',
|
840
|
+
'1.238.400 (-33.500)'],
|
841
841
|
['25',
|
842
842
|
'31.737.000 (-413.000)',
|
843
843
|
'1.269.480 (-16.520)',
|
844
|
-
'31.
|
845
|
-
'1.242.
|
844
|
+
'31.062.500 (-837.500)',
|
845
|
+
'1.242.500 (-33.500)'],
|
846
846
|
['10',
|
847
847
|
'12.745.000 (-165.000)',
|
848
848
|
'1.274.500 (-16.500)',
|
849
|
-
'12.
|
850
|
-
'1.247.
|
849
|
+
'12.475.000 (-335.000)',
|
850
|
+
'1.247.500 (-33.500)'],
|
851
851
|
['5',
|
852
852
|
'6.400.000 (-80.000)',
|
853
853
|
'1.280.000 (-16.000)',
|
854
|
-
'6.
|
855
|
-
'1.257.
|
854
|
+
'6.289.500 (-167.500)',
|
855
|
+
'1.257.900 (-33.500)'],
|
856
856
|
['1',
|
857
857
|
'1.325.000 (-15.000)',
|
858
858
|
'1.325.000 (-15.000)',
|
859
|
-
'1.290.
|
860
|
-
'1.290.
|
859
|
+
'1.290.500 (-33.500)',
|
860
|
+
'1.290.500 (-33.500)'],
|
861
861
|
['', 'Update :23 April 2024, pukul 11:31']],
|
862
862
|
[['Konversi Satuan'],
|
863
863
|
['Satuan', 'Ounce (oz)', 'Gram (gr)', 'Kilogram (kg)'],
|
@@ -869,36 +869,36 @@ Output:
|
|
869
869
|
['Unit', 'USD', 'IDR'],
|
870
870
|
['Angka', '+/-', 'Angka', '+/-'],
|
871
871
|
['Hari Ini', 'Kurs', '', '', '16.280', '-56-0,34%'],
|
872
|
-
['oz', '2.330,13', '-
|
873
|
-
['gr', '74,92', '-0,
|
872
|
+
['oz', '2.330,13', '-24,78-1,06%', '37.934.516', '-532.518-1,40%'],
|
873
|
+
['gr', '74,92', '-0,80-1,06%', '1.219.623', '-17.121-1,40%'],
|
874
874
|
['30 Hari', 'Kurs', '', '', '15.662', '+562+3,59%'],
|
875
|
-
['oz', '2.165,64', '+
|
876
|
-
['gr', '69,63', '+4,
|
875
|
+
['oz', '2.165,64', '+139,71+6,45%', '33.918.254', '+3.483.745+10,27%'],
|
876
|
+
['gr', '69,63', '+4,49+6,45%', '1.090.497', '+112.005+10,27%'],
|
877
877
|
['2 Bulan', 'Kurs', '', '', '15.630', '+594+3,80%'],
|
878
|
-
['oz', '2.038,19', '+
|
879
|
-
['gr', '65,53', '+8,
|
878
|
+
['oz', '2.038,19', '+267,16+13,11%', '31.856.910', '+5.545.089+17,41%'],
|
879
|
+
['gr', '65,53', '+8,59+13,11', '1.024.223', '+178.279+17,41%'],
|
880
880
|
['6 Bulan', 'Kurs', '', '', '15.871', '+353+2,22%'],
|
881
|
-
['oz', '1.984,00', '+
|
882
|
-
['gr', '63,79', '+10,
|
881
|
+
['oz', '1.984,00', '+321,35+16,20%', '31.488.064', '+5.913.934+18,78%'],
|
882
|
+
['gr', '63,79', '+10,33+16,20%', '1.012.365', '+190.137+18,78%'],
|
883
883
|
['1 Tahun', 'Kurs', '', '', '15.731', '+493+3,13%'],
|
884
|
-
['oz', '1.823,86', '+
|
885
|
-
['gr', '58,64', '+15,
|
884
|
+
['oz', '1.823,86', '+481,49+26,40%', '28.691.142', '+8.710.857+30,36%'],
|
885
|
+
['gr', '58,64', '+15,48+26,40%', '922.442', '+280.061+30,36%'],
|
886
886
|
['2 Tahun', 'Kurs', '', '', '14.348', '+1.876+13,07%'],
|
887
|
-
['oz', '1.931,96', '+
|
888
|
-
['gr', '62,11', '+12,
|
887
|
+
['oz', '1.931,96', '+373,39+19,33%', '27.719.762', '+9.682.236+34,93%'],
|
888
|
+
['gr', '62,11', '+12,00+19,33%', '891.211', '+311.291+34,93%'],
|
889
889
|
['3 Tahun', 'Kurs', '', '', '14.530', '+1.694+11,66%'],
|
890
|
-
['oz', '1.777,11', '+
|
891
|
-
['gr', '57,14', '+
|
890
|
+
['oz', '1.777,11', '+528,24+29,72%', '25.821.408', '+11.580.590+44,85%'],
|
891
|
+
['gr', '57,14', '+16,98+29,72%', '830.178', '+372.325+44,85%'],
|
892
892
|
['5 Tahun', 'Kurs', '', '', '14.154', '+2.070+14,62%'],
|
893
|
-
['oz', '1.277,64', '+1.
|
894
|
-
['gr', '41,08', '+33,
|
893
|
+
['oz', '1.277,64', '+1.027,71+80,44%', '18.083.717', '+19.318.282+106,83%'],
|
894
|
+
['gr', '41,08', '+33,04+80,44%', '581.405', '+621.097+106,83%']])
|
895
895
|
(['Home', 'Emas 1 Gram', 'History', 'Trend', 'Perak 1 Gram', 'Pluang'],
|
896
896
|
[[''],
|
897
897
|
['Emas 24 KaratHarga Emas 1 Gram', ''],
|
898
|
-
['USD', '74,
|
899
|
-
['KURS', '16.
|
900
|
-
['IDR', '1.
|
901
|
-
['Selasa, 23 April 2024
|
898
|
+
['USD', '74,10↓', '-0,82-1,09%'],
|
899
|
+
['KURS', '16.223,45↓', '-22,90-0,14%'],
|
900
|
+
['IDR', '1.202.216,26↓', '-14.885,86-1,22%'],
|
901
|
+
['Selasa, 23 April 2024 15:40']],
|
902
902
|
[[''],
|
903
903
|
['Emas 1 Gram (IDR)Emas 1 Gram (USD)Kurs USD-IDR',
|
904
904
|
'Hari Ini',
|
@@ -909,19 +909,19 @@ Output:
|
|
909
909
|
'']],
|
910
910
|
[['Pergerakkan Harga Emas 1 Gram'],
|
911
911
|
['', 'Penutupan Kemarin', 'Pergerakkan Hari Ini', 'Rata-rata'],
|
912
|
-
['USD', '74,92', '74,
|
913
|
-
['KURS', '16.246,35', '16.
|
914
|
-
['IDR', '1.217.102,12', '1.
|
912
|
+
['USD', '74,92', '74,10 - 74,92', '74,51'],
|
913
|
+
['KURS', '16.246,35', '16.223,45 - 16.246,35', '16.234,90'],
|
914
|
+
['IDR', '1.217.102,12', '1.202.216,26 - 1.217.102,12', '1.209.659,19'],
|
915
915
|
[''],
|
916
916
|
['', 'Awal Tahun', 'Pergerakkan YTD', '+/- YTD'],
|
917
|
-
['USD', '66,32', '64,07 - 77,14', '+7,
|
918
|
-
['KURS', '15.390,10', '15.390,00 - 16.307,80', '+
|
919
|
-
['IDR', '1.020.729,53', '997.660,12 - 1.256.829,06', '+
|
917
|
+
['USD', '66,32', '64,07 - 77,14', '+7,78 (11,73%)'],
|
918
|
+
['KURS', '15.390,10', '15.390,00 - 16.307,80', '+833,35 (5,41%)'],
|
919
|
+
['IDR', '1.020.729,53', '997.660,12 - 1.256.829,06', '+181.486,73 (17,78%)'],
|
920
920
|
[''],
|
921
921
|
['', 'Tahun Lalu / 52 Minggu', 'Pergerakkan 52 Minggu', '+/- 52 Minggu'],
|
922
|
-
['USD', '63,76', '58,43 - 77,14', '+10,
|
923
|
-
['KURS', '14.936,00', '14.669,40 - 16.307,80', '+1.
|
924
|
-
['IDR', '952.339,68', '912.925,68 - 1.256.829,06', '+
|
922
|
+
['USD', '63,76', '58,43 - 77,14', '+10,34 (16,22%)'],
|
923
|
+
['KURS', '14.936,00', '14.669,40 - 16.307,80', '+1.287,45 (8,62%)'],
|
924
|
+
['IDR', '952.339,68', '912.925,68 - 1.256.829,06', '+249.876,58 (26,24%)']])
|
925
925
|
```
|
926
926
|
|
927
927
|
## input_char
|
@@ -975,7 +975,7 @@ Output:
|
|
975
975
|
```py
|
976
976
|
8
|
977
977
|
['mana', 'aja']
|
978
|
-
[<Element a at
|
978
|
+
[<Element a at 0x7eda9db570>, <Element a at 0x7ef27bdbd0>, <Element a at 0x7eda9b19a0>, <Element a at 0x7eda9b1a40>, <Element a at 0x7eda9b1a90>, <Element a at 0x7eda9b1ae0>, <Element a at 0x7eda9b1b30>, <Element a at 0x7eda9b1b80>, <Element a at 0x7eda9b1bd0>, <Element a at 0x7eda9b1c20>, <Element a at 0x7eda9b1c70>, <Element a at 0x7eda9b1cc0>, <Element a at 0x7eda9b1d10>, <Element a at 0x7eda9b1d60>, <Element a at 0x7eda9b1db0>, <Element a at 0x7eda9b1e00>, <Element a at 0x7eda9b1e50>, <Element a at 0x7eda9b1ea0>]
|
979
979
|
False
|
980
980
|
```
|
981
981
|
|
@@ -1016,8 +1016,8 @@ print(list(irange(10, 5)))
|
|
1016
1016
|
|
1017
1017
|
Output:
|
1018
1018
|
```py
|
1019
|
-
<generator object irange at
|
1020
|
-
<generator object irange at
|
1019
|
+
<generator object irange at 0x7eda92e8a0>
|
1020
|
+
<generator object irange at 0x7eda92e8a0>
|
1021
1021
|
['a', 'k', 'u']
|
1022
1022
|
[1, 2, 3, 4, 5, 6, 7]
|
1023
1023
|
[10, 9, 8, 7, 6, 5]
|
@@ -1134,7 +1134,7 @@ print(list(iscandir("./", recursive=False, scan_file=False)))
|
|
1134
1134
|
|
1135
1135
|
Output:
|
1136
1136
|
```py
|
1137
|
-
<generator object iscandir at
|
1137
|
+
<generator object iscandir at 0x7eda954840>
|
1138
1138
|
[PosixPath('.git'), PosixPath('.vscode'), PosixPath('pypipr'), PosixPath('__pycache__'), PosixPath('dist')]
|
1139
1139
|
```
|
1140
1140
|
|
@@ -1172,7 +1172,7 @@ Output:
|
|
1172
1172
|
'idjango': <module 'pypipr.idjango' from '/data/data/com.termux/files/home/pypipr/pypipr/idjango/__init__.py'>,
|
1173
1173
|
'iengineering': <module 'pypipr.iengineering' from '/data/data/com.termux/files/home/pypipr/pypipr/iengineering/__init__.py'>,
|
1174
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
|
1175
|
+
'iflow': <module 'pypipr.iflow' (<_frozen_importlib_external.NamespaceLoader object at 0x7ee2552090>)>,
|
1176
1176
|
'colorama': <module 'colorama' from '/data/data/com.termux/files/usr/lib/python3.11/site-packages/colorama/__init__.py'>,
|
1177
1177
|
'datetime': <module 'datetime' from '/data/data/com.termux/files/usr/lib/python3.11/datetime.py'>,
|
1178
1178
|
'functools': <module 'functools' from '/data/data/com.termux/files/usr/lib/python3.11/functools.py'>,
|
@@ -1204,74 +1204,66 @@ Output:
|
|
1204
1204
|
'RunParallel': <class 'pypipr.ibuiltins.RunParallel.RunParallel'>,
|
1205
1205
|
'APIMixinView': <class 'pypipr.idjango.APIMixinView.APIMixinView'>,
|
1206
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
1207
|
'variable': {'LINUX': True,
|
1266
1208
|
'WINDOWS': False,
|
1267
|
-
'PintUreg': <pint.registry.UnitRegistry object at
|
1268
|
-
'
|
1269
|
-
|
1270
|
-
|
1271
|
-
|
1272
|
-
|
1273
|
-
|
1274
|
-
|
1209
|
+
'PintUreg': <pint.registry.UnitRegistry object at 0x7ee978b750>},
|
1210
|
+
'function': {'avg': <function avg at 0x7ef27b2d40>,
|
1211
|
+
'basename': <function basename at 0x7ef277ea20>,
|
1212
|
+
'chunk_array': <function chunk_array at 0x7eee5b0ae0>,
|
1213
|
+
'create_folder': <function create_folder at 0x7eee5b0cc0>,
|
1214
|
+
'datetime_from_string': <function datetime_from_string at 0x7eee5b0ea0>,
|
1215
|
+
'datetime_now': <function datetime_now at 0x7eee633ba0>,
|
1216
|
+
'dict_first': <function dict_first at 0x7eee633b00>,
|
1217
|
+
'dirname': <function dirname at 0x7eee633a60>,
|
1218
|
+
'exit_if_empty': <function exit_if_empty at 0x7eee633920>,
|
1219
|
+
'filter_empty': <function filter_empty at 0x7eee6567a0>,
|
1220
|
+
'get_class_method': <function get_class_method at 0x7eee655b20>,
|
1221
|
+
'get_filemtime': <function get_filemtime at 0x7eee6559e0>,
|
1222
|
+
'get_filesize': <function get_filesize at 0x7eee655800>,
|
1223
|
+
'get_from_index': <function get_from_index at 0x7eee655620>,
|
1224
|
+
'is_empty': <function is_empty at 0x7eee6568e0>,
|
1225
|
+
'is_iterable': <function is_iterable at 0x7eee655c60>,
|
1226
|
+
'is_valid_url': <function is_valid_url at 0x7eee6556c0>,
|
1227
|
+
'ivars': <function ivars at 0x7eee6553a0>,
|
1228
|
+
'password_generator': <function password_generator at 0x7eee655300>,
|
1229
|
+
'random_bool': <function random_bool at 0x7eee654f40>,
|
1230
|
+
'set_timeout': <function set_timeout at 0x7eee6572e0>,
|
1231
|
+
'sets_ordered': <function sets_ordered at 0x7eee657420>,
|
1232
|
+
'str_cmp': <function str_cmp at 0x7eee6574c0>,
|
1233
|
+
'to_str': <function to_str at 0x7eee655bc0>,
|
1234
|
+
'choices': <function choices at 0x7eee657560>,
|
1235
|
+
'console_run': <function console_run at 0x7eee6577e0>,
|
1236
|
+
'input_char': <function input_char at 0x7eee657920>,
|
1237
|
+
'log': <function log at 0x7eee657b00>,
|
1238
|
+
'print_colorize': <function print_colorize at 0x7eee657ba0>,
|
1239
|
+
'print_dir': <function print_dir at 0x7eee657ce0>,
|
1240
|
+
'print_log': <function print_log at 0x7eee6579c0>,
|
1241
|
+
'print_to_last_line': <function print_to_last_line at 0x7eee657740>,
|
1242
|
+
'text_colorize': <function text_colorize at 0x7eee657880>,
|
1243
|
+
'batch_calculate': <function batch_calculate at 0x7ee2605080>,
|
1244
|
+
'batchmaker': <function batchmaker at 0x7ee25e2480>,
|
1245
|
+
'calculate': <function calculate at 0x7ee2605da0>,
|
1246
|
+
'auto_reload': <function auto_reload at 0x7ee2605f80>,
|
1247
|
+
'github_pull': <function github_pull at 0x7ee2605b20>,
|
1248
|
+
'github_push': <function github_push at 0x7ee2606200>,
|
1249
|
+
'github_user': <function github_user at 0x7ee2606520>,
|
1250
|
+
'pip_freeze_without_version': <function pip_freeze_without_version at 0x7ee2339a80>,
|
1251
|
+
'poetry_publish': <function poetry_publish at 0x7ee2339c60>,
|
1252
|
+
'poetry_update_version': <function poetry_update_version at 0x7ee235e480>,
|
1253
|
+
'iargv': <function iargv at 0x7eddc8bba0>,
|
1254
|
+
'idumps': <function idumps at 0x7eddc90360>,
|
1255
|
+
'idumps_html': <function idumps_html at 0x7eddcf0720>,
|
1256
|
+
'ienv': <function ienv at 0x7eddc8be20>,
|
1257
|
+
'iexec': <function iexec at 0x7eddcf09a0>,
|
1258
|
+
'ijoin': <function ijoin at 0x7ee23399e0>,
|
1259
|
+
'iloads': <function iloads at 0x7eddcf0a40>,
|
1260
|
+
'iloads_html': <function iloads_html at 0x7eddcf0cc0>,
|
1261
|
+
'iopen': <function iopen at 0x7ee2339d00>,
|
1262
|
+
'iprint': <function iprint at 0x7eddc8bc40>,
|
1263
|
+
'irange': <function irange at 0x7ee2605ee0>,
|
1264
|
+
'ireplace': <function ireplace at 0x7eddcf0b80>,
|
1265
|
+
'iscandir': <function iscandir at 0x7eddcf2980>,
|
1266
|
+
'isplit': <function isplit at 0x7eddcf2a20>}}
|
1275
1267
|
```
|
1276
1268
|
|
1277
1269
|
## log
|
@@ -1313,7 +1305,7 @@ print(password_generator())
|
|
1313
1305
|
|
1314
1306
|
Output:
|
1315
1307
|
```py
|
1316
|
-
|
1308
|
+
Lu;'|[qm
|
1317
1309
|
```
|
1318
1310
|
|
1319
1311
|
## pip_freeze_without_version
|
@@ -1382,7 +1374,7 @@ Output:
|
|
1382
1374
|
__enter__ : https:/www.google.com
|
1383
1375
|
__fspath__ : https:/www.google.com
|
1384
1376
|
__getstate__ : (None, {'_drv': '', '_root': '', '_parts': ['https:', 'www.google.com'], '_str': 'https:/www.google.com'})
|
1385
|
-
__hash__ :
|
1377
|
+
__hash__ : -326134857128647195
|
1386
1378
|
__init__ : None
|
1387
1379
|
__init_subclass__ : None
|
1388
1380
|
__module__ : pathlib
|
@@ -1395,8 +1387,8 @@ Output:
|
|
1395
1387
|
_cached_cparts : ['https:', 'www.google.com']
|
1396
1388
|
_cparts : ['https:', 'www.google.com']
|
1397
1389
|
_drv :
|
1398
|
-
_flavour : <pathlib._PosixFlavour object at
|
1399
|
-
_hash :
|
1390
|
+
_flavour : <pathlib._PosixFlavour object at 0x7eee61fa90>
|
1391
|
+
_hash : -326134857128647195
|
1400
1392
|
_parts : ['https:', 'www.google.com']
|
1401
1393
|
_root :
|
1402
1394
|
_str : https:/www.google.com
|
@@ -1418,7 +1410,7 @@ Output:
|
|
1418
1410
|
is_reserved : False
|
1419
1411
|
is_socket : False
|
1420
1412
|
is_symlink : False
|
1421
|
-
iterdir : <generator object Path.iterdir at
|
1413
|
+
iterdir : <generator object Path.iterdir at 0x7eda95e6c0>
|
1422
1414
|
joinpath : https:/www.google.com
|
1423
1415
|
name : www.google.com
|
1424
1416
|
parent : https:
|
@@ -1501,7 +1493,7 @@ x.cancel()
|
|
1501
1493
|
|
1502
1494
|
Output:
|
1503
1495
|
```py
|
1504
|
-
<Timer(Thread-2, started
|
1496
|
+
<Timer(Thread-2, started 544808324336)>
|
1505
1497
|
menghentikan timeout 7
|
1506
1498
|
```
|
1507
1499
|
|
@@ -1519,7 +1511,7 @@ print(list(sets_ordered(array)))
|
|
1519
1511
|
|
1520
1512
|
Output:
|
1521
1513
|
```py
|
1522
|
-
<generator object sets_ordered at
|
1514
|
+
<generator object sets_ordered at 0x7eda9846c0>
|
1523
1515
|
[2, 3, 12, 42, 1, 43, 41, 4, 24, 32]
|
1524
1516
|
```
|
1525
1517
|
|
@@ -1628,7 +1620,7 @@ print(ExampleComparePerformance().compare_performance())
|
|
1628
1620
|
|
1629
1621
|
Output:
|
1630
1622
|
```py
|
1631
|
-
{'a': <generator object ExampleComparePerformance.a.<locals>.<genexpr> at
|
1623
|
+
{'a': <generator object ExampleComparePerformance.a.<locals>.<genexpr> at 0x7eda9842b0>,
|
1632
1624
|
'b': (0, 1, 2, 3, 4, 5, 6, 7, 8, 9),
|
1633
1625
|
'c': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
|
1634
1626
|
'd': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]}
|
@@ -21,7 +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=
|
24
|
+
pypipr/ibuiltins/ivars.py,sha256=CM9HFjF9qLg9Bn385CZXLtTALCt_pxhEOEueTm1uNDM,899
|
25
25
|
pypipr/ibuiltins/password_generator.py,sha256=NnFAYkAr6kZiED4JZIJ15_VeGWSpBCCy9rSA5Re_CW4,496
|
26
26
|
pypipr/ibuiltins/random_bool.py,sha256=99kM1fy7figeG5mZhbPzQ3FFzV47Jxg1aPImF78298E,405
|
27
27
|
pypipr/ibuiltins/set_timeout.py,sha256=heg1J3jSArgG5_75BNLrujjh7I9meTyAzHpuAY_4IBc,698
|
@@ -70,7 +70,7 @@ pypipr/ifunctions/iscandir.py,sha256=Ev6jus16vOXdNTN9Ia-_35ESplx7N_ZWA0kYoeimXbk
|
|
70
70
|
pypipr/ifunctions/isplit.py,sha256=N2BiA_wVnrENYwokSzvo0CAiQWk3g7AnwuWFIUgevNM,383
|
71
71
|
pypipr/pypipr.py.bak,sha256=HF-ehQd6BY8hm9fRkQHravLNrJRlI5g_AzbCc3dbikQ,1061
|
72
72
|
pypipr/terminal.py,sha256=XhZz9lntVfRHEs6P7rOjJ688ukw_Xnrht8mbqcAR8QY,1745
|
73
|
-
pypipr-1.0.
|
74
|
-
pypipr-1.0.
|
75
|
-
pypipr-1.0.
|
76
|
-
pypipr-1.0.
|
73
|
+
pypipr-1.0.84.dist-info/METADATA,sha256=U0x3-AfQNF3nv3kPQd4GjrW3PI9k3ZALhNYznE1_uXk,49746
|
74
|
+
pypipr-1.0.84.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
75
|
+
pypipr-1.0.84.dist-info/entry_points.txt,sha256=ikcrTRCn3jaySem1mM9uhYEPDq2PVOs48CyEqLUkY38,47
|
76
|
+
pypipr-1.0.84.dist-info/RECORD,,
|
File without changes
|
File without changes
|