AreaCalculationSergey 0.0
What is this?
The module allows you to calculate areas of different figures.
Installing
pip install AreaCalculationSergey
Quick Guide
from AreaCalculationSergey import area
instance = area.AreaCalc
instance.area_of_circle(radius)
There are three functions:
area_of_circle(radius, round_result=2) - allows you to calculate area of a circle, using only radius.
area_of_triangle(side1, side2, side3, round_result=2) - allows you to calculate area of a triangle, using three sides of triangle.
Also you can add additional argument to round the result, by default is 2.
right_triangle(side1, side2, side3) - allows you to know whether triangle is right or not.
How to add new metod
def area_rectangle(side1, side2, round_result=2):
return side1 * side2
instance = AreaCalc()
instance.area_rectangle = area_rectangle
instance.area_rectangle(5, 4)
Metadata
Release files for AreaCalculationSergey 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 | |
|---|---|---|---|---|
| AreaCalculationSergey-1.5.tar.gz | 1.8 kB | Without provenance | Details |
Release files / AreaCalculationSergey-1.5.tar.gz
| Download URL | AreaCalculationSergey-1.5.tar.gz |
|---|---|
| Size | 1.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
af06fe0041e08940726e3cb34c1b3278b0502196c0fed5f59aeb5df4d2875c49
|
|
BLAKE2b-256 checksum How to use checksums |
678b57c4b81fb8749e750c758977f9905b51d1c965e0d1018cde9229e20ab710
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.2
|
Security for AreaCalculationSergey 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.