Skip to main content

A toolkit for basic geometric calculations

Project description

Geometry Toolkit

geometry_toolkit is a simple Python package for basic geometric calculations.

Installation

Install the package with pip: pip install geometry_toolkit

Usage from geometry_toolkit import ( rectangle_area, rectangle_perimeter, square_area, square_perimeter, circle_area, circle_circumference, )

Rectangle

print(rectangle_area(5, 3)) # Output: 15 print(rectangle_perimeter(5, 3)) # Output: 16

Square

print(square_area(4)) # Output: 16 print(square_perimeter(4)) # Output: 16

Circle

print(circle_area(3)) # Output: 28.274333882308138 print(circle_circumference(3)) # Output: 18.84955592153876# geometry_toolkit

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

geometry_toolkit_anas-0.1.0.tar.gz (2.2 kB view details)

Uploaded Source

Built Distribution

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

geometry_toolkit_anas-0.1.0-py3-none-any.whl (2.8 kB view details)

Uploaded Python 3

File details

Details for the file geometry_toolkit_anas-0.1.0.tar.gz.

File metadata

  • Download URL: geometry_toolkit_anas-0.1.0.tar.gz
  • Upload date:
  • Size: 2.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for geometry_toolkit_anas-0.1.0.tar.gz
Algorithm Hash digest
SHA256 4a639f4f41a531df8e59af9eb085247e2ea221959e9e9606a0cd168d9215cbe0
MD5 b3453de6541ec8f8af15a320372a79a1
BLAKE2b-256 65a0b0f3cca65379bbcc9ecc0fc1fd9ff544a6b78d51a4dfe7fb19806369923d

See more details on using hashes here.

File details

Details for the file geometry_toolkit_anas-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for geometry_toolkit_anas-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 75429afa8c87cd8d637dad954ad6fc1631dc8bd671f99018a7c71ad5ad7e86fd
MD5 1e5a5eb06a2763548e0572fbd882fdd4
BLAKE2b-256 c9886b22d23680a216df6f33c82bb60cf504d1f83d397f0289c486370fc102ae

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