My First Package
Project description
Area Calculator
first_package
first_package is a Python package that provides a set of functions to calculate the areas of geometric shapes. It includes a module named Area_Fig.py containing three functions:
square_area(side_length): Calculates the area of a square given the length of its side.rectangle_area(length, width): Calculates the area of a rectangle given its length and width.circle_area(radius): Calculates the area of a circle given its radius.
Installation
Install first_package using pip: pip install first_package
Usage
from first_package.Area_Fig import square_area, rectangle_area, circle_area
Calculate the area of a square
print(square_area(5))
Calculate the area of a rectangle
print(rectangle_area(4, 6))
Calculate the area of a circle
print(circle_area(3))
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file AreaOfFig24test-0.0.2.tar.gz.
File metadata
- Download URL: AreaOfFig24test-0.0.2.tar.gz
- Upload date:
- Size: 2.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0ac98f53c533a299f67cc6b633847bff2e2fa0ebd2799299adee5f79b7df7d1f
|
|
| MD5 |
bd1512ecbed78ca33c936ccd340fd8b5
|
|
| BLAKE2b-256 |
d410bdc27ec470b33578af0e779e0aaf819fa1465854df150849a6c95f841a5b
|
File details
Details for the file AreaOfFig24test-0.0.2-py3-none-any.whl.
File metadata
- Download URL: AreaOfFig24test-0.0.2-py3-none-any.whl
- Upload date:
- Size: 2.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c0a9dc2e786911e88bf37e9c1172259ba9eaf15143df8f695a647da790ff8557
|
|
| MD5 |
2ee25cda97b8353384fe956ca9132a0e
|
|
| BLAKE2b-256 |
47740ed8e103325a675ac6bb2956826efb02fa3486f715aaaf7889ff2997cdbd
|