python-digitalocean
python-digitalocean copied to clipboard
🐍🐳 Python module to manage Digital Ocean droplets
This PR Resolves #355
When the API returns a 400/500 error with no body, this raises a JSONReadError ```│ /home/user/anaconda3/envs/cudareg/lib/python3.10/site-packages/digitaloce │ │ an/Manager.py:66 in get_all_droplets │ │ │ │ 63 │ │ if tag_name:...
Good day! I get an error ``` File "/usr/local/lib/python3.10/http/client.py", line 1260, in putheader raise ValueError('Invalid header value %r' % (values[i],)) ValueError: Invalid header value b'Bearer dop_v1_XXXXXXXX7\n' ``` where dop_v1_XXXXXXXX -...
Updated manager to do not submit body params during request when params argument was set to False. ``` if params is False: del kwargs['data'] ``` The API will return an...
Any thoughts on adding Kubernetes support? Would love to be able to add/remove node pools via Python instead of using doctl.
Hi, In `create_new_domain_record`, this package is overriding the `ttl` kwarg, which comes from the domain's overall TTL (from SOA): https://github.com/koalalorenzo/python-digitalocean/blob/ebea58fddf2ceea35c027bfa66f2fa9f5debfd64/digitalocean/Domain.py#L83-L84 which is populated earlier here: https://github.com/koalalorenzo/python-digitalocean/blob/ebea58fddf2ceea35c027bfa66f2fa9f5debfd64/digitalocean/Domain.py#L24-L30 Consequently, the `ttl` kwarg...
https://developers.digitalocean.com/documentation/v2/#billing-history
https://github.com/koalalorenzo/python-digitalocean/issues/305
Adding the capability to do the following within the DigitalOcean Database endpoints: - Database Clusters, Replicas, Database Users, and Databases within a cluster - Create - Destroy - List -...