Skip to main content

GetStream Common Plugin

This package provides shared abstract base classes and utilities for all GetStream AI plugins.

Purpose

The common plugin defines the standard interfaces that all GetStream AI plugins implement:

  • STT (Speech-to-Text): Base class for transcription plugins
  • TTS (Text-to-Speech): Base class for synthesis plugins
  • VAD (Voice Activity Detection): Base class for speech detection plugins
  • STS (Speech-to-Speech): Base class for direct speech transformation plugins

Installation

This package is automatically installed as a dependency when you install any GetStream AI plugin:

# Installing any plugin will include the common interfaces
pip install getstream-plugins-deepgram
pip install getstream-plugins-elevenlabs
# etc.

Usage

Plugin developers should inherit from these base classes:

from getstream.plugins.common import STT, TTS, VAD, STS

class MySTTPlugin(STT):
    async def process_audio(self, pcm_data):
        # Your STT implementation
        pass

class MyTTSPlugin(TTS):
    async def synthesize(self, text):
        # Your TTS implementation
        pass

Requirements

  • Python 3.10+
  • getstream[webrtc]

For Plugin Developers

If you're creating a new GetStream AI plugin, make sure to:

  1. Add getstream-plugins-common as a dependency in your pyproject.toml
  2. Inherit from the appropriate base class (STT, TTS, VAD, or STS)
  3. Implement the required abstract methods
  4. Follow the event emission patterns defined in the base classes

This ensures consistency across all GetStream AI plugins and provides users with a unified interface.

Metadata

Release files for getstream-plugins-common 0.1.1

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

Built distribution (wheel)

Table of built distributions (wheels) for getstream-plugins-common 0.1.1
File Interpreter ABI Platform Actions
getstream_plugins_common-0.1.1-py3-none-any.whl Python 3 none any Details for getstream_plugins_common-0.1.1-py3-none-any.whl

Release files / getstream_plugins_common-0.1.1-py3-none-any.whl

Download URL getstream_plugins_common-0.1.1-py3-none-any.whl
Size 14.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
87b04efbd9a9ce1e143045370ee62334a536e69d60060aae419acb2118cd242c
BLAKE2b-256 checksum
How to use checksums
7e1233efcfa1815d95b6cbaaf8b2ef192d64eea6555dfe733ec9f642cf098322
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.3

Security for getstream-plugins-common 0.1.1

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.

Release history Release notifications | RSS feed

This release

0.1.1 This release

1 release file No 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