HTML in, URL out. Create shareable HTML canvases via gui.new
Project description
gui-new
HTML in, URL out. Python SDK for gui.new.
Install
pip install gui-new
Quick Start
import gui_new
canvas = gui_new.create("<h1>Hello World</h1>")
print(canvas.url)
Create with a title
canvas = gui_new.create(
html="<h1 style='color:red'>Alert</h1>",
title="My Dashboard"
)
Update a canvas
gui_new.update(canvas.id, "<h1>Updated</h1>", canvas.edit_token)
Extend expiry (+24h)
gui_new.extend(canvas.id, canvas.edit_token)
Delete a canvas
gui_new.delete(canvas.id, canvas.edit_token)
Pro API Key
Set the environment variable to authenticate:
export GUI_NEW_API_KEY=your_key
The SDK picks it up automatically — no code changes needed.
Links
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file gui_new-0.1.1.tar.gz.
File metadata
- Download URL: gui_new-0.1.1.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9cfb6c9c6abd414cc44140a59830f6a9ab044317e4d6ebc598799ed9ddb410cd
|
|
| MD5 |
e10311a55d951d0de5403b6ca205bf80
|
|
| BLAKE2b-256 |
a81dcfe4c4fe7daec5a9df67d411d8e255b71fbd5eafe9bba8e9ad5bdb466aef
|
Provenance
The following attestation bundles were made for gui_new-0.1.1.tar.gz:
Publisher:
publish-pypi.yml on stratuslabs/gui-new
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
gui_new-0.1.1.tar.gz -
Subject digest:
9cfb6c9c6abd414cc44140a59830f6a9ab044317e4d6ebc598799ed9ddb410cd - Sigstore transparency entry: 1056989607
- Sigstore integration time:
-
Permalink:
stratuslabs/gui-new@75a8fd7dcdc2078c44430cfb22f77c612ba77838 -
Branch / Tag:
refs/tags/python-v0.1.1 - Owner: https://github.com/stratuslabs
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@75a8fd7dcdc2078c44430cfb22f77c612ba77838 -
Trigger Event:
push
-
Statement type:
File details
Details for the file gui_new-0.1.1-py3-none-any.whl.
File metadata
- Download URL: gui_new-0.1.1-py3-none-any.whl
- Upload date:
- Size: 3.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7466ff90723867257c5e83060c20af80d98457195970c287d0acdc08e7ef737a
|
|
| MD5 |
49fb5d73c3906937aa9cf8b6bd0ff4e8
|
|
| BLAKE2b-256 |
33cc031d73e967a8e31da7fe14d1e38de8b7b29dffbeb88d12e7f7941857cc85
|
Provenance
The following attestation bundles were made for gui_new-0.1.1-py3-none-any.whl:
Publisher:
publish-pypi.yml on stratuslabs/gui-new
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
gui_new-0.1.1-py3-none-any.whl -
Subject digest:
7466ff90723867257c5e83060c20af80d98457195970c287d0acdc08e7ef737a - Sigstore transparency entry: 1056989609
- Sigstore integration time:
-
Permalink:
stratuslabs/gui-new@75a8fd7dcdc2078c44430cfb22f77c612ba77838 -
Branch / Tag:
refs/tags/python-v0.1.1 - Owner: https://github.com/stratuslabs
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@75a8fd7dcdc2078c44430cfb22f77c612ba77838 -
Trigger Event:
push
-
Statement type: