pyloid 0.14.2__py3-none-any.whl → 0.14.3__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
pyloid/api.py
CHANGED
@@ -1,12 +1,13 @@
|
|
1
1
|
from PySide6.QtCore import QObject, Slot
|
2
2
|
|
3
|
+
|
3
4
|
class PyloidAPI(QObject):
|
4
5
|
"""
|
5
|
-
PyloidAPI
|
6
|
-
|
6
|
+
PyloidAPI class is derived from PySide6's QObject.
|
7
|
+
It enables communication between JavaScript and Python.
|
7
8
|
|
8
|
-
|
9
|
-
|
9
|
+
Usage Example
|
10
|
+
-------------
|
10
11
|
(Python)
|
11
12
|
```python
|
12
13
|
from pyloid import Pyloid, PyloidAPI, Bridge
|
@@ -41,22 +42,24 @@ class PyloidAPI(QObject):
|
|
41
42
|
```
|
42
43
|
|
43
44
|
"""
|
45
|
+
|
44
46
|
def __init__(self):
|
45
47
|
super().__init__()
|
46
48
|
|
49
|
+
|
47
50
|
def Bridge(*args, **kwargs):
|
48
51
|
"""
|
49
|
-
Bridge
|
52
|
+
Bridge function creates a slot that can be called from JavaScript.
|
50
53
|
|
51
54
|
Parameters
|
52
55
|
----------
|
53
56
|
*args : tuple
|
54
|
-
|
57
|
+
Variable length argument list.
|
55
58
|
**kwargs : dict
|
56
|
-
|
59
|
+
Arbitrary keyword arguments.
|
57
60
|
|
58
|
-
|
59
|
-
|
61
|
+
Usage Example
|
62
|
+
-------------
|
60
63
|
(Python)
|
61
64
|
```python
|
62
65
|
from pyloid import Pyloid, PyloidAPI, Bridge
|
@@ -198,4 +198,4 @@ Apache License
|
|
198
198
|
distributed under the License is distributed on an "AS IS" BASIS,
|
199
199
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
200
200
|
See the License for the specific language governing permissions and
|
201
|
-
limitations under the License.
|
201
|
+
limitations under the License.
|
@@ -1,5 +1,5 @@
|
|
1
1
|
pyloid/__init__.py,sha256=OOPhOKNQVmAM8hnfTeE7lHzxb8LsFNcgegBAvDrA-vY,293
|
2
|
-
pyloid/api.py,sha256=
|
2
|
+
pyloid/api.py,sha256=np0pFVUlen_GpN0svY0A3awY_ZjVFk-RpHQZZKFUMuo,2157
|
3
3
|
pyloid/autostart.py,sha256=K7DQYl4LHItvPp0bt1V9WwaaZmVSTeGvadkcwG-KKrI,3899
|
4
4
|
pyloid/browser_window.py,sha256=dMdmMTMqgAp2wViGZqZmUO4J5_GtNkYSQ_BCpq65ybo,37543
|
5
5
|
pyloid/custom/titlebar.py,sha256=itzK9pJbZMQ7BKca9kdbuHMffurrw15UijR6OU03Xsk,3894
|
@@ -11,7 +11,7 @@ pyloid/pyloid.py,sha256=3YymePkpM_hKPzvHSSgELuSHkmbDsKW60HnRwwBMY7A,41178
|
|
11
11
|
pyloid/timer.py,sha256=RqMsChFUd93cxMVgkHWiIKrci0QDTBgJSTULnAtYT8M,8712
|
12
12
|
pyloid/tray.py,sha256=D12opVEc2wc2T4tK9epaN1oOdeziScsIVNM2uCN7C-A,1710
|
13
13
|
pyloid/utils.py,sha256=VGZE2liY8_AElEqxVe1YLbk3fWlcAevpRc6oOTTgi-U,1927
|
14
|
-
pyloid-0.14.
|
15
|
-
pyloid-0.14.
|
16
|
-
pyloid-0.14.
|
17
|
-
pyloid-0.14.
|
14
|
+
pyloid-0.14.3.dist-info/LICENSE,sha256=MTYF-6xpRekyTUglRweWtbfbwBL1I_3Bgfbm_SNOuI8,11525
|
15
|
+
pyloid-0.14.3.dist-info/METADATA,sha256=oFT3xw5-gML-JIEMqTWfekVX8nZBjadYMMtNRtjPIZ4,4114
|
16
|
+
pyloid-0.14.3.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
17
|
+
pyloid-0.14.3.dist-info/RECORD,,
|
File without changes
|