### Calculate fade percentage with helper Source: https://github.com/helyux/cs2fade/blob/master/README.md Use the high-level get function to retrieve ranking, percentage, and finish information for a specific weapon and pattern index. ```python import cs2fade info = cs2fade.get("M4A1-S", 374) print(f"#{info.ranking} / {info.percentage} / {info.finish}") # => "#1 / 100.0 / fade" info = cs2fade.get("M4A1-S", 739) print(f"#{info.ranking} / {info.percentage} / {info.finish}") # => "#1 / 80.0 / fade" ``` -------------------------------- ### Access low-level calculator classes Source: https://github.com/helyux/cs2fade/blob/master/README.md Directly access specific calculator classes like AcidFade for granular control over percentage calculations. ```python from cs2fade import AcidFade fade = AcidFade.get_percentage("SSG 08", 374) ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.