
Research
Security News
The Growing Risk of Malicious Browser Extensions
Socket researchers uncover how browser extensions in trusted stores are used to hijack sessions, redirect traffic, and manipulate user behavior.
DOP is a MIT licensed Python wrapper for Digital Ocean's API.
Full support for all methods listed here
_ except (they have weird behaviour):
- reset_root_password
- restore_droplet
- destroy_image
To install dop, simply: ::
$ pip install dop
It is pretty easy to use:
.. code-block:: python
from dop.client import Client
client = Client('client_id', 'api_key')
# Print regions.
regions = client.regions()
for region in regions:
print(region.to_json())
# Create a 512Mb droplet (Debian 7.0 x32) in the Amsterdam region.
client.create_droplet(name='test', size_id=66, image_id=303619, region_id=2)
Pull requests and improvements are welcome.
.. _here
: https://www.digitalocean.com/api
.. image:: https://d2weczhvl823v0.cloudfront.net/ahmontero/dop/trend.png :alt: Bitdeli badge :target: https://bitdeli.com/free
Version 0.1.6 + Python 3 compatibility thanks to Sambodson (https://github.com/samdobson)
Version 0.1.5 + Updated API
Version 0.1.4 + Added virtio parameter to create_droplet method + Minor fixes in all_ssh_keys method + Readme region example now uses to_json() method
Version 0.1.3 + Added ssh_keys support to Droplet object (thanks to Derek: http://github.com/covertgeek)
Version 0.1.2 + Added ip_address to Droplet object (thanks to Derek: http://github.com/covertgeek)
Version 0.1.1 + Added support for requests 1.x (thanks to Luke: http://github.com/clone1018)
Version 0.1.0 + Initial release
FAQs
A Python client for the Digital Ocean API
We found that dop demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket researchers uncover how browser extensions in trusted stores are used to hijack sessions, redirect traffic, and manipulate user behavior.
Research
Security News
An in-depth analysis of credential stealers, crypto drainers, cryptojackers, and clipboard hijackers abusing open source package registries to compromise Web3 development environments.
Security News
pnpm 10.12.1 introduces a global virtual store for faster installs and new options for managing dependencies with version catalogs.