Python library implementing the Bargaining Protocol