Skip to main content

getcp is a Python package that provides functions to retrieve stats from CP platforms. Currently, it supports fetching stats from CodeChef and Codeforces.

Project description

getcp

getcp is a Python package that provides functions to retrieve stats from CP platforms. Currently, it supports user stats from CodeChef and Codeforces.

Installation

You can install getcp using pip:

pip install getcp

Usage

    from getcp import get_codechef_stats, get_codeforces_stats

    codechef_stats = get_codechef_stats('my_codechef_username')
    codeforces_stats = get_codeforces_stats('my_codeforces_handle')
    
    print("CodeChef Stats:")
    print(codechef_stats)
    
    print("\nCodeforces Stats:")
    print(codeforces_stats)

Project details


Download files

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

Source Distribution

getcp-1.0.1.tar.gz (3.0 kB view hashes)

Uploaded Source

Built Distribution

getcp-1.0.1-py3-none-any.whl (3.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page