real-time bidding with Python