Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

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.record(fig, title="Quadratic Growth")
print(result.url)  # https://skua.dev/r/abc123

Share the URL with anyone. Call skua.record() again with the same title to update the record in place — handy for iterating, and also the simplest way to change visibility.

To group related records together, open a named collection and record into it:

q3 = skua.collection("Q3 Review")
q3.record(fig, title="Quadratic Growth")
q3.record(df, title="Sales Data")
print(q3.url)  # https://skua.dev/c/xyz789 — share the whole collection at once

CLI

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

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

Use --json for machine-readable output:

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

Other commands:

skua login           # open browser to verify email
skua verify sk_...   # paste the token from the verification email
skua status          # show current auth state (verified / anonymous, username)
skua list            # list your records
skua open <id>       # open a record URL in the browser

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
  • Rich HTML outputs — anything with a _repr_html_ (Altair, Bokeh, folium, styled DataFrames via df.style, great_tables, IPython.display.HTML) renders in a sandboxed iframe
  • Anything else — falls back to string representation

API

skua.record(obj, title, description=None, visibility=None, tags=None)

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

Bare calls write to your per-user Default collection — the catch-all bucket when you don't pick a named one.

  • visibility — "public", "unlisted", or "private". Defaults to the collection's default visibility, or "unlisted" if the collection has none set.
    • public — listed on your profile, URL shareable, discoverable.
    • unlisted — URL works for anyone, but not listed on your profile.
    • private — only you can view (requires a verified account).
  • tags — optional list of strings for categorization (max 20 tags, 30 chars each). Displayed on the record page and profile listing.

Re-calling record() with the same (collection, title) updates the existing record in place — including its visibility.

skua.collection(name, visibility=None)

Open a named collection scope. Returns a Collection handle whose .record(...) writes into that collection. Calling twice with the same name returns the same handle.

  • name — collection name (max 100 chars). Whitespace is trimmed.
  • visibility — creation hint for the collection's default visibility. Persisted server-side on first creation; calls with a conflicting visibility on a previously-created collection raise ConfigurationError rather than silently override.
proj = skua.collection("Q3 Review")
proj.record(fig, title="Lift over time")
print(proj.url)  # /c/<id> — shareable as one bundle

skua.login()

Open the browser to verify your email. Verified accounts get 365-day retention (vs 30 days for anonymous), no per-account record cap, and a public profile page at skua.dev/u/username.

skua.auth("sk_...")

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

skua.status()

Return a dict with the current auth state: {"verified": bool, "email": str | None, "username": str, "retention_days": int}. Useful in scripts that need to branch on "am I verified yet?" before recording.

skua.open_profile()

Open your profile page in a browser. For verified users, mints a short-lived one-click login URL so the browser lands already signed in (unlisted and private records visible). For anonymous users, opens the bare public profile URL. Returns the URL. Pass open_browser=False to just get the URL back (CI/headless).

Environment

All infrastructure-level settings are read from environment variables (rarely needed):

  • SKUA_API_URL — API host (default: https://api.skua.dev)
  • SKUA_WEB_URL — web host (default: https://skua.dev)
  • SKUA_TOKEN — auth token (alternative to skua.auth() / ~/.skua/token)

Limits

Anonymous usage works out of the box:

  • 30-day retention, 10 records per device, 20 uploads/hour, 10 MB per record

Verify your email to unlock:

  • 365-day retention (resets on update), no per-account record cap, 10 MB per record

Privacy

public and unlisted records are accessible to anyone who has the URL — URLs contain random IDs that are not guessable, but there's no login-gated access control for these. private records are cookie/token-gated and only viewable by you. Do not record sensitive data at public or unlisted.

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.

Metadata

Release files for getskua 0.14.0a2

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

Source distribution (sdist)

Source distribution for getskua 0.14.0a2
File Size Uploaded Provenance Actions
getskua-0.14.0a2.tar.gz 404.3 kB Without provenance Details for getskua-0.14.0a2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for getskua 0.14.0a2
File Interpreter ABI Platform Actions
getskua-0.14.0a2-py3-none-any.whl Python 3 none any Details for getskua-0.14.0a2-py3-none-any.whl

Total release size: 436.8 kB

Release files / getskua-0.14.0a2.tar.gz

Download URL getskua-0.14.0a2.tar.gz
Size 404.3 kB
Tags Source
SHA-256 checksum
How to use checksums
13e1cebffe1ecca92543bde3ff5af100b366e85febb5c4d1946a63d71e39b0cf
BLAKE2b-256 checksum
How to use checksums
06f03933cb609533c5a7b3b1b61e15896e8037bbaeacf97fc0756180c21df580
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.7 {"installer":{"name":"uv","version":"0.12.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / getskua-0.14.0a2-py3-none-any.whl

Download URL getskua-0.14.0a2-py3-none-any.whl
Size 32.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7c38a15f043ba2c64b31ec44f468701a61dd8975c29230efd080d122fb5e81a6
BLAKE2b-256 checksum
How to use checksums
5e3c54415090e758ea7dba78892528031f36e3eb441641ccf7f010c931d6c80d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.7 {"installer":{"name":"uv","version":"0.12.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for getskua 0.14.0a2

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.

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