An extension to the base type int with some handy functions
Project description
Intx
An extension to the base integer type of python. Has features like iterating over integers (including: appending, inserting, popping) and handy stuff like isPrime() etc.
Installing
You can get the package by doing pip install intx
or python3 -m pip install intx
Use cases
x = intx(12345)
for i in x:
print(x)
>> 1
>> 2
>> 3
>> 4
>> 5
x.isEven()
>> False
...
Pypi page
Link to the Pypi page.
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
Intx-0.0.2.tar.gz
(3.3 kB
view hashes)
Built Distribution
Intx-0.0.2-py3-none-any.whl
(3.5 kB
view hashes)