Skip to main content

A Python library for performing arithmetic operations related to the area of different shapes

Project description

Area of Shapes Package

This is a simple Python library for performing arithmetic operations related to the area of different shapes.

Installation

Visit: https://pypi.org/project/AreaOfShapesLib

or To install this library, you can use pip:

pip install AreaOfShapesLib

Usage

Import the Library Using:

from areaofShapesLib import *

Demo

Here are some examples of how to use the library:

# Calculate the area of a triangle
area = area_of_triangle(10, 5)
print(area)  # Output: 25

# Calculate the area of a circle
area = area_of_circle(5)
print(area)  # Output: 78.53981633974483

# Calculate the area of a rectangle
area = area_of_rectangle(10, 5)
print(area)  # Output: 50

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

MIT

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

AreaOfShapesLib-5.1.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

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

AreaOfShapesLib-5.1-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

Details for the file AreaOfShapesLib-5.1.tar.gz.

File metadata

  • Download URL: AreaOfShapesLib-5.1.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.9.19

File hashes

Hashes for AreaOfShapesLib-5.1.tar.gz
Algorithm Hash digest
SHA256 a0cd96398606246eeba3cbf5bb0629969f8705066f33332b4b79c661a8f1cdb1
MD5 75ae3ddca4b9d66ef315d0d1b308b52c
BLAKE2b-256 c67859c92a80b0ef17e79910055b7254c45c13fb21bcde848745ab55cda32426

See more details on using hashes here.

File details

Details for the file AreaOfShapesLib-5.1-py3-none-any.whl.

File metadata

  • Download URL: AreaOfShapesLib-5.1-py3-none-any.whl
  • Upload date:
  • Size: 4.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.9.19

File hashes

Hashes for AreaOfShapesLib-5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3d7fe8cd7538695300b0942a38aa74059dd9452e72c7b0a3812dcd63f14fb434
MD5 cb8c228c3857637bc1a6e28615004482
BLAKE2b-256 4478aef2ef88e7b1e6754e14e939168656077b3f1ed73f2756c875a055d49980

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