A Python library implementing the Bargaining Protocol