isinstance3
Isinstance3 is a Python library designed to provide a more efficient and flexible alternative to the built-in isinstance function. The primary goal of isinstance3 is to improve performance by reducing the overhead associated with type checking, especially in scenarios where multiple types need to be checked.
The library introduces a new function, isinstance3, which can be used similarly to isinstance. However, it is
Isinstance3 also supports custom type checking through the use of callable objects. This allows users to define
One of the key features of isinstance3 is its ability to handle abstract base classes (ABCs) more
Isinstance3 is designed to be a drop-in replacement for isinstance, meaning that existing code can be easily
The library is open-source and available on popular Python package repositories, making it accessible to a