Skip to main content

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

Metadata

Release files for AreaOfFig24test 0.0.2

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

Source distribution (sdist)

Source distribution for AreaOfFig24test 0.0.2
File Size Uploaded
AreaOfFig24test-0.0.2.tar.gz 2.4 kB Details

Built distribution (wheel)

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

Total release size: 5.3 kB

Release files / AreaOfFig24test-0.0.2.tar.gz

Download URL AreaOfFig24test-0.0.2.tar.gz
Size 2.4 kB
Tags Source
SHA-256 checksum
How to use checksums
0ac98f53c533a299f67cc6b633847bff2e2fa0ebd2799299adee5f79b7df7d1f
BLAKE2b-256 checksum
How to use checksums
d410bdc27ec470b33578af0e779e0aaf819fa1465854df150849a6c95f841a5b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.6

Release files / AreaOfFig24test-0.0.2-py3-none-any.whl

Download URL AreaOfFig24test-0.0.2-py3-none-any.whl
Size 2.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c0a9dc2e786911e88bf37e9c1172259ba9eaf15143df8f695a647da790ff8557
BLAKE2b-256 checksum
How to use checksums
47740ed8e103325a675ac6bb2956826efb02fa3486f715aaaf7889ff2997cdbd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.6

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files

0.0.1

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