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.5.tar.gz
(42.1 kB
view hashes)
Built Distributions
pywry-0.2.5-cp311-none-win_amd64.whl
(913.7 kB
view hashes)
pywry-0.2.5-cp310-none-win_amd64.whl
(913.7 kB
view hashes)
pywry-0.2.5-cp39-none-win_amd64.whl
(914.1 kB
view hashes)
pywry-0.2.5-cp38-none-win_amd64.whl
(913.3 kB
view hashes)
Close
Hashes for pywry-0.2.5-cp311-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b4101e1826dbc063451ab72a237bbc3a02ced22f9e0d751b9f7db78a12ede56b |
|
MD5 | e93fbc81c61c3479a9417ef5352c2d8f |
|
BLAKE2b-256 | 6d065af3c2e26a5cdae9922ede20864febd57a85b52983bf4bd85f14698bdffe |
Close
Hashes for pywry-0.2.5-cp311-cp311-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 133add2f8f3f54957036066a8f9f0ff67788b0a71aa919694e197d3d62b16c57 |
|
MD5 | f736c93559ef8d7de3eb1baf0ead0258 |
|
BLAKE2b-256 | 0b439c303c6708fe482b25810c3dcddbf7dfea8867bf22dddd2da7269f5616ba |
Close
Hashes for pywry-0.2.5-cp310-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f63e77e780c03fae86d6ad009f538849b5b24edcefbfc9cc591d76cd4d31e7bf |
|
MD5 | 674cc7b699630bbae9570cbd6b566c69 |
|
BLAKE2b-256 | f42cb2223cee38a46590e043c80d867755aa0d2d5cf613480618c53562bd2733 |
Close
Hashes for pywry-0.2.5-cp310-cp310-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fa86633526edc245788bca97d7ebd6ed6ff9cab2f7b64cbad170fd62232b16e8 |
|
MD5 | 84c824ffdfdcb899cf495ae700073fbc |
|
BLAKE2b-256 | a9a8d33082f14ffee8fbe9eeee147d59916536c506ed8a5b4ebae34b38cb0929 |
Close
Hashes for pywry-0.2.5-cp39-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5e08d0f9eab5e1dbbad26e556ba91f8278c600313ad3beccb6ce55fbf6907b24 |
|
MD5 | 465b181a2de98389b84dce07929a9adb |
|
BLAKE2b-256 | 77d7ae1824ad8a741b84ff18df78e9140c47ddc732022ee53899126fc08e3a9c |
Close
Hashes for pywry-0.2.5-cp39-cp39-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b7d03387dd95edfcbfa3ed5acd8300e6241e804dbf7dda9cf4011b00db6bddec |
|
MD5 | fbd732ca8987a6ff099a592a44739891 |
|
BLAKE2b-256 | 85a3972b3666ea0b5ff4863accc61e2c41b9143f2e10dd4cf566b72684e9413a |
Close
Hashes for pywry-0.2.5-cp38-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6861f344052be04f79dd699b6c57c3a26814e946e7fe396253be96b7c1aedbad |
|
MD5 | 565d84f49d77f1e8c53bc11b63e987ca |
|
BLAKE2b-256 | 8f8f368e5ff55f4d0c2210afed3889e8eb6c950f19506d8621e3ad6efdefa722 |
Close
Hashes for pywry-0.2.5-cp38-cp38-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 322bd715ba376d7ff0d45f8be7a4a5c7f652a688cd38b149017eb75aa3e6c397 |
|
MD5 | f2011a6e5621bd0ebeb52b85a8b937f9 |
|
BLAKE2b-256 | af8c9f9d620cddd17245fe054eb2ba4b19951a18cf5ceb271f8a84e6013c99bf |