{ "info": { "author": "Michal Karzynski", "author_email": "github@karzyn.com", "bugtrack_url": null, "classifiers": [], "description": "[![Build Status](https://travis-ci.org/postrational/gym-demo.svg?branch=master)](https://travis-ci.org/postrational/gym-demo)\n[![Coverage Status](https://coveralls.io/repos/github/postrational/gym-demo/badge.svg?branch=master)](https://coveralls.io/github/postrational/gym-demo?branch=master)\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/e9866afb65984daf8286501198e3125e)](https://www.codacy.com/app/postrational/gym-demo?utm_source=github.com&utm_medium=referral&utm_content=postrational/gym-demo&utm_campaign=Badge_Grade)\n[![PyPI version](https://badge.fury.io/py/gym-demo.svg)](https://badge.fury.io/py/gym-demo)\n\n# gym-demo\n\n##### Explore OpenAI Gym environments\n\nThis package provides the `gym-demo` command, which allows you to\nexplore the various [Open AI gym][gym] environments installed on your\nsystem.\n\nThis allows you to get a quick overview of an environment before you\nstart working on it. You will get information about the environments\n*observation space*, *action space* as well as the *rewards* you can\nexpect to get and other available information.\n\n[![gym-demo on YouTube](https://raw.githubusercontent.com/postrational/gym-demo/master/gym-demo-screenshot.png)](https://www.youtube.com/watch?v=fHuqpwXBBtg)\n\n### Installation\n\nYou can install OpenAI Gym and `gym-demo` using `pip`:\n\n $ pip install gym[atari]\n $ pip install gym-demo\n\n### Usage\n\nUse `gym-demo --help` to display usage information and a list of\nenvironments installed in your Gym.\n\n $ gym-demo --help\n\nStart a demo of an environment to get information about its observation\nand action space and observe the rewards an agent gets during a random\nrun.\n\n $\u00a0gym-demo SpaceInvaders-ram-v4\n Environment: SpaceInvaders-ram-v4\n\n Observation Space: Box(128,)\n Low values:\n [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0\n 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0\n 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0\n 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0]\n High values:\n [255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255\n 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255\n 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255\n 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255\n 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255\n 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255\n 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255\n 255 255]\n\n Action Space: Discrete(6)\n Action meanings: ['NOOP', 'FIRE', 'RIGHT', 'LEFT', 'RIGHTFIRE', 'LEFTFIRE']\n\n\n Running environment demonstration...\n Unique environment information is output to standard out:\n Reward: 0.0, Done: False, Info: {'ale.lives': 3}\n Reward: 5.0, Done: False, Info: {'ale.lives': 3}\n Reward: 0.0, Done: False, Info: {'ale.lives': 3}\n Reward: 10.0, Done: False, Info: {'ale.lives': 3}\n Reward: 0.0, Done: False, Info: {'ale.lives': 3}\n Reward: 15.0, Done: False, Info: {'ale.lives': 3}\n Reward: 0.0, Done: False, Info: {'ale.lives': 3}\n Reward: 20.0, Done: False, Info: {'ale.lives': 3}\n Reward: 0.0, Done: False, Info: {'ale.lives': 3}\n Reward: 25.0, Done: False, Info: {'ale.lives': 3}\n Reward: 0.0, Done: False, Info: {'ale.lives': 3}\n Reward: 0.0, Done: False, Info: {'ale.lives': 2}\n Reward: 30.0, Done: False, Info: {'ale.lives': 2}\n Reward: 0.0, Done: False, Info: {'ale.lives': 2}\n Reward: 0.0, Done: False, Info: {'ale.lives': 1}\n Reward: 5.0, Done: False, Info: {'ale.lives': 1}\n Reward: 0.0, Done: False, Info: {'ale.lives': 1}\n Reward: 10.0, Done: False, Info: {'ale.lives': 1}\n Reward: 0.0, Done: False, Info: {'ale.lives': 1}\n Reward: 15.0, Done: False, Info: {'ale.lives': 1}\n Reward: 0.0, Done: False, Info: {'ale.lives': 1}\n Reward: 20.0, Done: False, Info: {'ale.lives': 1}\n Reward: 0.0, Done: False, Info: {'ale.lives': 1}\n Reward: 0.0, Done: True, Info: {'ale.lives': 0}\n\nGet mode information about [Open AI gym][gym_site] on their [documentation website][gym_docs].\n\n[gym_docs]: https://gym.openai.com/docs/ \"OpenAI Gym Documentation\"\n[gym_site]: https://gym.openai.com/ \"OpenAI Gym\"\n[gym]: https://github.com/openai/gym \"OpenAI Gym GitHub\"\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/postrational/gym-demo", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "gym-demo", "package_url": "https://pypi.org/project/gym-demo/", "platform": "", "project_url": "https://pypi.org/project/gym-demo/", "project_urls": { "Homepage": "https://github.com/postrational/gym-demo" }, "release_url": "https://pypi.org/project/gym-demo/0.2.2/", "requires_dist": [ "setuptools", "gym", "docopt", "colorful" ], "requires_python": "", "summary": "Explore OpenAI Gym environments.", "version": "0.2.2" }, "last_serial": 5348134, "releases": { "0.2.0": [ { "comment_text": "", "digests": { "md5": "c17f05b3a087bb6469631c57f1b03d48", "sha256": "49ca165abd91059179818b441985d7fe5e1f2d0141faa3c5af81aef5b740241f" }, "downloads": -1, "filename": "gym_demo-0.2.0-py3-none-any.whl", "has_sig": false, "md5_digest": "c17f05b3a087bb6469631c57f1b03d48", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 6256, "upload_time": "2019-02-22T17:57:45", "url": "https://files.pythonhosted.org/packages/ff/5d/5f40625478b4eedce863e0bd929e6515fd1f8d8ef5bb6bc83e85014904b1/gym_demo-0.2.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "733f636de3062d4eb980c8586dd1e1d8", "sha256": "ad88aa4b2eb550a1db5b71557d40e72e31b7748fe2fc21441dc782736bd3ba1d" }, "downloads": -1, "filename": "gym-demo-0.2.0.tar.gz", "has_sig": false, "md5_digest": "733f636de3062d4eb980c8586dd1e1d8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5521, "upload_time": "2019-02-22T17:57:47", "url": "https://files.pythonhosted.org/packages/ad/86/b69885bcaeda43f6ec8536656885dee46f8d5fa52e76201acb08b26d9168/gym-demo-0.2.0.tar.gz" } ], "0.2.2": [ { "comment_text": "", "digests": { "md5": "d6e184999a2e2d5e95df3dfcb051c730", "sha256": "35823420431b0ef08d11225e31d893aa8ceeac94e0e71dfce1c3027ad8fe50a5" }, "downloads": -1, "filename": "gym_demo-0.2.2-py3-none-any.whl", "has_sig": false, "md5_digest": "d6e184999a2e2d5e95df3dfcb051c730", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 6370, "upload_time": "2019-06-02T07:50:58", "url": "https://files.pythonhosted.org/packages/33/05/562df31277275521690bb30f8af9cce72a2d4f59aca6c4c9a52194b8d2b8/gym_demo-0.2.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "44cd6668d028ff13491274bf7ec01e09", "sha256": "566304b24ed91f486720c7708b7f81e941339e26342153d223d05a29047633aa" }, "downloads": -1, "filename": "gym-demo-0.2.2.tar.gz", "has_sig": false, "md5_digest": "44cd6668d028ff13491274bf7ec01e09", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5630, "upload_time": "2019-06-02T07:50:59", "url": "https://files.pythonhosted.org/packages/4c/43/983f8100ecf9da986cfa1d7c015248e649e0263bd2057d2403b19445b338/gym-demo-0.2.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "d6e184999a2e2d5e95df3dfcb051c730", "sha256": "35823420431b0ef08d11225e31d893aa8ceeac94e0e71dfce1c3027ad8fe50a5" }, "downloads": -1, "filename": "gym_demo-0.2.2-py3-none-any.whl", "has_sig": false, "md5_digest": "d6e184999a2e2d5e95df3dfcb051c730", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 6370, "upload_time": "2019-06-02T07:50:58", "url": "https://files.pythonhosted.org/packages/33/05/562df31277275521690bb30f8af9cce72a2d4f59aca6c4c9a52194b8d2b8/gym_demo-0.2.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "44cd6668d028ff13491274bf7ec01e09", "sha256": "566304b24ed91f486720c7708b7f81e941339e26342153d223d05a29047633aa" }, "downloads": -1, "filename": "gym-demo-0.2.2.tar.gz", "has_sig": false, "md5_digest": "44cd6668d028ff13491274bf7ec01e09", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5630, "upload_time": "2019-06-02T07:50:59", "url": "https://files.pythonhosted.org/packages/4c/43/983f8100ecf9da986cfa1d7c015248e649e0263bd2057d2403b19445b338/gym-demo-0.2.2.tar.gz" } ] }