cs2fade
Python port of @chescos original
csgo-fade-percentage-calculator.
Check out his repository for more information.
For a usage example, refer to example.py.
Quick start
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"
The helper infers the correct finish for the given weapon. If you need low-level access to the calculators, the original classes remain available:
from cs2fade import AcidFade
fade = AcidFade.get_percentage("SSG 08", 374)
If you notice any errors, please feel free to open an issue or pull request.
Metadata
Release files for cs2fade 0.3.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| cs2fade-0.3.1.tar.gz | 17.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| cs2fade-0.3.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 36.8 kB
Release files / cs2fade-0.3.1.tar.gz
| Download URL | cs2fade-0.3.1.tar.gz |
|---|---|
| Size | 17.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1f83e9846f398afd4382a3cfb1503d5043ee683b1c1ef8b02463384456cec41f
|
|
BLAKE2b-256 checksum How to use checksums |
6ca48d9edceaed0348613e50f9d4b2bbe17e1e775a4b4e153bb8e0b7c137900e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 8, 2026.
Transparency logRelease files / cs2fade-0.3.1-py3-none-any.whl
| Download URL | cs2fade-0.3.1-py3-none-any.whl |
|---|---|
| Size | 19.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
73e34d9ac65ddd6b5bf9a582452c973f05508dcedaf95d4b2b20ee3366cfbaa0
|
|
BLAKE2b-256 checksum How to use checksums |
436e4488c267afca6eb93d767cfa8b9c1a67756510053ea72fa067cb8730b15a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 8, 2026.
Transparency log