Python API for Diaspora (unofficial)
Clone the repo, then
>>> import diaspy.client
>>> c = diaspy.client.Client('podurl', 'username', 'password')
>>> c.post('randomtext')
If you need more features you should take a look at Marek’s advanced version.