Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gui_new-0.1.1.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gui_new-0.1.1-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

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

Hashes for gui_new-0.1.1.tar.gz
Algorithm Hash digest
SHA256 9cfb6c9c6abd414cc44140a59830f6a9ab044317e4d6ebc598799ed9ddb410cd
MD5 e10311a55d951d0de5403b6ca205bf80
BLAKE2b-256 a81dcfe4c4fe7daec5a9df67d411d8e255b71fbd5eafe9bba8e9ad5bdb466aef

See more details on using hashes here.

Provenance

The following attestation bundles were made for gui_new-0.1.1.tar.gz:

Publisher: publish-pypi.yml on stratuslabs/gui-new

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for gui_new-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7466ff90723867257c5e83060c20af80d98457195970c287d0acdc08e7ef737a
MD5 49fb5d73c3906937aa9cf8b6bd0ff4e8
BLAKE2b-256 33cc031d73e967a8e31da7fe14d1e38de8b7b29dffbeb88d12e7f7941857cc85

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page