Skip to content

Latest commit

 

History

History
25 lines (21 loc) · 968 Bytes

README.md

File metadata and controls

25 lines (21 loc) · 968 Bytes

UpCode

A software for uploading all your accepted solutions from CodeChef, CodeForces, and Atcoder to Github with no hassles, and fully automated using Python.

How to use:

  • Generate an API key from https://github.com/settings/tokens. Make sure the repo section is checked.

  • Download the project and extract the zip file. Navigate to the extracted folder and run the following command in terminal:

    pip install -r requirements.txt
    
  • To start using the project, run the following command in terminal:

    python3 main.py
    

Modules used:

  • requests and grequests to get the html
  • BeautifulSoup4 (bs4) to parse the html
  • selenium to make CodeForces scraper more reliable
  • webdriver_manager to automatically create the chromium executable
  • PyGithub to access the GitHub API
  • json to parse CodeForces API
  • multiprocessing to parallelize CodeForces and CodeChef uploads
  • Misc: time, logging, dotenv, inspect