Status: Maintenance (expect bug fixes and minor updates)
Gym Retro
Gym Retro lets you turn classic video games into Gym environments for reinforcement learning and comes with integrations for ~1000 games. It uses various emulators that support the Libretro API, making it fairly easy to add new emulators.
Supported platforms:
- Windows 7, 8, 10
- macOS 10.13 (High Sierra), 10.14 (Mojave)
- Linux (manylinux1)
Supported Pythons:
- 3.6
- 3.7
- 3.8
Each game integration has files listing memory locations for in-game variables, reward functions based on those variables, episode end conditions, savestates at the beginning of levels and a file containing hashes of ROMs that work with these files.
Please note that ROMs are not included and you must obtain them yourself. Most ROM hashes are sourced from their respective No-Intro SHA-1 sums.
Documentation
Documentation is available at https://retro.readthedocs.io/en/latest/
You should probably start with the Getting Started Guide.
Contributing
Changelog
Emulated Systems
- Atari
- Atari2600 (via Stella)
- NEC
- TurboGrafx-16/PC Engine (via Mednafen/Beetle PCE Fast)
- Nintendo
- Game Boy/Game Boy Color (via gambatte)
- Game Boy Advance (via mGBA)
- Nintendo Entertainment System (via FCEUmm)
- Super Nintendo Entertainment System (via Snes9x)
- Sega
- GameGear (via Genesis Plus GX)
- Genesis/Mega Drive (via Genesis Plus GX)
- Master System (via Genesis Plus GX)
See LICENSES.md for information on the licenses of the individual cores.
Included ROMs
The following non-commercial ROMs are included with Gym Retro for testing purposes:
- the 128 sine-dot by Anthrox
- Sega Tween by Ben Ryves
- Happy 10! by Blind IO
- 512-Colour Test Demo by Chris Covell
- Dekadrive by Dekadence
- Automaton by Derek Ledbetter
- Fire by dox
- FamiCON intro by dr88
- Airstriker by Electrokinesis
- Lost Marbles by Vantage
Citation
Please cite using the following BibTeX entry:
@article{nichol2018retro,
title={Gotta Learn Fast: A New Benchmark for Generalization in RL},
author={Nichol, Alex and Pfau, Vicki and Hesse, Christopher and Klimov, Oleg and Schulman, John},
journal={arXiv preprint arXiv:1804.03720},
year={2018}
}
Metadata
Release files for gym-retro 0.8.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
Total release size: 1.4 GB
Release files / gym_retro-0.8.0-cp38-cp38-win_amd64.whl
| Download URL | gym_retro-0.8.0-cp38-cp38-win_amd64.whl |
|---|---|
| Size | 152.0 MB |
| Tags | CPython 3.8 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
410ba891b52bdee1d1f658116bd2715ed84cc23bf62e8b7b1b862e39b04dbc9c
|
|
BLAKE2b-256 checksum How to use checksums |
cacec102fc8e527cf7be8c8bfa419a9030e1a124e0372ab2fb058773dd5468e3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.1.3.post20200330 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.3
|
Release files / gym_retro-0.8.0-cp38-cp38-manylinux1_x86_64.whl
| Download URL | gym_retro-0.8.0-cp38-cp38-manylinux1_x86_64.whl |
|---|---|
| Size | 161.9 MB |
| Tags | CPython 3.8 Linux glibc 2.5+ x86-64 |
|
SHA-256 checksum How to use checksums |
b10e47b5c5f3ba9adae46e70e71bf3df0f53d07feaad904b5e5bb20fbafb9057
|
|
BLAKE2b-256 checksum How to use checksums |
c0d939a89bbba20f244f328dbb893005160818f4dd9e932fa7e335d3df6aa776
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.1.3.post20200330 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.3
|
Release files / gym_retro-0.8.0-cp38-cp38-macosx_10_13_x86_64.whl
| Download URL | gym_retro-0.8.0-cp38-cp38-macosx_10_13_x86_64.whl |
|---|---|
| Size | 146.1 MB |
| Tags | CPython 3.8 macOS 10.13+ x86-64 |
|
SHA-256 checksum How to use checksums |
7c8684c456c15c8834d00c31e4628e4424e4cd5920fb0f09a60d4787f2dcf485
|
|
BLAKE2b-256 checksum How to use checksums |
53d56204ed9546eeb6344d500450f566329fbaaf0d4a7e250be1f01ae2290807
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.1.3.post20200330 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.3
|
Release files / gym_retro-0.8.0-cp37-cp37m-win_amd64.whl
| Download URL | gym_retro-0.8.0-cp37-cp37m-win_amd64.whl |
|---|---|
| Size | 152.0 MB |
| Tags | CPython 3.7 CPython 3.7 pymalloc Windows x86-64 |
|
SHA-256 checksum How to use checksums |
5c0b993e8f90ac8cc1f0bc4beb227043bef0fc7530c58486a3f7662fc9853a8b
|
|
BLAKE2b-256 checksum How to use checksums |
dc6c6c452432c5b12bfd6e30067bfbdcceaee998b5ff2ab4f35a96088230ed4b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.1.3.post20200330 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.3
|
Release files / gym_retro-0.8.0-cp37-cp37m-manylinux1_x86_64.whl
| Download URL | gym_retro-0.8.0-cp37-cp37m-manylinux1_x86_64.whl |
|---|---|
| Size | 162.0 MB |
| Tags | CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.5+ x86-64 |
|
SHA-256 checksum How to use checksums |
4c3205faf3874f7f103fe2a9d5e3f097614ae9869bd22972657d6eea42df80ee
|
|
BLAKE2b-256 checksum How to use checksums |
ccf0d7cc8f49be83c8608d5f707650a917a85e656ea51684aa434a1b6b8024fe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.1.3.post20200330 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.3
|
Release files / gym_retro-0.8.0-cp37-cp37m-macosx_10_13_x86_64.whl
| Download URL | gym_retro-0.8.0-cp37-cp37m-macosx_10_13_x86_64.whl |
|---|---|
| Size | 146.1 MB |
| Tags | CPython 3.7 CPython 3.7 pymalloc macOS 10.13+ x86-64 |
|
SHA-256 checksum How to use checksums |
dbbdfae7f21d6a3b9b9b73da06f9ddcb031cbb59e13bce62d463edc90e9cd4a1
|
|
BLAKE2b-256 checksum How to use checksums |
880d71a99155e7efc39bb91c142b5dafdb8575b84a4b3702eac821d3b08b498a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.1.3.post20200330 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.3
|
Release files / gym_retro-0.8.0-cp36-cp36m-win_amd64.whl
| Download URL | gym_retro-0.8.0-cp36-cp36m-win_amd64.whl |
|---|---|
| Size | 152.0 MB |
| Tags | CPython 3.6 CPython 3.6 pymalloc Windows x86-64 |
|
SHA-256 checksum How to use checksums |
edb0d1d27fb6b8eb901e2affb366c9ec9c650a15f215bc4e83fe650c91b02dd1
|
|
BLAKE2b-256 checksum How to use checksums |
93f271cace3e1de168a9eee71d285c0e6c6552f4ad3400759cf8ea0d9d77a902
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.1.3.post20200330 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.3
|
Release files / gym_retro-0.8.0-cp36-cp36m-manylinux1_x86_64.whl
| Download URL | gym_retro-0.8.0-cp36-cp36m-manylinux1_x86_64.whl |
|---|---|
| Size | 162.0 MB |
| Tags | CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.5+ x86-64 |
|
SHA-256 checksum How to use checksums |
cd60c812b81e4c888454f574fa22e791e9e7a9d72045c9e17399ebd7c156b372
|
|
BLAKE2b-256 checksum How to use checksums |
cd3deb88732eec7bdc13a605c1ba655b34f911af36b894b8c1c377dabb0547f4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.1.3.post20200330 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.3
|
Release files / gym_retro-0.8.0-cp36-cp36m-macosx_10_13_x86_64.whl
| Download URL | gym_retro-0.8.0-cp36-cp36m-macosx_10_13_x86_64.whl |
|---|---|
| Size | 146.1 MB |
| Tags | CPython 3.6 CPython 3.6 pymalloc macOS 10.13+ x86-64 |
|
SHA-256 checksum How to use checksums |
29e1bd37e7090c3b121d793e06d5b0ef3b283e9915c0f5a9abc2b7b18c660ffb
|
|
BLAKE2b-256 checksum How to use checksums |
0aeaffef74b38b78123061cd05394140feb6162214b134bdcaa607b50a3f6262
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.1.3.post20200330 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.3
|
Security for gym-retro 0.8.0
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.