{ "info": { "author": "MineRL Labs", "author_email": "minerl@andrew.cmu.edu", "bugtrack_url": null, "classifiers": [ "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "# The [MineRL](http://minerl.io) Python Package \n\n[![Build Status](https://travis-ci.com/minerllabs/minerl.svg?branch=master)](https://travis-ci.com/minerllabs/minerl)\n[![Downloads](https://pepy.tech/badge/minerl)](https://pepy.tech/project/minerl)\n[![PyPI version](https://badge.fury.io/py/minerl.svg)](https://badge.fury.io/py/minerl)\n[![\"Open Issues\"](https://img.shields.io/github/issues-raw/minerllabs/minerl.svg)](https://github.com/minerllabs/minerl/issues)\n[![GitHub issues by-label](https://img.shields.io/github/issues/minerllabs/minerl/bug.svg?color=red)](https://github.com/minerllabs/minerl/issues?utf8=%E2%9C%93&q=is%3Aissue+is%3Aopen+label%3Abug)\n[![Discord](https://img.shields.io/discord/565639094860775436.svg?label=&logo=discord&logoColor=ffffff&color=7389D8&labelColor=6A7EC2)](https://discord.gg/BT9uegr)\n\n[![Support us on patron](https://img.shields.io/endpoint.svg?url=https%3A%2F%2Fshieldsio-patreon.herokuapp.com%2Fwguss_imushroom&style=for-the-badge)](https://www.patreon.com/wguss_imushroom)\n\nPython package providing easy to use gym environments and a simple data api for the MineRLv0 dataset. \n\n**To [get started please read the docs here](http://minerl.io/docs/)!**\n\n**We develop `minerl` in our spare time, [please consider supporting us on Patreon <3](https://www.patreon.com/wguss_imushroom)**\n\n![](http://www.minerl.io/docs/_images/demo.gif)\n## Installation\n\nWith JDK-8 installed run this command\n```\npip3 install --upgrade minerl\n```\n\n## Basic Usage\n\nRunning an environment:\n```python\nimport minerl\nimport gym\nenv = gym.make('MineRLNavigateDense-v0')\n\n\nobs = env.reset()\n\ndone = False\nwhile not done:\n action = env.action_space.sample() \n \n # One can also take a no_op action with\n # action =env.action_space.noop()\n \n \n obs, reward, done, info = env.step(\n action)\n\n```\n\nSampling the dataset:\n\n```python\nimport minerl\n\n# YOU ONLY NEED TO DO THIS ONCE!\nminerl.data.download('/your/local/path')\n\ndata = minerl.data.make(\n 'MineRLObtainDiamond-v0',\n data_dir='/your/local/path')\n\n# Iterate through a single epoch gathering sequences of at most 32 steps\nfor current_state, action, reward, next_state, done \\\n in data.sarsd_iter(\n num_epochs=1, max_sequence_len=32):\n\n # Print the POV @ the first step of the sequence\n print(current_state['pov'][0])\n\n # Print the final reward pf the sequence!\n print(reward[-1])\n\n # Check if final (next_state) is terminal.\n print(done[-1])\n\n # ... do something with the data.\n print(\"At the end of trajectories the length\"\n \"can be < max_sequence_len\", len(reward))\n```\n\n\nVisualizing the dataset:\n\n![viewer|540x272](http://www.minerl.io/docs/_images/cropped_viewer.gif)\n```bash\n\n# Make sure your MINERL_DATA_ROOT is set!\nexport MINERL_DATA_ROOT='/your/local/path'\n\n# Visualizes a random trajectory of MineRLObtainDiamondDense-v0\npython3 -m minerl.viewer MineRLObtainDiamondDense-v0\n\n```\n\n## MineRL Competition\nIf you're here for the MineRL competition. Please check [the main competition website here](https://www.aicrowd.com/challenges/neurips-2019-minerl-competition).", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/minerllabs/minerl", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "minerl", "package_url": "https://pypi.org/project/minerl/", "platform": "", "project_url": "https://pypi.org/project/minerl/", "project_urls": { "Homepage": "http://github.com/minerllabs/minerl" }, "release_url": "https://pypi.org/project/minerl/0.2.9/", "requires_dist": null, "requires_python": "", "summary": "MineRL environment and data loader for reinforcement learning from human demonstration in Minecraft", "version": "0.2.9" }, "last_serial": 5997254, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "0169ec399a6d34ec0db0084688e7c296", "sha256": "3a97cc8c865eafa2fe1f8cc4200f3125d674d14aeef565e0861ed8b0dac66b5d" }, "downloads": -1, "filename": "minerl-0.1.0.tar.gz", "has_sig": false, "md5_digest": "0169ec399a6d34ec0db0084688e7c296", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 29372493, "upload_time": "2019-06-08T13:27:35", "url": "https://files.pythonhosted.org/packages/4c/92/96178b79dae862df14de89a74dfb742209634c647788728515cae6181a77/minerl-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "1c5773c839f5f6e16c0dfda928abb9f1", "sha256": "a6a8e2e29c0948d0c037521d78b6dc0b913d9c7cb57dabefe2b0c397eaf7e322" }, "downloads": -1, "filename": "minerl-0.1.1.tar.gz", "has_sig": false, "md5_digest": "1c5773c839f5f6e16c0dfda928abb9f1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 40516554, "upload_time": "2019-06-09T14:29:31", "url": "https://files.pythonhosted.org/packages/a1/94/4b4e4c0dd57f2d69a804cef3efc795bd482b2fedd565698e8f5f38eb9a71/minerl-0.1.1.tar.gz" } ], "0.1.10": [ { "comment_text": "", "digests": { "md5": "5d794f32be30993a290873ab2f76b337", "sha256": "0e4d7d6979a31061862a663fdaa1fea7b9d20cca88fd5c34366589f6bde613c9" }, "downloads": -1, "filename": "minerl-0.1.10.tar.gz", "has_sig": false, "md5_digest": "5d794f32be30993a290873ab2f76b337", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 31941947, "upload_time": "2019-06-17T20:42:01", "url": "https://files.pythonhosted.org/packages/59/88/d743f0d950cfde00415e32699fe23c99075a879f14239582e42b6c6ea2e9/minerl-0.1.10.tar.gz" } ], "0.1.11": [ { "comment_text": "", "digests": { "md5": "687c34fd5d81cb85f5f8685ce738ae18", "sha256": "6d86796ba7fb63e7aa747015ae6d68277a48aedcc57e4c1b09a0f4dbb521befe" }, "downloads": -1, "filename": "minerl-0.1.11.tar.gz", "has_sig": false, "md5_digest": "687c34fd5d81cb85f5f8685ce738ae18", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 45047342, "upload_time": "2019-06-17T20:54:25", "url": "https://files.pythonhosted.org/packages/58/33/319001ba1947b16282caa96e8824f8a3f68e6c4f80892f8f5de0df55dbfa/minerl-0.1.11.tar.gz" } ], "0.1.12": [ { "comment_text": "", "digests": { "md5": "ab8d95def818a1ed27d82e23be776a26", "sha256": "0a49cd75c2076c41b9318dba320ead3e18753f77d5b82046822bb50459a497d7" }, "downloads": -1, "filename": "minerl-0.1.12.tar.gz", "has_sig": false, "md5_digest": "ab8d95def818a1ed27d82e23be776a26", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 46898490, "upload_time": "2019-06-22T03:49:42", "url": "https://files.pythonhosted.org/packages/1f/53/e95d98b1931b3225b2acfd2629d5e6904e11b28aa2432af3653ed6ab5424/minerl-0.1.12.tar.gz" } ], "0.1.13": [ { "comment_text": "", "digests": { "md5": "0f76e65cfb1e15f138d6849fe0f0f409", "sha256": "c2b89836569d833bedb8a59d57cf7079999f6ba7d34f667030369129e1d4529e" }, "downloads": -1, "filename": "minerl-0.1.13.tar.gz", "has_sig": false, "md5_digest": "0f76e65cfb1e15f138d6849fe0f0f409", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7622116, "upload_time": "2019-06-22T09:11:15", "url": "https://files.pythonhosted.org/packages/fe/90/81533862ff25f934eda771cd4bd3c838617073dafa273264819d21aa5de5/minerl-0.1.13.tar.gz" } ], "0.1.14": [ { "comment_text": "", "digests": { "md5": "d21d5d5780d9efdfc091af96d5364eca", "sha256": "59db86c819ea9b1d15767832a27b7214c9c7c84ae90d3e3133e51007cbfe7a0e" }, "downloads": -1, "filename": "minerl-0.1.14.tar.gz", "has_sig": false, "md5_digest": "d21d5d5780d9efdfc091af96d5364eca", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 39963961, "upload_time": "2019-06-24T08:08:08", "url": "https://files.pythonhosted.org/packages/91/fb/1a718749923b83deb3f554eb98d58dee2e62d0c8447c7acde801d0a6b2ee/minerl-0.1.14.tar.gz" } ], "0.1.16": [ { "comment_text": "", "digests": { "md5": "34b040254e3782d815188675f1db722c", "sha256": "183aa3264834534768a4f3c72ef4ac907b2decafe9aff116ea6482180d96fe28" }, "downloads": -1, "filename": "minerl-0.1.16.tar.gz", "has_sig": false, "md5_digest": "34b040254e3782d815188675f1db722c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 40304622, "upload_time": "2019-06-27T02:41:47", "url": "https://files.pythonhosted.org/packages/83/86/25a9b4dab05a0ff9da35971d2b70761f5f2a45351e63556df5dcc76c5c68/minerl-0.1.16.tar.gz" } ], "0.1.17": [ { "comment_text": "", "digests": { "md5": "65bf8840f9fa8f8569f5d63253d4125c", "sha256": "2eb5a0242db2a6fb327bcd7964c3e32fa084f1349eb3c62c5dcbad3f6e72c735" }, "downloads": -1, "filename": "minerl-0.1.17.tar.gz", "has_sig": false, "md5_digest": "65bf8840f9fa8f8569f5d63253d4125c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 40355765, "upload_time": "2019-06-27T15:59:12", "url": "https://files.pythonhosted.org/packages/01/a2/e0a6768b5b09c57fb288c10bc5196489206d9cf5100e50870a1fb48f2c14/minerl-0.1.17.tar.gz" } ], "0.1.18": [ { "comment_text": "", "digests": { "md5": "90f1d03ba372bdafafb4b84f46bf5795", "sha256": "133d59e6b69064649aaf79d01e067beb92bc32cbedebee478315e4337a714568" }, "downloads": -1, "filename": "minerl-0.1.18.tar.gz", "has_sig": false, "md5_digest": "90f1d03ba372bdafafb4b84f46bf5795", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 41032811, "upload_time": "2019-07-02T00:16:03", "url": "https://files.pythonhosted.org/packages/fd/02/941ee012a6e5755f5d2557e8b09cbec3cc6c1d1b7a880e391a5696eebae4/minerl-0.1.18.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "8b7b7ac03c7f126f40b38e1629813437", "sha256": "a8e677dd62a938839ae252f370b863128e8705e4f0ef56d29eba6f43c20faa9c" }, "downloads": -1, "filename": "minerl-0.1.2.tar.gz", "has_sig": false, "md5_digest": "8b7b7ac03c7f126f40b38e1629813437", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 32161984, "upload_time": "2019-06-09T14:37:47", "url": "https://files.pythonhosted.org/packages/e6/b3/305f564b68fc59a832732073e5f3e13951a55fce43ef94df6467e56b2cb4/minerl-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "240fe14c7ede8c30ee7cd6a8fd328aa4", "sha256": "84eb898d5eeda7bb443acf963975ec7ecb36f127df1f7f858a8263abdff23276" }, "downloads": -1, "filename": "minerl-0.1.3.tar.gz", "has_sig": false, "md5_digest": "240fe14c7ede8c30ee7cd6a8fd328aa4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 31670750, "upload_time": "2019-06-09T19:23:33", "url": "https://files.pythonhosted.org/packages/7c/5e/350c8767da67fc3b6e52e64687f0422138b6c18888f52b4170886ea7032d/minerl-0.1.3.tar.gz" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "3792d2178c2c97d506c864c130abcedd", "sha256": "692d92fef7a278e2c73d1de5ba74fab672f3e867cd28fb70a4aa106b665fe442" }, "downloads": -1, "filename": "minerl-0.1.4.tar.gz", "has_sig": false, "md5_digest": "3792d2178c2c97d506c864c130abcedd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 32142262, "upload_time": "2019-06-10T11:14:46", "url": "https://files.pythonhosted.org/packages/a4/dc/57812c7189dbe782d83a87f8e28a0610141035592d0e11dffa5fbddb15ba/minerl-0.1.4.tar.gz" } ], "0.1.5": [ { "comment_text": "", "digests": { "md5": "c4d1c1246df0798e29e5d47f5325162d", "sha256": "5b5ad4a069884ccea55f111f49e16fb21d59807d531537d5b50cc274ade5427a" }, "downloads": -1, "filename": "minerl-0.1.5.tar.gz", "has_sig": false, "md5_digest": "c4d1c1246df0798e29e5d47f5325162d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 32142353, "upload_time": "2019-06-10T13:39:16", "url": "https://files.pythonhosted.org/packages/33/bf/c053489a30e55ec482965ea7114c4af90bcade4c99d2e7f1cbf40fe7f971/minerl-0.1.5.tar.gz" } ], "0.1.6": [ { "comment_text": "", "digests": { "md5": "c34f4816344d067c52f40f4cd93aeb90", "sha256": "0a02827ae491ed3eb7d57870c57294e365bbfd887c20cf5ab4a16a24be8b39db" }, "downloads": -1, "filename": "minerl-0.1.6.tar.gz", "has_sig": false, "md5_digest": "c34f4816344d067c52f40f4cd93aeb90", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 29655320, "upload_time": "2019-06-11T11:15:46", "url": "https://files.pythonhosted.org/packages/5e/95/e4feff11c1eb3baa5888311303296859bbfb7b77c690f1abc6bd48ad2abc/minerl-0.1.6.tar.gz" } ], "0.1.8": [ { "comment_text": "", "digests": { "md5": "0280fd1202e2baffd1f980c551c07901", "sha256": "778003d52b2cee3112b0037f782ca8ab9d06a4668df640f58e66c6a51d103c29" }, "downloads": -1, "filename": "minerl-0.1.8.tar.gz", "has_sig": false, "md5_digest": "0280fd1202e2baffd1f980c551c07901", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 29630433, "upload_time": "2019-06-11T16:41:53", "url": "https://files.pythonhosted.org/packages/33/93/eeaab1cc64c635a6832ece424e9c4d2ec41290c21e4e711274aa6c8218a3/minerl-0.1.8.tar.gz" } ], "0.1.9": [ { "comment_text": "", "digests": { "md5": "e1b4b4eb062f9e49e86d4add29ff7299", "sha256": "1b7b5332885879bfc57bcc623e1ea36e34bf22dc11d805d05ec67e175d6abe90" }, "downloads": -1, "filename": "minerl-0.1.9.tar.gz", "has_sig": false, "md5_digest": "e1b4b4eb062f9e49e86d4add29ff7299", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 31503544, "upload_time": "2019-06-12T07:39:09", "url": "https://files.pythonhosted.org/packages/a4/7a/4352eaabc3cef81f62c694ce6f823f6352854085c533e44e9f269a125ccc/minerl-0.1.9.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "818f325d9c9df18a26a7f45bb5f2b513", "sha256": "58f193938ffc313e989acdf4a81c12ab03027d3a250fc08d8b89c900a3623949" }, "downloads": -1, "filename": "minerl-0.2.0.tar.gz", "has_sig": false, "md5_digest": "818f325d9c9df18a26a7f45bb5f2b513", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 40836901, "upload_time": "2019-07-12T08:18:23", "url": "https://files.pythonhosted.org/packages/5c/68/f2b7ebe9c02ba1b1af2e7bde816e6e37729e7ef9eedf687cf9bb103796e5/minerl-0.2.0.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "5218d6c7f68576d71266c4e20b903ecb", "sha256": "c419ade1f00bfe5f1a6420ae46de26f6f5e190d403d0fba8c0325334a0f6183b" }, "downloads": -1, "filename": "minerl-0.2.1.tar.gz", "has_sig": false, "md5_digest": "5218d6c7f68576d71266c4e20b903ecb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 40837542, "upload_time": "2019-07-15T22:56:47", "url": "https://files.pythonhosted.org/packages/7d/24/3eb8bfb5c3d6c9831c42986e24256194ba68dc7d15bd9ebb07199a84f02d/minerl-0.2.1.tar.gz" } ], "0.2.2": [ { "comment_text": "", "digests": { "md5": "20e77e36bd16e6e68dd591a730e57cbf", "sha256": "7ef37d4b4c3fcc90d95e4ef69d32585a32b8abd14d98fb645041d1cbef2c7e83" }, "downloads": -1, "filename": "minerl-0.2.2.tar.gz", "has_sig": false, "md5_digest": "20e77e36bd16e6e68dd591a730e57cbf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 40837561, "upload_time": "2019-07-16T02:47:39", "url": "https://files.pythonhosted.org/packages/ee/84/468b32ad673557f181559f9ab85fd65dba0e024ddadc25bb182f1806b1bb/minerl-0.2.2.tar.gz" } ], "0.2.7": [ { "comment_text": "", "digests": { "md5": "6542b0f8846d4a2cacf1ae7f1b3d6317", "sha256": "b43e59659af6157f8557a448e35e9b2eede1e16606b490758ba51f424873d96c" }, "downloads": -1, "filename": "minerl-0.2.7.tar.gz", "has_sig": false, "md5_digest": "6542b0f8846d4a2cacf1ae7f1b3d6317", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 36389767, "upload_time": "2019-10-14T02:20:49", "url": "https://files.pythonhosted.org/packages/22/b9/3bb1c638c06e97d6c02b794688603536963ce1c31a0543d65f79517b6d60/minerl-0.2.7.tar.gz" } ], "0.2.8": [ { "comment_text": "", "digests": { "md5": "fd46068bc458adcd16f03481b010e3e7", "sha256": "6e011f46209fde457c839d4c880a11367bc1df857a5a2cdda92b833ec17cb17f" }, "downloads": -1, "filename": "minerl-0.2.8.tar.gz", "has_sig": false, "md5_digest": "fd46068bc458adcd16f03481b010e3e7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 36932498, "upload_time": "2019-10-18T04:54:14", "url": "https://files.pythonhosted.org/packages/96/6d/1506f0a3ce9d9bf7d7fbcb30401873590a1c0412a2e7d9d8d6d310342a2a/minerl-0.2.8.tar.gz" } ], "0.2.9": [ { "comment_text": "", "digests": { "md5": "33b1e6c3f7c657285974d307435a4b1e", "sha256": "6eab8cfffc69034069acd3ed2c400fd223c05d8d29609c65c79cb24970802569" }, "downloads": -1, "filename": "minerl-0.2.9.tar.gz", "has_sig": false, "md5_digest": "33b1e6c3f7c657285974d307435a4b1e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 36932343, "upload_time": "2019-10-18T19:57:48", "url": "https://files.pythonhosted.org/packages/b3/12/8790821c0b0488d4b1c1e7fbff34e1c9b7bbe2535508dae55cde1b173862/minerl-0.2.9.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "33b1e6c3f7c657285974d307435a4b1e", "sha256": "6eab8cfffc69034069acd3ed2c400fd223c05d8d29609c65c79cb24970802569" }, "downloads": -1, "filename": "minerl-0.2.9.tar.gz", "has_sig": false, "md5_digest": "33b1e6c3f7c657285974d307435a4b1e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 36932343, "upload_time": "2019-10-18T19:57:48", "url": "https://files.pythonhosted.org/packages/b3/12/8790821c0b0488d4b1c1e7fbff34e1c9b7bbe2535508dae55cde1b173862/minerl-0.2.9.tar.gz" } ] }