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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| serveable-0.0.1.tar.gz | 2.8 kB | Without provenance | Details for serveable-0.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| serveable-0.0.1-py3-none-any.whl | Python 3 | none | any | Details for serveable-0.0.1-py3-none-any.whl |
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
|
Security for serveable 0.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.