# MyGeometry
MyGeometry is a simple Python library for calculating the area and perimeter of basic geometric shapes.
## Installation
```bash
pip install mygeometry
```
## Usage
import mygeometry
# Example usage for a square
side_length = 5
area = mygeometry.luas_persegi(side_length)
perimeter = mygeometry.keliling_persegi(side_length)
print(f"Area of the square with side length {side_length}: {area}")
print(f"Perimeter of the square with side length {side_length}: {perimeter}")
Raw data
{
"_id": null,
"home_page": "https://github.com/syahrulcaem/geometry_baru",
"name": "newgeometry14",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "mal,myanimelist",
"author": "hanifaslam",
"author_email": "<aslamhanif141@gmail.com>",
"download_url": "https://files.pythonhosted.org/packages/5b/ce/e226cfbb2090a464013f3dd52f5e82cf0d44626e5d0dc95942c774c9df13/newgeometry14-0.0.1.tar.gz",
"platform": null,
"description": "# MyGeometry\r\n\r\nMyGeometry is a simple Python library for calculating the area and perimeter of basic geometric shapes.\r\n\r\n## Installation\r\n\r\n```bash\r\npip install mygeometry\r\n```\r\n\r\n## Usage\r\nimport mygeometry\r\n\r\n# Example usage for a square\r\nside_length = 5\r\narea = mygeometry.luas_persegi(side_length)\r\nperimeter = mygeometry.keliling_persegi(side_length)\r\n\r\nprint(f\"Area of the square with side length {side_length}: {area}\")\r\nprint(f\"Perimeter of the square with side length {side_length}: {perimeter}\")\r\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "MyGeometry is a simple Python library for calculating the area and perimeter of basic geometric shapes",
"version": "0.0.1",
"project_urls": {
"Homepage": "https://github.com/syahrulcaem/geometry_baru"
},
"split_keywords": [
"mal",
"myanimelist"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "bd92658d71e369d5ca214093bc8d7eacca0b7fa1b77c29f22c0f0a93b3c7073d",
"md5": "2ac8bd4659e649bd755ed199a04f9469",
"sha256": "53936681b111472e93fc790572ab0cb0974ed96794f72b5e9e25edf40ad67abd"
},
"downloads": -1,
"filename": "newgeometry14-0.0.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "2ac8bd4659e649bd755ed199a04f9469",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 2865,
"upload_time": "2023-11-17T09:24:36",
"upload_time_iso_8601": "2023-11-17T09:24:36.975502Z",
"url": "https://files.pythonhosted.org/packages/bd/92/658d71e369d5ca214093bc8d7eacca0b7fa1b77c29f22c0f0a93b3c7073d/newgeometry14-0.0.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "5bcee226cfbb2090a464013f3dd52f5e82cf0d44626e5d0dc95942c774c9df13",
"md5": "45f6c74e92f8ed141eb0b0ad72b101b7",
"sha256": "8f72df7359b249529291048347ae97fb80ecabd3cd4b7ddb01bca30e79fb9cdc"
},
"downloads": -1,
"filename": "newgeometry14-0.0.1.tar.gz",
"has_sig": false,
"md5_digest": "45f6c74e92f8ed141eb0b0ad72b101b7",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 2447,
"upload_time": "2023-11-17T09:24:38",
"upload_time_iso_8601": "2023-11-17T09:24:38.482449Z",
"url": "https://files.pythonhosted.org/packages/5b/ce/e226cfbb2090a464013f3dd52f5e82cf0d44626e5d0dc95942c774c9df13/newgeometry14-0.0.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-11-17 09:24:38",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "syahrulcaem",
"github_project": "geometry_baru",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "newgeometry14"
}