Generate image from given data of competitve coding contest
-
Install imgkit:
pip install imgkit
-
Install wkhtmltopdf:
- for Debian/Ubuntu:
sudo apt-get install wkhtmltopdf
- for MacOSX:
brew install wkhtmltopdf
- for Windows and other options: check wkhtmltopdf homepage for binary installers or wiki page.
run python code as:-
python geneate-image.py -p codechef -n "April Long 2020" -t "7:30 PM" -d 31/12/2020 -du "10 days"
for understanding command line args
python geneate-image.py -h