PyWordPress – Python Library for WordPress
by Rufus Pollock. Average Reading Time: less than a minute.
Announcing pywordpress, a python interface to WordPress using the WordPress XML-RPC API.
- Download: http://pypi.python.org/pypi/pywordpress/
- Source code: https://bitbucket.org/rgrp/pywordpress/
Usage
Command line
Check out the commands::
wordpress.py -h
You will need to create a config with the details (url, login) of the wordpress
instance you want to work with::
cp config.ini.tmpl config.ini
# now edit away ...
vim config.ini
Python library
Read the code documentation::
>>> from pywordpress import WordPress
>>> help(WordPress)
read original post on [author-name]'s Site
