python-play
python-play is a python module that allows you to play mp3 audio file.
Installation
Installation requires
pygame
Install the module by running
pip install python-play
Usage
Open python by running
py
then, type
>>> from python_play.player import play_it
pygame 1.9.4
Hello from the pygame community, https://www.pygame.org/contribute.html
>>> play_it('/path/to/mp3/audio/file')
Press Ctrl+C to stop
Voila!
To-Do
1. pause, play, rewind options
2. playlist support
3. support for playing other file formats
Release files for python-play 1.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| python-play-1.0.5.tar.gz | 3.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| python_play-1.0.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size:6.7 kB
Release files / python-play-1.0.5.tar.gz
| Download URL | python-play-1.0.5.tar.gz |
|---|---|
| Size | 3.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d072d15f4de857fca43f9ca756719b00a32d66c5bf99e94f99759af6ea680721
|
|
BLAKE2b-256 checksum How to use checksums |
0db85b726ab124c6341d68ba8cc7689fd6fa3036adee3dc88ca0ab1c1bed9bde
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.7.1
|
Release files / python_play-1.0.5-py3-none-any.whl
| Download URL | python_play-1.0.5-py3-none-any.whl |
|---|---|
| Size | 3.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
246aea22db2c0e8e7919d78f78b6f151311918e394e68f3f856b803506992adc
|
|
BLAKE2b-256 checksum How to use checksums |
959507017693d68ae70a8435fe33f51386a716d8add464bf7e39dfebca7b823d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.7.1
|