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.2.tar.gz
(41.2 kB
view hashes)
Built Distributions
pywry-0.2.2-cp311-none-win_amd64.whl
(913.1 kB
view hashes)
pywry-0.2.2-cp310-none-win_amd64.whl
(913.1 kB
view hashes)
pywry-0.2.2-cp39-none-win_amd64.whl
(913.4 kB
view hashes)
pywry-0.2.2-cp38-none-win_amd64.whl
(912.4 kB
view hashes)
Close
Hashes for pywry-0.2.2-cp311-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f2093971d1f55863280a3b9969936fbbb0dea7c2b89593ab22ebff73ae101d79 |
|
MD5 | fab5ad8dd88b6b6b45d787b76f193bd6 |
|
BLAKE2b-256 | 22f84fe46f7a102b802bcbce3f8f3423ce332906240c5310cca52f75d0bd4015 |
Close
Hashes for pywry-0.2.2-cp311-cp311-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 021252dcec6a1858162dabd75664011f6e9b339d8e428f49d75beb0d682b43d5 |
|
MD5 | 5ec3cfbf1097feaffd2d21852139b620 |
|
BLAKE2b-256 | 9fac8010827b281a525107745c3a393b2bdf95482a834210ba68d0afeeac8494 |
Close
Hashes for pywry-0.2.2-cp310-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 05831e2adb3e0702e4a2619695f1ae08d3eebf1d657d2d9b974dfc8b0113bf7e |
|
MD5 | 2a93bfad1757662ebc9998493bb85459 |
|
BLAKE2b-256 | 94c974080e25e293a4160809c4a25d65e750d044ac09ff8c7419472bf2400e28 |
Close
Hashes for pywry-0.2.2-cp310-cp310-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 626a9222be7a880450930ff8dbb083fb9b7001219d13b904e4bdf70526b21453 |
|
MD5 | 21ede0fb40f7ce63eb47db3357b17811 |
|
BLAKE2b-256 | d0f0d6b7bd83ce85de80e708c9a6e2b5078014d34349ebf5b1d26c7c0ff118e1 |
Close
Hashes for pywry-0.2.2-cp39-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4ffe26d0b95c30ce0650471a3efa4e8d5c42cb38bf7472e5bb1e08ef3cc71bd0 |
|
MD5 | c97a19d4b730610f24d37d0729311c71 |
|
BLAKE2b-256 | 2b0889087268c99e28cd9e6b19f4ed40e69ff5a5c1e50bea80381a6c977fa519 |
Close
Hashes for pywry-0.2.2-cp39-cp39-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3125600e6582ea40d644ed7b96e265bbe2d1e10b132c0cc9c7da3176e6d3f87f |
|
MD5 | 12b8f6b9296267cfa93104fc79d21105 |
|
BLAKE2b-256 | 780023c7fc436b51cc716b240c07dd4ecdc922e2bd68609b39f29339fdde6837 |
Close
Hashes for pywry-0.2.2-cp38-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7f643d764c5ec8c10a3a71c1b1bd43ae4bb808cdb73a14b4d4e3e136b89f17f6 |
|
MD5 | eb7e2861a998769676bb8eb822b04b0b |
|
BLAKE2b-256 | 7507ce0fc0df2a42779bd86510a38158034e44bb0c3d1630600cb0598b91e21e |
Close
Hashes for pywry-0.2.2-cp38-cp38-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7fd9317092344f6e2dddfaa20b1b7735fb89d6f964064b5da90d719be749bc9c |
|
MD5 | aa5fd042bbb1232a4d96bbf3b7f7d760 |
|
BLAKE2b-256 | ad28976cf46b8d47974bc12dffe65485bf5b3c63146068494b431904764ca4a6 |