# Simple GeometryLibpy #
## What is this? ##
Python lib that allows to calculate area of geometric figures
----------
## Using ##
Using the library is as simple and convenient as possible:
Let's import it first:
First, import everything from the library (use the `from `...` import *` construct).
Examples of all operations:
### Triangle ###
Create a triangle and get it area:
triangle = Triangle([15, 9, 7])
area = triangle.get_area()
print(area)
Resize the triangle and get updated area:
triangle.update_sides([5, 6, 7])
area = triangle.get_area()
print(area)
### Circumference ###
Create a circumference and get area:
circle = Circumference(5)
area = circle.get_area()
print(area)
Update radius of the circumference and get new area:
circle.update_radius(4)
area = circle.get_area()
print(area)
----------
## UnitTest ##
Run in terminal in root directory:
cd GeometryLibPy
python -m unittest -v testLib
----------
## Developer ##
My GitHub: [**_Link_**](https://github.com/mav735)
Raw data
{
"_id": null,
"home_page": "https://github.com/mav735/GeometryLibPy",
"name": "geometryLibPy",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": null,
"keywords": "math geometry figures area",
"author": "mav735",
"author_email": "mav735@ya.ru",
"download_url": "https://files.pythonhosted.org/packages/62/7b/d610aa03b5d38e795b1712536e66379570dc55a87fac5b97914c7bdf0aa6/geometrylibpy-1.0.0.tar.gz",
"platform": null,
"description": "# Simple GeometryLibpy #\r\n\r\n## What is this? ##\r\nPython lib that allows to calculate area of geometric figures\r\n\r\n----------\r\n\r\n## Using ##\r\n\r\nUsing the library is as simple and convenient as possible:\r\n\r\nLet's import it first:\r\nFirst, import everything from the library (use the `from `...` import *` construct).\r\n\r\nExamples of all operations:\r\n\r\n### Triangle ###\r\n\r\nCreate a triangle and get it area:\r\n\r\n triangle = Triangle([15, 9, 7])\r\n area = triangle.get_area()\r\n print(area)\r\n\r\n\r\nResize the triangle and get updated area:\r\n\r\n triangle.update_sides([5, 6, 7])\r\n area = triangle.get_area()\r\n print(area)\r\n\r\n### Circumference ###\r\nCreate a circumference and get area:\r\n\r\n circle = Circumference(5)\r\n area = circle.get_area()\r\n print(area)\r\n\r\n\r\nUpdate radius of the circumference and get new area:\r\n\r\n circle.update_radius(4)\r\n area = circle.get_area()\r\n print(area)\r\n----------\r\n\r\n\r\n## UnitTest ##\r\n\r\nRun in terminal in root directory:\r\n \r\n cd GeometryLibPy\r\n python -m unittest -v testLib \r\n \r\n\r\n----------\r\n\r\n## Developer ##\r\nMy GitHub: [**_Link_**](https://github.com/mav735) \r\n",
"bugtrack_url": null,
"license": null,
"summary": "This is the simplest module for calculating the area of a geometric figures.",
"version": "1.0.0",
"project_urls": {
"GitHub": "https://github.com/mav735/GeometryLibPy",
"Homepage": "https://github.com/mav735/GeometryLibPy"
},
"split_keywords": [
"math",
"geometry",
"figures",
"area"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "eb73804efc29202e49a21a28f87afaee8011f6399d39ea1ddde03c5eb64eed64",
"md5": "2c7f14b308f6c282a5b93e79f61f9f38",
"sha256": "a4aa8770842dd06276c1493abff8d40fd4114fbde94a13014168e3681e38ff14"
},
"downloads": -1,
"filename": "geometryLibPy-1.0.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "2c7f14b308f6c282a5b93e79f61f9f38",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 2733,
"upload_time": "2024-07-21T00:15:18",
"upload_time_iso_8601": "2024-07-21T00:15:18.664435Z",
"url": "https://files.pythonhosted.org/packages/eb/73/804efc29202e49a21a28f87afaee8011f6399d39ea1ddde03c5eb64eed64/geometryLibPy-1.0.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "627bd610aa03b5d38e795b1712536e66379570dc55a87fac5b97914c7bdf0aa6",
"md5": "1dfe3a8d513e9498bac7999e7f92a576",
"sha256": "dc1cd985d66b0829aee35fe41d1e6d11118dbb5b9a92c67a3d44f3fb35595661"
},
"downloads": -1,
"filename": "geometrylibpy-1.0.0.tar.gz",
"has_sig": false,
"md5_digest": "1dfe3a8d513e9498bac7999e7f92a576",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 2347,
"upload_time": "2024-07-21T00:15:20",
"upload_time_iso_8601": "2024-07-21T00:15:20.464803Z",
"url": "https://files.pythonhosted.org/packages/62/7b/d610aa03b5d38e795b1712536e66379570dc55a87fac5b97914c7bdf0aa6/geometrylibpy-1.0.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-07-21 00:15:20",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "mav735",
"github_project": "GeometryLibPy",
"github_not_found": true,
"lcname": "geometrylibpy"
}