Skip to main content

Making calculations of geometric shapes easier

Project description

Shapes

Github Top Language Github release Github License Github Workflow tests Codecov result

Shapes library

Bored of defining constants and using formula for finding area and perimeter of shape??

Download our shapes library and use it in your code for easy calculation of area and perimeter

Provided an example for your help:

To build the library

Clone the repo

git clone https://github.com/Bikram-ghuku/shapes.git && cd shapes

Build the library

pip install -r requirements.txt
python setup.py sdist bdist_wheel

Installing the library

Install using pip

pip install GeometricShapes

Install the repo from wheel

cd dist && pip install GeometricShapes-0.1.0-py3-none-any.whl

Supported shapes:

Shapes Supported Functions
Rectangle Area, Perimeter
Square Area, Perimeter
Circle Area, Perimeter
Triangle Area, Perimeter
Ellipse Area, Perimeter
Sphere Area, Volume
Cylinder Total Surface area, Lateral surface area, Volume

Feel free to fork the repo and create pull request to fix error and/or new feature. :)

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

GeometricShapes-0.1.5.tar.gz (4.6 kB view hashes)

Uploaded Source

Built Distribution

GeometricShapes-0.1.5-py3-none-any.whl (6.8 kB view hashes)

Uploaded Python 3

Supported by

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