# SquareCalcLib
## A project to confirm knowledge on the platform hh.ru
### Date: 08.03.2024
A project to confirm knowledge on the platform **hh.ru**.
Library for calculating the areas of an ellipse and a triangle.
Stack of technologies used:
- _Python 3.10_
> [!NOTE]
> All modules are located in ***["SquareCalcLib"](/SquareCalcLib)***
> [!NOTE]
> Input values for the module **"find_square_triangle"**:
>
> _To find the area of a triangle, you can enter both 3 sides and 2 sides and the angle **BETWEEN THEM**_
> - sides: list[float] - list of sides of the triangle
> - angle: float = None - the value in degrees of the angle between the two sides of the triangle
> [!NOTE]
> Input values for the module **"find_square_ellipse"**:
>
> _If you are sure that your shape is a circle, then you can not enter the "small_semi_axis" parameter, but represent "large_semi_axis" as the radius of the circle_
> - large_semi_axis: float - the value of the length of the large semi-axis of the ellipse
> - small_semi_axis: float = None - the value of the length of the small semi-axis of the ellipse
> [!NOTE]
> NumberVariablesError
> The error class of the entered values
>
> Types of errror:
> - ZeroOrNegativeSemiAxis - semi-axis cannot be negative or equal to zero
> - IncorrectValuesSidesTriangle - the values of the sides of a triangle cannot be negative
> - SumSidesTriangle - the value of any one side cannot be greater than the sum of the values of the other sides
> - ValueAngleError - The angle cannot be less than or equal to zero or the angle cannot be more than 180 degrees
Raw data
{
"_id": null,
"home_page": "https://github.com/RdZilla/SquareCalcLib",
"name": "SquareCalcLib",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.10",
"maintainer_email": "",
"keywords": "square,triangle,ellipse,calcutation",
"author": "Rzilla",
"author_email": "pavel.eliseev.work@yandex.ru",
"download_url": "https://files.pythonhosted.org/packages/2d/c7/2266fcf605a6ad9fdd5b880f49b59819715f685c21c3a0a21ed2fd6f09bb/SquareCalcLib-0.0.5.tar.gz",
"platform": null,
"description": "# SquareCalcLib\r\n## A project to confirm knowledge on the platform hh.ru\r\n### Date: 08.03.2024\r\n\r\nA project to confirm knowledge on the platform **hh.ru**.\r\n\r\nLibrary for calculating the areas of an ellipse and a triangle.\r\n\r\nStack of technologies used:\r\n- _Python 3.10_\r\n\r\n> [!NOTE]\r\n> All modules are located in ***[\"SquareCalcLib\"](/SquareCalcLib)***\r\n\r\n> [!NOTE]\r\n> Input values for the module **\"find_square_triangle\"**:\r\n> \r\n> _To find the area of a triangle, you can enter both 3 sides and 2 sides and the angle **BETWEEN THEM**_\r\n> - sides: list[float] - list of sides of the triangle\r\n> - angle: float = None - the value in degrees of the angle between the two sides of the triangle\r\n\r\n> [!NOTE]\r\n> Input values for the module **\"find_square_ellipse\"**:\r\n>\r\n> _If you are sure that your shape is a circle, then you can not enter the \"small_semi_axis\" parameter, but represent \"large_semi_axis\" as the radius of the circle_\r\n> - large_semi_axis: float - the value of the length of the large semi-axis of the ellipse \r\n> - small_semi_axis: float = None - the value of the length of the small semi-axis of the ellipse\r\n\r\n> [!NOTE]\r\n> NumberVariablesError \r\n> The error class of the entered values\r\n> \r\n> Types of errror:\r\n> - ZeroOrNegativeSemiAxis - semi-axis cannot be negative or equal to zero\r\n> - IncorrectValuesSidesTriangle - the values of the sides of a triangle cannot be negative\r\n> - SumSidesTriangle - the value of any one side cannot be greater than the sum of the values of the other sides\r\n> - ValueAngleError - The angle cannot be less than or equal to zero or the angle cannot be more than 180 degrees\r\n",
"bugtrack_url": null,
"license": "",
"summary": "A module for calculating the areas of an ellipse and a triangle.",
"version": "0.0.5",
"project_urls": {
"GitHub": "https://github.com/RdZilla/",
"Homepage": "https://github.com/RdZilla/SquareCalcLib"
},
"split_keywords": [
"square",
"triangle",
"ellipse",
"calcutation"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "2dc72266fcf605a6ad9fdd5b880f49b59819715f685c21c3a0a21ed2fd6f09bb",
"md5": "8b7a50c96d0dcbfbcc498632e6965f5f",
"sha256": "06217070e7376feb44181be842e32b72e2000ec5dafa65c80891a4f9e4d1260b"
},
"downloads": -1,
"filename": "SquareCalcLib-0.0.5.tar.gz",
"has_sig": false,
"md5_digest": "8b7a50c96d0dcbfbcc498632e6965f5f",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.10",
"size": 3228,
"upload_time": "2024-03-08T15:17:53",
"upload_time_iso_8601": "2024-03-08T15:17:53.314642Z",
"url": "https://files.pythonhosted.org/packages/2d/c7/2266fcf605a6ad9fdd5b880f49b59819715f685c21c3a0a21ed2fd6f09bb/SquareCalcLib-0.0.5.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-03-08 15:17:53",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "RdZilla",
"github_project": "SquareCalcLib",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "squarecalclib"
}