{ "info": { "author": "Kip Yin", "author_email": "kipyty@outlook.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.7" ], "description": "# `pokemaster` - Get Real, Living\u2122 Pok\u00e9mon in Python\n\n[![Travis CI](https://img.shields.io/travis/com/kipyin/pokemaster/master.svg?label=Travis%20CI)](https://travis-ci.com/kipyin/pokemaster)\n[![codecov](https://codecov.io/gh/kipyin/pokemaster/branch/master/graph/badge.svg)](https://codecov.io/gh/kipyin/pokemaster)\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/2ce3d3f469904b3a833c2a17045dff8a)](https://www.codacy.com/app/kipyin/pokemaster?utm_source=github.com&utm_medium=referral&utm_content=kipyin/pokemaster&utm_campaign=Badge_Grade)\n[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/ambv/black)\n\n## Introduction\n\n`pokemaster` lets you create Pok\u00e9mon\nthat is native to the core series Pok\u00e9mon games\ndeveloped by Game Freak & Nintendo.\n\nIn `pokemaster`,\neverything you get is\nwhat you would expect in the games:\na Pok\u00e9mon has a bunch of attributes,\nknows up to four moves,\ncan be evolved to another species,\ncan learn, forget, and remember certain moves,\ncan use moves to do stuff\n(such as attacking another Pok\u00e9mon),\ncan consume certain items,\nand much, much more.\n\n## Installation\n\n`pokemaster` can be installed via `pip`, but you have to have `pokedex`\ninstalled first:\n\n```bash\npip install git+https://github.com/kipyin/pokedex\npip install pokemaster\n```\n\nOr, if you have poetry, run:\n\n```bash\npoetry add pokemaster -E pokedex\n```\n\n## Basic Usage\n\nTo summon a Real, Living\u2122 Pok\u00e9mon:\n\n```python\nfrom pokemaster import Pokemon\nbulbasaur = Pokemon(national_id=1, level=5)\neevee = Pokemon('eevee', level=10, gender='female')\n```\n\n## Development\n\n### Installing\n\nTo make contribution,\nyou need to clone the repo first, of course:\n\n```bash\ngit clone https://github.com/kipyin/pokemaster.git\ncd pokemaster\n```\n\nIf you have `poetry` installed,\nyou can install the dependencies directly:\n\n```bash\npoetry install -v -E pokedex\n```\n\nThis will equip everything you need for the development.\n\n### Linting\n\nWe use `black` to format the code,\nand `isort` to sort the imports.\n\nThe best way to ensure all files are in the right format\nis using `tox`:\n\n```bash\ntox -e lint\n```\n\n### Testing\n\nAfter making commits,\nmake sure all tests are passed.\nTo run tests against all environments,\nsimply do:\n\n```bash\n$ tox\n```\n\nIf you want to run tests against specific Python version,\nuse `tox -e {env}`.\n\nFor example,\nif you want to run tests against Python 3.7,\nrun the following command:\n\n```bash\n$ tox -e py37\n```\n\n## LICENSE\n\nMIT License\n\nCopyright (c) 2019 Kip Yin\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "", "keywords": "pokemon,pokedex,pokemaster", "license": "MIT", "maintainer": "Kip Yin", "maintainer_email": "kipyty@outlook.com", "name": "pokemaster", "package_url": "https://pypi.org/project/pokemaster/", "platform": "", "project_url": "https://pypi.org/project/pokemaster/", "project_urls": null, "release_url": "https://pypi.org/project/pokemaster/0.2.2/", "requires_dist": [ "sqlalchemy (>=1.2,<2.0)", "attrs (>=18.2,<19.0)", "pokedex; extra == \"pokedex\"", "construct (<=2.5.3); extra == \"pokedex\"" ], "requires_python": ">=3.6.5,<4.0.0", "summary": "Get Real, Living\u2122 Pok\u00e9mon in Python", "version": "0.2.2" }, "last_serial": 4858757, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "e823aadbb3d2df8d7ef4f5f3d9d842a2", "sha256": "9cfe85fdbcfe00ea9239d9c46d8502ad28b371b84261c3dd6d766e342511a8ee" }, "downloads": -1, "filename": "pokemaster-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "e823aadbb3d2df8d7ef4f5f3d9d842a2", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6,<4.0", "size": 35043, "upload_time": "2019-02-03T10:08:51", "url": "https://files.pythonhosted.org/packages/b5/48/ee77a2e3b6d5f8a797f8932faa6a26f1cbb615c6fed38941a317ab0552c1/pokemaster-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a6e3cf7436a6efd7e54f2ce40c1c5c75", "sha256": "16f370616e99bf9a97147d50059c848b0a28fe19a94848bc6f808e40360be5d9" }, "downloads": -1, "filename": "pokemaster-0.1.0.tar.gz", "has_sig": false, "md5_digest": "a6e3cf7436a6efd7e54f2ce40c1c5c75", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6,<4.0", "size": 9847, "upload_time": "2019-02-03T10:08:53", "url": "https://files.pythonhosted.org/packages/82/73/0fa7992a7b6459f33da314305bca8437db43f13dc450220cd632a188860c/pokemaster-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "d0adabbbdebef08da753844c17ba0d34", "sha256": "47a382a895d42df1fd1b9733450ecb7321ec056ad402b74082c4b8028a6570c4" }, "downloads": -1, "filename": "pokemaster-0.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "d0adabbbdebef08da753844c17ba0d34", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6,<4.0", "size": 35741, "upload_time": "2019-02-03T13:05:43", "url": "https://files.pythonhosted.org/packages/e0/1a/6f00589da6bd3f26eae6707248a14b936933a416a4241ec3f2c970a74ca5/pokemaster-0.1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "07238612c71c1927cc38d0472595dec7", "sha256": "7fcd8eb053e71fc4a9383a09c3eec9cc0ff40de24f3ed4d91f2a2a23cf42fc04" }, "downloads": -1, "filename": "pokemaster-0.1.1.tar.gz", "has_sig": false, "md5_digest": "07238612c71c1927cc38d0472595dec7", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6,<4.0", "size": 11060, "upload_time": "2019-02-03T13:05:45", "url": "https://files.pythonhosted.org/packages/d6/a9/ac55debf2d9bcf25461364ac10564eb25718a5269e75e29d00249ffb3aa2/pokemaster-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "8a0eab2de01c89eb02c004bd7a0c2b83", "sha256": "b3569acca6724dbb14f38f6af68446170f7ab6355f29e6ff13138fe4407ccae6" }, "downloads": -1, "filename": "pokemaster-0.1.2.tar.gz", "has_sig": false, "md5_digest": "8a0eab2de01c89eb02c004bd7a0c2b83", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6,<4.0", "size": 10555, "upload_time": "2019-02-03T14:14:54", "url": "https://files.pythonhosted.org/packages/cb/f6/ea9b8d803ca6c7035c0833b857d7b587dfd944e9a3a32675bb411f60cb46/pokemaster-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "d521f9545165060eff639e9da432b9eb", "sha256": "58d04508ff0d2f20f95193b573f2a427e4ab7d9fc4bf2a83a6b3e565cb7bf9d0" }, "downloads": -1, "filename": "pokemaster-0.1.3-py3-none-any.whl", "has_sig": false, "md5_digest": "d521f9545165060eff639e9da432b9eb", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6.5,<4.0.0", "size": 36705, "upload_time": "2019-02-06T05:03:43", "url": "https://files.pythonhosted.org/packages/d7/89/95a3f117bcb42ca89e2cf900cdf2df8a321df4536b62b82abcc11e04c964/pokemaster-0.1.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c0505ca1c5d5a7b1147439661b09c92a", "sha256": "a6192d01bbf0da523341c4c0b4c27b8f84a05daedb6714dd27bb83eaec49601d" }, "downloads": -1, "filename": "pokemaster-0.1.3.tar.gz", "has_sig": false, "md5_digest": "c0505ca1c5d5a7b1147439661b09c92a", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6.5,<4.0.0", "size": 13101, "upload_time": "2019-02-06T05:03:46", "url": "https://files.pythonhosted.org/packages/32/ae/f1a742b0a7269574f258a615fa7d1b18087562d9c86d1b84f6d649f264a6/pokemaster-0.1.3.tar.gz" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "e71b7ae2bb3df1c703be2255bfcf3bc4", "sha256": "09deabadca0013845a4ef5ab4efdfa19f5eb624c7684a49e5cbe993d508ed52e" }, "downloads": -1, "filename": "pokemaster-0.1.4-py3-none-any.whl", "has_sig": false, "md5_digest": "e71b7ae2bb3df1c703be2255bfcf3bc4", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6.5,<4.0.0", "size": 38449, "upload_time": "2019-02-11T17:39:33", "url": "https://files.pythonhosted.org/packages/ec/89/9e1fe047e34dffdebd2541d62df3498bcd7d6de50aae9042b380eb029a57/pokemaster-0.1.4-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d607627e106da8e575d85aa4275cc2d9", "sha256": "58dcc3779d9e5caeabfabc8196c29046dfa4846561343cfd2938818193dddfe7" }, "downloads": -1, "filename": "pokemaster-0.1.4.tar.gz", "has_sig": false, "md5_digest": "d607627e106da8e575d85aa4275cc2d9", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6.5,<4.0.0", "size": 13870, "upload_time": "2019-02-11T17:39:35", "url": "https://files.pythonhosted.org/packages/7c/7e/f05c78e4f030fecc1b3cdd5b0083cf3825f41e212b4370cec1430e70ed0d/pokemaster-0.1.4.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "99d3b94b7c3e25517826fe310b3c7ad8", "sha256": "68b2aa814e66fa882868b5639b369d2df1801f37478f70fa8dc0d1b28037f837" }, "downloads": -1, "filename": "pokemaster-0.2.0-py3-none-any.whl", "has_sig": false, "md5_digest": "99d3b94b7c3e25517826fe310b3c7ad8", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6.5,<4.0.0", "size": 50000, "upload_time": "2019-02-15T17:26:47", "url": "https://files.pythonhosted.org/packages/ad/cb/118029d057c02b59f6b011af76701796029d0ff36424eae480b5a0fd89a5/pokemaster-0.2.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "19ad85e955fc23bf080b050a08418ade", "sha256": "4fa72a9c551245e9c7ffc1c099feb585f2184167a4524f7d90c66bd2d5715dd6" }, "downloads": -1, "filename": "pokemaster-0.2.0.tar.gz", "has_sig": false, "md5_digest": "19ad85e955fc23bf080b050a08418ade", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6.5,<4.0.0", "size": 16954, "upload_time": "2019-02-15T17:26:49", "url": "https://files.pythonhosted.org/packages/83/b7/e49d87769c602761f794a9e31daf85fd521698b1deb1df1b44d9c607c7b1/pokemaster-0.2.0.tar.gz" } ], "0.2.2": [ { "comment_text": "", "digests": { "md5": "b9255d8eab1f112f8487683ed84882ff", "sha256": "b1b6dece52251d26fba6f3f9eb6a51e45ae1295c43417317b7a0d5d460623ffa" }, "downloads": -1, "filename": "pokemaster-0.2.2-py3-none-any.whl", "has_sig": false, "md5_digest": "b9255d8eab1f112f8487683ed84882ff", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6.5,<4.0.0", "size": 51750, "upload_time": "2019-02-23T16:55:39", "url": "https://files.pythonhosted.org/packages/44/ab/7520bcf75b0a63307e7e8ae7acbbdb3e86fe8078f8250f10982fc544e5c9/pokemaster-0.2.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b4cc7a5ef8aee1153eae8afeace85b10", "sha256": "ea182e8d2e1172d35f34a3ab5438047461b2a7948b3a3277f48113509d7aac13" }, "downloads": -1, "filename": "pokemaster-0.2.2.tar.gz", "has_sig": false, "md5_digest": "b4cc7a5ef8aee1153eae8afeace85b10", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6.5,<4.0.0", "size": 17368, "upload_time": "2019-02-23T16:55:42", "url": "https://files.pythonhosted.org/packages/36/ee/675ac9840e7708c5f6e82d7a6f5e37cb1fd8d3209095cd5cd6f2d8b4a4e9/pokemaster-0.2.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "b9255d8eab1f112f8487683ed84882ff", "sha256": "b1b6dece52251d26fba6f3f9eb6a51e45ae1295c43417317b7a0d5d460623ffa" }, "downloads": -1, "filename": "pokemaster-0.2.2-py3-none-any.whl", "has_sig": false, "md5_digest": "b9255d8eab1f112f8487683ed84882ff", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6.5,<4.0.0", "size": 51750, "upload_time": "2019-02-23T16:55:39", "url": "https://files.pythonhosted.org/packages/44/ab/7520bcf75b0a63307e7e8ae7acbbdb3e86fe8078f8250f10982fc544e5c9/pokemaster-0.2.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b4cc7a5ef8aee1153eae8afeace85b10", "sha256": "ea182e8d2e1172d35f34a3ab5438047461b2a7948b3a3277f48113509d7aac13" }, "downloads": -1, "filename": "pokemaster-0.2.2.tar.gz", "has_sig": false, "md5_digest": "b4cc7a5ef8aee1153eae8afeace85b10", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6.5,<4.0.0", "size": 17368, "upload_time": "2019-02-23T16:55:42", "url": "https://files.pythonhosted.org/packages/36/ee/675ac9840e7708c5f6e82d7a6f5e37cb1fd8d3209095cd5cd6f2d8b4a4e9/pokemaster-0.2.2.tar.gz" } ] }