pyloid 0.14.1__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,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: pyloid
|
3
|
-
Version: 0.14.
|
3
|
+
Version: 0.14.3
|
4
4
|
Summary:
|
5
5
|
Author: aesthetics-of-record
|
6
6
|
Author-email: 111675679+aesthetics-of-record@users.noreply.github.com
|
@@ -23,18 +23,22 @@ Pyloid is the Python backend version of Electron and Tauri, designed to simplify
|
|
23
23
|
|
24
24
|
With Pyloid, you can leverage the full power of Python in your desktop applications. Its simplicity and flexibility make it the perfect choice for both beginners and experienced developers looking for a Python-focused alternative to Electron or Tauri. It is especially optimized for building AI-powered desktop applications.
|
25
25
|
|
26
|
-
|
26
|
+
### Key Features 🚀
|
27
27
|
|
28
28
|
- **Web-based GUI Generation**: Easily build the UI for desktop applications using HTML, CSS, and JavaScript.
|
29
29
|
- **System Tray Icon Support** 🖥️: Implement system tray icons with ease to add various utilities to your app.
|
30
30
|
- **Multi-Window Management**: Create and manage multiple windows effortlessly.
|
31
31
|
- **Bridge API between Python and JavaScript** 🌉: Facilitates smooth communication between Python and JavaScript to integrate various functionalities.
|
32
|
-
- **Single Instance Application
|
33
|
-
- **Comprehensive Desktop App Features**: Provides a wide range of functions for desktop apps, including monitor management, desktop capture, notifications, shortcuts, and clipboard access.
|
32
|
+
- **Single Instance Application / Multi Instance Application Support**: Supports both single and multi instance applications.
|
33
|
+
- **Comprehensive Desktop App Features**: Provides a wide range of functions for desktop apps, including monitor management, desktop capture, notifications, shortcuts, auto start, filewatcher and clipboard access.
|
34
34
|
- **Clean and Intuitive Code Structure**: Offers a simple and readable code structure that enhances developer productivity.
|
35
35
|
- **Live UI Development Experience**: Experience real-time UI updates as you modify your code, providing an efficient development workflow.
|
36
|
-
- **Cross-Platform Support**: Runs on various operating systems, including Windows, macOS, and Linux.
|
36
|
+
- **Cross-Platform Support**: Runs on various operating systems, including Windows, macOS, and Linux, Raspberry Pi OS.
|
37
37
|
- **Integration with Various Frontend Libraries**: Supports integration with frontend frameworks like HTML/CSS/JS and React.
|
38
|
+
- **Window Customization**: Customize window title bar and draggable region.
|
39
|
+
|
40
|
+
* **Direct Utilization of PySide6 Features** 🛠️: Leverage almost all features of PySide6 to customize and extend the Pyloid API, offering limitless possibilities.
|
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.
|
38
42
|
|
39
43
|
## Documentation 📚
|
40
44
|
|
@@ -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
|