Skip to content

Commit

Permalink
remove audio (#219)
Browse files Browse the repository at this point in the history
Why
===
* The audio service is not frequently used.
* The audio service is not core to Replit.
* Replit still supports audio playing via VNC.
* We are planning to remove the audio service.

What changed
===
* Remove all audio code

Test plan
===
* CI passes
  • Loading branch information
ryantm authored May 17, 2024
1 parent 0f7ac60 commit 1067449
Show file tree
Hide file tree
Showing 8 changed files with 0 additions and 636 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ This repository is the home for the `replit` Python package, which provides:
- A fully-featured database client for [Replit DB](https://docs.replit.com/category/databases).
- Tools and utilities for Flask Web Development, including an interface to Replit's User Authetication service
- Replit user profile metadata retrieval (more coming here!).
- A simple audio library that can play tones and audio files!

### Open Source License

Expand Down
13 changes: 0 additions & 13 deletions docs/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -56,16 +56,3 @@ replit.info module
:members:
:undoc-members:
:show-inheritance:

replit.audio module
-------------------

.. automodule:: replit.audio
:members:
:undoc-members:
:show-inheritance:

.. automodule:: replit.audio.types
:members:
:undoc-members:
:show-inheritance:
1 change: 0 additions & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ provides:

- A fully-featured `Replit DB <https://docs.repl.it/misc/database>`_ client and CLI.
- A Flask–based application framework for accellerating development on the platform.
- A simple audio library that can play tones and audio files!
- A library to authenticate between Repls.

Table of Contents
Expand Down
4 changes: 0 additions & 4 deletions src/replit/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
from typing import Any

from . import database, web
from .audio import Audio
from .database import (
Database,
AsyncDatabase,
Expand All @@ -23,9 +22,6 @@ def clear() -> None:
print("\033[H\033[2J", end="", flush=True)


audio = Audio()


# Previous versions of this library would just have side-effects and always set
# up a database unconditionally. That is very undesirable, so instead of doing
# that, we are using this egregious hack to get the database / database URL
Expand Down
18 changes: 0 additions & 18 deletions src/replit/audio/Makefile

This file was deleted.

Loading

0 comments on commit 1067449

Please sign in to comment.