Skip to main content

Serveable

Serveable opens web applications running inside a remote Jupyter environment, such as Noteable, in a separate browser tab.

It uses jupyter-server-proxy to make a server running on an internal port accessible through Jupyter's authenticated web connection.

Installation

In a Jupyter or Noteable notebook:

%pip install --user serveable

One-Time Setup

Run:

import serveable
serveable.setup()

Save the notebook and restart the whole Jupyter or Noteable server. Restarting only the Python kernel is not sufficient.

The setup step normally only needs to be performed once for each account.

Serving a folder

For a static web application:

from serveable import serve

serve(
    "~/PathFinding.js",
    page="visual/index.html",
    label="Open PathFinding.js"
)

Serveable starts a web server on an available port and displays a link that opens the application in a separate browser tab.

Linking to an existing server

If another program has already started a server:

from serveable import link

link(
    port=8050,
    page="",
    label="Open application"
)

Stopping the static server

from serveable import stop

stop()

Re-running serve() automatically stops the previous static server started by Serveable.

Metadata

Release files for serveable 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for serveable 0.0.1
File Size Uploaded
serveable-0.0.1.tar.gz 2.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for serveable 0.0.1
File Interpreter ABI Platform
serveable-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 5.9 kB

Release files / serveable-0.0.1.tar.gz

Download URL serveable-0.0.1.tar.gz
Size 2.8 kB
Tags Source
SHA-256 checksum
How to use checksums
5ba1bca30dbe497050402cd8beb5462d922d778a5de1b6ed910d26199b091913
BLAKE2b-256 checksum
How to use checksums
411531d4944df585f843a36a56fd72bf6224ae37ac798b16ab76be28e3c4b2fc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Release files / serveable-0.0.1-py3-none-any.whl

Download URL serveable-0.0.1-py3-none-any.whl
Size 3.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0a483104edb8f8ba72d14ed84a5aa0e0ef6face4500f46e61993e3a1172b8789
BLAKE2b-256 checksum
How to use checksums
95f7404ef8399242596968a5a666067d697490e290e02a9d23fa3d98a8eb043f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files

0.0.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page