Skip to main content

SmallWebSocket Prebuilt

A simple, ready-to-use client for testing the WebSocketTransport with Pipecat.

This prebuilt client provides basic WebSocket voice AI functionality and serves as a lightweight tool to quickly verify transport behavior without needing a custom implementation.

Ideal for development, debugging, and quick prototyping.


📦 Installation & Usage

If you just want to use the prebuilt WebSocket client in your own Python project:

✅ Install from PyPI

pip install small-websocket-prebuilt

🧰 Example Usage

from fastapi import FastAPI
from fastapi.responses import RedirectResponse
from small_websocket_prebuilt.frontend import SmallWebSocketPrebuiltUI

app = FastAPI()

# Mount the frontend at /prebuilt
app.mount("/prebuilt", SmallWebSocketPrebuiltUI)

@app.get("/", include_in_schema=False)
async def root_redirect():
    return RedirectResponse(url="/prebuilt/")

⌨ Development Quick Start

If you want to work on the prebuilt client itself or use it locally in development:

📋 Prerequisites

  • Node.js (for building the client)
  • uv (recommended for Python dependency management)

🔗 WebSocket Transport

The client uses @pipecat-ai/websocket-transport to connect to your Pipecat bot.

You can connect either:

  • Directly using a WebSocket URL: ws://localhost:7860/ws
  • Via endpoint: provide an HTTP URL that returns the WebSocket connection info

Metadata

Release files for small-websocket-prebuilt 0.2.9

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

Source distribution (sdist)

Source distribution for small-websocket-prebuilt 0.2.9
File Size Uploaded Provenance Actions
small_websocket_prebuilt-0.2.9.tar.gz 483.4 kB With provenance Details for small_websocket_prebuilt-0.2.9.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for small-websocket-prebuilt 0.2.9
File Interpreter ABI Platform Actions
small_websocket_prebuilt-0.2.9-py3-none-any.whl Python 3 none any Details for small_websocket_prebuilt-0.2.9-py3-none-any.whl

Total release size: 967.4 kB

Release files / small_websocket_prebuilt-0.2.9.tar.gz

Download URL small_websocket_prebuilt-0.2.9.tar.gz
Size 483.4 kB
Tags Source
SHA-256 checksum
How to use checksums
ee48bb62f67f22b8039abea5e9b3c3a1a0e7ee9d2f6c1addfd4bc797b3f0ddfb
BLAKE2b-256 checksum
How to use checksums
1223647b39c19112d94743c7b35a7c6f6eee7a263863ca1cfb42df09feb5b849
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 Jul 15, 2026.

Transparency log

Release files / small_websocket_prebuilt-0.2.9-py3-none-any.whl

Download URL small_websocket_prebuilt-0.2.9-py3-none-any.whl
Size 484.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f702495a8e5d69b02d1912c10b2e7b24f92f0ad60c73debbd87a9854d2746c1a
BLAKE2b-256 checksum
How to use checksums
3f93d9b8ccde8215c4db721b11aa0a0155a86dbc7e3de9736fa3e7af03bc2267
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 Jul 15, 2026.

Transparency log

Security for small-websocket-prebuilt 0.2.9

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

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for small_websocket_prebuilt-0.2.9.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 Jul 15, 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.

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