Skip to main content

play a file sound - song- once the rating changes at all the participants of some round. Also if a handle was given the program will output the the changes to that handle

Project description

Codeforces-rateDetector

play a file sound - song- once the rating changes at all the participants of some round. Also if a handle was given the program will output the the changes to that handle

This is only working on windows; However line 35 can be tweaked to work on linux - I just don't know how ¯\_O_/¯ -

How to use:

Easy way (pip)
  1. pip install cfrate
  2. cfrate [contest-id] [handle(optional)]
not-so-easy way (clone)
  1. navigate to the folder that contain this script
  2. add the file to be played
  3. name the sound file "so.mp3" or change the variable "file" in the script to the file name
  4. (optional) Change the variables "secs" to the number of seconds between requests
  5. run in the command line python run.py [contest id] [handle(optional)]
  6. example

    python run.py 1047 theunderdog
    python run.py 1047

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for cfrate, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size cfrate-0.1.0-py3-none-any.whl (3.2 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size cfrate-0.1.0.tar.gz (2.6 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page