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

This repository provides a Python base class that implements extended integers.

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

Metadata

Release files for extended-int 0.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for extended-int 0.7
File Size Uploaded
extended_int-0.7.tar.gz 4.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for extended-int 0.7
File Interpreter ABI Platform
extended_int-0.7-py3-none-any.whl Python 3 none any Details

Total release size: 8.3 kB

Release files / extended_int-0.7.tar.gz

Download URL extended_int-0.7.tar.gz
Size 4.3 kB
Tags Source
SHA-256 checksum
How to use checksums
aebe7a13fdfdbde4a0a36768bcefe47c00ce35f9be8b5aebf69f35c5a16c2f5f
BLAKE2b-256 checksum
How to use checksums
c2cdd08b0378398ac122432dfd4c655f1ad1a9b07a51c3a5fa1f03daa4359c0e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.2.0b3.dev0 CPython/3.10.4 Linux/5.15.0-40-generic

Release files / extended_int-0.7-py3-none-any.whl

Download URL extended_int-0.7-py3-none-any.whl
Size 4.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2a6bec97feff731314375593d36542b3f24e7614778e115d950613896ad66755
BLAKE2b-256 checksum
How to use checksums
c21aa592c4161c5ae06ece21a99452c1cb6627b6c9b6f9a4ae14ee22c2a974f5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.2.0b3.dev0 CPython/3.10.4 Linux/5.15.0-40-generic

Release history Release notifications | RSS feed

This release

0.7 This release

2 release files

0.6

1 release file

0.5

3 release files

0.4

2 release files

0.3

3 release files

0.2

2 release files

0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page