A Python library that provides many features using Pygame and other libraries.
Project description
Simple Pygame is a Python library that provides many features using Pygame and other libraries. It can help you create multimedia applications much easier and save you a lot of time.
Installation:
pip install simple_pygame
Dependencies:
-
pygame >= 2.1.2
-
moviepy >= 1.0.3
-
pyaudio >= 0.2.13
Example:
In this example we play a mp3 file:
import simple_pygame
simple_pygame.init()
if __name__ == "__main__":
music = simple_pygame.mixer.Music("Music.mp3")
music.play()
while music.get_busy():
pass
Note: You can play any file contains audio that supported by ffmpeg.
License:
This library is distributed under MIT license.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
simple_pygame-0.0.2.tar.gz
(7.5 kB
view details)
Built Distribution
File details
Details for the file simple_pygame-0.0.2.tar.gz
.
File metadata
- Download URL: simple_pygame-0.0.2.tar.gz
- Upload date:
- Size: 7.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0dc8743e280c9042e4447542031743c0dceaf6da9d9772bc50156967c5ffe091 |
|
MD5 | b0d113745ef2a6b3969fd3984ea69cc3 |
|
BLAKE2b-256 | f310eda7d50defcabbc868a42073ea8bdc2a68adff769c7c607f2a0da8ce1b28 |
File details
Details for the file simple_pygame-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: simple_pygame-0.0.2-py3-none-any.whl
- Upload date:
- Size: 8.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 19811e34b95c5a30470275220437b982f6f9d0acd28e39a84cc19ca8c14f9528 |
|
MD5 | f9a1a5379c5663bd9ec88b9e4558e9bb |
|
BLAKE2b-256 | d06ebb8827659e7862c2a8eb8563b768dc1c22536f6f0e8bbb3d4693726ff4d0 |