I've been following Webfaction since they're known as python-hosting.com. Back in early 2000, it's not easy to find any python web hosting. Textdrive was the first but then after closed down, I was left wandering around the Net looking for a new hosting provider.
Since then, I have been hosting all side projects on Webfaction.
I found cli tools for Webfaction API. The project seem abandoned already so I've just fork it to my github account and start adding few unimplemented command.
- https://pypi.python.org/pypi/webf
- https://github.com/k4ml/webf
After playing around with the API for a while, I realized that we don't really need fancy library to access the API. It pretty straightforward, the API only accept either plain string, boolean or list as parameters and return either a dict or list of dicts. So here a client to the whole APIs in just 106 lines of code - https://gist.github.com/k4ml/5889346#file-webf-py.
Top comments (0)