Start by cloning the repository:
$ git clone https://github.com/Astropilot/thumbhash-python
$ cd thumbhash-pythonWe recommand that you create a virtual environment:
$ python -m venv envThen activate the environment with:
# For linux
$ source ./env/bin/activate
# For Windows PowerShell
$ .\env\Scripts\Activate.ps1Make sure you use the latest pip version by upgrading it to prevent any error on the next steps:
$ python -m pip install --upgrade pipThen install the project in editable mode and the dependencies with:
$ pip install -e '.[dev,test]'To run all the tests you can use the following command:
$ pytest tests