Making calculations of geometric shapes easier
Project description
Shapes
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
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
GeometricShapes-0.1.5.tar.gz
(4.6 kB
view details)
Built Distribution
File details
Details for the file GeometricShapes-0.1.5.tar.gz
.
File metadata
- Download URL: GeometricShapes-0.1.5.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9a8309d5cb14b4e14c1aba4580a9da22e25150013379b5fa8885d6f9b3e79e62 |
|
MD5 | 80dd260d5c68ef5ccd4e581552237e68 |
|
BLAKE2b-256 | b59b8b7421160ba01866f442bd52f5e70cbcf320b505e2df8a8c6b01757bda3b |
File details
Details for the file GeometricShapes-0.1.5-py3-none-any.whl
.
File metadata
- Download URL: GeometricShapes-0.1.5-py3-none-any.whl
- Upload date:
- Size: 6.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 29c7ca36797b56ce90be39cc576453911a50014205882af0d52f855c307d0e5a |
|
MD5 | 722c220eccfd4b35d7bc0685a52e14f5 |
|
BLAKE2b-256 | b02aa3a406740e2fde7bfe3d3a39926d0d370c780ec9354146b627aed16a03e4 |