The number-utility module makes it simple for you to do number manipulation and perform various operations on numbers.
Project description
number-utility
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file number_utility-0.0.2.tar.gz
.
File metadata
- Download URL: number_utility-0.0.2.tar.gz
- Upload date:
- Size: 3.8 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 232bc3c067ba5c95db2b1c7d9ecfd18dc45444a03eb6aa2625cf42506f61deb0 |
|
MD5 | b50aec7e10e707c2bd5a7a258fd2a0da |
|
BLAKE2b-256 | 83c68f182422540e3f1a3ae2b1fb0afa4413b3d93482f256c3b60f515fe9997b |
File details
Details for the file number_utility-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: number_utility-0.0.2-py3-none-any.whl
- Upload date:
- Size: 4.5 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 48f7a7164a08853ec749a85f90c044d1bd3b9c66fc4267dcbef44a269b139dd3 |
|
MD5 | c7070652e03e932f616e9bb7a66e08ec |
|
BLAKE2b-256 | 497f69e7a04986886d9610d96bae88b037fc743dbf48f70b007091f391d6db76 |