Skip to main content

A Python library that provides many features using Pygame and other libraries.

Project description

Simple Pygame logo

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


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)

Uploaded Source

Built Distribution

simple_pygame-0.0.2-py3-none-any.whl (8.6 kB view details)

Uploaded Python 3

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

Hashes for simple_pygame-0.0.2.tar.gz
Algorithm Hash digest
SHA256 0dc8743e280c9042e4447542031743c0dceaf6da9d9772bc50156967c5ffe091
MD5 b0d113745ef2a6b3969fd3984ea69cc3
BLAKE2b-256 f310eda7d50defcabbc868a42073ea8bdc2a68adff769c7c607f2a0da8ce1b28

See more details on using hashes here.

File details

Details for the file simple_pygame-0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for simple_pygame-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 19811e34b95c5a30470275220437b982f6f9d0acd28e39a84cc19ca8c14f9528
MD5 f9a1a5379c5663bd9ec88b9e4558e9bb
BLAKE2b-256 d06ebb8827659e7862c2a8eb8563b768dc1c22536f6f0e8bbb3d4693726ff4d0

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page