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)
Built Distribution
getcp-1.0.1-py3-none-any.whl
(3.6 kB
view hashes)