PEP 661 -- Sentinel Values

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
  • reader

    A Python feed reader library. (by lemon24)

  • The exact same problems None has when it's not a valid value. None is different from the variable type, that's why you have Optional[VarType], which is an alias for Union[VarType, None]; you can model this in exactly the same way: Union[VarType, MissingType]; here's an example.

  • Werkzeug

    The comprehensive WSGI web application library.

  • Werkzeug (library used by Flask) had a repr for its sentinel long before getting type annotations.

  • 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
  • attrs

    Python Classes Without Boilerplate

  • attrs has at least two.

  • peps

    Python Enhancement Proposals

  • A lot of PEPs get abandoned/rejected, or postponed (and this is fine, that's how the process is supposed to work).

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