- Install pyenv
- Setup virtual environment
# install necessary Python version
pyenv install 3.13.2
# create a virtual environment
pyenv virtualenv 3.13.2 v3.13
pyenv activate v3.13- Upgrade pip
pip install -U pip- Install pre-commit
pip install -U pre-commit
pre-commit install- Install the library:
pip install -e .Before submitting a change, make sure the following commands run without errors from the root folder of the repository:
python -m unittest discoverFor testing the app with real calls it is possible to run the integration testing app, it makes calls to almost all Sift public API endpoints to make sure the library integrates well. At the moment, the app is run on every merge to master
- Add env variable
API_KEYwith the valid Api Key associated from the account
export API_KEY="api_key"- Add env variable
ACCOUNT_IDwith the valid account id
export ACCOUNT_ID="account_id"- Run the following under the project root folder
# run the app
python test_integration_app/main.py