Skip to main content

nova-data-ai-skylab

Fetch and render SkyLab prompts at runtime, so prompt text lives in SkyLab rather than hardcoded in your repo.

Requires Python 3.10 or newer.

uv add nova-data-ai-skylab

The distribution is nova-data-ai-skylab; the import is skylab.

import os

from skylab import SkylabClient

skylab = SkylabClient(api_key=os.environ["SKYLAB_API_KEY"])

prompt = skylab.get_prompt("code-review")
text = prompt.render(language="Python", concern="race conditions")

API

Method Description
get_prompt(slug, version=None) Live version by default; pass version to pin
list_prompts(tags=None, tags_mode=None, updated_since=None) Prompt summaries
clear_cache() Drop cached prompts

prompt.render(**values) substitutes {{ variable }} placeholders and raises MissingVariablesError if any value is absent.

Options

SkylabClient(
    api_key=None,      # falls back to SKYLAB_API_KEY when omitted
    base_url=None,     # defaults to SKYLAB_API_URL, then production
    cache_ttl=60.0,    # seconds; 0 disables caching
    timeout=10.0,
)

Omitting api_key reads SKYLAB_API_KEY from the environment, which is handy in a script or a one-off. Pass it explicitly in anything long-lived so the client's credentials are visible where it is constructed.

Standard library only — no runtime dependencies.

Release files for nova-data-ai-skylab 0.1.0

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

Source distribution (sdist)

Source distribution for nova-data-ai-skylab 0.1.0
File Size Uploaded
nova_data_ai_skylab-0.1.0.tar.gz 4.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for nova-data-ai-skylab 0.1.0
File Interpreter ABI Platform
nova_data_ai_skylab-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 9.4 kB

Release files / nova_data_ai_skylab-0.1.0.tar.gz

Download URL nova_data_ai_skylab-0.1.0.tar.gz
Size 4.4 kB
Tags Source
SHA-256 checksum
How to use checksums
e05c2372005572806a47c02fc8baf9d555d390cdc0d52b409ff80c49b4b022ff
BLAKE2b-256 checksum
How to use checksums
160c3d54ca5bf42a21f7da9407b937ea1596bc5ed554d311db1ee908bf22aa4d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 25, 2026.

Transparency log

Release files / nova_data_ai_skylab-0.1.0-py3-none-any.whl

Download URL nova_data_ai_skylab-0.1.0-py3-none-any.whl
Size 5.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8e2673a38b10be8d83d7596047b9160986c4cf1e06848b3130bc01b55ccdacf4
BLAKE2b-256 checksum
How to use checksums
fe3d71a2dcf9458c057c735ddb418e7de945da16d7f432b6c6e66d7d2714a0f3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 25, 2026.

Transparency log

Release history Release notifications | RSS feed

0.1.1

2 release files

This release

0.1.0 This release

2 release files

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