Skip to content

JakubDotPy/codewars_solutions

Repository files navigation

Codewars backup

codewars
Scrape your finished katas to files and upload them to a github repo.

Local Installation

  • create an .env_secret file with your codewars token

Your token may be found when inspecting the request to the corewars site after login. You may use browser tools for that.

drawing

contents of the file

CW_COOKIE=...

clone the repository

git clone https://github.com/JakubDotPy/codewars_solutions.git 

cd into the repository

cd codewars_solutions

create and activate a virtual environment (Windows version)

python -m venv venv
venv/Scripts/activate

install requirements

pip install requirements.txt

run the script

python main.py

Github actions

There is a prepared gihub action, that will automatically download new solutions every night. Just set the right environment variables as repository secrets.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages