CodeChef Buddy is a tool to assist Competitive Programming, specifically on CodeChef. It is a lightweight, fast and powerful utility written in python.
Install dependencies
$ pip install -r requirements.txt
Edit the file new.json with your login credentials and language preference
{
"username": "<id>",
"password": "<pass>",
"language": "44"
}
Language codes
C++ : 44
C : 11
Python : 116
Encrypt the credentials
$ python encrypt.py
Run the program
$ python code.py
CodeChef Buddy uses pandoc for generating pdf, please install pandoc and tex from your package manager for this feature.