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.0.tar.gz (6.1 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.0-py3-none-any.whl (7.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: web2app-1.0.0.tar.gz
  • Upload date:
  • Size: 6.1 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.0.tar.gz
Algorithm Hash digest
SHA256 bc2f48c0c935fb9e84175d21f76ac94346f14abf0b3aae25b104e8baf0bd8880
MD5 c9a37764d45aec77cee4aaa1b7a782db
BLAKE2b-256 d1d16d65fe0414723ac4c378a3ef8c97770ce46126c0a24922d434009659b41f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: web2app-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 7.0 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3a41af0e2a81eadb6824f5a162a8a8db1a90f01f314a9435dfb02f19df2bd750
MD5 594ad366e81ba6c76be30fc69aa70d93
BLAKE2b-256 dca74cdad360a4f9cd3d118651ecaa6a61e1e9de32d4c85c68520dabfa7eff09

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