This tool is showcased in the project IotaWorkshop
This is both a cli and a libaray that can be imported and used. The purpose of this libary is to create a escrow address, hold IOTAs until a condition is met, then release the funds and optimally take a fee.
Simply install from the pip repository,
pip install iotaescrow
Run the command, possibly as sudo,
iotaescrow 100 7 #Requesting 100IOTA as a deposit and will take a 7IOTA fee