{"library":"backports-strenum","type":"library","category":null,"description":"The `backports.strenum` library provides a backport of the `enum.StrEnum` class, which was introduced in Python 3.11. It allows developers using Python versions 3.8.6 through 3.10 to define enumerated constants that are also subclasses of `str`, behaving like both an Enum member and a string. The current version is 1.3.1, and its release cadence is tied to the need for compatibility with newer Python features.","language":"python","status":"active","version":"1.3.1","tags":["enum","string","backport","utility","python3"],"last_verified":"Wed May 20","install":[{"cmd":"pip install backports-strenum","imports":["from backports.strenum import StrEnum"]}],"homepage":null,"github":"https://github.com/clbarnes/backports.strenum","docs":null,"changelog":null,"pypi":"https://pypi.org/project/backports-strenum/","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.5,"avg_import_s":0.01,"wheel_type":"wheel"},"url":"https://checklist.day/v1/registry/backports-strenum/compatibility"}}