mendevi.utils.best_profile

mendevi.utils.best_profile(height: Integral, width: Integral) str[source]

Return the closest profile name.

Examples

>>> from mendevi.utils import best_profile
>>> best_profile(1080, 1920)
'fhd'
>>>