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.

Features

  • Play offline music.
  • 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 and MACOS to control playback with external tools.

Important

The song are in the ~/.pymusicterm/musics folder with specific name and tags

Installation with uv

pip install uv
git clone https://github.com/ZachVFXX/PyMusicTerm.git
cd PyMusicTerm
uv sync #or pip install the dependencies

Prerequisites

  • Python 3.12 (tested) or higher.
  • ffmpeg (required for pydub and audio processing).
  • On linux, install PyObject for mpris

Basic Commands

  • 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 (setting.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.1.0.tar.gz (16.7 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.1.0-py3-none-any.whl (16.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for musicterm-0.1.0.tar.gz
Algorithm Hash digest
SHA256 caa54c4c781372e17497c9693e421062557a1b2cef820e3f864bb020ccb3c3c9
MD5 2e88b67f4ee57a38a2e09a6042f1ba2f
BLAKE2b-256 8ae0f4a393a762c27c0bd9c12c2af9c83259863a63162b2be2bcd9011935a5b3

See more details on using hashes here.

File details

Details for the file musicterm-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: musicterm-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 16.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.5

File hashes

Hashes for musicterm-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ebbe9cb3308482c871ec1cc64e7e7c2b3f062ae0059645717a08b183f35fcadf
MD5 3ec165ef5cf2dd35215ef23e1c4df4ae
BLAKE2b-256 7b5bfa4321aea016b956d49001076f42f5eadd1ec16cbafaf080d5a39af11a7d

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