Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

getcp

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

getcp

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

  • 1.0.23
  • Source
  • PyPI
  • Socket score

Maintainers
1

getcp

Description

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

  • getcp-docs
  • package link

Installation

You can install getcp using pip:

pip install getcp

Usage

    from getcp import cc, cf, github
    
    codechef_stats = cc.get_codechef_stats('username')
    codeforces_stats = cf.get_codeforces_stats('username')
    github_info = github.get_github_stats('username')
    
    print("CodeChef Stats:")
    print(codechef_stats)
    
    print("\nCodeforces Stats:")
    print(codeforces_stats)
    
    print("\nGithub Info:")
    print(github_info)

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc