{ "info": { "author": "Prateek C. Tripathi", "author_email": "prateektripathi85@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.2", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Topic :: Software Development :: Build Tools" ], "description": "A new library to handle all sorts of mathematical factors of a number.\r\nFrom finding sum of factors to finding prime factors. Number of built-in functions added for the library are: \r\nnfact() -> Finding the number of factors for the given number. Returns 'None' if there's no factor for the number else returns the number of factors. \r\nsfact() -> Finding the sum of factors for the given number. Returns -1 if there's no factor for the number else returns the sum of factors. \r\nfact() -> Gives the list of factors for the given number, returns -1 if there's no factor for the number. \r\nefact() -> Gives the list of even factors for the given number, returns -1 if there's no factor for the number. \r\nofact() -> Gives the list of odd factors for the given number, returns -1 if there's no factor for the number. \r\npfact() -> Gives the list of prime factors for the given number, returns -1 if there's no factor for the number. \r\nsum_efact() -> Returns the sum of even factors for the given number, returns -1 if there's no factor for the number. \r\nsum_ofact() -> Returns the sum of odd factors for the given number, returns -1 if there's no factor for the number. \r\nsum_pfact() -> Returns the sum of prime factors for the given number, returns -1 if there's no factor for the number.\r\nimport factors.factors as f \r\nf.fact(10) -> [1, 2, 5, 10] (Output).\r\n\r\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/Prateek23n/Factors", "keywords": "python factors", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "math-factors", "package_url": "https://pypi.org/project/math-factors/", "platform": "", "project_url": "https://pypi.org/project/math-factors/", "project_urls": { "Homepage": "https://github.com/Prateek23n/Factors" }, "release_url": "https://pypi.org/project/math-factors/1.0.2/", "requires_dist": null, "requires_python": ">=2.6, !=3.0.*, !=3.1.*, !=3.2.*, <4", "summary": "Demo Package for Mathematical Factors.", "version": "1.0.2" }, "last_serial": 5563088, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "74f332031edcf3e81d647810c0da71e5", "sha256": "9430a4e975dccb698345a8b633a00fbadae9f179233a495919dba086af02ec10" }, "downloads": -1, "filename": "math_factors-1.0.0-py2.7.egg", "has_sig": false, "md5_digest": "74f332031edcf3e81d647810c0da71e5", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 1208, "upload_time": "2019-07-21T08:54:49", "url": "https://files.pythonhosted.org/packages/d1/40/3cf7c98e9075f954683e4099bc71b5ad3449a5d93c648414622056a50650/math_factors-1.0.0-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "5d04c44ee2e18fd8860642e76f18081a", "sha256": "90f732dfcc4761e604549c282addc30dec1d551dd0ae05fe949111ac6f473f9a" }, "downloads": -1, "filename": "math-factors-1.0.0.win32.zip", "has_sig": false, "md5_digest": "5d04c44ee2e18fd8860642e76f18081a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4333, "upload_time": "2019-07-21T08:54:47", "url": "https://files.pythonhosted.org/packages/59/c0/880829a2bcf0e9ae3b2cc1d3c97d5e6fa3cf9b7cbc7838541806255c5623/math-factors-1.0.0.win32.zip" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "596c2bc28b15840ff097a037e11b7b73", "sha256": "4f2b4bffde3e04f2ac8c0fd0b769c63d1f4312883697e026b93fe87f93cdf703" }, "downloads": -1, "filename": "math_factors-1.0.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "596c2bc28b15840ff097a037e11b7b73", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.6, !=3.0.*, !=3.1.*, !=3.2.*, <4", "size": 3226, "upload_time": "2019-07-21T09:24:26", "url": "https://files.pythonhosted.org/packages/a6/c5/afb5eea212b5193d0f5c6c670ca3906c7cf60274113c534fd76b988b4fe1/math_factors-1.0.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "652b22aa624c5ead4902f774e8ca5dc3", "sha256": "9835c85199c42523c7abe778fc74120a43390f0e1d73cb17cb160b865b6bd2c6" }, "downloads": -1, "filename": "math-factors-1.0.1.tar.gz", "has_sig": false, "md5_digest": "652b22aa624c5ead4902f774e8ca5dc3", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.6, !=3.0.*, !=3.1.*, !=3.2.*, <4", "size": 2211, "upload_time": "2019-07-21T09:24:29", "url": "https://files.pythonhosted.org/packages/59/9b/6517e6fb0c3520642b7eeca354e3b76b4c936ae2ea918e49987764ed3853/math-factors-1.0.1.tar.gz" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "ec1f0d850ac783c5278c8a2f2b4f3590", "sha256": "e850f23186ccedc3e15a09e13428a4df38537d869f2dfb669a67e63554bc8fe6" }, "downloads": -1, "filename": "math_factors-1.0.2-py2.7.egg", "has_sig": false, "md5_digest": "ec1f0d850ac783c5278c8a2f2b4f3590", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": ">=2.6, !=3.0.*, !=3.1.*, !=3.2.*, <4", "size": 1594, "upload_time": "2019-07-21T10:56:47", "url": "https://files.pythonhosted.org/packages/f5/d3/8f8ac5ee5608ec84db20647e01b9cd9a2f32db4fe8863573c28bbff8d4dd/math_factors-1.0.2-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "dfea7beb4e9666475aa18e9e20d5443c", "sha256": "a08ac4c57ece6311a21e7b30310261f78daef22254d74bfe306615ea5a6cd05b" }, "downloads": -1, "filename": "math_factors-1.0.2-py2-none-any.whl", "has_sig": false, "md5_digest": "dfea7beb4e9666475aa18e9e20d5443c", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": ">=2.6, !=3.0.*, !=3.1.*, !=3.2.*, <4", "size": 3498, "upload_time": "2019-07-21T10:56:45", "url": "https://files.pythonhosted.org/packages/dc/5f/1e456179626a0e80ad2c666bbe0067a814be1b729be2b87b0ce015c8eb15/math_factors-1.0.2-py2-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "ec1f0d850ac783c5278c8a2f2b4f3590", "sha256": "e850f23186ccedc3e15a09e13428a4df38537d869f2dfb669a67e63554bc8fe6" }, "downloads": -1, "filename": "math_factors-1.0.2-py2.7.egg", "has_sig": false, "md5_digest": "ec1f0d850ac783c5278c8a2f2b4f3590", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": ">=2.6, !=3.0.*, !=3.1.*, !=3.2.*, <4", "size": 1594, "upload_time": "2019-07-21T10:56:47", "url": "https://files.pythonhosted.org/packages/f5/d3/8f8ac5ee5608ec84db20647e01b9cd9a2f32db4fe8863573c28bbff8d4dd/math_factors-1.0.2-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "dfea7beb4e9666475aa18e9e20d5443c", "sha256": "a08ac4c57ece6311a21e7b30310261f78daef22254d74bfe306615ea5a6cd05b" }, "downloads": -1, "filename": "math_factors-1.0.2-py2-none-any.whl", "has_sig": false, "md5_digest": "dfea7beb4e9666475aa18e9e20d5443c", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": ">=2.6, !=3.0.*, !=3.1.*, !=3.2.*, <4", "size": 3498, "upload_time": "2019-07-21T10:56:45", "url": "https://files.pythonhosted.org/packages/dc/5f/1e456179626a0e80ad2c666bbe0067a814be1b729be2b87b0ce015c8eb15/math_factors-1.0.2-py2-none-any.whl" } ] }