I got my answer - User Guide — urllib3 dev documentation will do the trick, using multipart/form-data encoding. requests module was supposed to use urllib3 but doesnt seem to be, atleast for the way that is required for AEM.
My format is correct as per normal Python requests module rule, but still I am not able to upload a file to AEM using Python.How do we convert the followingcurl -u admin:admin -F file=@"C:\sample\samplepackage.zip" -F name="samplepackage" -F force=true -F install=false http://localhost:4502/crx/pack...