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.6.tar.gz
(40.6 kB
view hashes)
Built Distributions
pywry-0.1.6-cp311-none-win_amd64.whl
(909.4 kB
view hashes)
pywry-0.1.6-cp310-none-win_amd64.whl
(909.4 kB
view hashes)
pywry-0.1.6-cp39-none-win_amd64.whl
(909.6 kB
view hashes)
pywry-0.1.6-cp38-none-win_amd64.whl
(909.7 kB
view hashes)
Close
Hashes for pywry-0.1.6-cp311-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e377a3af6dd2c715c3fdeed6d1e3f2c3b75fef25b9fafab5bec891df83effcc2 |
|
MD5 | 83aa289ac23d3170070f00a008df17b3 |
|
BLAKE2b-256 | f98882c2e47ef1711f13c9122840d2b866630cd348d8e942f9d8f19c305ecb2d |
Close
Hashes for pywry-0.1.6-cp311-cp311-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7be6f9504553ef2b438791d7b715d6ba8e3cc85c2c60419d43c7dd88460a890c |
|
MD5 | a6be6a77f949b96a0a70abaebc4cfcef |
|
BLAKE2b-256 | 554862c7c0b62fc0a221111d4f868e44802fb66b322825b245afce975b833dda |
Close
Hashes for pywry-0.1.6-cp310-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7411afe756b38f83c5ddc762c9f03bc553fc5f9ba5f0da853aaf9933ce4e1f5e |
|
MD5 | 274d73f8cd4b93339b810a28e779c71b |
|
BLAKE2b-256 | 4101ed046e58c84075490bcbfae268e7c4b0130f198e4b8a2ed977def6939baf |
Close
Hashes for pywry-0.1.6-cp310-cp310-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d54bb6b08a514adf7cb275b394c69ad3c484d28a1401d28b764da9ea5c2d053a |
|
MD5 | de58068c6a10891f6bd9929454f090e8 |
|
BLAKE2b-256 | c8f57dc2b8e89ab232c3b5e6dccb7510bc1de2cdd93629aac096d21a70390fbe |
Close
Hashes for pywry-0.1.6-cp39-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1c723c837000abebced3fa8a8e9545a13b8be38046bc270169a0a979124f72c3 |
|
MD5 | 495f5146eabd68452de6fe95567fe602 |
|
BLAKE2b-256 | fac5cdc72157619fcfcb16d0ce387985a86eebc88e372f8aca8c407f123a109b |
Close
Hashes for pywry-0.1.6-cp39-cp39-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | edc0e411dd2a21f280d0450ea09f39beefadd1bec0bc917bcd29ee46f4eba264 |
|
MD5 | 10a273f30139066a6f0e232ff399b7a0 |
|
BLAKE2b-256 | faddc1608f5425a1a8b2a1ddb6cd2c22c6842293e3edd358c3800804870af8ea |
Close
Hashes for pywry-0.1.6-cp38-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bf73c4d7400f254803378739f7ec6a90f74deca2d7eba0df6f2cbf2f4ba854c4 |
|
MD5 | 58ed34a0cd20585dce8400c83d5520d0 |
|
BLAKE2b-256 | 9b866cdd5e7d44eafe57be24259fb4da3a11122434f641ecc5d84c3c582ad480 |
Close
Hashes for pywry-0.1.6-cp38-cp38-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 528e0bf986c3a336ea66c193b3e830dc57c7fbec5d7c2b8b4cb130592e7ae109 |
|
MD5 | 2de25c79b127f3b2bcc7dea669dd2b24 |
|
BLAKE2b-256 | 3388805df0686f0254ebe10c1a3388915e2a62915cc2c7b0fef74159de68bf83 |