Skip to main content

Contributors Forks Stargazers Issues Downloads GPLv3 License

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)

Source distribution for cs2fade 0.3.1
File Size Uploaded
cs2fade-0.3.1.tar.gz 17.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for cs2fade 0.3.1
File Interpreter ABI Platform
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 log

Release 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

Release history Release notifications | RSS feed

This release

0.3.1 This release

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.2

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page