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.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 nova-data-ai-skylab 0.1.1
File Size Uploaded
nova_data_ai_skylab-0.1.1.tar.gz 5.0 kB Details

Built distribution (wheel)

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

Total release size: 10.7 kB

Release files / nova_data_ai_skylab-0.1.1.tar.gz

Download URL nova_data_ai_skylab-0.1.1.tar.gz
Size 5.0 kB
Tags Source
SHA-256 checksum
How to use checksums
70619a3116628a0439018e2b8e17046b98d5ddf8317a0eb5d0db13bafbc4c8c2
BLAKE2b-256 checksum
How to use checksums
c56d793f904afc221844411350a8210e7b8d1a6c001af1f123b0a519722a1f77
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.1-py3-none-any.whl

Download URL nova_data_ai_skylab-0.1.1-py3-none-any.whl
Size 5.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
25000d266240a2882ea8d555039cb822cf3262b92f1daf611f565498f3355e81
BLAKE2b-256 checksum
How to use checksums
6ed47284f7463aa49c243324109e0093580071429f657f45506a71a906e23b16
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

This release

0.1.1 This release

2 release files

0.1.0

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