https://github.com/smv1999/number-utility
The number-utility module makes it simple for you to do number manipulation and perform various operations on numbers.
https://github.com/smv1999/number-utility
number-theory number-utility numbers pip programming pypi pypi-package python python3
Last synced: 21 days ago
JSON representation
The number-utility module makes it simple for you to do number manipulation and perform various operations on numbers.
- Host: GitHub
- URL: https://github.com/smv1999/number-utility
- Owner: smv1999
- License: mit
- Created: 2021-06-21T18:14:23.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2021-07-12T04:21:21.000Z (almost 4 years ago)
- Last Synced: 2025-04-10T18:19:51.041Z (23 days ago)
- Topics: number-theory, number-utility, numbers, pip, programming, pypi, pypi-package, python, python3
- Language: Python
- Homepage: https://pypi.org/project/number-utility/
- Size: 19.5 KB
- Stars: 3
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
## 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.
```bash
pip install number-utility
```
### UsageConsider the following examples :
```python
from number_utility import *num1 = 12
num2 = 60print(gcd(num1, num2))
#Output - 12
``````python
from number_utility import *start = 2
end = 10print(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 :
```bash
$ pip install -e .[dev]
```For running the tests, type the following command :
```bash
py.test
```### Bugs/Requests
Please use the [GitHub issue tracker](https://github.com/smv1999/number-utility/issues) to submit bugs or request features.
### License
Copyright Vaidhyanathan S M, 2021
Distributed under the terms of the [MIT](https://github.com/smv1999/number-utility/blob/main/LICENSE) license, number-utility is free and open source software.