mpy3 🐍
Ultra-minimal cli mp3 player
Want to play mp3 without distractions like GUIs, playlists or features? Look no further!
mpy3 is a very, very, veeerrry simple command line mp3 player that can be pip installed.
Navigate to a folder with mp3s in it (or in a subdirectory) using the command line and run:
$ mpy3
You should see something like this (and importantly hear music):
>> [1/12] Patricia Wolf - See-Through - 01 Woodland Encounter 00:02/06:07
That's basically it, stop playing with ctrl+c to exit the script, otherwise, it'll keep playing until it runs out of mp3s.
A few extra features. . . .
Skip past some songs
$ mpy3 --skip 3
>> [3/11] morimoto naoki - kotoba - 03 koyoi 00:00/03:21
Shuffle everything in the folder
$ mpy3 --shuffle
>> [1/11] wait what - the notorious xx - 07 everyday shelter -the notorious b.i.g. vs. the xx- 00:17/03:35
Takes glob-like search strings to quickly filter for an album etc
$ mpy3 --find Almanacs
>> [1/1] Almanacs - Templo Animal - Vol. 2 - 04 Starfields 00:02/06:08
That's literally everything you can do - enjoy!
Installation / Dependencies
This whole tool is basically just a simple wrapper over the top of pygame's ability to read and play mp3s with typer.
It's only about 50 lines of code total, and most of the actual work is done by it's dependencies:
- Pygame
- Typer
- Rich
Installation is through pip:
pip install mpy3
Metadata
Release files for mpy3 1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| mpy3-1.1.tar.gz | 3.6 kB | Without provenance | Details for mpy3-1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| mpy3-1.1-py3-none-any.whl | Python 3 | none | any | Details for mpy3-1.1-py3-none-any.whl |
Total release size: 7.4 kB
Release files / mpy3-1.1.tar.gz
| Download URL | mpy3-1.1.tar.gz |
|---|---|
| Size | 3.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fa7c15fa3023f64cd2ced1498de08d32e0e286bc6b1c35133250d679a0b491e0
|
|
BLAKE2b-256 checksum How to use checksums |
01eef0070d4302fa4555b5b8deed730e69c9426d59c3be172b70f42517d17518
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.6
|
Release files / mpy3-1.1-py3-none-any.whl
| Download URL | mpy3-1.1-py3-none-any.whl |
|---|---|
| Size | 3.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5eb5d3240ebb93427b971b9f795a404e4bb5f7434b01379919d6f99323f7f98c
|
|
BLAKE2b-256 checksum How to use checksums |
884a9e4e98d351826f6fe86fcf09348988d4a28ac65044d392a4000820c8b299
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.6
|
Security for mpy3 1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.