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.5.tar.gz
(42.3 kB
view hashes)
Built Distributions
pywry-0.3.5-cp311-none-win_amd64.whl
(927.2 kB
view hashes)
pywry-0.3.5-cp310-none-win_amd64.whl
(927.2 kB
view hashes)
pywry-0.3.5-cp39-none-win_amd64.whl
(927.4 kB
view hashes)
pywry-0.3.5-cp38-none-win_amd64.whl
(928.2 kB
view hashes)
Close
Hashes for pywry-0.3.5-cp311-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 07f4ed6808a9ec3de87d5cf15a0c4f5d954958020280fdb42af8072ea1c8e947 |
|
MD5 | 1ebcdaed1a6b36aaf0b1d8a919c3f810 |
|
BLAKE2b-256 | 6ec09b1604d9244060e636b20da3822a884eb9284d923c4528bda833b57c5e02 |
Close
Hashes for pywry-0.3.5-cp311-cp311-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 307f29806d864526681aed8cefccbc7a8e81193348fe09599a57bf29611e0a40 |
|
MD5 | 33f2cd1a89d7ba81a36dd700319c0ab2 |
|
BLAKE2b-256 | d67467a1161b76c94f8d597d398fc4a589e3238860e9ba923986a0c17f307851 |
Close
Hashes for pywry-0.3.5-cp310-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c6dede5390f6480d99f8b81f081e526ac8fb17c72032e8b4fed97c8d6c00b712 |
|
MD5 | 236d91e22b0e94dc2ef0f49f4433c080 |
|
BLAKE2b-256 | a0db5aaf268181c5ae687bf66a44d573eabae6d1842edbcaf9675b78a4873036 |
Close
Hashes for pywry-0.3.5-cp310-cp310-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 24141f8a4205df84f2347dac968661b6324b32c0d198de609708094dbc0e2b5d |
|
MD5 | f1aeb6baee51034debe1ed0c22c84f23 |
|
BLAKE2b-256 | d2dcc4161bb4e0b0eb6b8217d9e66d26fbf0dcf9daf7e7395736bec490b29e8d |
Close
Hashes for pywry-0.3.5-cp39-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6abedc4d61bd13011c5b8b1753bd8495b85980f394e36d929c5fcfa8e41f6855 |
|
MD5 | 13c90322c7e93505724abb74aceb5aa0 |
|
BLAKE2b-256 | a2354daf8da095bef5b1610efae028bda21a0761cdf3ead63b4be105c1a1f34f |
Close
Hashes for pywry-0.3.5-cp39-cp39-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fade2dda18edb6f62090f4e1cee1db05ab99b53a5b6b95a07c67019f38c8c281 |
|
MD5 | 863d784785975b75265bcea88981a7fa |
|
BLAKE2b-256 | 54ca5d41d6226e61618b1a91a6352c8950cd06c663e24b8f2593af5dfe600037 |
Close
Hashes for pywry-0.3.5-cp38-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9a99eab511bb2595007e681952a1f0c3577a30f79827da9a3621ccbb04a2acf5 |
|
MD5 | f5732808f46ddebe586aca6eb561b90a |
|
BLAKE2b-256 | 4b9f8da7da5d35ba07e5ff40cebe4f6e29a9b82ad4c6b15d329db7dc77cfeda7 |
Close
Hashes for pywry-0.3.5-cp38-cp38-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ddaebc7356c029e4a8279315548df77e0127eb474061be6e69589352d301b6d7 |
|
MD5 | 7ca8f7cc1a7d3ae5a2d2df535871812a |
|
BLAKE2b-256 | f14cfec33beec91cd94236b84692dd33eab05f2412d670747ed3439fee4d58de |