dopy
dopy copied to clipboard
Digital Ocean Python
Python3 does not have a "basestring" type (as per: https://stackoverflow.com/questions/34803467/unexpected-exception-name-basestring-is-not-defined-when-invoking-ansible2) and the recommended action is to replace it with the "str" type. This was the only instance of it that...
Hi there. DO team removed virtio parameter from create droplet get request, [here](https://developers.digitalocean.com/documentation/v2/#create-a-new-droplet). In virtio parameter should be removed from function new_dropplet v2, example: ``` if self.api_version == 2: params...
When I try to run dopy in combination with python 3 I get the following error: `name 'basestring' is not defined` Uncommenting the following line works for me: [https://github.com/Wiredcraft/dopy/blob/master/dopy/manager.py#L83](https://github.com/Wiredcraft/dopy/blob/master/dopy/manager.py#L83) I...
This fixes an issue with the module when using Python 3.x when using `ssh_key_ids`
As documented in https://developers.digitalocean.com/documentation/v2/#create-a-new-droplet
Got this error on Mac OSX 10.12.5 & Python 3.6.1: ```bash pip3 install dopy ``` Output: ``` ...(bla bla)... Building wheels for collected packages: dopy Running setup.py bdist_wheel for dopy...
Digital Ocean's V2 API supports listing droplets by tag name, docs [here](https://developers.digitalocean.com/documentation/v2/#listing-droplets-by-tag). Supporting this API will allow users to perform tag-based droplet discovery.
Per [the DO developer docs](https://developers.digitalocean.com/documentation/changelog/api-v2/deprecating-update-tag/), tag rename (`PUT /v2/tags/:name`) will be deprecated on April 26. Please plan accordingly.