Name | WebAppify JSON |
Version |
0.5.1
JSON |
| download |
home_page | None |
Summary | Create desktop apps of your favourite websites |
upload_time | 2024-09-27 16:27:30 |
maintainer | None |
docs_url | None |
author | None |
requires_python | None |
license | None |
keywords |
qt
qt6
website
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
WebAppify
=========
|pypi| |license| |build|
WebAppify is a simple module to easily create your own desktop apps of websites. WebAppify uses PyQt5 and QtWebEngine
for displaying the web page, and works on Python 3.8 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. For QtWebKit
you will need the NPAPI plugin, and for QtWebEngine you will need the PPAPI plugin.
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.5.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
Raw data
{
"_id": null,
"home_page": null,
"name": "WebAppify",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "Qt, Qt6, website",
"author": null,
"author_email": "Raoul Snyman <raoul@snyman.info>",
"download_url": "https://files.pythonhosted.org/packages/fa/44/0956e49f60ab659c484e41957111d7a2e646a939305a6b9845878879a9f1/webappify-0.5.1.tar.gz",
"platform": null,
"description": "WebAppify\n=========\n\n|pypi| |license| |build|\n\nWebAppify is a simple module to easily create your own desktop apps of websites. WebAppify uses PyQt5 and QtWebEngine\nfor displaying the web page, and works on Python 3.8 and up.\n\nTo create your own desktop web app, import and set up the WebApp class.\n\n.. code:: python\n\n from webappify import WebApp\n\n app = WebApp('OpenStreetMap', 'https://www.openstreetmap.org', 'osm.png')\n app.run()\n\nThis will create a window with the website, using the icon provided.\n\n.. note::\n\n If your site needs Flash Player, you'll need the appropriate Flash Player plugin installed system-wide. For QtWebKit\n you will need the NPAPI plugin, and for QtWebEngine you will need the PPAPI plugin.\n\nAdditional Options\n------------------\n\n``can_minimize_to_tray``\n''''''''''''''''''''''''\n\n.. important::\n\n This option was changed in version 0.4.0 from ``canMinimizeToTray`` to ``can_minimize_to_tray``. The old option\n is still available, but is deprecated. It will be removed in 0.5.0.\n\nTo install a system tray icon, and minimize your application to the system tray, simply pass\n``can_minimize_to_tray=True`` to the class and a tray icon will be installed with the necessary menu options.\n\n.. code:: python\n\n app = WebApp('OpenStreetMap', 'https://www.openstreetmap.org', 'osm.png', can_minimize_to_tray=True)\n \nClicking on the tray icon will show the window, while right-clicking will show the menu.\n\n.. |pypi| image:: https://img.shields.io/pypi/v/WebAppify\n :target: https://pypi.org/project/webappify/\n.. |license| image:: https://img.shields.io/pypi/l/WebAppify\n :target: https://git.snyman.info/raoul/webappify/src/branch/master/LICENSE\n.. |build| image:: https://ci.snyman.info/api/badges/raoul/webappify/status.svg\n :target: https://ci.snyman.info/raoul/webappify\n",
"bugtrack_url": null,
"license": null,
"summary": "Create desktop apps of your favourite websites",
"version": "0.5.1",
"project_urls": {
"Homepage": "https://git.snyman.info/raoul/webappify"
},
"split_keywords": [
"qt",
" qt6",
" website"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "f5a36f6c384bdc0fb82329031a9feff1c0b743616915ae1d949e2cd702edeee5",
"md5": "41f90710cb0da8487cba371f9fe02a34",
"sha256": "696568eb8ee6013e687c6388af5b51e60521f72730f3f9dc5940e73938801e5f"
},
"downloads": -1,
"filename": "webappify-0.5.1-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "41f90710cb0da8487cba371f9fe02a34",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": null,
"size": 5203,
"upload_time": "2024-09-27T16:27:29",
"upload_time_iso_8601": "2024-09-27T16:27:29.235889Z",
"url": "https://files.pythonhosted.org/packages/f5/a3/6f6c384bdc0fb82329031a9feff1c0b743616915ae1d949e2cd702edeee5/webappify-0.5.1-py2.py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "fa440956e49f60ab659c484e41957111d7a2e646a939305a6b9845878879a9f1",
"md5": "4f80cfae647e71f4a3e4f1600f69a8ba",
"sha256": "617d3689f592df178875785dad3f5e76962227f4683dd6fa743e323a65200e82"
},
"downloads": -1,
"filename": "webappify-0.5.1.tar.gz",
"has_sig": false,
"md5_digest": "4f80cfae647e71f4a3e4f1600f69a8ba",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 4418,
"upload_time": "2024-09-27T16:27:30",
"upload_time_iso_8601": "2024-09-27T16:27:30.781508Z",
"url": "https://files.pythonhosted.org/packages/fa/44/0956e49f60ab659c484e41957111d7a2e646a939305a6b9845878879a9f1/webappify-0.5.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-09-27 16:27:30",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "webappify"
}