{ "info": { "author": "Kevin Walchko", "author_email": "walchko@users.noreply.github.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "License :: OSI Approved :: MIT License", "Operating System :: MacOS :: MacOS X", "Operating System :: POSIX", "Operating System :: POSIX :: Linux", "Operating System :: Unix", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.6", "Topic :: Scientific/Engineering", "Topic :: Scientific/Engineering :: Artificial Intelligence", "Topic :: Scientific/Engineering :: Image Recognition", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "# Simple Quaternions (`squaternion`)\n\nGenerally I don't need all of the capabilities (or complexity) of `quaternion`\nmath libraries. Basically I just need a way to convert between Euler and\nQuaternion representations and have a nice way to print them out.\n\n## Install\n\n pip install squaternion\n\n## Usage\n\nThis is all this library does, convert between Euler angles and Quaternions.\nThere are other libraries that do so much more ... but I don't need all of that.\n\n```python\nfrom squaternion import euler2quat, quat2euler, Quaternion\n\n# if you know the values you want Quaternion(w, x, y, z), note this is a\n# namedtuple so it is immutable once created\nq = Quaternion(1,0,0,0)\n\n# however you typically don't think in 4 dimensions, so create from\n# euler angles euler2quat(roll, pitch, yaw), default is radians, but set\n# degrees true if giving degrees\nq = euler2quat(0, -90, 100, degrees=True)\n\n# can get the euler angles back out in degrees (set to True)\ne = quat2euler(*q, degrees=True)\n```\n\n## References\n\n- [Wikipedia Convert Between Quaternions and Euler Angles](https://en.wikipedia.org/wiki/Conversion_between_quaternions_and_Euler_angles)\n- [Wikipedia Euler Angle Definitions](https://en.wikipedia.org/wiki/Euler_angles#Conventions_2)\n- [Wikipedia Gimbal Lock](https://en.wikipedia.org/wiki/Gimbal_lock)\n\n# MIT License\n\nCopyright (c) 2018 Kevin Walchko\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\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/MomsFriendlyRobotCompany/squaternion", "keywords": "rotations,quaternion,euler", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "squaternion", "package_url": "https://pypi.org/project/squaternion/", "platform": "", "project_url": "https://pypi.org/project/squaternion/", "project_urls": { "Homepage": "https://github.com/MomsFriendlyRobotCompany/squaternion" }, "release_url": "https://pypi.org/project/squaternion/0.1.0/", "requires_dist": [ "build-utils" ], "requires_python": "", "summary": "Some simple functions for quaternion math", "version": "0.1.0" }, "last_serial": 4056026, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "42b5a1c822e5ac62a7a9a43c37432087", "sha256": "fca1b6bd5f5b8e48c10f64936f63d47b556e7eff7e50d9835e10fb6ed66d30cd" }, "downloads": -1, "filename": "squaternion-0.0.1-py2-none-any.whl", "has_sig": false, "md5_digest": "42b5a1c822e5ac62a7a9a43c37432087", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 3154, "upload_time": "2018-07-12T21:38:20", "url": "https://files.pythonhosted.org/packages/e5/0c/4c3afa15443fb81efb18466164cde0dfa702844fd53da17d9a81b5f58aa6/squaternion-0.0.1-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "5d1bb65481c41a0baeb34739eff2b56b", "sha256": "168f886bac168b6dfcdbf4d75b469f696f968397dc4ea561d212e3f53285f71a" }, "downloads": -1, "filename": "squaternion-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "5d1bb65481c41a0baeb34739eff2b56b", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3155, "upload_time": "2018-07-12T21:38:20", "url": "https://files.pythonhosted.org/packages/41/7d/517f8a91d7d511a2c92754a77c94d8b51bda309363518248bc7da7d0e889/squaternion-0.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "26a529cd2c90f7e2373e2ac0d63a1be9", "sha256": "99948c881bea46fcebd0fa353bd37b7c7f759ec2a37a5d943d4f2ddd20e23673" }, "downloads": -1, "filename": "squaternion-0.0.1.tar.gz", "has_sig": false, "md5_digest": "26a529cd2c90f7e2373e2ac0d63a1be9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2926, "upload_time": "2018-07-12T21:38:21", "url": "https://files.pythonhosted.org/packages/b6/c0/676edfc79d963ca1f1293d8b89a80ca13d5dea75839aa3fdd0c538cc765d/squaternion-0.0.1.tar.gz" } ], "0.1.0": [ { "comment_text": "", "digests": { "md5": "cd8392c01d6c2d36307d64ca0f6b2621", "sha256": "e408b4c246ac4a4dec9957728c49ae117dd2cbf19ac554596f4c1e01abf85a79" }, "downloads": -1, "filename": "squaternion-0.1.0-py2-none-any.whl", "has_sig": false, "md5_digest": "cd8392c01d6c2d36307d64ca0f6b2621", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 3743, "upload_time": "2018-07-12T22:06:08", "url": "https://files.pythonhosted.org/packages/b3/4e/432f4b071939871be4f2b6be6f0c08d9d5de971e452a28c0200ececd8f73/squaternion-0.1.0-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "8e90421231140a206c8d1551b194cccf", "sha256": "db8f798fa5e8924510a76b7ae94cf755945ef0f65c3077756e63ca1a0c90429b" }, "downloads": -1, "filename": "squaternion-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "8e90421231140a206c8d1551b194cccf", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3742, "upload_time": "2018-07-12T22:06:09", "url": "https://files.pythonhosted.org/packages/d2/16/5af544ef3ad23d9d28e9e0552b04a95ad946508da9a999a9a21314b9c666/squaternion-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "9d86154959ca09452ecff1521b4a50a5", "sha256": "9f4eeedb1a4bb4a5b8527f8394246b00247ff45685387ed179379846a29d1f51" }, "downloads": -1, "filename": "squaternion-0.1.0.tar.gz", "has_sig": false, "md5_digest": "9d86154959ca09452ecff1521b4a50a5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3366, "upload_time": "2018-07-12T22:06:10", "url": "https://files.pythonhosted.org/packages/db/4b/0cebcfd3b9e02216e7c7e759de6f80ed903d6b0408ed592100202c49550b/squaternion-0.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "cd8392c01d6c2d36307d64ca0f6b2621", "sha256": "e408b4c246ac4a4dec9957728c49ae117dd2cbf19ac554596f4c1e01abf85a79" }, "downloads": -1, "filename": "squaternion-0.1.0-py2-none-any.whl", "has_sig": false, "md5_digest": "cd8392c01d6c2d36307d64ca0f6b2621", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 3743, "upload_time": "2018-07-12T22:06:08", "url": "https://files.pythonhosted.org/packages/b3/4e/432f4b071939871be4f2b6be6f0c08d9d5de971e452a28c0200ececd8f73/squaternion-0.1.0-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "8e90421231140a206c8d1551b194cccf", "sha256": "db8f798fa5e8924510a76b7ae94cf755945ef0f65c3077756e63ca1a0c90429b" }, "downloads": -1, "filename": "squaternion-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "8e90421231140a206c8d1551b194cccf", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3742, "upload_time": "2018-07-12T22:06:09", "url": "https://files.pythonhosted.org/packages/d2/16/5af544ef3ad23d9d28e9e0552b04a95ad946508da9a999a9a21314b9c666/squaternion-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "9d86154959ca09452ecff1521b4a50a5", "sha256": "9f4eeedb1a4bb4a5b8527f8394246b00247ff45685387ed179379846a29d1f51" }, "downloads": -1, "filename": "squaternion-0.1.0.tar.gz", "has_sig": false, "md5_digest": "9d86154959ca09452ecff1521b4a50a5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3366, "upload_time": "2018-07-12T22:06:10", "url": "https://files.pythonhosted.org/packages/db/4b/0cebcfd3b9e02216e7c7e759de6f80ed903d6b0408ed592100202c49550b/squaternion-0.1.0.tar.gz" } ] }