{"library":"sortedcontainers-stubs","type":"library","category":null,"description":"Community-maintained Python type stubs for the `sortedcontainers` library, which provides `dict`, `set`, and `list` data structures that automatically maintain the order of their elements by value. These stubs enable type checkers (like Mypy or Pyright) to enforce API details, including specific requirements for keys/values and special constructor return types, making `sortedcontainers` easier to use in type-checked codebases. The major and minor versions of `sortedcontainers-stubs` are designed to align with the corresponding major and minor versions of `sortedcontainers` itself. Current version is 2.4.3.","language":"python","status":"active","version":"2.4.3","tags":["typing","stubs","type hints","sortedcontainers","collections","mypy","pyright"],"install":[{"cmd":"pip install sortedcontainers-stubs","imports":["from sortedcontainers import SortedList","from sortedcontainers import SortedDict","from sortedcontainers import SortedSet","from sortedcontainers import SortedDict","from sortedcontainers import SortedSet"]}],"homepage":null,"github":"https://github.com/h4l/sortedcontainers-stubs","docs":null,"changelog":"https://github.com/h4l/sortedcontainers-stubs/blob/main/CHANGELOG.md","pypi":"https://pypi.org/project/sortedcontainers-stubs/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":100,"avg_install_s":1.7,"avg_import_s":0.01,"wheel_type":"wheel"},"url":"https://checklist.day/v1/registry/sortedcontainers-stubs/compatibility"},"provenance":{"verified_status":"passing","verified_at":"Sun Jun 28","last_verified":"Sun Jun 28","next_check":"Tue Jul 28","install_tag":null}}