intutils is a small library for manipulating integers. If you have any helpful functions that deal with integers, please feel free to add them.
The name of the package on PyPI is
See this guide for how to install packages.
Start by importing the library. From there, you can use any of these functions:
| ||Returns if the passed number is even.||1.0.0|
| ||Returns if the passed number is odd.||1.0.0|
| ||Returns if the passed object is an int.||1.1.0|
| ||Returns if the passed number can be divided by the other passed number without the result containing decimals.||1.1.0|
| ||Returns the passed integer list, sorted from greatest to least.||2.0.0|
The functions listed in the table all have type hints. I suggest you use them, but they aren't forced.
The source can be found on GitHub.