Skip to main content

play mp3 audio files

Project description

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

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

python-play-1.0.5.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

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

python_play-1.0.5-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

Details for the file python-play-1.0.5.tar.gz.

File metadata

  • Download URL: python-play-1.0.5.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for python-play-1.0.5.tar.gz
Algorithm Hash digest
SHA256 d072d15f4de857fca43f9ca756719b00a32d66c5bf99e94f99759af6ea680721
MD5 8bab76e1d904b2b2c6f0be80c23de003
BLAKE2b-256 0db85b726ab124c6341d68ba8cc7689fd6fa3036adee3dc88ca0ab1c1bed9bde

See more details on using hashes here.

File details

Details for the file python_play-1.0.5-py3-none-any.whl.

File metadata

  • Download URL: python_play-1.0.5-py3-none-any.whl
  • Upload date:
  • Size: 3.7 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for python_play-1.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 246aea22db2c0e8e7919d78f78b6f151311918e394e68f3f856b803506992adc
MD5 bf4c09ed12863f5d429aa7caa87747cd
BLAKE2b-256 959507017693d68ae70a8435fe33f51386a716d8add464bf7e39dfebca7b823d

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