Skip to main content

Shareable URLs for notebook outputs — snap any chart, DataFrame, or figure into a live link

Project description

Skua

Shareable URLs for notebook outputs

One function call turns plots, DataFrames, and text into permanent links. Re-run the cell to update — same URL, fresh results.

Installation

pip install getskua

No setup required. No account, no API key.

Quick Start

import matplotlib.pyplot as plt
import skua

fig, ax = plt.subplots()
ax.plot([1, 2, 3], [1, 4, 9])
ax.set_title("Quadratic Growth")

result = skua.snap(fig, title="Quadratic Growth")
print(result.url)  # https://skua.dev/s/abc123

Share the URL with anyone. Call skua.snap() again with the same title to update in place.

CLI

Works with any tool that can run shell commands — AI coding assistants, CI pipelines, scripts.

skua snap chart.png --title "Q3 Revenue"
skua snap data.csv --title "Sales Data" --public --tags "finance,q3"
skua snap plot.json --title "Interactive Chart"
cat report.txt | skua snap - --type text --title "Analysis"

Use --json for machine-readable output:

skua snap chart.png --title "Chart" --json
# {"url": "https://skua.dev/s/abc123", "id": "abc123", "visibility": "public"}

Supported Types

Skua auto-detects the object type and picks the right serializer:

  • Matplotlib figures — high-DPI PNG
  • Plotly figures — fully interactive (zoom, pan, hover, export)
  • Pandas DataFrames — sortable, filterable tables
  • Polars DataFrames — same interactive tables (LazyFrames collected automatically)
  • NumPy arrays — rendered as tables
  • PIL Images — saved as PNG
  • Lists of dicts — rendered as tables (handy for HuggingFace pipelines, eval loops)
  • PyTorch / TensorFlow tensors — image tensors as PNG, others as tables
  • Anything else — falls back to string representation

API

skua.snap(obj, title, description=None, public=None, tags=None)

Capture and share a Python object. Returns a SnapResult with .url and .metadata. In Jupyter, the original object is displayed inline.

  • tags — optional list of strings for categorization (max 20 tags, 30 chars each). Displayed on the snapshot page and profile listing.

skua.configure(public=None, api_url=None, web_url=None, token=None)

Set session-wide defaults. Call once at the top of a notebook — per-call arguments override.

skua.login()

Open the browser to verify your email. Verified accounts get 90-day retention (vs 7 days), 50 snapshots (vs 10), and a public profile page at skua.dev/u/username.

skua.auth("sk_...")

Paste the token you receive by email after skua.login().

Limits

Anonymous sessions work out of the box:

  • 7-day retention, 10 snapshots, 20 uploads/hour, 10 MB per snapshot

Verify your email to unlock:

  • 90-day retention (resets on update, 1-year max), 50 snapshots, 10 MB per snapshot

Privacy

Every snapshot is accessible to anyone who has its URL. URLs contain random IDs that are not guessable or listed anywhere, but there is no login-gated access control. The public flag only controls whether a snapshot appears on your profile page — it does not restrict access to the URL itself. Do not snap sensitive data.

Documentation

Full docs, live examples, and the API reference at skua.dev/docs.

License

MIT

Support

Questions or feedback? Email hello@skua.dev or open an issue on GitHub.

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

getskua-0.10.0a2.tar.gz (18.6 kB view details)

Uploaded Source

Built Distribution

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

getskua-0.10.0a2-py3-none-any.whl (23.0 kB view details)

Uploaded Python 3

File details

Details for the file getskua-0.10.0a2.tar.gz.

File metadata

  • Download URL: getskua-0.10.0a2.tar.gz
  • Upload date:
  • Size: 18.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.9 {"installer":{"name":"uv","version":"0.9.9"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for getskua-0.10.0a2.tar.gz
Algorithm Hash digest
SHA256 1ed2435cc6ba3654d90328c8593ad105f5784c3f7f1ef73430300e8ea36b93d2
MD5 f2e86de52930ba1a7219c1fd007e7dad
BLAKE2b-256 0849803fa0498e2ab733631cb0a85fccc399fb1a245496d25109583f45050dd1

See more details on using hashes here.

File details

Details for the file getskua-0.10.0a2-py3-none-any.whl.

File metadata

  • Download URL: getskua-0.10.0a2-py3-none-any.whl
  • Upload date:
  • Size: 23.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.9 {"installer":{"name":"uv","version":"0.9.9"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for getskua-0.10.0a2-py3-none-any.whl
Algorithm Hash digest
SHA256 105bf3c18c14379b8ed64aa583239b59a2fb10cccf07c3f9d2f6eca718a0509a
MD5 82d1e43b4eefb5855e48ee9ce7594035
BLAKE2b-256 a054fd0ffbc9f953bbc921611ab4e61612bbb6d1c1ff4502fe4cee22bc44c422

See more details on using hashes here.

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