Skip to main content

PyPI package for converting a website into an app.

Project description

web2app

PyPI package for converting a website into an app.

Installation

Download from pip:

pip install web2app

Usage

You can turn your website into an app as easy as this:

from web2app import Web2Exe

exe = Web2Exe("https://www.google.com/")

exe.create(output_dir="output")

This infers the application icon and name from the <title> of the website, and the favicon from the site.

You can also specify a custom favicon and app name:

exe = Web2Exe(
  name="Google",
  url="https://www.google.com/",
  icon="assets/logo512.png",
)

You can specify the icon object as a path to an icon, a PIL.Image object, or a BytesIO containing valid image data.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

web2app-1.0.1.tar.gz (7.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

web2app-1.0.1-py3-none-any.whl (7.1 kB view details)

Uploaded Python 3

File details

Details for the file web2app-1.0.1.tar.gz.

File metadata

  • Download URL: web2app-1.0.1.tar.gz
  • Upload date:
  • Size: 7.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for web2app-1.0.1.tar.gz
Algorithm Hash digest
SHA256 232c5d0f78676d5da3969e4de01f58a7c2ef7db88bb1505f0a2927b1d7744da3
MD5 1efb8445005f88a7c283a5aacfa66d1a
BLAKE2b-256 113a2131d6f717acb5a6ca0545c2410c671e5d06c9f5ea8ce1171ffe2e426f4e

See more details on using hashes here.

File details

Details for the file web2app-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: web2app-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 7.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for web2app-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ed0dcaf36e750c5cbc381e1218a9b1432c1d8f77272d24809aa72983e9a77e03
MD5 885c0410e4851d8f7bb37e86db75b1d8
BLAKE2b-256 87987ae6fec429800a40bf4d691b745ae18373a9d6eab2d9ca15a34e8f501c03

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page