{ "info": { "author": "Benjamin Pryke", "author_email": "benprykedev@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Programming Language :: Python :: 3 :: Only", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "PyNewtonMath\r\n============\r\n\r\nBasics\r\n------\r\n\r\nPyNewtonMath is a Python 3.x API wrapper providing full support for the\r\n`newton micro-service`_, which is `available on GitHub`_.\r\n\r\nNewton does anything from numerical calculation to symbolic math\r\nparsing.\r\n\r\nInstallation\r\n------------\r\n\r\nUsing pip:\r\n\r\n::\r\n\r\n pip install pynewtonmath\r\n\r\nFrom GitHub:\r\n\r\n::\r\n\r\n pip install git+https://github.com/benpryke/pynewtonmath\r\n\r\nUsage\r\n-----\r\n\r\n.. code-block:: python\r\n\r\n import pynewtonmath as newton\r\n\r\n newton.derive('x^2') # -> '2 x'\r\n newton.cos('pi') # -> -1\r\n newton.zeroes('x^2+2x') # -> [-2, 0]\r\n\r\n- No instantiation required\r\n- Supports natural return types\r\n\r\nThe following methods take optional extra arguments for convenience. As\r\nper the API, if these are not specified they must be included before a\r\nhorizontal bar ``'|'`` in the expression for newton.\r\n\r\n.. code-block:: python\r\n\r\n newton.log('2|8') # -> 3\r\n newton.log(8, base=2) # -> 3\r\n\r\n newton.tangent('2|x^3') # -> '12 x + -16'\r\n newton.tangent('x^3', x=2) # -> '12 x + -16'\r\n\r\n newton.area('2:4|x^3') # -> 60\r\n newton.area('x^3', start=2, end=4) # -> 60\r\n\r\nSee `the newton API GitHub repo`_ for the full list of endpoints.\r\n\r\n.. _newton micro-service: https://newton.now.sh\r\n.. _available on GitHub: https://github.com/aunyks/newton-api\r\n.. _the newton API GitHub repo: https://github.com/aunyks/newton-api\r\n", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/benpryke/PyNewtonMath", "keywords": "newton API REST math maths restful", "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "pynewtonmath", "package_url": "https://pypi.org/project/pynewtonmath/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/pynewtonmath/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/benpryke/PyNewtonMath" }, "release_url": "https://pypi.org/project/pynewtonmath/1.0.1/", "requires_dist": null, "requires_python": null, "summary": "Python 3 wrapper for the Newton math API", "version": "1.0.1" }, "last_serial": 2996538, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "a416599110536ce8abf32bf450f5352c", "sha256": "235da462c7e5709426b58734a93a8915704469756fb89402cdcb700e0044f6f2" }, "downloads": -1, "filename": "pynewtonmath-1.0.tar.gz", "has_sig": false, "md5_digest": "a416599110536ce8abf32bf450f5352c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2102, "upload_time": "2017-07-02T22:37:26", "url": "https://files.pythonhosted.org/packages/01/27/d9f6591122e23a9949d008dd40622b9008f1a34514655720076e7b294b99/pynewtonmath-1.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "9a375584b8f537a897fc0d418059b12e", "sha256": "f9ede4c68f7ae9aaa17a8dad3f233cc2366fd72f383dbd3935ae75999624a48b" }, "downloads": -1, "filename": "pynewtonmath-1.0.1.tar.gz", "has_sig": false, "md5_digest": "9a375584b8f537a897fc0d418059b12e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2651, "upload_time": "2017-07-03T11:53:34", "url": "https://files.pythonhosted.org/packages/bb/98/491fabebb4e0452dfe03a146d12fb662a8ca1e7932f65cf0c79a47ec15e4/pynewtonmath-1.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "9a375584b8f537a897fc0d418059b12e", "sha256": "f9ede4c68f7ae9aaa17a8dad3f233cc2366fd72f383dbd3935ae75999624a48b" }, "downloads": -1, "filename": "pynewtonmath-1.0.1.tar.gz", "has_sig": false, "md5_digest": "9a375584b8f537a897fc0d418059b12e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2651, "upload_time": "2017-07-03T11:53:34", "url": "https://files.pythonhosted.org/packages/bb/98/491fabebb4e0452dfe03a146d12fb662a8ca1e7932f65cf0c79a47ec15e4/pynewtonmath-1.0.1.tar.gz" } ] }