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.9.tar.gz
(40.9 kB
view hashes)
Built Distributions
pywry-0.1.9-cp311-none-win_amd64.whl
(910.4 kB
view hashes)
pywry-0.1.9-cp310-none-win_amd64.whl
(910.4 kB
view hashes)
pywry-0.1.9-cp39-none-win_amd64.whl
(910.6 kB
view hashes)
pywry-0.1.9-cp38-none-win_amd64.whl
(910.3 kB
view hashes)
Close
Hashes for pywry-0.1.9-cp311-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 532b2b22ff395e9cf7416ca30948e5ceb9278a996be92f18c5c25e3e7d6db229 |
|
MD5 | 38467b24a999c893e5aff894696a7829 |
|
BLAKE2b-256 | dc8df6031cfbc2e969faa7caed816febc7d02726f9099d598a586bd5679d750c |
Close
Hashes for pywry-0.1.9-cp311-cp311-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3479476b230122606370a10801f9ed032fedab540ea4b533bca00e39f0e24ae0 |
|
MD5 | 2f94e44637496017a89ada62a2025381 |
|
BLAKE2b-256 | 73f81431917986d68be4525e70970efff5a34647b0bb865c438abd3d2afa0a57 |
Close
Hashes for pywry-0.1.9-cp310-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bb31c9e9acf4017ed1e19067c545403c799f5036d824e5e900b637685c2ec152 |
|
MD5 | 5df026e3f4452ed5df878f50e656256c |
|
BLAKE2b-256 | 682bb66000b1f0ae7791650e990f889165e05b2623109a151e7630a9a0a98b7e |
Close
Hashes for pywry-0.1.9-cp310-cp310-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 42eb20f3cc7fbb258ee559e9a6f7ccba32912fd206f953b06f2266d885f60314 |
|
MD5 | d7ce8b44cc72880734b3f67e4e49b90b |
|
BLAKE2b-256 | e7f527a41bbe965c20c47cc5cd834ae589736a622fbdf6625d42acd0f47624e4 |
Close
Hashes for pywry-0.1.9-cp39-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0b47f0fa7550339be0f0ae3742de7520b176babde0e395d26743752d6ae0ceab |
|
MD5 | 9608cfcd0d30de11550a7f94dc8dedf5 |
|
BLAKE2b-256 | ed1fa4d4ed41ac3a4bfea86d1e05300b5afc9edfe32fae1352459270242bccfd |
Close
Hashes for pywry-0.1.9-cp39-cp39-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 54944cd2e85b2827f0cacab7cd623bf7da516827ac2bea188e89c91248aa61d3 |
|
MD5 | 2a332857658cecc28d59dcca1b439622 |
|
BLAKE2b-256 | ebe9e1d48b226ebcb190dc055ba14c2d0906edb87e825af2da63f6ae12681077 |
Close
Hashes for pywry-0.1.9-cp38-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bdb0bfa08fa368311dc7d20a9f9abf24e1e536cf8272dee2a98b2aa43817dd9f |
|
MD5 | bd4e97e69ca6b5bbc6dd164f35eaa648 |
|
BLAKE2b-256 | 42dd0c7d54b5fa68bf74bb60855ffc1c61fad52c2e23e34e66f2d04f8c945a2d |
Close
Hashes for pywry-0.1.9-cp38-cp38-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 980d9d6c851c154c73187d2db6f951cabd7fdaafd0040edeac52ed1d1a939013 |
|
MD5 | 5b26fa104c3b2297f50e2f7b21ad4055 |
|
BLAKE2b-256 | 03a663f17313cda8458f09cafe8062b6baebb14c2b3a6835bd189054a3c98763 |