Skip to main content

play music from your termninal.

Project description

pymusicterm

pymusicterm is a terminal-based music player that allows you to play your favorite songs directly from your terminal. It only supports local files.

Features

  • Play local music files.
  • Download music from YouTube with pytubefix and ytmusicapi.
  • Terminal-based interface powered by textual.
  • Cross-platform support (Linux, macOS, Windows).
  • MPRIS server integration for Linux to control playback with external tools.

Installation

Prerequisites

  • Python 3.12 or higher.
  • ffmpeg (required for pydub and audio processing).

You can install pymusicterm via pip:

Clone the repository:

git clone https://github.com/yourusername/pymusicterm.git
cd pymusicterm

Install dependencies:

pip install -r requirements.txt

Run the application:

python -m pymusicterm

Make sure all dependencies are met, including ffmpeg.

Basic Commands

  • Play local files: Add the path to the file or directory.
  • Download from YouTube: Search for a song or paste the URL.
  • Control playback: Use keyboard shortcuts to play, pause, skip, or adjust volume.

Configuration

The player reads a configuration file (pymusicterm.toml) for custom settings in the ~/.pymusicterm directory.

Dependencies

pymusicterm relies on the following libraries:

Contributing

Contributions are welcome! Please follow these steps:

  1. Fork the repository.
  2. Create a new branch for your feature/bugfix.
  3. Submit a pull request with a detailed explanation of changes.

License

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


Enjoy your music in the terminal with pymusicterm!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

musicterm-0.0.4.tar.gz (10.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

MusicTerm-0.0.4-py3-none-any.whl (13.7 kB view details)

Uploaded Python 3

File details

Details for the file musicterm-0.0.4.tar.gz.

File metadata

  • Download URL: musicterm-0.0.4.tar.gz
  • Upload date:
  • Size: 10.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.5.25

File hashes

Hashes for musicterm-0.0.4.tar.gz
Algorithm Hash digest
SHA256 8bcd0d76a1e6cebc28ba38e75ebe5a29b0571892ffcba0e1dbd659a56a18ce2f
MD5 4726a6080ab944c380d56f7ee4b811c1
BLAKE2b-256 d055d3a4840a0f04edab0ccf670cafa17b994368eabc8f99d5dfcb7650a23aea

See more details on using hashes here.

File details

Details for the file MusicTerm-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: MusicTerm-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 13.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.5.25

File hashes

Hashes for MusicTerm-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 b539d32aabe554ae2cc14b4f6ecb1a16865d42880c189aed3aeba610a3c89dcf
MD5 53549da60fbcf507b119d78279e00756
BLAKE2b-256 a3d6b2bd9c6546ce2390adbe8da7b32bee3e674623e4f9a3e134793f04f5be1c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page