******
PyGame Learning Environment (PLE) is a learning environment, mimicking the Arcade Learning Environment interface, allowing a quick start to Reinforcement Learning in Python.
The goal of PLE is allow practitioners to focus design of models and experiments instead of environment design.
This package allows to use PLE as a gym environment.
Installing everything
---------------------
gym_ple requires PLE, to install PLE clone the repo and install with pip.
.. code:: shell
git clone https://github.com/ntasfi/PyGame-Learning-Environment.git
cd PyGame-Learning-Environment/
pip install -e .
PLE requires PyGame installed:
On OSX:
.. code:: shell
brew install sdl sdl_ttf sdl_image sdl_mixer portmidi # brew or use equivalent means
conda install -c tlatorre pygame=1.9.2 # using Anaconda
On Ubuntu 14.04:
.. code:: shell
apt-get install -y python-pygame
More configurations and installation details on: http://www.pygame.org/wiki/GettingStarted#Pygame%20Installation
And finally clone and install this package
.. code:: shell
git clone https://github.com/lusob/gym-ple.git
cd gym-ple/
pip install -e .
You also can install it from PyPi:
.. code:: shell
pip install gym_ple
Example
=======
Run ``python example.py`` file to play a PLE game (flappybird) with a random_agent (you need to have installed openai gym).
Metadata
Release files for gym_ple 0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| gym_ple-0.3.tar.gz | 4.0 kB | Without provenance | Details for gym_ple-0.3.tar.gz |
Release files / gym_ple-0.3.tar.gz
| Download URL | gym_ple-0.3.tar.gz |
|---|---|
| Size | 4.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4a17fdb9d83b481b7d2859c62836783914ad2f51d439b06270b18ac528efa290
|
|
BLAKE2b-256 checksum How to use checksums |
0dd641e3510bf943a6383b89d1b3db785efbd2c63c55ac2947a4ba31bf9c9009
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for gym_ple 0.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.