Find and format the python implementation and version. :returns: Implementation name, version, and platform as a string.
()
| 263 | |
| 264 | |
| 265 | def get_python_version() -> str: |
| 266 | """Find and format the python implementation and version. |
| 267 | |
| 268 | :returns: |
| 269 | Implementation name, version, and platform as a string. |
| 270 | """ |
| 271 | return "{} {} on {}".format( |
| 272 | platform.python_implementation(), |
| 273 | platform.python_version(), |
| 274 | platform.system(), |
| 275 | ) |
| 276 | |
| 277 | |
| 278 | def normalize_pypi_name(s: str) -> str: |