{ "info": { "author": "Kai Chang", "author_email": "kaijchang@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "# pymutation\nPython library for calculating permutations and combinations\n\nExample:\n```python\nfrom pymutation import pymutation\n# A reading list contains 11 novels and 5 mysteries.\nbooks = ['N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'M', 'M', 'M', 'M', 'M']\n# In how many different ways could a student select\n# a. a novel or a mystery?\nprint(pymutation(books, [lambda x: x == 'N' or x == 'M'])) # 16\n# b. a novel and then a mystery?\nprint(pymutation(books, ['N', 'M'])) # 55\n# c. a mystery and then another mystery?\nprint(pymutation(books, ['M', 'M'])) # 20\n```\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/kajchang/pymutation", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "pymutation", "package_url": "https://pypi.org/project/pymutation/", "platform": "", "project_url": "https://pypi.org/project/pymutation/", "project_urls": { "Homepage": "https://github.com/kajchang/pymutation" }, "release_url": "https://pypi.org/project/pymutation/0.1.0/", "requires_dist": null, "requires_python": "", "summary": "", "version": "0.1.0" }, "last_serial": 5254820, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "80235af6f499f21aa60d953985ff50a5", "sha256": "22e94680eac6fbd14b1df28edac3f4a1315e460cb8384a2dbc7d7e8c84455439" }, "downloads": -1, "filename": "pymutation-0.1.0-py2-none-any.whl", "has_sig": false, "md5_digest": "80235af6f499f21aa60d953985ff50a5", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 2133, "upload_time": "2019-05-11T03:05:02", "url": "https://files.pythonhosted.org/packages/5a/2f/f03dae95a7f248be72a2f18a2e13fe27aa24125c02ff9f7d20d35b31a82c/pymutation-0.1.0-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a1ab6cc28593c75e1381798bdff12aef", "sha256": "d30c7d0541cf9dfd5ded23204f2515651d69dee54e7cc454c6b4266f1e256979" }, "downloads": -1, "filename": "pymutation-0.1.0.tar.gz", "has_sig": false, "md5_digest": "a1ab6cc28593c75e1381798bdff12aef", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1620, "upload_time": "2019-05-11T03:05:05", "url": "https://files.pythonhosted.org/packages/03/74/b3bd54227be45845eaf1cf4d45080ae1d310cf99a56c5d77d7db6077a089/pymutation-0.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "80235af6f499f21aa60d953985ff50a5", "sha256": "22e94680eac6fbd14b1df28edac3f4a1315e460cb8384a2dbc7d7e8c84455439" }, "downloads": -1, "filename": "pymutation-0.1.0-py2-none-any.whl", "has_sig": false, "md5_digest": "80235af6f499f21aa60d953985ff50a5", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 2133, "upload_time": "2019-05-11T03:05:02", "url": "https://files.pythonhosted.org/packages/5a/2f/f03dae95a7f248be72a2f18a2e13fe27aa24125c02ff9f7d20d35b31a82c/pymutation-0.1.0-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a1ab6cc28593c75e1381798bdff12aef", "sha256": "d30c7d0541cf9dfd5ded23204f2515651d69dee54e7cc454c6b4266f1e256979" }, "downloads": -1, "filename": "pymutation-0.1.0.tar.gz", "has_sig": false, "md5_digest": "a1ab6cc28593c75e1381798bdff12aef", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1620, "upload_time": "2019-05-11T03:05:05", "url": "https://files.pythonhosted.org/packages/03/74/b3bd54227be45845eaf1cf4d45080ae1d310cf99a56c5d77d7db6077a089/pymutation-0.1.0.tar.gz" } ] }