Skip to content

femiwiki/rankingbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A bot that calculates the rankings of users with high contributions and displays them on the front page of the Femiwiki.

You have to grant (protect) permission to the bot.

 

Development

# Setup venv first
# python -m venv .venv
# source .venv/bin/activate

# Install dependencies
pip install -r requirements.txt
pip install --editable .

# Run
export RANKINGBOT_PASSWORD=xxxxxxxx
python -m rankingbot

# Test
pip install pytest
pytest

# Lint
pip install flake8
flake8

# Packaging
pip install wheel
python setup.py sdist bdist_wheel

 


The source code of rankingbot is primarily distributed under the terms of the GNU Affero General Public License v3.0 or any later version. See COPYRIGHT for details.