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.1.5.tar.gz
(40.5 kB
view hashes)
Built Distributions
pywry-0.1.5-cp311-none-win_amd64.whl
(909.0 kB
view hashes)
pywry-0.1.5-cp310-none-win_amd64.whl
(909.0 kB
view hashes)
pywry-0.1.5-cp39-none-win_amd64.whl
(909.3 kB
view hashes)
pywry-0.1.5-cp38-none-win_amd64.whl
(908.9 kB
view hashes)
Close
Hashes for pywry-0.1.5-cp311-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3054f6fe4a7b43146dddf36bef6d31225e006eeb9fdf7c6987f21b7aa28176c4 |
|
MD5 | 8f8cd18d2e3a7d6bc52d41827b7e0a98 |
|
BLAKE2b-256 | a826749dd25d058b5901b0909a68d58f34b6af3e4e9efdabc7e0673ef1dff18a |
Close
Hashes for pywry-0.1.5-cp311-cp311-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f202c9caf20169ad1efb0a5af10d1b9c88515229aa033389cb78ec05e6a36751 |
|
MD5 | d952fe79e3fb28899c1c91cf199c3218 |
|
BLAKE2b-256 | b8f447dfb269909ebeb9ff6fe79ce26d5a9e4a541e50d63c5fbfccdad0a51012 |
Close
Hashes for pywry-0.1.5-cp310-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 36dd29cad3d4f256df9b90b4cd9e308ab1034fc4d916e00d277b2d51410e8e15 |
|
MD5 | 84ff55fc8ef035dfb82cf1b3c271833a |
|
BLAKE2b-256 | 4082605ecfb043ddcd55e099ee5847a15144f0c7a276e945fe0d092a56c3d813 |
Close
Hashes for pywry-0.1.5-cp310-cp310-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1fd3b5a5fa744f381c1333d6da8a85694b99cf84b782770314f595b51d48bfcd |
|
MD5 | c41ca485589550ff8257ee9cf22d8452 |
|
BLAKE2b-256 | 18c4f5b5815dd07ca53dd2b9bed6843779b7edf76d428f456b254d902e2c1b2d |
Close
Hashes for pywry-0.1.5-cp39-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 050c368a26d9227fbaf0a6062e72d7714eafb317d8ca7ffcec462109b55a4dc8 |
|
MD5 | 44a4ec078676d0ecbb892484e718ab86 |
|
BLAKE2b-256 | cb6b6a8724cee8bbb9bf89859970ab8e404c3c7bf53ce6cb2cdf4399e99c8f46 |
Close
Hashes for pywry-0.1.5-cp39-cp39-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fa19d33f8fa7a1c05586cd2a5ac2612e37d31d3e990766db088f57614cc19c69 |
|
MD5 | d0b5d9eb17506d13f10aa9699d7802ad |
|
BLAKE2b-256 | 66bc6d5fd062ff07657378a48df887872400159e0de85b0389e8d8818378128e |
Close
Hashes for pywry-0.1.5-cp38-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 015e9b01f3913f2ecea4a9e7aad49e4103ca3dd655a54fa7c87adb75be92d11c |
|
MD5 | 2f3139ece1d70d5cbdd1027e1096c761 |
|
BLAKE2b-256 | 88e6590aeaba82f7770748470a9b809396c6e56554320b5fa83f565242cdf5cc |
Close
Hashes for pywry-0.1.5-cp38-cp38-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 63885f5f2e8cacce2fd90143b5786b887eb684b61466dcf28a0e2c90f2daf61d |
|
MD5 | dc890cb31ce40743e0da2de24d8baf3a |
|
BLAKE2b-256 | dde2c73bcff273b430d453a12d2916cee726fed5eb16a7ea64f6a302f8e91bb1 |