No project description provided
Project description
Tauri Web Viewer
Easily create HTML webviewers in python utilizing the wry library. Please note: this library is currently in early alpha and is NOT ready for production use.
To use just run the following:
- Install rust:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
- Create a virtual environment:
python -m venv .env
- Acitvate the environment:
source .env/bin/activate
- Install dependencies:
pip install .[dev]
- Build the pip package:
maturin build
- Install the package:
pip install [file path from above] --force-reinstall
Basic Usage:
>>> import pywry
>>> handler = pywry.PyWry()
>>> handler.send_html("<h1>Welcome to plotting in PyWry</h1>")
>>> handler.start()
Note: There is currently an issue if you try to run this inside an X86_64 conda environment on an M1 machine.
Arguments
title
html_content
hide_output
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 Distribution
pywry-0.2.92.tar.gz
(41.9 kB
view hashes)
Built Distributions
pywry-0.2.92-cp311-none-win_amd64.whl
(921.9 kB
view hashes)
pywry-0.2.92-cp310-none-win_amd64.whl
(921.9 kB
view hashes)
pywry-0.2.92-cp39-none-win_amd64.whl
(922.2 kB
view hashes)
pywry-0.2.92-cp38-none-win_amd64.whl
(923.3 kB
view hashes)
Close
Hashes for pywry-0.2.92-cp311-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2bda8be03bad00e16a4b198124fcbb37014ff08c27f04aeed1160d32d0429631 |
|
MD5 | e71f626fc71cc35fb1f212f84da84f73 |
|
BLAKE2b-256 | 6f529ea95988a265de7196da661074e12e9cff0233ba36e6dd82a46f2c3e6b73 |
Close
Hashes for pywry-0.2.92-cp311-cp311-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1198a1c90365a67290a3fdab487d60bc9e57c82ed0a4b238ff8fc194a210a854 |
|
MD5 | 5f36a1d27d2229e7bc3fdd608539dc36 |
|
BLAKE2b-256 | 476d08ce33221269fe18395cfd3b3e4e2fa3844db44342cfdaf1f5af39f68ffb |
Close
Hashes for pywry-0.2.92-cp310-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f87f3ace092cb2e8bc999f9e5b5ce73a8b61d2af4c948c9925f451a1d630ac21 |
|
MD5 | b928419b4d3ed4d32b8d970bd1856c72 |
|
BLAKE2b-256 | 49b88ec8e58caf05739632ad02d7d7089f5a4dbbbaa068d61a3af2f2f6196802 |
Close
Hashes for pywry-0.2.92-cp310-cp310-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cf6eb82da83139b2b66216b4b3e0eec05a213f99d79d2c3229906e47e42300da |
|
MD5 | 5db2b504ee884eb501ded6fcf4640f42 |
|
BLAKE2b-256 | 46fc3ca1d00b6c1383f3422910f1e27b2e2ee3be17bc545f56d418d0408844b1 |
Close
Hashes for pywry-0.2.92-cp39-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 690ab7b8f0840603d585e1e592bfbc00541052f173f9e3621601fca8cb36d0b7 |
|
MD5 | df59f33edacb5daa6652adba1a7e98ca |
|
BLAKE2b-256 | 4cf7e01b541828b5315261866cc58aacf94bfdb8e050f521e2694e0a9f4d46e7 |
Close
Hashes for pywry-0.2.92-cp39-cp39-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f3cdce46942b254859d606c6b7e6d95a1fdf7e567fe6ea553b5fae76c2d3d76d |
|
MD5 | 4e9b7d7998e7e68ab8ada885dcd17601 |
|
BLAKE2b-256 | df743e3bf2ef3edf2abaa1b0bb68c275df50b3c6ddc5627b2d52b69fe51fca43 |
Close
Hashes for pywry-0.2.92-cp38-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 98012b9ea2ed095a063dfbb1e3a3eeb2836674e2fc325698da6246568f3253c5 |
|
MD5 | efcb8f1ac6ad4a253fdada8a55d9a322 |
|
BLAKE2b-256 | 1ab22e27b26ad123b5ccf2d2478d3373243a4846c7fe7883a160c6f8ec0154b7 |
Close
Hashes for pywry-0.2.92-cp38-cp38-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 746ffc2fec04d37fa6e7a92967d703123001c5a2e67feafa6456567c8d7fabf3 |
|
MD5 | 2e6ff0930a8523898d85d0f7875501bc |
|
BLAKE2b-256 | 1ca83541280fff336633d6b4bca1a82e926bea30aca1270d39b1872ad15333c0 |