pyloid 0.14.2__tar.gz → 0.14.4__tar.gz
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.
- {pyloid-0.14.2 → pyloid-0.14.4}/LICENSE +1 -1
- {pyloid-0.14.2 → pyloid-0.14.4}/PKG-INFO +14 -15
- {pyloid-0.14.2 → pyloid-0.14.4}/README.md +13 -14
- {pyloid-0.14.2 → pyloid-0.14.4}/pyproject.toml +1 -1
- {pyloid-0.14.2 → pyloid-0.14.4}/src/pyloid/api.py +12 -9
- {pyloid-0.14.2 → pyloid-0.14.4}/src/pyloid/__init__.py +0 -0
- {pyloid-0.14.2 → pyloid-0.14.4}/src/pyloid/autostart.py +0 -0
- {pyloid-0.14.2 → pyloid-0.14.4}/src/pyloid/browser_window.py +0 -0
- {pyloid-0.14.2 → pyloid-0.14.4}/src/pyloid/custom/titlebar.py +0 -0
- {pyloid-0.14.2 → pyloid-0.14.4}/src/pyloid/filewatcher.py +0 -0
- {pyloid-0.14.2 → pyloid-0.14.4}/src/pyloid/js_api/event_api.py +0 -0
- {pyloid-0.14.2 → pyloid-0.14.4}/src/pyloid/js_api/window_api.py +0 -0
- {pyloid-0.14.2 → pyloid-0.14.4}/src/pyloid/monitor.py +0 -0
- {pyloid-0.14.2 → pyloid-0.14.4}/src/pyloid/pyloid.py +0 -0
- {pyloid-0.14.2 → pyloid-0.14.4}/src/pyloid/timer.py +0 -0
- {pyloid-0.14.2 → pyloid-0.14.4}/src/pyloid/tray.py +0 -0
- {pyloid-0.14.2 → pyloid-0.14.4}/src/pyloid/utils.py +0 -0
@@ -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,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: pyloid
|
3
|
-
Version: 0.14.
|
3
|
+
Version: 0.14.4
|
4
4
|
Summary:
|
5
5
|
Author: aesthetics-of-record
|
6
6
|
Author-email: 111675679+aesthetics-of-record@users.noreply.github.com
|
@@ -25,20 +25,19 @@ With Pyloid, you can leverage the full power of Python in your desktop applicati
|
|
25
25
|
|
26
26
|
### Key Features 🚀
|
27
27
|
|
28
|
-
- **Web-based GUI Generation
|
29
|
-
- **System Tray Icon Support**
|
30
|
-
- **Multi-Window Management
|
31
|
-
- **Bridge API between Python and JavaScript**
|
32
|
-
- **Single Instance Application / Multi Instance Application Support
|
33
|
-
- **Comprehensive Desktop App Features
|
34
|
-
- **Clean and Intuitive Code Structure
|
35
|
-
- **Live UI Development Experience
|
36
|
-
- **Cross-Platform Support
|
37
|
-
- **Integration with Various Frontend Libraries
|
38
|
-
- **Window Customization
|
39
|
-
|
40
|
-
|
41
|
-
* **Detailed Numpy-style Docstrings** 📚: Provide detailed and clear Numpy-style docstrings that greatly enhance the development experience, making it easy to understand and apply the API.
|
28
|
+
- **Web-based GUI Generation**
|
29
|
+
- **System Tray Icon Support**
|
30
|
+
- **Multi-Window Management**
|
31
|
+
- **Bridge API between Python and JavaScript**
|
32
|
+
- **Single Instance Application / Multi Instance Application Support**
|
33
|
+
- **Comprehensive Desktop App Features**
|
34
|
+
- **Clean and Intuitive Code Structure**
|
35
|
+
- **Live UI Development Experience**
|
36
|
+
- **Cross-Platform Support**
|
37
|
+
- **Integration with Various Frontend Libraries**
|
38
|
+
- **Window Customization**
|
39
|
+
- **Direct Utilization of PySide6 Features**
|
40
|
+
- **Detailed Numpy-style Docstrings**
|
42
41
|
|
43
42
|
## Documentation 📚
|
44
43
|
|
@@ -10,20 +10,19 @@ With Pyloid, you can leverage the full power of Python in your desktop applicati
|
|
10
10
|
|
11
11
|
### Key Features 🚀
|
12
12
|
|
13
|
-
- **Web-based GUI Generation
|
14
|
-
- **System Tray Icon Support**
|
15
|
-
- **Multi-Window Management
|
16
|
-
- **Bridge API between Python and JavaScript**
|
17
|
-
- **Single Instance Application / Multi Instance Application Support
|
18
|
-
- **Comprehensive Desktop App Features
|
19
|
-
- **Clean and Intuitive Code Structure
|
20
|
-
- **Live UI Development Experience
|
21
|
-
- **Cross-Platform Support
|
22
|
-
- **Integration with Various Frontend Libraries
|
23
|
-
- **Window Customization
|
24
|
-
|
25
|
-
|
26
|
-
* **Detailed Numpy-style Docstrings** 📚: Provide detailed and clear Numpy-style docstrings that greatly enhance the development experience, making it easy to understand and apply the API.
|
13
|
+
- **Web-based GUI Generation**
|
14
|
+
- **System Tray Icon Support**
|
15
|
+
- **Multi-Window Management**
|
16
|
+
- **Bridge API between Python and JavaScript**
|
17
|
+
- **Single Instance Application / Multi Instance Application Support**
|
18
|
+
- **Comprehensive Desktop App Features**
|
19
|
+
- **Clean and Intuitive Code Structure**
|
20
|
+
- **Live UI Development Experience**
|
21
|
+
- **Cross-Platform Support**
|
22
|
+
- **Integration with Various Frontend Libraries**
|
23
|
+
- **Window Customization**
|
24
|
+
- **Direct Utilization of PySide6 Features**
|
25
|
+
- **Detailed Numpy-style Docstrings**
|
27
26
|
|
28
27
|
## Documentation 📚
|
29
28
|
|
@@ -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
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|