Skip to main content
https://badge.fury.io/py/extended_int.svg

Example

In [1]: from numbers import Real, Integral

In [2]: from extended_int import ExtendedIntegral, int_inf

In [3]: float(int_inf)
Out[3]: inf

In [4]: print(int_inf)
inf

In [5]: int(int_inf)
---------------------------------------------------------------------------
OverflowError                             Traceback (most recent call last)

In [6]: isinstance(int_inf, Real)
Out[6]: True

In [7]: isinstance(int_inf, Integral)
Out[7]: False


In [8]: isinstance(2.5, ExtendedIntegral)

Out[8]: False

In [9]: isinstance(int_inf, ExtendedIntegral)

Out[9]: True

In [10]: isinstance(2, ExtendedIntegral)

Out[10]: True

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

extended_int-0.5.tar.gz (2.6 kB view details)

Uploaded Source

Built Distributions

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

extended_int-0.5-py3.7.egg (6.4 kB view details)

Uploaded Egg

extended_int-0.5-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file extended_int-0.5.tar.gz.

File metadata

  • Download URL: extended_int-0.5.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.0

File hashes

Hashes for extended_int-0.5.tar.gz
Algorithm Hash digest
SHA256 587bb734fef29bf842ad98275ea316a39136f17a11076e9d2257ab2f531e5925
MD5 76cf75da95cf8482eb63bc4b97038cde
BLAKE2b-256 350eee77e34a4c20ffe399893ae51422378f9df75960c850f88a9e2338b3d967

See more details on using hashes here.

File details

Details for the file extended_int-0.5-py3.7.egg.

File metadata

  • Download URL: extended_int-0.5-py3.7.egg
  • Upload date:
  • Size: 6.4 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.0

File hashes

Hashes for extended_int-0.5-py3.7.egg
Algorithm Hash digest
SHA256 98cc0f67949cd3bcbfdc84e1cf4bd477d051f761f655657a7be9a6cc488a2404
MD5 dbe54b7580a6a70b71f7014f95a6cfbe
BLAKE2b-256 818a405571d791a45381a4ea9f4ae960b6be79a3878bfa3f5ad6d7a09123371a

See more details on using hashes here.

File details

Details for the file extended_int-0.5-py3-none-any.whl.

File metadata

  • Download URL: extended_int-0.5-py3-none-any.whl
  • Upload date:
  • Size: 4.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.0

File hashes

Hashes for extended_int-0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 f4d2c383b88962b2b9ccecaa56472e56a5bef963ef2034d2eaab5bb936d0cb93
MD5 5f73d99c252eb21eaf4abd0a9592f3d2
BLAKE2b-256 ef18fed7db61c72d9729de59c580e269b3c5d11941f83efb2c5bfc976ae24c4a

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 Sentry Error logging StatusPage Status page