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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file Intx-0.0.2.tar.gz.

File metadata

  • Download URL: Intx-0.0.2.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.1

File hashes

Hashes for Intx-0.0.2.tar.gz
Algorithm Hash digest
SHA256 1f8b426f150f130a75c1a79167193f5afab9dcf962e34093043bf9ec59beabbc
MD5 547c6f6a153f30dfb722fc1e5ea6c850
BLAKE2b-256 11294b5bc7b114e0c23abd93bc59d4f0dbfd69e7344d7d5e28686336a19f202f

See more details on using hashes here.

File details

Details for the file Intx-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: Intx-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 3.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.1

File hashes

Hashes for Intx-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 72a7611e0dd6be1214ef1acaa3c2c24c08e61b0f5b772889a5519812488e3d46
MD5 e2547471c60861a4dab37e9880acaf3b
BLAKE2b-256 e68f1e53d9699453943d8d357647b7c941fe4647cc77c503de728bdb1575612a

See more details on using hashes here.

Supported by

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