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.1.tar.gz
(42.0 kB
view hashes)
Built Distributions
pywry-0.3.1-cp311-none-win_amd64.whl
(922.8 kB
view hashes)
pywry-0.3.1-cp310-none-win_amd64.whl
(922.8 kB
view hashes)
pywry-0.3.1-cp39-none-win_amd64.whl
(923.2 kB
view hashes)
pywry-0.3.1-cp38-none-win_amd64.whl
(924.9 kB
view hashes)
Close
Hashes for pywry-0.3.1-cp311-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 392fe07f0ab59a13da2de1d1127f6af229a688e649e3b39ea163d86a01a3f212 |
|
MD5 | 1b843582ed064f65967577a2b1beb588 |
|
BLAKE2b-256 | 0a987b087daee9ef22d777ff27ba898aa3ca5c080e254c866033dccfeebe3737 |
Close
Hashes for pywry-0.3.1-cp311-cp311-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d616ea5de2b56b284e6621cba65def7cfaddb264f3adc3b2057105be8f77debd |
|
MD5 | a97a7221e40ceecbedc7e1b3ea6178da |
|
BLAKE2b-256 | 9582e20c88ab3407e0bc51e4fdb9fd938206a6deadbd7065d7403cd775f1ee27 |
Close
Hashes for pywry-0.3.1-cp310-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ef40b4c77fb832ffbdb92dfca2e383fbd79176d60ee9323ec62ebad64a431dbe |
|
MD5 | c3c46af7cd2079a7cd9ef9a899f069a3 |
|
BLAKE2b-256 | 9bb193c1dfc1373dc4a54cebb0fbb8e4999762b8c62fb0aeacfb75fddbf815d1 |
Close
Hashes for pywry-0.3.1-cp310-cp310-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ec31a6743e6f4ad74764ef3c2a1a597c7879b31f26c19d341ff41d82f5fe8ef6 |
|
MD5 | 5cf29cd659c29600037a6c117b90c9b8 |
|
BLAKE2b-256 | e9016553183c7ffc193db2bee71b5b68dd5b21af74068a29b7f0854d7e26c387 |
Close
Hashes for pywry-0.3.1-cp39-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f24757611572f1d0ae7dd6612a4338555e11837ab76097903280a89f9f8e127e |
|
MD5 | eab442bee5bab040a0ab178f0393f16c |
|
BLAKE2b-256 | 3131558bda54298ecc204b566a2482ab4a1027a0987345f2a825d3afbed61982 |
Close
Hashes for pywry-0.3.1-cp39-cp39-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fe00680e0e1275c77b64c75ea2bfa4de8d23e4e00879fb693cab4aae651d25b7 |
|
MD5 | 409d978312799a69eac8ed972304c297 |
|
BLAKE2b-256 | 0325f9def09d0f44b116a58ed7152d8d3b50ed15221d1e522ad5be10c6b5eba5 |
Close
Hashes for pywry-0.3.1-cp38-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d89d27bfa0e04e0cc4a0ef2a71e2511a14816d5813640f9ffe04803c54182724 |
|
MD5 | 1f1a31df9192bee297cf25deb5ea24be |
|
BLAKE2b-256 | 44ac5cf7cfd2d2e0b775314c166842a5f1c58e4da7776db5aa7849dd7be10f9d |
Close
Hashes for pywry-0.3.1-cp38-cp38-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ac4567ef3adc320e4b49e044b616547433960df766fd364cc0869d3ef5c78613 |
|
MD5 | a4ac6c4c1cdb7bfc99b7772ff4c5d78e |
|
BLAKE2b-256 | 29157fae48dc69589ca0d122d52b22436d5587bf6a1aefab35f8234b481fd9ae |