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),
)
Metadata
Release files for pyapp-window 2.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pyapp_window-2.3.0-py3-none-any.whl | Python 3 | none | any | Details |
Release files / pyapp_window-2.3.0-py3-none-any.whl
| Download URL | pyapp_window-2.3.0-py3-none-any.whl |
|---|---|
| Size | 14.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
170cd685568e07bc764646634052642cf9a2c870cf07d45959cfcaa834dfad57
|
|
BLAKE2b-256 checksum How to use checksums |
12a1ada17d406ad30134a99b90da5b9cda06033741e97401e6f8e2d28b396c62
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.12 {"installer":{"name":"uv","version":"0.11.12","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for pyapp-window 2.3.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.