Select AWS Profile Language grade: Python

Select AWS Profile (slapr) is a simple tool that lets you select which AWS Profile you want to use and sets it as the default AWS profile, so that you can easily use your favorite AWS CLI commands.


pip install slapr



If you already have configured a default aws cli profile, please rename it otherwise the tool will overwrite it.

If you have set the AWS_PROFILE environment variable the tool won’t work.



Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

How to test

  • Setup virtual environment and install requirements

virtualenv env
source env/bin/activate
pip install -r requirements.txt
  • Once you are ready with your changes and you want to test them locally, install the tool in editable mode
pip install --editable .


This project is under The GNU General Public License v3.0


View Github