# SimpleVectors
Very easy to use module which provides functions to add vectors using their magnitude and direction (angle) w.r.t x-axis.
All the vectors which will be added are assumed to be passing through the same line
# Usage Example
```python
from simplevectors import simplevector, addvectors
#Create vectors using their magnitude and their angle w.r.t x axis in degrees
vector1 = simplevector(10, 0)
vector2 = simplevector(10, 90)
resultant_vector = addvectors(vector1, vector2)
print("Resultant Vector Magnitude: {}, Direction: {}".format(resultant_vector.magnitude, resultant_vector.direction))
```
Raw data
{
"_id": null,
"home_page": "",
"name": "SimpleVectors",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "python,Vectors,vectors,simple vectors",
"author": "Jonathan Ghodke",
"author_email": "Jonathanghodke@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/ba/c9/e45fb962b9914ab64d2bc13e3fcd6fe58d3b7e18ec6327aa2cd5b94f8c3c/SimpleVectors-0.0.5.tar.gz",
"platform": null,
"description": "# SimpleVectors\r\n\r\nVery easy to use module which provides functions to add vectors using their magnitude and direction (angle) w.r.t x-axis. \r\nAll the vectors which will be added are assumed to be passing through the same line\r\n\r\n\r\n\r\n# Usage Example\r\n\r\n\r\n```python\r\n from simplevectors import simplevector, addvectors\r\n\r\n #Create vectors using their magnitude and their angle w.r.t x axis in degrees\r\n vector1 = simplevector(10, 0)\r\n vector2 = simplevector(10, 90)\r\n\r\n resultant_vector = addvectors(vector1, vector2)\r\n\r\n print(\"Resultant Vector Magnitude: {}, Direction: {}\".format(resultant_vector.magnitude, resultant_vector.direction))\r\n```\r\n\r\n",
"bugtrack_url": null,
"license": "",
"summary": "Python Package for playing with Simple Vectors passing through a point",
"version": "0.0.5",
"project_urls": null,
"split_keywords": [
"python",
"vectors",
"vectors",
"simple vectors"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "6862bf8a78cde47ea3be6b56e0625e4b654a74d64d58c59543f4da231206c904",
"md5": "0fbc1558cf1628580a8276b9991d2350",
"sha256": "0358546573427feaeb94996c0c889e70501e8c1a1c85471a49887af9f4ba7269"
},
"downloads": -1,
"filename": "SimpleVectors-0.0.5-py3-none-any.whl",
"has_sig": false,
"md5_digest": "0fbc1558cf1628580a8276b9991d2350",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 2981,
"upload_time": "2023-06-24T17:56:41",
"upload_time_iso_8601": "2023-06-24T17:56:41.715810Z",
"url": "https://files.pythonhosted.org/packages/68/62/bf8a78cde47ea3be6b56e0625e4b654a74d64d58c59543f4da231206c904/SimpleVectors-0.0.5-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "bac9e45fb962b9914ab64d2bc13e3fcd6fe58d3b7e18ec6327aa2cd5b94f8c3c",
"md5": "c852b069115a7a2697530c95651369c7",
"sha256": "98de0b34ca18de96bbff3489e8638d01a941878457efda2b163df2cac24e7509"
},
"downloads": -1,
"filename": "SimpleVectors-0.0.5.tar.gz",
"has_sig": false,
"md5_digest": "c852b069115a7a2697530c95651369c7",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 2559,
"upload_time": "2023-06-24T17:56:43",
"upload_time_iso_8601": "2023-06-24T17:56:43.238442Z",
"url": "https://files.pythonhosted.org/packages/ba/c9/e45fb962b9914ab64d2bc13e3fcd6fe58d3b7e18ec6327aa2cd5b94f8c3c/SimpleVectors-0.0.5.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-06-24 17:56:43",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "simplevectors"
}