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.3.6.tar.gz
(42.8 kB
view hashes)
Built Distributions
pywry-0.3.6-cp311-none-win_amd64.whl
(929.9 kB
view hashes)
pywry-0.3.6-cp310-none-win_amd64.whl
(929.9 kB
view hashes)
pywry-0.3.6-cp39-none-win_amd64.whl
(930.1 kB
view hashes)
pywry-0.3.6-cp38-none-win_amd64.whl
(930.7 kB
view hashes)
Close
Hashes for pywry-0.3.6-cp311-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f7db722823dfbdb98a4fe548cdb2f42cad218c375b70dce13e8bb1f5d00de5f4 |
|
MD5 | e3f0d0d6178d1038a03b17402c30ccf7 |
|
BLAKE2b-256 | 7c945875fee5c48aaf50820da99a8fb889866bf032c7387daf4d2cc0385fe65d |
Close
Hashes for pywry-0.3.6-cp311-cp311-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0fb30463acac1e8e31fa90ea3a303696d5c4189b689bc8d03bfd6255bc07af56 |
|
MD5 | 354fa766fb0ec7d629058e12a882cc5d |
|
BLAKE2b-256 | c9b53fda048b13fa5dd705203959158dcd735869ac71ae523bc5a0bb2c8e4482 |
Close
Hashes for pywry-0.3.6-cp310-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c92330959eeebd24daf16c2890d973b9a08e7660af444cc38a67de1a4cd5a587 |
|
MD5 | 40751e1001915affd99396fa3ab9ffb9 |
|
BLAKE2b-256 | 084368b2d9e20ec421b4e1ca64026197ee3668689ea24cd263396cc4c6287b23 |
Close
Hashes for pywry-0.3.6-cp310-cp310-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cd63ef0778a424f40d98f40721f3d55821d0736ed80729db46215fb08a28b89c |
|
MD5 | ac4eba6e1d4eb0e458e88a3eb03edc69 |
|
BLAKE2b-256 | 41ecf3b04649809d8d971cfe9792bcff241f27989e21141911ba0350d857c43f |
Close
Hashes for pywry-0.3.6-cp39-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 61d0d266906bd8cd8a92eada82c94a94c16c191ff93d8d6c4f1641fcfb99cb2e |
|
MD5 | e55bcb1f58ba0405bde05f76c6f1ef04 |
|
BLAKE2b-256 | cf8648027c42b19bc40d0b2c9e8501c740b29ab2bb05744b3cf010e8708396e7 |
Close
Hashes for pywry-0.3.6-cp39-cp39-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6aacd446d71b55fa74effe19c11502d4b47f4e41d6474b278ef4eb62ab38de09 |
|
MD5 | a930184ea1866db1a8e0181b4d1e14c7 |
|
BLAKE2b-256 | 82143365ccbeba9e61034cb40c5dc304a334b42b49f25f1bb19c05739b33a503 |
Close
Hashes for pywry-0.3.6-cp38-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 10cebfd96689e055655512b49d62c294df25d7aa286a7e7fb7ddd7b931cd2de0 |
|
MD5 | 4f4f688e6748583da9d6502eea9d7310 |
|
BLAKE2b-256 | 2d6f61a5f28f0550da4d733eba3e45820457d181e1e6c407df27b9a8f992f375 |
Close
Hashes for pywry-0.3.6-cp38-cp38-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5712dfde5b964585f66dd88c1d08bc25266dc85d50c10fafc01f607cb58a1a0f |
|
MD5 | 3b3cb511058ed96279abda0fbd81a623 |
|
BLAKE2b-256 | c0a411f8f493f8b7d8ae016aa5e7c5c874213fd69b6ab7932d7e2f909fdd1d81 |