getcp


Namegetcp JSON
Version 1.0.24 PyPI version JSON
download
home_pagehttps://github.com/UD11/getcp-pkg
Summarygetcp is a Python package that provides functions to retrieve stats from Competitive Programming platforms. Currently, it supports fetching stats from CodeChef and Codeforces.
upload_time2024-04-13 11:40:42
maintainerNone
docs_urlNone
authorUddalak Seal
requires_python>=3.6
licenseMIT
keywords competitive programming codeforces codechef api scraper
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # 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.

### links

- [getcp-docs](https://ud11.github.io/getcp-docs/#currently-supported-platforms)
- [package link](https://pypi.org/project/getcp/)

## Installation

You can install `getcp` using pip:

```bash
pip install getcp
```

## Usage

```py
    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)

```

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/UD11/getcp-pkg",
    "name": "getcp",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": null,
    "keywords": "competitive programming codeforces codechef api scraper",
    "author": "Uddalak Seal",
    "author_email": "hidan84@duck.com",
    "download_url": "https://files.pythonhosted.org/packages/6a/76/10a73609a4fbffbf3ec18b54a8b0427ab2509d822b3f1be8bdebb9d6ac75/getcp-1.0.24.tar.gz",
    "platform": null,
    "description": "# getcp\r\n\r\n## Description\r\n\r\n`getcp` is a Python package \r\nthat provides functions to \r\nretrieve stats from CP\r\nplatforms. Currently, it supports user stats\r\nfrom CodeChef and Codeforces.\r\n\r\n### links\r\n\r\n- [getcp-docs](https://ud11.github.io/getcp-docs/#currently-supported-platforms)\r\n- [package link](https://pypi.org/project/getcp/)\r\n\r\n## Installation\r\n\r\nYou can install `getcp` using pip:\r\n\r\n```bash\r\npip install getcp\r\n```\r\n\r\n## Usage\r\n\r\n```py\r\n    from getcp import cc, cf, github\r\n    \r\n    codechef_stats = cc.get_codechef_stats('username')\r\n    codeforces_stats = cf.get_codeforces_stats('username')\r\n    github_info = github.get_github_stats('username')\r\n    \r\n    print(\"CodeChef Stats:\")\r\n    print(codechef_stats)\r\n    \r\n    print(\"\\nCodeforces Stats:\")\r\n    print(codeforces_stats)\r\n    \r\n    print(\"\\nGithub Info:\")\r\n    print(github_info)\r\n\r\n```\r\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "getcp is a Python package that provides functions to retrieve stats from Competitive Programming platforms. Currently, it supports fetching stats from CodeChef and Codeforces.",
    "version": "1.0.24",
    "project_urls": {
        "Documentation": "https://ud11.github.io/getcp-docs/",
        "Homepage": "https://github.com/UD11/getcp-pkg",
        "Source": "https://github.com/UD11/getcp-pkg?tab=readme-ov-file",
        "Tracker": "https://github.com/UD11/getcp-pkg/issues"
    },
    "split_keywords": [
        "competitive",
        "programming",
        "codeforces",
        "codechef",
        "api",
        "scraper"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "9c36a901f14f928373a46ad4053c9bd36c21f3f1c05ed15702b8e3d04749c093",
                "md5": "ca283063bc5d0486a1b3ae4e73f32ce2",
                "sha256": "4b4a72099494016a7121dc96782e526112c9c324bf99fbdf2cd1d90d7cbac494"
            },
            "downloads": -1,
            "filename": "getcp-1.0.24-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "ca283063bc5d0486a1b3ae4e73f32ce2",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 4852,
            "upload_time": "2024-04-13T11:40:38",
            "upload_time_iso_8601": "2024-04-13T11:40:38.130629Z",
            "url": "https://files.pythonhosted.org/packages/9c/36/a901f14f928373a46ad4053c9bd36c21f3f1c05ed15702b8e3d04749c093/getcp-1.0.24-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "6a7610a73609a4fbffbf3ec18b54a8b0427ab2509d822b3f1be8bdebb9d6ac75",
                "md5": "4d5f11c039d62fbf6f901876f8d6688b",
                "sha256": "4995da7e441321ae0a1b518f60d314932e111cf649052169fb21ffde674844b2"
            },
            "downloads": -1,
            "filename": "getcp-1.0.24.tar.gz",
            "has_sig": false,
            "md5_digest": "4d5f11c039d62fbf6f901876f8d6688b",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 4045,
            "upload_time": "2024-04-13T11:40:42",
            "upload_time_iso_8601": "2024-04-13T11:40:42.811488Z",
            "url": "https://files.pythonhosted.org/packages/6a/76/10a73609a4fbffbf3ec18b54a8b0427ab2509d822b3f1be8bdebb9d6ac75/getcp-1.0.24.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-04-13 11:40:42",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "UD11",
    "github_project": "getcp-pkg",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "getcp"
}
        
Elapsed time: 3.69209s