Skip to content

Upload accepted solutions from CodeChef and CodeForces to GitHub

Notifications You must be signed in to change notification settings

zihanabedin1999/UpCode

 
 

Repository files navigation

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

About

Upload accepted solutions from CodeChef and CodeForces to GitHub

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%