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