Wikiglass-analyzer - a data visulization system for mediawiki
🚀 Installing Virtual Environment and Dependencies
Step1. Installing conda, you may find the installation guide here
Step2. Create conda virtual environment from requirements.txt
Navigate to the root directory of wikiglass-analyzer and run:
$ conda env create -n wikiglass_venv -f requirements.txt
You can check wether the environment has been created for you by running:
$ conda env list
Then, activate
the environment
$ source activate wikiglass_venv
For more informatin about conda, please refer to conda user guide
Step3. Install pymysql
, it's a python mysql client library.
pip install PyMySQL
For more informatin about pymysql, please refer to this link
Step4. Install DBUtils
. DBUtils is a suite of Python modules allowing to connect in a safe and efficient way between a threaded Python application and a database.
pip install DBUtils
For more informatin about pymysql, please refer to DBUtils user guide
Unit Test
$ python -m unittest tests/utilities/text_extracter.py