Skip to main content

finitefloat

PyPI PyPI - Python Version Code style: black license

Finite (non-nan, non-inf) float.

Usage

import math

from finitefloat import NotFinite, finitefloat

value: finitefloat = finitefloat(0.1)

try:
    value = finitefloat(math.nan)
except NotFinite:
    print("The value is not finite.")

API

Module finitefloat

class finitefloat(x: Union[SupportsFloat, SupportsIndex, str, bytes, bytearray])

Subclass of float. Raise NotFinite exception if float(x) is nan or ±inf.

class NotFinite

Subclass of ValueError.

Metadata

Release files for finitefloat 0.1.1

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

Source distribution (sdist)

Source distribution for finitefloat 0.1.1
File Size Uploaded Provenance Actions
finitefloat-0.1.1.tar.gz 2.7 kB Without provenance Details for finitefloat-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for finitefloat 0.1.1
File Interpreter ABI Platform Actions
finitefloat-0.1.1-py3-none-any.whl Python 3 none any Details for finitefloat-0.1.1-py3-none-any.whl

Total release size: 6.0 kB

Release files / finitefloat-0.1.1.tar.gz

Download URL finitefloat-0.1.1.tar.gz
Size 2.7 kB
Tags Source
SHA-256 checksum
How to use checksums
c490e9df5a27782f330141b70d432d2138ba4aa1d40dba50486cc0333bf112c1
BLAKE2b-256 checksum
How to use checksums
5760107d73314a93785622beb497df190951239f6be23c827b5343d0cead11b0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.4 CPython/2.7.12 Darwin/20.2.0

Release files / finitefloat-0.1.1-py3-none-any.whl

Download URL finitefloat-0.1.1-py3-none-any.whl
Size 3.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e16a620271ae2fe44c3f20ca6ad1d8a1c16d5c8d7eb94d375323bbb694e91a39
BLAKE2b-256 checksum
How to use checksums
e8affb657446c6ce21d106b5e35dc8ec68c11597e481b041a472c9c26fd69393
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.4 CPython/2.7.12 Darwin/20.2.0

Security for finitefloat 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files No provenance

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