Skip to main content

HTML to GUI

Project description

html_loader

LoaderHTML

Arguments: name: str="Document" — Window's name, icon: str | None=None — Window's icon, width: int=700, heigth: int=700

Functions:

  • Thread(fun) — start function from thread (decorator)
  • load_html(code: str) — load code
  • load_from_url(url: str) — load code from url
  • load_file(name: str) — load code from file
  • load_file_absolute_path(name: str) — load code from file by absolute path
  • run() — show window

Example:

from html_loader import LoaderHTML

loader = LoaderHTML("Test", "icon.png")
loader.load_file("index.html")

# this function will start and run until it ends without affecting the window
@load.Thread
def main():
    url = input("url:")
    loader.load_from_url(url)

loader.run()

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

html_loader-1.0.0.tar.gz (2.8 kB view details)

Uploaded Source

Built Distribution

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

html_loader-1.0.0-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: html_loader-1.0.0.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.9

File hashes

Hashes for html_loader-1.0.0.tar.gz
Algorithm Hash digest
SHA256 9dbd810632719b114ad4f56368a19177994c1438bdd6f0147293b4468e864267
MD5 8a16d6320591e276103ef0cec8b452d4
BLAKE2b-256 26d1d65d4e51b814959860019a94da99510082657597fa74b5db2c85531c0610

See more details on using hashes here.

File details

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

File metadata

  • Download URL: html_loader-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 3.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.9

File hashes

Hashes for html_loader-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 319eb148a1d5ce5faae55bae7b083950d0436c137a1f08573ff5d34dcc9fbb41
MD5 4267ec6bcf88aeff6c2ac0a443af1974
BLAKE2b-256 27644f1962e9c58e2e3040d397a3b45baffea5e141190c45f01b4506ee79a57c

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