cos202finalbycharawi
====================
cos202finalbycharawi is a Python library for dealing with points and
vectors.
Installation
------------
Use the package manager `pip <https://pip.pypa.io/en/stable/>`__ to
install cos202finalbycharawi.
.. code:: bash
pip install cos202finalbycharawi
Usage
-----
.. code:: python
from cos202finalbycharawi import Vector
v1 = Vector(1,2)
v2 = Vector(3,4)
print(v1)
print(v2)
v1.euclideandistance(v2)
print(v1.lenght())
print(v1.unit())
print(v1.dotproduct(v2))
#print(v1.crossproduct(v2))
print(v1+v2)
print(v1-v2)
print(v1*v2)
print(v1/v2)
Contributing
------------
Pull requests are welcome. For major changes, please open an issue first
to discuss what you would like to change.
Please make sure to update tests as appropriate.
Author
------
Charawi Detphumi
License
-------
`MIT <https://choosealicense.com/licenses/mit/>`__
Raw data
{
"_id": null,
"home_page": "https://github.com/ShabiiPam/cos202finalbycharawi",
"name": "cos202finalbycharawi",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "Point,Mathematics,Vector,Charawi",
"author": "Charawi Detphumi",
"author_email": "partgirlcharawi@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/c1/10/153c90cf003508173817b2962975bb7dc60543aaa8d55d2d35f6b7e9ba1b/cos202finalbycharawi-0.0.2.tar.gz",
"platform": null,
"description": "cos202finalbycharawi\r\n====================\r\n\r\ncos202finalbycharawi is a Python library for dealing with points and\r\nvectors.\r\n\r\nInstallation\r\n------------\r\n\r\nUse the package manager `pip <https://pip.pypa.io/en/stable/>`__ to\r\ninstall cos202finalbycharawi.\r\n\r\n.. code:: bash\r\n\r\n pip install cos202finalbycharawi\r\n\r\nUsage\r\n-----\r\n\r\n.. code:: python\r\n\r\n from cos202finalbycharawi import Vector\r\n\r\n v1 = Vector(1,2)\r\n v2 = Vector(3,4)\r\n print(v1)\r\n print(v2)\r\n v1.euclideandistance(v2)\r\n print(v1.lenght())\r\n print(v1.unit())\r\n print(v1.dotproduct(v2))\r\n #print(v1.crossproduct(v2))\r\n print(v1+v2)\r\n print(v1-v2)\r\n print(v1*v2)\r\n print(v1/v2)\r\n\r\nContributing\r\n------------\r\n\r\nPull requests are welcome. For major changes, please open an issue first\r\nto discuss what you would like to change.\r\n\r\nPlease make sure to update tests as appropriate.\r\n\r\nAuthor\r\n------\r\n\r\nCharawi Detphumi\r\n\r\nLicense\r\n-------\r\n\r\n`MIT <https://choosealicense.com/licenses/mit/>`__\r\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "vectors and points by Charawi Detphumi",
"version": "0.0.2",
"split_keywords": [
"point",
"mathematics",
"vector",
"charawi"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "c110153c90cf003508173817b2962975bb7dc60543aaa8d55d2d35f6b7e9ba1b",
"md5": "c7bb6881af5a3c8b672e4be8e3165894",
"sha256": "72f03d1f0168579d8e20742ae12902594d8f7f0e1ebf034cd3e29034e03da99f"
},
"downloads": -1,
"filename": "cos202finalbycharawi-0.0.2.tar.gz",
"has_sig": false,
"md5_digest": "c7bb6881af5a3c8b672e4be8e3165894",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 3540,
"upload_time": "2023-03-31T11:06:24",
"upload_time_iso_8601": "2023-03-31T11:06:24.119022Z",
"url": "https://files.pythonhosted.org/packages/c1/10/153c90cf003508173817b2962975bb7dc60543aaa8d55d2d35f6b7e9ba1b/cos202finalbycharawi-0.0.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-03-31 11:06:24",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "ShabiiPam",
"github_project": "cos202finalbycharawi",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "cos202finalbycharawi"
}