Form data in pycurl request

I would like to make following curl request with pycurl: curl -v \ -H Accept:application/json \ -F "model={ name: 'zxy', targets: [ 'abc'] }" \ -F "deployment=@/deployments/MyApp.ear" \ -X POST ht...