Registry / communication / spotui

spotui

JSON →
library0.1.20pypypi✓ verified 79d ago

A terminal user interface for Spotify, allowing browsing and control of playlists, search, and playback. Current version 0.1.20, released on GitHub. Development may be low activity; last release in 2021.

pip install spotui
INSTALL
IMPORT
SIG · SPOTUI
S
spotui
communicationpythonv0.1.20
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

main
import spotui
from spotui import main

Authenticate with Spotify API (requires env vars) and launch the TUI.

import os os.environ['SPOTIPY_CLIENT_ID'] = os.environ.get('SPOTIPY_CLIENT_ID', 'your_client_id') os.environ['SPOTIPY_CLIENT_SECRET'] = os.environ.get('SPOTIPY_CLIENT_SECRET', 'your_client_secret') os.environ['SPOTIPY_REDIRECT_URI'] = os.environ.get('SPOTIPY_REDIRECT_URI', 'http://localhost:8080') from spotui import main main()
spotui --version
Debug
Known issues
gotchaspotui does not export a usable API; it only provides a main() function that starts the terminal interface. Importing the package does nothing by itself.
fix
Use `from spotui import main; main()` instead of expecting module-level functions.
affects: 0.1.0+
breakingThe package requires Spotify API credentials via environment variables. Without SPOTIPY_CLIENT_ID, SPOTIPY_CLIENT_SECRET, and SPOTIPY_REDIRECT_URI, the application will crash on startup.
fix
Set environment variables before importing spotui. Example in quickstart.
affects: 0.1.0+
gotchaThe TUI may not work on all terminals (requires a color-capable terminal) and has not been tested on Windows.
fix
Use a Unix-like terminal such as iTerm2, GNOME Terminal, or Windows Terminal with WSL.
affects: 0.1.0+
Upgrade
Version history
0.1.20latest on PyPI · released Dec 28, 2022
Audit
Dependencies

No dependency data recorded yet.

Agent activity
21 hits · last 30 days
node
16
Amazon
1
OpenAI (training)
1
Resources
spotui — pip install spotui · libregistry