{ "info": { "author": "Glen Fletcher", "author_email": "glen.fletcher@alphaomega-technology.com.au", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "Intended Audience :: Science/Research", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Topic :: Scientific/Engineering :: Mathematics" ], "description": ".. image:: https://travis-ci.org/alphaomega-technology/Equation.svg?branch=v1.2.01\r\n :target: https://travis-ci.org/alphaomega-technology/Equation\r\n\r\nEquation Interpeter\r\n===================\r\nThe Equation Package provide an extentable Equation Parser and Evaluation System.\r\n\r\nIt will take a string such as `\"sin(x+y^2)\"` and convert it to a python object that can be called\r\nthis allow the safe evaluation of equations stored in configuration files or enterned from the \r\nkeyboard. This Package never calls a python evaluation command hence their is no risk of executing\r\nany unexpected python code.\r\n\r\nThe Generated Expression Object is desgined to behave like a python function, and can be used any where\r\na python funcion is expected, it may be called with either positional or keyword arguments to set the\r\nEquations Variables, by default the order of the variables is as they appear in the equation, however\r\nan explicit order may be set when the Expression object is created.\r\n\r\nExample\r\n-------\r\n\r\n\t>>> from Equation import Expression\r\n\t>>> fn = Expression(\"sin(x+y^2)\",[\"y\",\"x\"])\r\n\t>>> fn\r\n\tsin((x + (y ^ (2+0j))))\r\n\t>>> print fn\r\n\t\\sin\\left(\\left(x + y^{(2+0j)}\\right)\\right)\r\n\t>>> fn(3,4)\r\n\t(0.42016703682664092+0j)\r\n\r\nNumpy Arrays Supported\r\n----------------------\r\n\r\nThe default function maping used by this package map the operators and functions to Numpy Functions, hence the generated object may be called with\r\nnumpy arrays.\r\n\r\nLatex Support\r\n-------------\r\n\r\nThe display string format i.e. str() is set to use Latex syntax allowing high quality equations to be rendered in output this syntax is supported by the grqaphing package matplotlib\r\n\r\n.. Note:: repr() method will return a string suitable for passing to Expression, however it is recalucated from the tokenized expression, and has all brackets.\r\n\r\nFuture Versions\r\n---------------\r\nGoals for future versions are:\r\n\r\n- Reduce repr() type respresentation to use only required brackets\r\n- Allow the use of function variable, rather than just predefined functions", "description_content_type": null, "docs_url": "https://pythonhosted.org/Equation/", "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/alphaomega-technology/Equation", "keywords": "", "license": "AlphaOmega Technology Open License Version 1.0 (http://www.alphaomega-technology.com.au/license/AOT-OL/1.0)", "maintainer": "", "maintainer_email": "", "name": "Equation", "package_url": "https://pypi.org/project/Equation/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/Equation/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/alphaomega-technology/Equation" }, "release_url": "https://pypi.org/project/Equation/1.2.01/", "requires_dist": null, "requires_python": null, "summary": "General Equation Parser and Evaluator", "version": "1.2.01" }, "last_serial": 1169818, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "ecaf7d99dfd48696e8dd5125f25374ec", "sha256": "251161290f36ca92d7aa686e9beea52bbd31569209ea01a3be08344b1261497d" }, "downloads": -1, "filename": "Equation-1.0-py2.7.egg", "has_sig": false, "md5_digest": "ecaf7d99dfd48696e8dd5125f25374ec", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 16080, "upload_time": "2014-04-11T03:14:38", "url": "https://files.pythonhosted.org/packages/10/74/28534e98589963924f97a01c95af5b960674dbfa7a07c3ffb64808195b7d/Equation-1.0-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "df592d961d3e6b9b74e5e31aaea5accf", "sha256": "c991103609442c86c010117dce648ab5c35c68e82a1b2a2d10879a10952aa4fe" }, "downloads": -1, "filename": "Equation-1.0.zip", "has_sig": false, "md5_digest": "df592d961d3e6b9b74e5e31aaea5accf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13474, "upload_time": "2014-04-21T06:49:33", "url": "https://files.pythonhosted.org/packages/cc/c9/cf06659797199b26e94f9f31c40c59ed60e6467fde854e01d891d41ecb3b/Equation-1.0.zip" } ], "1.1": [ { "comment_text": "", "digests": { "md5": "714fc3071e46df4e12eefde2e3cba39e", "sha256": "5d4ab563f84d8424a96a859e473f09b2281890249be4f1b04686b9682fe09c44" }, "downloads": -1, "filename": "Equation-1.1-py2.7.egg", "has_sig": false, "md5_digest": "714fc3071e46df4e12eefde2e3cba39e", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 32793, "upload_time": "2014-05-02T11:25:21", "url": "https://files.pythonhosted.org/packages/ad/5f/894f063bec7349ed656a13bc411f79dd05f889734764a2af5883ad0c30d5/Equation-1.1-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "1ae3419abb98aa7ed2bb6d02f1489244", "sha256": "9ebee20ab1968130cd57f76a6a3f7bd5d18725a1de4b689d499dba30e40891e5" }, "downloads": -1, "filename": "Equation-1.1.tar.gz", "has_sig": false, "md5_digest": "1ae3419abb98aa7ed2bb6d02f1489244", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16318, "upload_time": "2014-05-02T11:30:31", "url": "https://files.pythonhosted.org/packages/36/b9/af188494d2ac098064ee110d99c82dc41ca9c6d2f9d52b0eafdd19d33919/Equation-1.1.tar.gz" }, { "comment_text": "", "digests": { "md5": "ee8aa46cd2c2d4b31d42a8c47902e59c", "sha256": "da93a31dfb762aeb4aaf79864598dd86fa1f4ae8c84dac10770283ae47f513be" }, "downloads": -1, "filename": "Equation-1.1.zip", "has_sig": false, "md5_digest": "ee8aa46cd2c2d4b31d42a8c47902e59c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 23544, "upload_time": "2014-05-02T11:30:44", "url": "https://files.pythonhosted.org/packages/8d/b3/cd9c4a0f99efd1b315a2427a76ed60b3c4cd6201eea37b89d69cf2f1ee95/Equation-1.1.zip" } ], "1.1.01": [ { "comment_text": "", "digests": { "md5": "f1c2f66994f11f37313fd176d4b8b813", "sha256": "c51fcd820e270cb16929f590a36bed1e62c610f33695b1ff3180b3fbd86540bd" }, "downloads": -1, "filename": "Equation-1.1.01-py2.7.egg", "has_sig": false, "md5_digest": "f1c2f66994f11f37313fd176d4b8b813", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 32817, "upload_time": "2014-05-22T03:38:50", "url": "https://files.pythonhosted.org/packages/e5/ac/771cac56c89acc505d686f0068a298e63f36a10aa0d17ee3162ffab487d5/Equation-1.1.01-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "6f90ffaa6a97774c0b4c4fbae6b3ee94", "sha256": "c70fb7f84adfa1e5ceb6c5d3b7325dbf2033064b9846659680995a825f099879" }, "downloads": -1, "filename": "Equation-1.1.01.tar.gz", "has_sig": false, "md5_digest": "6f90ffaa6a97774c0b4c4fbae6b3ee94", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16276, "upload_time": "2014-05-22T03:39:17", "url": "https://files.pythonhosted.org/packages/c9/0a/92342e82a953a7c4b0e89f918d2598645a2b369aeb16f9428faf39782072/Equation-1.1.01.tar.gz" }, { "comment_text": "", "digests": { "md5": "1631dc53cbdda6808977bf30745f444a", "sha256": "a8b8c264b13a1093515fa82cf61bd961aeed47f6872da7296bef2c37eb2dc267" }, "downloads": -1, "filename": "Equation-1.1.01.zip", "has_sig": false, "md5_digest": "1631dc53cbdda6808977bf30745f444a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 23688, "upload_time": "2014-05-22T03:39:35", "url": "https://files.pythonhosted.org/packages/1d/4c/98e0f31ac6b31df176c182616d1b7cc50ce88b15613975fcb15af763e6f7/Equation-1.1.01.zip" } ], "1.2": [ { "comment_text": "", "digests": { "md5": "d1d82fff701e8027396c35a632c47d3e", "sha256": "ec56a5a025785e694a49d74f14b518781277413bde30c874bfbff3c520a9aba9" }, "downloads": -1, "filename": "Equation-1.2-py2.7.egg", "has_sig": false, "md5_digest": "d1d82fff701e8027396c35a632c47d3e", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 69969, "upload_time": "2014-07-07T03:36:54", "url": "https://files.pythonhosted.org/packages/30/a3/30b1b42432ba36d112b2fb35fe4d66ca10bc5653504430b102b9ecc88cba/Equation-1.2-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "40ef34c1ca4caa6e8509c9f3cc895dae", "sha256": "40c5b76a9163672a7e86fa1a477d1a00d305f19199a9a49af40bdc243bd1effa" }, "downloads": -1, "filename": "Equation-1.2.tar.gz", "has_sig": false, "md5_digest": "40ef34c1ca4caa6e8509c9f3cc895dae", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17719, "upload_time": "2014-07-07T03:36:50", "url": "https://files.pythonhosted.org/packages/9d/70/17c0cad06831c1c75863591af8550b3c0600f17785d7ba577dc0f82baa4f/Equation-1.2.tar.gz" }, { "comment_text": "", "digests": { "md5": "8a21484606c911860f81451c3db9dfbe", "sha256": "d61c78826acf4fd65b389dbac3b76671b5248ce9200e8ca9cc8d5b9f40e4671e" }, "downloads": -1, "filename": "Equation-1.2.win32.exe", "has_sig": false, "md5_digest": "8a21484606c911860f81451c3db9dfbe", "packagetype": "bdist_wininst", "python_version": "any", "requires_python": null, "size": 228260, "upload_time": "2014-07-07T03:36:59", "url": "https://files.pythonhosted.org/packages/1d/2c/8701fd233485fdda377ce7a41f7feb33a42ae657fe27783a77137024716e/Equation-1.2.win32.exe" }, { "comment_text": "", "digests": { "md5": "dc2f137af06459aa6972aae3d5378a92", "sha256": "ccd41aa85f3a2f6226ec2db8e255fed92eca91c3fe2a736cdf732abae4c91619" }, "downloads": -1, "filename": "Equation-1.2.zip", "has_sig": false, "md5_digest": "dc2f137af06459aa6972aae3d5378a92", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 25492, "upload_time": "2014-07-07T03:36:46", "url": "https://files.pythonhosted.org/packages/df/92/7a7d9af5f416d8dd78408ccb21d74f88dc9686146d1c1f9b85ae835e5774/Equation-1.2.zip" } ], "1.2.01": [ { "comment_text": "", "digests": { "md5": "05f5fe02b63bc4f49d6e485e3cf1fba5", "sha256": "8903160860fbef8b313a9d89ffff2cb4048a341f369b1c48086c4505eee7eb4d" }, "downloads": -1, "filename": "Equation-1.2.01-py2.7.egg", "has_sig": false, "md5_digest": "05f5fe02b63bc4f49d6e485e3cf1fba5", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 139460, "upload_time": "2014-07-07T03:58:50", "url": "https://files.pythonhosted.org/packages/87/55/1f695ef18a0f8192a92ba1555a583ca66defb3894354def95bfa24c4dfb9/Equation-1.2.01-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "5285f149d0de4e3f033acdb91421f348", "sha256": "c8a21dc47d6c748fd19b6485978cf8c42fe31c43db7f44789d95fb5e9752b81c" }, "downloads": -1, "filename": "Equation-1.2.01.tar.gz", "has_sig": false, "md5_digest": "5285f149d0de4e3f033acdb91421f348", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17742, "upload_time": "2014-07-07T03:58:47", "url": "https://files.pythonhosted.org/packages/fd/0d/ede829e7c0c457b651de2792cd19a739e4885477f59832da54d2cc7a1982/Equation-1.2.01.tar.gz" }, { "comment_text": "", "digests": { "md5": "e4c96f5071266e071666a6cf34614f58", "sha256": "e066d131244e612e760ee0227a57e57285a55c35ae896fecc4e8cb847935ec61" }, "downloads": -1, "filename": "Equation-1.2.01.win32.exe", "has_sig": false, "md5_digest": "e4c96f5071266e071666a6cf34614f58", "packagetype": "bdist_wininst", "python_version": "any", "requires_python": null, "size": 255822, "upload_time": "2014-07-07T03:58:56", "url": "https://files.pythonhosted.org/packages/d7/5d/650fdf8b75d01638a1fe5761669d321a83ee42dd5503bdc6b9c7cfb42169/Equation-1.2.01.win32.exe" }, { "comment_text": "", "digests": { "md5": "c3ce52393e287f67edc91c07954de151", "sha256": "1e8d55e771ac18f33fcef5bdb126e4079fd42ce744ae915cd03760aab158260c" }, "downloads": -1, "filename": "Equation-1.2.01.zip", "has_sig": false, "md5_digest": "c3ce52393e287f67edc91c07954de151", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 25649, "upload_time": "2014-07-07T03:58:44", "url": "https://files.pythonhosted.org/packages/2e/cc/115fb1722051f99b9699864586e7f96ca0080645387698af922fade4f7b2/Equation-1.2.01.zip" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "05f5fe02b63bc4f49d6e485e3cf1fba5", "sha256": "8903160860fbef8b313a9d89ffff2cb4048a341f369b1c48086c4505eee7eb4d" }, "downloads": -1, "filename": "Equation-1.2.01-py2.7.egg", "has_sig": false, "md5_digest": "05f5fe02b63bc4f49d6e485e3cf1fba5", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 139460, "upload_time": "2014-07-07T03:58:50", "url": "https://files.pythonhosted.org/packages/87/55/1f695ef18a0f8192a92ba1555a583ca66defb3894354def95bfa24c4dfb9/Equation-1.2.01-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "5285f149d0de4e3f033acdb91421f348", "sha256": "c8a21dc47d6c748fd19b6485978cf8c42fe31c43db7f44789d95fb5e9752b81c" }, "downloads": -1, "filename": "Equation-1.2.01.tar.gz", "has_sig": false, "md5_digest": "5285f149d0de4e3f033acdb91421f348", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17742, "upload_time": "2014-07-07T03:58:47", "url": "https://files.pythonhosted.org/packages/fd/0d/ede829e7c0c457b651de2792cd19a739e4885477f59832da54d2cc7a1982/Equation-1.2.01.tar.gz" }, { "comment_text": "", "digests": { "md5": "e4c96f5071266e071666a6cf34614f58", "sha256": "e066d131244e612e760ee0227a57e57285a55c35ae896fecc4e8cb847935ec61" }, "downloads": -1, "filename": "Equation-1.2.01.win32.exe", "has_sig": false, "md5_digest": "e4c96f5071266e071666a6cf34614f58", "packagetype": "bdist_wininst", "python_version": "any", "requires_python": null, "size": 255822, "upload_time": "2014-07-07T03:58:56", "url": "https://files.pythonhosted.org/packages/d7/5d/650fdf8b75d01638a1fe5761669d321a83ee42dd5503bdc6b9c7cfb42169/Equation-1.2.01.win32.exe" }, { "comment_text": "", "digests": { "md5": "c3ce52393e287f67edc91c07954de151", "sha256": "1e8d55e771ac18f33fcef5bdb126e4079fd42ce744ae915cd03760aab158260c" }, "downloads": -1, "filename": "Equation-1.2.01.zip", "has_sig": false, "md5_digest": "c3ce52393e287f67edc91c07954de151", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 25649, "upload_time": "2014-07-07T03:58:44", "url": "https://files.pythonhosted.org/packages/2e/cc/115fb1722051f99b9699864586e7f96ca0080645387698af922fade4f7b2/Equation-1.2.01.zip" } ] }