As I've been getting more and more into CloudFoundry's infrastructure side (and not just its awesomeness as a developer using it), I've of course been wanting to automate it.
The cf cli is very good, and quite reliable, but it doesn't have XML or JSON output, and really, the CF API is quite accessible and pretty clear. So I decided I'd like to use Python to do it of course. I searched PyPI and found a python-cloudfoundry project but noted that it only worked with the CF 1.0 release, not the current v2 API releases.
So because of the awesomeness of the open source community and the CF API documentation, I began to rewrite it.
I'm pleased to announce the first alpha version of python-cloudfoundryv2 is available on my GitHub account. Check it out, please share feedback and send me some pull requests.
Here's an example of how to use it: