Skip to content

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

License

Notifications You must be signed in to change notification settings

smv1999/number-utility

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages