Skip to main content

This is not an integer

Project description

notint

Install it from PyPi

pip install notint

Install it from GitHub

pip install git+https://github.com/donno2048/notint

Examples

After installing the package try to run this in the python console (line-by-line):

from notint import NotInt # Import NotInt
noin = NotInt(42) # Create a new NotInt object with the value of 42 (or else)
isinstance(noin, int) # Check whether python thinks it's an int
noin == None
noin is None
noin == noin
noin != noin
noin == "42"
noin == 42
noin == 43
print(noin)

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

notint-1.0.1.tar.gz (1.4 kB view hashes)

Uploaded Source

Built Distribution

notint-1.0.1-py3-none-any.whl (2.4 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