Launching URL with native window in WebView mode.
Project description
PyApp Window
A general-purpose native window launcher for a given url.
Install
pip install pyapp-window
Usage
Use in terminal:
py -m pyapp_window -h
py -m pyapp_window http://localhost:3001
Use in script:
import sys
import pyapp_window
from lk_utils import run_cmd_args
# get a popen object
port = 3001
proc = run_cmd_args(
sys.executable, '-m', 'streamlit', 'run', your_target_script,
'--browser.gatherUsageStats', 'false',
'--global.developmentMode', 'false',
'--server.headless', 'true',
'--server.port', port,
blocking=False,
verbose=True,
)
pyapp_window.launch(
'Example App',
url=f'http://localhost:{port}',
copilot_backend=proc,
size=(800, 600),
)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pyapp_window-2.2.1-py3-none-any.whl.
File metadata
- Download URL: pyapp_window-2.2.1-py3-none-any.whl
- Upload date:
- Size: 13.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.3.3 CPython/3.14.0 Windows/11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3d061cd4fed6d35e8a7f491db49805cd5770d1aecd3f53859b7351e932d4ca57
|
|
| MD5 |
042b9295ae676db625c921947094ae17
|
|
| BLAKE2b-256 |
d14211e88a3491b0e307a71b2bc2ebe4f6efec351343d125c0c0a03f35f7404d
|