Skip to content

Building a deepgram proxy in Python (UV) #193

@lukeocodes

Description

@lukeocodes

Integration: Deepgram Proxy Server (Python + UV)

<!-- metadata
type: queue
slug: deepgram-proxy-python-uv
language: python
products: stt|tts
priority: user-request
-->

What this should show

A Python-based proxy server that sits between client applications and the Deepgram API. The proxy should:

  • Accept audio/requests from clients and forward them to Deepgram (STT and/or TTS)
  • Keep the Deepgram API key server-side (never exposed to clients)
  • Use UV as the Python package manager for fast dependency management
  • Provide a simple REST or WebSocket interface for clients to connect through
  • Demonstrate both live streaming (WebSocket proxy) and REST transcription proxy patterns

This is the Python counterpart to the Node.js proxy server (example 520).

Credentials likely needed

  • DEEPGRAM_API_KEY

Original request:

What's on your mind?

Building a deepgram proxy in Python

Any extra context? (optional)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    action:generateAction: ready for code generationpriority:userUser-submitted suggestion — builds before bot-queued examplesqueue:new-exampleQueue: build a new example

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions