Skip to main content

This package calculates simple properties of geometric objects such as spheres, rectangular prisms, cylinders, and cones.

Project description

Geometric Calculator

Description

This package aims to allow its users to seamlessly calculate simple properties of geometric objects such as spheres, rectangular prisms, cylinders, and cones. By using this package, an user can simply enter the basic dimensions of their object and receive the surface area or volume of the object. This package can be used so that coders do not have to clog up their code with mathematical geometry formulas.

Instructions

Setting Up

Ensure you already have pipenv on your machine. Type this into a cmd: pipenv install -i https://test.pypi.org/simple/ ndnGeometryCalc == 0.0.1

Using the Package

To import our package, simply include the following line in the program:

from ndnGeometryCalc import geoCalc

Then you can use any of the functions in our package.

#Parameters: radius of the sphere
#Returns: Volume and surface area of given sphere
sphere(radius)

#Example
geoCalc.sphere(5)
#Parameters: radius, height of the cylinder
#Returns: Volume and surface area of given cylinder
cylinder(radius, height)

#Example
geoCalc.cylinder(4,6)
#Parameters: length, width, height of the rectangular prism
#Returns: Volume and surface area of given rectangular prism
rectangularPrism(length, width, height)

#Example
geoCalc.rectangularPrism(6,5,7)
#Parameters: radius, height of the cone
#Returns: Volume and surface area of given cone
cone(radius, height):

#Example
geoCalc.cone(4,7)

Example program

Team Members

Noah Zhou

Daniel Pang

Niket Gautam

Package Page

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ndnGeometryCalc-0.0.1.tar.gz (39.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ndnGeometryCalc-0.0.1-py3-none-any.whl (27.5 kB view details)

Uploaded Python 3

File details

Details for the file ndnGeometryCalc-0.0.1.tar.gz.

File metadata

  • Download URL: ndnGeometryCalc-0.0.1.tar.gz
  • Upload date:
  • Size: 39.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.1

File hashes

Hashes for ndnGeometryCalc-0.0.1.tar.gz
Algorithm Hash digest
SHA256 8c9ae58dcdae475c0eb70448489a0dced05b0437f0995b92423f6d77d01a816d
MD5 465043618656f1c552473e6b3f536773
BLAKE2b-256 93f472b23aab58c9878635a3c4e1a8f279aee5e0f6d2940962e24d623b5e47b2

See more details on using hashes here.

File details

Details for the file ndnGeometryCalc-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for ndnGeometryCalc-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f7926d93e5127e947ed6b7a7437c19c716f52fd53d4c8b36609304193c452445
MD5 0c2d70afb4e8c367cdeed83176d081a0
BLAKE2b-256 90859050a192c769475de33d74ba1ec38ae075dceaf43a86b2b8ee47f3c20d8d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page