Skip to main content

A simple package calculating values for a single number

Project description

numberdata Documentation


Installation

numberdata lets you perform basic operations on numbers

pip install numberdata

Usage

import numberdata

Calculate SquareRoot of a number

output = numberdata.calculateSquareRoot(64)
print(output)
# 8 

Calculate Square of a number

output = numberdata.calculateSquare(7)
print(output)
# 49

Calculate Cube of a number

output = numberdata.calculateCube(3)
print(output)
# 27

Calculate Power of a number

output = numberdata.calculatePower(2,4))
print(output)
# 16

Power can also be calculated of non-integer numbers.

# Calculate Power of a number
print(numberdata.calculatePower(125,1/3))
# 5

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

numberdata-1.0.2-py3.7.egg (2.7 kB view details)

Uploaded Egg

File details

Details for the file numberdata-1.0.2-py3.7.egg.

File metadata

  • Download URL: numberdata-1.0.2-py3.7.egg
  • Upload date:
  • Size: 2.7 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

File hashes

Hashes for numberdata-1.0.2-py3.7.egg
Algorithm Hash digest
SHA256 c40393caaf4d489e220105a557bd269bf75e2bdf5ac657a70ea68a684d987dd8
MD5 e6c409faf3cdc78c5c61f570ce1cef6e
BLAKE2b-256 598ab6948d000060a820308029b4b9ae4cae3b1518f6c7cc22016f98c4280164

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