Skip to main content
   

🎧 PX7 Terminal Radio

PX7 Terminal Radio is a lightweight, feature-rich command-line internet radio player built in Python.

It lets you search, stream, and control thousands of radio stations directly from your terminal, with added support for streaming audio from YouTube search results.

Powered by the Radio Browser API and VLC, PX7 delivers a fast and minimal listening experience without leaving your terminal.

Features

  • Search and stream internet radio stations
  • Filter stations by tag, country, language, bitrate, and more
  • Sort results using API parameters (votes, click count, etc.)
  • Playback controls: play, pause, resume, stop
  • Lightweight and fast CLI interface
  • Stream audio directly from YouTube search results

Requirements

  • Python 3.9+
  • VLC Media Player (required for audio playback)

Installation

Install via pip (Recommended)

pip install px7-radio

Usage

Start the application:

px7-radio

If the command doesn't work, you can run:

python -m px7_radio

You will see a prompt:

>>

Radio Commands

Command Description
radio search <query> Search radio stations by name
radio search --tag=<tag> Filter by tag (e.g., jazz, lofi)
radio search --country=<country> Filter by country
radio search --language=<language> Filter by language
radio search --limit=<number> Limit number of results
radio search --order=votes Sort results (votes, clickcount, bitrate)
play <index> Play selected station
pause Pause playback
resume Resume playback
stop Stop playback

Advanced Filtering

PX7 supports full Radio Browser API parameters:

radio search lofi --limit=5
radio search --tag=jazz --country=US
radio search chill --order=clickcount

API Docs: https://www.radio-browser.info/

YouTube Commands

Stream audio directly from YouTube search results:

Command Description
yt search <query> Search and stream audio
yt search <query> --limit=<n> Limit results
yt search <query> --no-postfix Disable query enhancement

Smart Query Enhancement

By default:

>> yt search <query>

Automatically becomes:

<query> original audio song

This improves audio-focused results (songs, mixes, etc.)

Disable it with:

>> yt search <query> --no-postfix

Example Usage


📜 License

This project is licensed under the MIT License.
See the LICENSE file for details.

Release files for px7-radio 0.1.5

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

Source distribution (sdist)

Source distribution for px7-radio 0.1.5
File Size Uploaded
px7_radio-0.1.5.tar.gz 10.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for px7-radio 0.1.5
File Interpreter ABI Platform
px7_radio-0.1.5-py3-none-any.whl Python 3 none any Details

Total release size: 23.6 kB

Release files / px7_radio-0.1.5.tar.gz

Download URL px7_radio-0.1.5.tar.gz
Size 10.9 kB
Tags Source
SHA-256 checksum
How to use checksums
3f8eed32bfb244f09084ff72865419a5d03a31207162593b3cab49fd89c7e295
BLAKE2b-256 checksum
How to use checksums
511385cb9198797945559c7a85c1a52cb9c83aefdd82c313d638f22ee2b67825
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.2

Release files / px7_radio-0.1.5-py3-none-any.whl

Download URL px7_radio-0.1.5-py3-none-any.whl
Size 12.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3378e2fa96a834502766d216c4a246c2d768891560d9431dbe84049be18aa12b
BLAKE2b-256 checksum
How to use checksums
817fff14342556073e3f3633c31903f92c19bf97c359d8f466cf5bcefa2bad49
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.2

Release history Release notifications | RSS feed

This release

0.1.5 This release

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

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