Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

newgeometry14-0.0.1.tar.gz (2.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

newgeometry14-0.0.1-py3-none-any.whl (2.9 kB view details)

Uploaded Python 3

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

Hashes for newgeometry14-0.0.1.tar.gz
Algorithm Hash digest
SHA256 8f72df7359b249529291048347ae97fb80ecabd3cd4b7ddb01bca30e79fb9cdc
MD5 45f6c74e92f8ed141eb0b0ad72b101b7
BLAKE2b-256 5bcee226cfbb2090a464013f3dd52f5e82cf0d44626e5d0dc95942c774c9df13

See more details on using hashes here.

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

Hashes for newgeometry14-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 53936681b111472e93fc790572ab0cb0974ed96794f72b5e9e25edf40ad67abd
MD5 2ac8bd4659e649bd755ed199a04f9469
BLAKE2b-256 bd92658d71e369d5ca214093bc8d7eacca0b7fa1b77c29f22c0f0a93b3c7073d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page