Skip to main content

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. :)

Metadata

Release files for GeometricShapes 0.1.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for GeometricShapes 0.1.5
File Size Uploaded
GeometricShapes-0.1.5.tar.gz 4.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for GeometricShapes 0.1.5
File Interpreter ABI Platform
GeometricShapes-0.1.5-py3-none-any.whl Python 3 none any Details

Total release size: 11.5 kB

Release files / GeometricShapes-0.1.5.tar.gz

Download URL GeometricShapes-0.1.5.tar.gz
Size 4.6 kB
Tags Source
SHA-256 checksum
How to use checksums
9a8309d5cb14b4e14c1aba4580a9da22e25150013379b5fa8885d6f9b3e79e62
BLAKE2b-256 checksum
How to use checksums
b59b8b7421160ba01866f442bd52f5e70cbcf320b505e2df8a8c6b01757bda3b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.2

Release files / GeometricShapes-0.1.5-py3-none-any.whl

Download URL GeometricShapes-0.1.5-py3-none-any.whl
Size 6.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
29c7ca36797b56ce90be39cc576453911a50014205882af0d52f855c307d0e5a
BLAKE2b-256 checksum
How to use checksums
b02aa3a406740e2fde7bfe3d3a39926d0d370c780ec9354146b627aed16a03e4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.2

Release history Release notifications | RSS feed

This release

0.1.5 This release

2 release files

0.1.4

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page