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. :)
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)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| GeometricShapes-0.1.5.tar.gz | 4.6 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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
|
Security for GeometricShapes 0.1.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.