isinstance - more tolerant
# Tested with:
# Python 3.9.13
# Windows 10
This function checks:
isinstance(__object, modul)
type(__object).__module__ == getattr(modul, "__name__")
str(type(__object)) == str(type(modul))
p = pd.NA
isinstance(p, pd.NA) # Exception
isinstance_tolerant(p, pd.NA) # no Exception
p = None
isinstance(p, None) # Exception
isinstance_tolerant(p, None) # no Exception
Metadata
Release files for tolerant-isinstance 0.10
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| tolerant_isinstance-0.10.tar.gz | 3.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| tolerant_isinstance-0.10-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.6 kB
Release files / tolerant_isinstance-0.10.tar.gz
| Download URL | tolerant_isinstance-0.10.tar.gz |
|---|---|
| Size | 3.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ac5174e7b2760deaeb8f08ad54c594ffc8b4eddad0134a7fe4043d861631f9c6
|
|
BLAKE2b-256 checksum How to use checksums |
52bddf1f0062fa4f04a8167bd274ca7539d2711fc2bf99bf71675285b76b770b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Release files / tolerant_isinstance-0.10-py3-none-any.whl
| Download URL | tolerant_isinstance-0.10-py3-none-any.whl |
|---|---|
| Size | 4.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c6ff44b20b7bb92c0d935a3b3b6be168102d082ec1e87b893bf018159c504894
|
|
BLAKE2b-256 checksum How to use checksums |
50a22004dc6d1908d98b8df53ede9ad13a80c49238ed112acdbd031e5a009ab1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|