Skip to main content

interactive-video-labs-fastapi 0.2.0

FastAPI adapter for interactive-video-labs-core.

The wrapper exposes HTTP endpoints for saving interactive-video decisions, restoring session state, and validating node transitions.

Installation

pip install interactive-video-labs-fastapi

Quick Start

from interactive_video_labs_fastapi import create_app

app = create_app(
    "sqlite+aiosqlite:///./interactive_video.db",
)

Run it with Uvicorn:

uvicorn interactive_video_labs_fastapi.main:app --reload

Endpoints

GET /health

Returns service availability.

POST /decisions

Persists a decision submission.

{
  "user_id": "user-123",
  "session_id": "session-456",
  "video_id": "video-789",
  "node_id": "question-1",
  "choice_id": "answer-b",
  "timestamp": 12.5,
  "metadata": {"source": "web"}
}

GET /sessions/{user_id}/{session_id}

Reconstructs and returns the latest session state.

POST /transitions/validate

Checks whether a choice is allowed for the current node.

{
  "current_node": "question-1",
  "choice_id": "answer-b",
  "allowed_choices": ["answer-a", "answer-b"]
}

Metadata

Release files for interactive-video-labs-fastapi 0.2.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 interactive-video-labs-fastapi 0.2.0
File Size Uploaded Provenance Actions
interactive_video_labs_fastapi-0.2.0.tar.gz 3.3 kB With provenance Details for interactive_video_labs_fastapi-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for interactive-video-labs-fastapi 0.2.0
File Interpreter ABI Platform Actions
interactive_video_labs_fastapi-0.2.0-py3-none-any.whl Python 3 none any Details for interactive_video_labs_fastapi-0.2.0-py3-none-any.whl

Total release size: 8.8 kB

Release files / interactive_video_labs_fastapi-0.2.0.tar.gz

Download URL interactive_video_labs_fastapi-0.2.0.tar.gz
Size 3.3 kB
Tags Source
SHA-256 checksum
How to use checksums
a4cb5c4c86ba0075ae6ad9533d7293f7f7ac362338e301c3f4b3ee870f662333
BLAKE2b-256 checksum
How to use checksums
68aff99105c10dc5c24437d4f507f6bc376c8508b4908acf1f99e25a1cdeda89
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 21, 2026.

Transparency log

Release files / interactive_video_labs_fastapi-0.2.0-py3-none-any.whl

Download URL interactive_video_labs_fastapi-0.2.0-py3-none-any.whl
Size 5.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5f21efc9f95fa8d9b7c325d91a8dd6c8d5f3bded48392b4937d15ee3d6c18261
BLAKE2b-256 checksum
How to use checksums
5d423ece3ef56ca70b3626872e8bdc71115caae5ce09fd6393db8493b948069d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 21, 2026.

Transparency log

Security for interactive-video-labs-fastapi 0.2.0

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for interactive_video_labs_fastapi-0.2.0.tar.gz

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 Nov 21, 2026.

Transparency log

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.

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files Full provenance

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