A few month back Digital Ocean announced the beta support of its API v2.
Not many tools or library supports it, but thanks to Igor A. Borisov pull request, dopy now supports version 2 of the API!
You can proceed to the install via regular
pip install dopy. The new version of dopy (v0.3.0) is compatible with former implementations and if you still uses Digital Ocean API v1 no changes are required.
Looking forward to future integration of the V2 in other similar libraries, like libcloud, or projects that rely on dopy like Ansible and its digital ocean support.
In the mean time I updated a personal project to perform simple cleanup of your test instances, and autoremove droplets older than x hours. Have a look at digitalocean_cleaner - nothing fancy, just a conveniency tool to avoid forgetting your test droplets and stop being charged.
Now preparing the support for V2 in devo.ps, most likely released in the near future. Stay tuned!comments powered by Disqus