Very simple library to shorten and expand links with Bitly. You must create an account on bitly.com and generate an access token.
Run this command on terminal:
pip install git+https://github.com/barbax7/barbax_bitly.git
or write in your requirements.txt file:
git+https://github.com/barbax7/barbax_bitly.git