Metadata-Version: 2.3
Name: WebAppify
Version: 0.5.2
Summary: Create desktop apps of your favourite websites
Project-URL: Homepage, https://git.snyman.info/raoul/webappify
Author-email: Raoul Snyman <raoul@snyman.info>
License-Expression: MIT
License-File: LICENSE
Keywords: Qt,Qt6,website
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: MacOS X
Classifier: Environment :: Win32 (MS Windows)
Classifier: Environment :: X11 Applications
Classifier: Environment :: X11 Applications :: Qt
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Desktop Environment
Classifier: Topic :: Internet :: WWW/HTTP :: Browsers
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Dist: pyside6
Description-Content-Type: text/x-rst

WebAppify
=========

|pypi| |license| |build|

WebAppify is a simple module to easily create your own desktop apps of websites. WebAppify uses PySide6 and QtWebEngine
for displaying the web page, and works on Python 3.10 and up.

To create your own desktop web app, import and set up the WebApp class.

.. code:: python

   from webappify import WebApp

   app = WebApp('OpenStreetMap', 'https://www.openstreetmap.org', 'osm.png')
   app.run()

This will create a window with the website, using the icon provided.

.. note::

   If your site needs Flash Player, you'll need the appropriate Flash Player plugin installed system-wide.

Additional Options
------------------

``can_minimize_to_tray``
''''''''''''''''''''''''

.. important::

   This option was changed in version 0.4.0 from ``canMinimizeToTray`` to ``can_minimize_to_tray``. The old option
   is still available, but is deprecated. It will be removed in 0.6.0.

To install a system tray icon, and minimize your application to the system tray, simply pass
``can_minimize_to_tray=True`` to the class and a tray icon will be installed with the necessary menu options.

.. code:: python

   app = WebApp('OpenStreetMap', 'https://www.openstreetmap.org', 'osm.png', can_minimize_to_tray=True)
   
Clicking on the tray icon will show the window, while right-clicking will show the menu.

.. |pypi| image:: https://img.shields.io/pypi/v/WebAppify
   :target: https://pypi.org/project/webappify/
.. |license| image:: https://img.shields.io/pypi/l/WebAppify
   :target: https://git.snyman.info/raoul/webappify/src/branch/master/LICENSE
.. |build| image:: https://ci.snyman.info/api/badges/raoul/webappify/status.svg
   :target: https://ci.snyman.info/raoul/webappify
