Skip to main content

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


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)

Uploaded Source

Built Distribution

Intx-0.0.2-py3-none-any.whl (3.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page