Metadata-Version: 2.4
Name: int_checker
Version: 0.1.1
Summary: Adds functions to check if variables are integers and turns them into such.
Author-email: Battleboy96 <tggblake.2012@gmail.com>
Requires-Python: >=3.6
Description-Content-Type: text/markdown

# Integer Checker

A lightweight Python module that handles converting compatable data types into integers.

Disclamer: Right now there is only the ability to use this when taking and converting user input. I will try to add more features later. This has only been tested in basic examples, please report any bugs so I can try to fix them.

## Features

* **Safe Integer Checking:** Easily verify and force user inputs to be valid integers without crashing your program.
* **Default Error Message:** Has a default error message of "Please input a number!" This can be changed by adding a string as the second argument.

## Installation

Just use pip as you normally would!

```bash
pip3 install int-checker
```
## Usage Example

```python
import int_checker

var1 = int_checker.conv_input("Give number: ", "This is a different error message")

print(2 + var1)
```

## Syntax

The way you need to structure the code is quite simple. Using up to two arguments, you can define both the input request and error message, as shown before.