Collect & Claim Royalty in Python