{ "info": { "author": "Paul Nel", "author_email": "gpaul.nel@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "# threedvector Package\n\nthreedvector is a package providing common methods for working with 3D vectors in both Spherical and Cartesian coordinates.\n\nVectors are stored in Spherical format but can be created in both Spherical and Cartesian formats.\n\n## Methods\n\n### _copy(other)_\nReturns a `Vector` object representing a copy of `other`\n\n## Instance Methods\n\n### ___init__(radius_x=0, theta_y=0, phi_z=0, coords=\"spherical\")_\nDefault Vector creation is in the Spherical coordinate system where `coords` is set to \"spherical\". `radius_x` represents the length of the vector, `theta_y` the polar angle, theta and `phi_z` the azimuthal angle, phi. \n\nA Vector can be created using Cartesian coordinates with `coords` set to \"cartesian\" instead of \"spherical\". In this case `radius_x` represents the `x` coordinate, `theta_y` the `y` coordinate and `phi_z` the `z` coordinate.\n\n### _cartesian()_\nReturns a `list` in the form of `[x, y, z]` representing the corresponding Cartesian coordinates of a vector.\n\n### _is_same(s_vector)_\nCompares the length as well as angles theta and phi of vector with `s_vector` to determine equality. This is different to '=' which only checks for equality of the vector length.\n\n### _dot(s_vector)_\nReturns a `float` as the resultant dot product of a vector with `s_vector`.\n\n### _cross(s_vector)_\nReturns the `Vector` object resulting from the cross product of a vector with `s_vector`.\n\n### _angle(s_vector)_\nReturns a `float` as the in-plane angle in degrees between a vector and `s_vector`.\n\n### _unit()_\nReturns a `Vector` object as the corresponding unit vector of a vector.\n\n### _magnitude()_\nReturns a `float` as the length of a vector\n\n### _theta()_\nReturns a `float` as the polar angle theta of a vector in degrees\n\n### _phi()_\nReturns a `float` as the azimuthal angle phi of a vector in degrees\n\n### _set_magnitude(magnitude)_\nSets the length of a vector to `magnitude` \n\n### _set_theta(theta)_\nSets the polar angle, theta, of a vector to `theta` in degrees\n\n### _set_phi(phi)_\nSets the azimuthal angle, phi, of a vector to `phi` in degrees\n\n\n### _addition_ and _subtraction_\nReturns resulting `Vector` object. Normal addition and subtraction are done through Cartesian addition and subtraction operations.\n\n### _multiplication_\nMultiplication is implemented as scalar multiplication only. For dot and cross products, the corresponding methods should be used.\n\n### _comparison_\nAll comparison operators return comparison with length of vectors only.\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://gitlab.com/gpaul.nel/threedvector", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "threedvector", "package_url": "https://pypi.org/project/threedvector/", "platform": "", "project_url": "https://pypi.org/project/threedvector/", "project_urls": { "Homepage": "https://gitlab.com/gpaul.nel/threedvector" }, "release_url": "https://pypi.org/project/threedvector/0.3.3/", "requires_dist": null, "requires_python": "", "summary": "A package to work with 3D vectors in Spherical and Cartesian coordinates.", "version": "0.3.3" }, "last_serial": 4659159, "releases": { "0.0.7": [ { "comment_text": "", "digests": { "md5": "c76ef23859906a30026ae1ffd98c86d4", "sha256": "32a6274a019005ae43e792b09dc0b417e7c6d107bc30baf5593d46278b640bab" }, "downloads": -1, "filename": "threedvector-0.0.7-py3-none-any.whl", "has_sig": false, "md5_digest": "c76ef23859906a30026ae1ffd98c86d4", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4128, "upload_time": "2018-12-31T06:18:43", "url": "https://files.pythonhosted.org/packages/6a/3c/d2f0072c2e4b5d16af10273381ca097c8d56c950ff70577a3ae8e0878021/threedvector-0.0.7-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "3a38d8161eac874e751890424de64d6e", "sha256": "89a1e070554767a3117e870ccaf54de82d2216ac5b27474210ec7334c30e4b16" }, "downloads": -1, "filename": "threedvector-0.0.7.tar.gz", "has_sig": false, "md5_digest": "3a38d8161eac874e751890424de64d6e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2885, "upload_time": "2018-12-31T06:18:44", "url": "https://files.pythonhosted.org/packages/0d/7d/b5fe68779b624623ed43e019e913ff6cb4047bfcde66be0979a03346ba56/threedvector-0.0.7.tar.gz" } ], "0.0.8": [ { "comment_text": "", "digests": { "md5": "8e25113582407ef88bdcf627e3a6f4da", "sha256": "5d6bc45dc9aeccc7237650bdd219cb32706716837fcf8cf37e5674031e0a1870" }, "downloads": -1, "filename": "threedvector-0.0.8-py3-none-any.whl", "has_sig": false, "md5_digest": "8e25113582407ef88bdcf627e3a6f4da", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4289, "upload_time": "2018-12-31T06:36:15", "url": "https://files.pythonhosted.org/packages/92/7f/3987b248195edfb5b9d855937645eb8d080aa52ece8b79d12c7de61763e6/threedvector-0.0.8-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "92306e4b5c70672916a70aff693e3af1", "sha256": "32ab4fb9eee53ccd8cada458b2eefbf6375dc6ea50ad85714031f3db461333ad" }, "downloads": -1, "filename": "threedvector-0.0.8.tar.gz", "has_sig": false, "md5_digest": "92306e4b5c70672916a70aff693e3af1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3028, "upload_time": "2018-12-31T06:36:17", "url": "https://files.pythonhosted.org/packages/bb/1a/a62b6d2abd2a3ee576bbd2a7501423f18536b3800234bfc79a780be38395/threedvector-0.0.8.tar.gz" } ], "0.0.9": [ { "comment_text": "", "digests": { "md5": "45f45b04cb48611e58bc459f23f6735d", "sha256": "126b38b47c81a648a9484013429552b14348cb5c6058d1339e807f60947ec8e0" }, "downloads": -1, "filename": "threedvector-0.0.9-py3-none-any.whl", "has_sig": false, "md5_digest": "45f45b04cb48611e58bc459f23f6735d", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4342, "upload_time": "2018-12-31T15:13:11", "url": "https://files.pythonhosted.org/packages/3f/01/9d9945e217e2fb7271d9299c26ea0b0472e95eb2a1e4d252777397eebdb5/threedvector-0.0.9-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b9b6ba9c35cfd000b7543603e2e8a096", "sha256": "a3308f9cbb68117be6eac74db3ab3d08cc0e76612e9c1b8fd979755c0f4ee414" }, "downloads": -1, "filename": "threedvector-0.0.9.tar.gz", "has_sig": false, "md5_digest": "b9b6ba9c35cfd000b7543603e2e8a096", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3087, "upload_time": "2018-12-31T15:13:12", "url": "https://files.pythonhosted.org/packages/0c/2a/9af2ac2049cfd3cb8739e9d323ce3aec665a40be03819f1d4d4b7800f098/threedvector-0.0.9.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "f9fd982b3070d96c14784e1bee7a3000", "sha256": "13f5607b8b0553d66814d53851f656edbf392134c87b94f527510c5477d1c204" }, "downloads": -1, "filename": "threedvector-0.2.0-py3-none-any.whl", "has_sig": false, "md5_digest": "f9fd982b3070d96c14784e1bee7a3000", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4772, "upload_time": "2019-01-01T09:51:28", "url": "https://files.pythonhosted.org/packages/8e/88/e5bf57dcea5af95811e135f26b86da3b59b74846bd091adc1d62854ce915/threedvector-0.2.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "2369f9cfeea7b1935b0b1b09612a028a", "sha256": "e1a481148fb5c6b4a03e768705ee09c9e42222a41da57ec5df809e0bf8f48515" }, "downloads": -1, "filename": "threedvector-0.2.0.tar.gz", "has_sig": false, "md5_digest": "2369f9cfeea7b1935b0b1b09612a028a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3421, "upload_time": "2019-01-01T09:51:31", "url": "https://files.pythonhosted.org/packages/a2/5a/e4a2470813a3e0365a21d65f11d64940a6d538de39e1618cbf390378b1ce/threedvector-0.2.0.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "df5cbe34d2d71fa9b84f8611f4a4e3a8", "sha256": "6de875b880bd71e2f56d7a2f1808df8450011a145aea0b1dbe083aea914a7002" }, "downloads": -1, "filename": "threedvector-0.2.1-py3-none-any.whl", "has_sig": false, "md5_digest": "df5cbe34d2d71fa9b84f8611f4a4e3a8", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4843, "upload_time": "2019-01-01T16:44:40", "url": "https://files.pythonhosted.org/packages/16/46/6e2a0b901d48fbb2b5e588aae67dfa50dbb79032375d4cb3b842352422fe/threedvector-0.2.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d73d29885ab988e9fc61df47505fdd40", "sha256": "2d59ec853b81af0691d8b04ee70c73ef282442fd1a959872a2c00d1faaebd985" }, "downloads": -1, "filename": "threedvector-0.2.1.tar.gz", "has_sig": false, "md5_digest": "d73d29885ab988e9fc61df47505fdd40", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3491, "upload_time": "2019-01-01T16:44:41", "url": "https://files.pythonhosted.org/packages/98/ec/ef0cef780bb30891d22cc66295ac44f36232dfcce0c4c334118d6dc42509/threedvector-0.2.1.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "f30de01ab23b6675546e907829eacaff", "sha256": "0ee37433cc62d3bf29f8108e5b6e5e995f1ebbb95ad1d23417da4a30d805a381" }, "downloads": -1, "filename": "threedvector-0.3.0-py3-none-any.whl", "has_sig": false, "md5_digest": "f30de01ab23b6675546e907829eacaff", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4958, "upload_time": "2019-01-03T08:34:22", "url": "https://files.pythonhosted.org/packages/13/f5/1c113ea65b7df191674089b83a265264eab7a613e00d40cd30fbce369ad5/threedvector-0.3.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "177b996c5c36876f8aade6688ae3b611", "sha256": "0879d0bcc5f6a37b70ce7acf449f6a39b39c1cf559a6d3ab9cba9e72cfa2300d" }, "downloads": -1, "filename": "threedvector-0.3.0.tar.gz", "has_sig": false, "md5_digest": "177b996c5c36876f8aade6688ae3b611", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3612, "upload_time": "2019-01-03T08:34:24", "url": "https://files.pythonhosted.org/packages/d7/fc/98ea61cefe5cfbd9f3631bf84a80c843ba40f6bbb6569ef3fe7d3cdc1a42/threedvector-0.3.0.tar.gz" } ], "0.3.1": [ { "comment_text": "", "digests": { "md5": "f600aadd9fff470be1a2939005342857", "sha256": "70fdc34d085ff974ba99462f55d917a79912658628816ee7281ac887219af41a" }, "downloads": -1, "filename": "threedvector-0.3.1-py3-none-any.whl", "has_sig": false, "md5_digest": "f600aadd9fff470be1a2939005342857", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5037, "upload_time": "2019-01-03T08:39:18", "url": "https://files.pythonhosted.org/packages/05/b9/aa79825991dd42d4f165163133cf5805a3d0b7a6f600aee90e5944cfad20/threedvector-0.3.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "faa0529a72ed24ce60f9b4782675b6e0", "sha256": "f2495187f38f03fe53c2aefda6338e89524bc4e6b54f8db1556d0433c36990e6" }, "downloads": -1, "filename": "threedvector-0.3.1.tar.gz", "has_sig": false, "md5_digest": "faa0529a72ed24ce60f9b4782675b6e0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3704, "upload_time": "2019-01-03T08:39:20", "url": "https://files.pythonhosted.org/packages/9f/a0/25205546433fa9b0fd159d3e4238ae7c3e5f80589eb445c05cbdbcbc4098/threedvector-0.3.1.tar.gz" } ], "0.3.2": [ { "comment_text": "", "digests": { "md5": "bf2a4f51f0b473dc95639ac59440d593", "sha256": "82b62bcfd76cadc4d42e676a9ba3cea0c3ee01d7472eda6944356e31ca460585" }, "downloads": -1, "filename": "threedvector-0.3.2-py3-none-any.whl", "has_sig": false, "md5_digest": "bf2a4f51f0b473dc95639ac59440d593", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5033, "upload_time": "2019-01-03T08:41:03", "url": "https://files.pythonhosted.org/packages/66/94/92a4bf2dd042f9c16028de6acf99ddfb878846b8dca5f465d694730081cb/threedvector-0.3.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d6f2e7e06942e46061c0c1cc57518733", "sha256": "3bf586f64ecbc19b79d51008050072b4578998b653df8c7a10b0dba27a082764" }, "downloads": -1, "filename": "threedvector-0.3.2.tar.gz", "has_sig": false, "md5_digest": "d6f2e7e06942e46061c0c1cc57518733", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3700, "upload_time": "2019-01-03T08:41:05", "url": "https://files.pythonhosted.org/packages/12/d2/1f0b6cfd3110508df906c9b018ab6577bbd5e972a72365cf3d071dcd67f6/threedvector-0.3.2.tar.gz" } ], "0.3.3": [ { "comment_text": "", "digests": { "md5": "8f92ac92ac6d8dd1e041cd8b812b0b1f", "sha256": "1f4effd6391e139d75e9baeb63244ee1aab7670f25da25884c0de36c8fdb0eee" }, "downloads": -1, "filename": "threedvector-0.3.3-py3-none-any.whl", "has_sig": false, "md5_digest": "8f92ac92ac6d8dd1e041cd8b812b0b1f", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5078, "upload_time": "2019-01-04T06:47:06", "url": "https://files.pythonhosted.org/packages/f2/69/2e2f5f8fd7a09362388c3b873354b2a332c55cf5cb6e63da536d792102f4/threedvector-0.3.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "54ddd6b5a58213118273b517b0b6598f", "sha256": "6975d3459340a125b7cc40fc7d98de22cdd000c836f9896e9170ce71e58fd0a3" }, "downloads": -1, "filename": "threedvector-0.3.3.tar.gz", "has_sig": false, "md5_digest": "54ddd6b5a58213118273b517b0b6598f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3754, "upload_time": "2019-01-04T06:47:08", "url": "https://files.pythonhosted.org/packages/20/9f/2b79093eb5410b347584dd22f59b725cfe1b6e4297587f6a77941b94eafd/threedvector-0.3.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "8f92ac92ac6d8dd1e041cd8b812b0b1f", "sha256": "1f4effd6391e139d75e9baeb63244ee1aab7670f25da25884c0de36c8fdb0eee" }, "downloads": -1, "filename": "threedvector-0.3.3-py3-none-any.whl", "has_sig": false, "md5_digest": "8f92ac92ac6d8dd1e041cd8b812b0b1f", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5078, "upload_time": "2019-01-04T06:47:06", "url": "https://files.pythonhosted.org/packages/f2/69/2e2f5f8fd7a09362388c3b873354b2a332c55cf5cb6e63da536d792102f4/threedvector-0.3.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "54ddd6b5a58213118273b517b0b6598f", "sha256": "6975d3459340a125b7cc40fc7d98de22cdd000c836f9896e9170ce71e58fd0a3" }, "downloads": -1, "filename": "threedvector-0.3.3.tar.gz", "has_sig": false, "md5_digest": "54ddd6b5a58213118273b517b0b6598f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3754, "upload_time": "2019-01-04T06:47:08", "url": "https://files.pythonhosted.org/packages/20/9f/2b79093eb5410b347584dd22f59b725cfe1b6e4297587f6a77941b94eafd/threedvector-0.3.3.tar.gz" } ] }