Metadata-Version: 2.1
Name: mpyg321
Version: 1.0.0
Summary: mpg321 wrapper for python - command line music player
Home-page: https://github.com/4br3mm0rd/mpyg321
Author: 4br3mm0rd
Author-email: 4br3mm0rd@gmail.com
License: UNKNOWN
Description: # mpyg321
        
        mpyg321 is a simple python wrapper for mpg321 and mpg123. It allows you to easily play mp3 sounds in python, do basic operations on the music and implement callbacks for events like the end of a sound.
        
        # Installation
        
        mpyg321 requires the installation of mpg321 (or mpg123 depending on your usage) software for reading mp3. This section describes the installation of the library on MacOS, Linux and Windows. **For now, the library has only been tested on mac, but it should work on any platform.**
        
        ## MacOS
        
        ```
        $ brew install mpg321
        $ pip3 install mpyg321
        ```
        
        ## Linux
        
        ```
        $ sudo apt-get install mpg321
        $ pip3 install mpyg321
        ```
        
        ## Windows
        
        For windows installation, download mpg321 on the website: [mpg321's website](https://www.mpg123.de/download.shtml). Make sure to rename the command to mpg321, and then run:
        
        ```
        $ pip install mpyg321
        ```
        
        # Usage
        
        Usage is pretty straight forward, and all the functionnalities are easily shown in the examples folder.
        ```
        from mpyg321.mpyg321 import MPyg321Player
        player = MPyg321Player()
        player.play_song("/path/to/some_mp3.mp3")
        ```
        
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown
