I have been successfully been uploading to my Wordpress site using the wordpress_xmlrpc package in Python.
client = Client(\'https://website.wordpress.com/xmlrpc.