pyloid 0.14.3__tar.gz → 0.14.5__tar.gz

Sign up to get free protection for your applications and to get access to all the features.
@@ -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
3
+ Version: 0.14.5
4
4
  Summary:
5
5
  Author: aesthetics-of-record
6
6
  Author-email: 111675679+aesthetics-of-record@users.noreply.github.com
@@ -19,26 +19,25 @@ Pyloid is the Python backend version of Electron and Tauri, designed to simplify
19
19
 
20
20
  ![example image](example.png)
21
21
 
22
- ## 🚀 Why Pyloid?
22
+ ## Why Pyloid?
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
- - **Web-based GUI Generation**: Easily build the UI for desktop applications using HTML, CSS, and JavaScript.
29
- - **System Tray Icon Support** 🖥️: Implement system tray icons with ease to add various utilities to your app.
30
- - **Multi-Window Management**: Create and manage multiple windows effortlessly.
31
- - **Bridge API between Python and JavaScript** 🌉: Facilitates smooth communication between Python and JavaScript to integrate various functionalities.
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
- - **Clean and Intuitive Code Structure**: Offers a simple and readable code structure that enhances developer productivity.
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, Raspberry Pi OS.
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.
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
 
@@ -88,3 +87,7 @@ This project uses PySide6, which is licensed under the LGPL (Lesser General Publ
88
87
 
89
88
  (Add information about how to contribute here)
90
89
 
90
+ ## Issues
91
+
92
+ If you encounter any issues or have suggestions for improvements, please open an issue on the [GitHub repository](https://github.com/Pyloid/pyloid/issues).
93
+
@@ -4,26 +4,25 @@ Pyloid is the Python backend version of Electron and Tauri, designed to simplify
4
4
 
5
5
  ![example image](example.png)
6
6
 
7
- ## 🚀 Why Pyloid?
7
+ ## Why Pyloid?
8
8
 
9
9
  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.
10
10
 
11
11
  ### Key Features 🚀
12
12
 
13
- - **Web-based GUI Generation**: Easily build the UI for desktop applications using HTML, CSS, and JavaScript.
14
- - **System Tray Icon Support** 🖥️: Implement system tray icons with ease to add various utilities to your app.
15
- - **Multi-Window Management**: Create and manage multiple windows effortlessly.
16
- - **Bridge API between Python and JavaScript** 🌉: Facilitates smooth communication between Python and JavaScript to integrate various functionalities.
17
- - **Single Instance Application / Multi Instance Application Support**: Supports both single and multi instance applications.
18
- - **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.
19
- - **Clean and Intuitive Code Structure**: Offers a simple and readable code structure that enhances developer productivity.
20
- - **Live UI Development Experience**: Experience real-time UI updates as you modify your code, providing an efficient development workflow.
21
- - **Cross-Platform Support**: Runs on various operating systems, including Windows, macOS, and Linux, Raspberry Pi OS.
22
- - **Integration with Various Frontend Libraries**: Supports integration with frontend frameworks like HTML/CSS/JS and React.
23
- - **Window Customization**: Customize window title bar and draggable region.
24
-
25
- * **Direct Utilization of PySide6 Features** 🛠️: Leverage almost all features of PySide6 to customize and extend the Pyloid API, offering limitless possibilities.
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
 
@@ -72,3 +71,7 @@ This project uses PySide6, which is licensed under the LGPL (Lesser General Publ
72
71
  ## Contributing 🤝
73
72
 
74
73
  (Add information about how to contribute here)
74
+
75
+ ## Issues
76
+
77
+ If you encounter any issues or have suggestions for improvements, please open an issue on the [GitHub repository](https://github.com/Pyloid/pyloid/issues).
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "pyloid"
3
- version = "0.14.3"
3
+ version = "0.14.5"
4
4
  description = ""
5
5
  authors = ["aesthetics-of-record <111675679+aesthetics-of-record@users.noreply.github.com>"]
6
6
  readme = "README.md"
@@ -621,6 +621,18 @@ class BrowserWindow:
621
621
  """
622
622
  self._window.close()
623
623
 
624
+ def fullscreen(self):
625
+ """
626
+ Enters fullscreen mode.
627
+
628
+ Examples
629
+ --------
630
+ >>> app = Pyloid(app_name="Pyloid-App")
631
+ >>> window = app.create_window("pyloid-window")
632
+ >>> window.fullscreen()
633
+ """
634
+ self._window.showFullScreen()
635
+
624
636
  def toggle_fullscreen(self):
625
637
  """
626
638
  Toggles the fullscreen mode of the window.
@@ -672,6 +684,21 @@ class BrowserWindow:
672
684
  """
673
685
  self._window.showNormal()
674
686
 
687
+ def toggle_maximize(self):
688
+ """
689
+ Toggles the maximized state of the window.
690
+
691
+ Examples
692
+ --------
693
+ >>> app = Pyloid(app_name="Pyloid-App")
694
+ >>> window = app.create_window("pyloid-window")
695
+ >>> window.toggle_maximize()
696
+ """
697
+ if self._window.isMaximized():
698
+ self._window.showNormal()
699
+ else:
700
+ self._window.showMaximized()
701
+
675
702
  def capture(self, save_path: str) -> Optional[str]:
676
703
  """
677
704
  Captures the current window.
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes