Skip to content

Latest commit

 

History

History

python

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Python

Requirements

Python 3.

Check we have it installed with:

$ python3 --version
Python 3.8.5

Quick Start

# jump in to this directory
cd python

# create a venv directory if it doesn't exist
python3 -m venv venv

# activate the virtual environment
source venv/bin/activate

# install the dependencies
pip install -r requirements.txt

# run the tests
pytest index_test.py

# watch the tests:
watchmedo shell-command --patterns='*.py' --command='pytest index_test.py'

# when finished, we deactivate our virtual environment
deactivate

back