MyGeometry is a simple Python library for calculating the area and perimeter of basic geometric shapes
Project description
MyGeometry
MyGeometry is a simple Python library for calculating the area and perimeter of basic geometric shapes.
Installation
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}")
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file newgeometry14-0.0.1.tar.gz.
File metadata
- Download URL: newgeometry14-0.0.1.tar.gz
- Upload date:
- Size: 2.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8f72df7359b249529291048347ae97fb80ecabd3cd4b7ddb01bca30e79fb9cdc
|
|
| MD5 |
45f6c74e92f8ed141eb0b0ad72b101b7
|
|
| BLAKE2b-256 |
5bcee226cfbb2090a464013f3dd52f5e82cf0d44626e5d0dc95942c774c9df13
|
File details
Details for the file newgeometry14-0.0.1-py3-none-any.whl.
File metadata
- Download URL: newgeometry14-0.0.1-py3-none-any.whl
- Upload date:
- Size: 2.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
53936681b111472e93fc790572ab0cb0974ed96794f72b5e9e25edf40ad67abd
|
|
| MD5 |
2ac8bd4659e649bd755ed199a04f9469
|
|
| BLAKE2b-256 |
bd92658d71e369d5ca214093bc8d7eacca0b7fa1b77c29f22c0f0a93b3c7073d
|