Source code for the web app that visualizes some Lux AI submissions played games statistics: score growth and change, win rate change and win/loss matches count.
Stack: Selenium & Beautiful Soup for scraping data from the Kaggle submission's page and Streamlit & Plotly for the interface and making plots.
- Clone this repo
git clone https://github.com/nikiandr/lux_ai_stats.git && cd lux_ai_stats
- Build an image
docker build -t lux-ai-stats .
- Run a container
docker run -d -p 8501:8501 --name lux-ai-stats lux-ai-stats
- Enjoy your website at the http://localhost:8501
This application was developed with the python 3.8. If you want to use another version - you may need to adjust the dependencies versions.
Also guide is provided for unix-like systems. If you are a Windows user, the steps might be slightly different
- Clone this repo
git clone https://github.com/nikiandr/lux_ai_stats.git && cd lux_ai_stats
- Install dependencies
python -m venv env
source env/bin/activate
pip install -r requirements.txt
- Install chromedriver.
On Debian-based distro use
apt-get update -y && apt-get install -y chromium-driver
Or just download binary and add it to the PATH
PATH=$PATH:/path/to/the/chromedriver
- Run an application
streamlit run main.py
- Enjoy your website at the http://localhost:8501