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.9.tar.gz
(42.3 kB
view hashes)
Built Distributions
pywry-0.2.9-cp311-none-win_amd64.whl
(913.6 kB
view hashes)
pywry-0.2.9-cp310-none-win_amd64.whl
(913.6 kB
view hashes)
pywry-0.2.9-cp39-none-win_amd64.whl
(914.0 kB
view hashes)
pywry-0.2.9-cp38-none-win_amd64.whl
(913.0 kB
view hashes)
Close
Hashes for pywry-0.2.9-cp311-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0b5e4a5ad03dd2544a3b863982c3c3f0a6016c0962b1a51786b91edf0de39478 |
|
MD5 | b7e56f31689204ab3cd315bb6239d864 |
|
BLAKE2b-256 | 77a4aed635349734d70f868d7bfe9d466c90f2a3aa0dbbe296bda185825b55a5 |
Close
Hashes for pywry-0.2.9-cp311-cp311-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | af2cae7cbad61b32d225f49fcf6509d4cfb5a2866f26fde107d241f5b96dbb9a |
|
MD5 | 64ab02e0a19498a6d05e33c0e9e6bbfd |
|
BLAKE2b-256 | f6aed5a52672ee07f995e305c759ed27ea2f75bddbc94d35f4c15dee8bef24de |
Close
Hashes for pywry-0.2.9-cp310-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7ed749b194089a6a5bd2ea5c5f1562c37a6b990f07eded2b9662c66dec5f3e0d |
|
MD5 | 21a2b1e933bc237d8d238c87e6cb5f04 |
|
BLAKE2b-256 | 062fa83bf0fdfc9e693845ac2ce09f9f239c4887e7d4ea03dc400691e0f04b6e |
Close
Hashes for pywry-0.2.9-cp310-cp310-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b656476180fa85f0ff28dbefc9ac8a9ca38c9f7d25664472eab01f5194bacc56 |
|
MD5 | ca3de7f667da9a73140a9a487afa6330 |
|
BLAKE2b-256 | d616692f20c365fa7da1976a0f257d42bcfa3036c1730f81e958ac51b8923bef |
Close
Hashes for pywry-0.2.9-cp39-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8323a6e5d3e6e0683a98f48e7829dbd7a6e8e6472ac40fe7282cb3a20bc7d895 |
|
MD5 | 7560ede776a5fa0e2c82be9a7bad483a |
|
BLAKE2b-256 | 7257ccdb22914a598e4d2f8bbf7c49fe74b07ade0cd19a572cdb21d25e4b4307 |
Close
Hashes for pywry-0.2.9-cp39-cp39-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 26754752ad038eeb433da066c3217acc4000180909a3b40d11d04e758dafae83 |
|
MD5 | b80badc3c693eec580a7ce3c918b50c9 |
|
BLAKE2b-256 | 9edbbb6c2533b7d8b8f4d7d72ffe93358d9254c15b86d69da452fcaa9bdb824b |
Close
Hashes for pywry-0.2.9-cp38-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 042fca922480e0e1be82e4a7a49ff889cc98213eb1dca9f76eb85166c9f6b734 |
|
MD5 | 36730fd896c9223ac2c63a67b629d7af |
|
BLAKE2b-256 | 7bc7ce93a360fd9e2fdecf89e85eedd0ebb6f693cf7d7ae3b5214f85fe6ca246 |
Close
Hashes for pywry-0.2.9-cp38-cp38-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c0b9359d508d0caecba7f534aa0694b781c62ea25c3538705c079fe4d988a5d3 |
|
MD5 | 28a35d5453723101754508c13926d4f2 |
|
BLAKE2b-256 | b5025925516d139aac496de0dc3ec54888d560bc0cb9342c63e8d378e16b4ac0 |