Skip to main content

Cross-platform windowing and multimedia library

Project description

https://badge.fury.io/py/pyglet.svg

pyglet

pyglet provides an object-oriented programming interface for developing games and other visually-rich applications for Windows, Mac OS X and Linux.

Pyglet has an active developer and user community. If you find a bug, please open an issue.

Requirements

pyglet runs under Python 2.7, and 3.4+. The entire codebase is fully 2/3 dual compatible, making use of the future module for backwards compatibility with legacy Python. Being written in pure Python, it also works on other Python interpreters such as PyPy. pyglet works on the following operating systems:

  • Windows XP or later

  • Mac OS X 10.3 or later

  • Linux, with the following libraries (most recent distributions will have these in a default installation):

    • OpenGL and GLX

    • GDK 2.0+ or PIL (required for loading images other than PNG and BMP)

    • OpenAL or Pulseaudio (required for playing audio)

Installation

If you’re reading this README from a source distribution, you can install pyglet with:

python setup.py install

pyglet is also pip installable from PyPi:

pip install –upgrade pyglet –user

There are no compilation steps during the installation; if you prefer, you can simply add this directory to your PYTHONPATH and use pyglet without installing it. You can also copy pyglet directly into your project folder.

If you want to build the documentation yourself, please check the README file in the doc directory.

Testing

pyglet makes use of pytest for it’s test suite.

py.test tests/

Please check the documentation for more information about running and writing tests.

Release history Release notifications | RSS feed

This version

1.4.4

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyglet-1.4.4.zip (4.6 MB view details)

Uploaded Source

Built Distribution

pyglet-1.4.4-py2.py3-none-any.whl (1.0 MB view details)

Uploaded Python 2 Python 3

File details

Details for the file pyglet-1.4.4.zip.

File metadata

  • Download URL: pyglet-1.4.4.zip
  • Upload date:
  • Size: 4.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.28.1 CPython/3.7.4

File hashes

Hashes for pyglet-1.4.4.zip
Algorithm Hash digest
SHA256 08353c549b7f26d5815cc2e9360a85e4e0d80e6a67962e18df0255b00cb529ab
MD5 ebd53b60f55b5d50e63f86e7df121e7a
BLAKE2b-256 b5550f90d822adb6bc400cc8b059c6a423534609afa00859e2113ad905e0a806

See more details on using hashes here.

File details

Details for the file pyglet-1.4.4-py2.py3-none-any.whl.

File metadata

  • Download URL: pyglet-1.4.4-py2.py3-none-any.whl
  • Upload date:
  • Size: 1.0 MB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.28.1 CPython/3.7.4

File hashes

Hashes for pyglet-1.4.4-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 40ed3c10b970b2341e4e0eec208d38f2f50684e68f6d60082e0374c587f37585
MD5 989e57b6f0aada6be5090490aa051e68
BLAKE2b-256 6baa121ad16b96b6141a04d781be38215581162031bb0410ccf15fc9a597e02f

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