Why Type Hinting Sucks!

This page summarizes the projects mentioned and recommended in the original post on /r/Python

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • mypy

    Optional static typing for Python

  • But MyPy on strict is complaining that slow_add is missing a type annotation, after reading this issue you realize that @overload is only useful for users of your function but the body of your function will not be tested using @overload. Fortunately in the discussion on that issue there is an alternative example of how to implement:

  • pyright

    Static Type Checker for Python

  • Unfortunately 4 is fundamentally broken with tuples, I had to raise a ticket with pyright to understand why: https://github.com/microsoft/pyright/issues/4613/

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • darglint

    Discontinued A python documentation linter which checks that the docstring description matches the definition.

  • That's what tools like darglint are for (yes, I'm aware darglint was recently moved to maintenance mode).

  • typeshed

    Collection of library stubs for Python, with static types

  • https://github.com/python/mypy same with typeshed https://github.com/python/typeshed

  • requests

    A simple, yet elegant, HTTP library.

  • Another example is the third party library requests: https://github.com/psf/requests

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts