typish
Functionality for types
Decision gist · record as of 2026-08-14
Yes, if you need runtime generic type checking and have no requirement for ongoing maintenance. The package is stable and has no known vulnerabilities, but its abandonment since 2021 means it will not receive updates for newer Python semantics or typing module changes. Consider it only for legacy codebases or projects where you can maintain a local fork if needed.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Package has no runtime dependencies and installs as a pure Python wheel with low friction.
- However, it has been abandoned since August 2021 with no commits or maintenance, so expect no bug fixes or compatibility updates.
License · maintenance · safety
MIT (permissive) — MIT license is permissive and poses no restrictions on use, modification, or distribution in commercial or private projects.
last release 2021-08-05 (1835 days) · last repo commit 2021-08-05 · 25 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,709,938 downloads/mo, #3,627 on PyPI
Alternatives
Verify before relying
pip install typish
from typing import Iterable
from typish import instance_of
result = instance_of([1, 2, 3], Iterable[int])
print(result) # True- Whether the package remains compatible with Python versions released after 2021
- Whether generic type checking behavior aligns with modern typing module semantics
- Performance characteristics compared to alternatives for large-scale type validation
What it is and what it does
Typish extends Python's built-in type checking to work with generic types at runtime. It lets you check whether an object is an instance of a parameterized type like `List[int]` or `Callable[[str], int]`, which the standard `isinstance()` cannot do. It also provides utility functions to extract type information (origin, arguments, hints) from type annotations and supports structural typing through a `Something` interface that validates duck-typed objects.
The package includes decorators like `@hintable` to capture type hints from call sites, metaclasses like `SubscriptableType` to make custom types subscriptable, and helper classes like `ClsDict` and `ClsFunction` for type-based dispatch. It has no external dependencies and works as a pure Python module, but development stopped in August 2021 and the package is no longer maintained.
Use it for
- Validate that a function argument is a list of integers or other parameterized generic type at runtime
- Extract type arguments from a generic type hint to implement type-aware logic in your code
- Implement structural typing by defining interfaces with Something and checking objects against them
- Dispatch function calls based on the runtime type of an argument using ClsDict or ClsFunction
- Introspect callable type hints to extract parameter and return types for reflection-based frameworks
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need runtime generic type checking and have no requirement for ongoing maintenance.
The package is stable and has no known vulnerabilities, but its abandonment since 2021 means it will not receive updates for newer Python semantics or typing module changes. Consider it only for legacy codebases or projects where you can maintain a local fork if needed.
Install
typish on PyPI
Before you install
Package has no runtime dependencies and installs as a pure Python wheel with low friction. However, it has been abandoned since August 2021 with no commits or maintenance, so expect no bug fixes or compatibility updates.
License in practice
MIT license is permissive and poses no restrictions on use, modification, or distribution in commercial or private projects.
Quickstart
pip install typish
from typing import Iterable
from typish import instance_of
result = instance_of([1, 2, 3], Iterable[int])
print(result) # True
Verify before relying
- Whether the package remains compatible with Python versions released after 2021
- Whether generic type checking behavior aligns with modern typing module semantics
- Performance characteristics compared to alternatives for large-scale type validation
Package facts
| License | MIT permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Abandoned 1,835 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 1,709,938 / month, #3,627 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Intended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseNatural Language :: EnglishOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.5Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9 |
Evidence: typish-1.9.3-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “generic type checking”
- typishTypish provides runtime type checking and introspection functions for…
- typing-inspectProvides runtime inspection utilities for Python's typing module,…
- typing-utilsProvides utilities to inspect and validate Python type annotations,…
Give your agent the search over MCP, or paste the wish link into any chat.
More Software Development packages
Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.
NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.
Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.
Install it if you are building CLIs in Python.
Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.
See also typing-inspect · typing-utils · aws-lambda-context · typing-validation · typing-inspection · simplegeneric · typeapi · funcsigs · flake8-annotations · beartype