Skip to main content

The number-utility module makes it simple for you to do number manipulation and perform various operations on numbers.

Project description

number-utility

GitHub followers GitHub forks GitHub Repo stars Lines of code GitHub PyPI

Introduction

The number-utility module makes it simple for you to do number manipulation and perform various operations on numbers.

Installation

You can install the module using pip as shown below.

pip install number-utility

Usage

Consider the following examples :

from number_utility import *

num1 = 12
num2 = 60

print(gcd(num1, num2))
#Output - 12
from number_utility import *

start = 2
end = 10

print(generate_primes(start, end))
#Output - [2, 3, 5, 7]

Testing

To install number-utility, along with the tools you need to develop and run tests. Run the following command :

$ pip install -e .[dev]

For running the tests, type the following command :

py.test

Bugs/Requests

Please use the GitHub issue tracker to submit bugs or request features.

License

Copyright Vaidhyanathan S M, 2021

Distributed under the terms of the MIT license, number-utility is free and open source software.

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

number_utility-0.0.3.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

number_utility-0.0.3-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

Details for the file number_utility-0.0.3.tar.gz.

File metadata

  • Download URL: number_utility-0.0.3.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.8.6

File hashes

Hashes for number_utility-0.0.3.tar.gz
Algorithm Hash digest
SHA256 f6e96feb33859c5da559dd42c31741a08f8cbd9c37cb801cd77173d7faf8c68e
MD5 e3fd8650793a752e4e9c628c97cff3c2
BLAKE2b-256 01a44b0f88d42b3a8bc1ea5157add9aae818780c75dc51d5a4f19d45ed209c7c

See more details on using hashes here.

File details

Details for the file number_utility-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: number_utility-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 4.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.8.6

File hashes

Hashes for number_utility-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 f7d2fd8ef3b15cbd29b455a17fb224fc122361627644b219a15fbf348553b40d
MD5 1ad56e50b0d120697a002bff88b88e51
BLAKE2b-256 8db2fdd60e3bcd6336c9a8bb8f57ae87339173a3e69d863ac143cdae05a7ab74

See more details on using hashes here.

Supported by

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