Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 2 months 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 (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-07-12T04:21:21.000Z (over 3 years ago)
- Last Synced: 2024-09-17T22:48:30.816Z (3 months 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: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
## number-utility
![GitHub followers](https://img.shields.io/github/followers/smv1999?style=for-the-badge)
![GitHub forks](https://img.shields.io/github/forks/smv1999/number-utility?style=for-the-badge)
![GitHub Repo stars](https://img.shields.io/github/stars/smv1999/number-utility?style=for-the-badge)
![Lines of code](https://img.shields.io/tokei/lines/github/smv1999/number-utility?style=for-the-badge)
![GitHub](https://img.shields.io/github/license/smv1999/number-utility?color=blue&style=for-the-badge)
![PyPI](https://img.shields.io/pypi/v/number-utility?color=blue&style=for-the-badge)### 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.