SWIFT API Python