{"id":15060594,"url":"https://github.com/andrewsomething/fabric-digitalocean","last_synced_at":"2026-03-12T00:33:55.097Z","repository":{"id":52415336,"uuid":"71946678","full_name":"andrewsomething/fabric-digitalocean","owner":"andrewsomething","description":"A collection of fabric tools for working with DigitalOcean","archived":false,"fork":false,"pushed_at":"2021-04-29T20:50:04.000Z","size":14,"stargazers_count":8,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-03-05T10:46:56.000Z","etag":null,"topics":["digitalocean","fabric","hacktoberfest"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/andrewsomething.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-10-25T23:12:49.000Z","updated_at":"2023-01-20T12:48:25.000Z","dependencies_parsed_at":"2022-09-19T04:20:25.094Z","dependency_job_id":null,"html_url":"https://github.com/andrewsomething/fabric-digitalocean","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/andrewsomething/fabric-digitalocean","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewsomething%2Ffabric-digitalocean","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewsomething%2Ffabric-digitalocean/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewsomething%2Ffabric-digitalocean/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewsomething%2Ffabric-digitalocean/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andrewsomething","download_url":"https://codeload.github.com/andrewsomething/fabric-digitalocean/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewsomething%2Ffabric-digitalocean/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30408500,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-11T22:36:59.286Z","status":"ssl_error","status_checked_at":"2026-03-11T22:36:57.544Z","response_time":84,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["digitalocean","fabric","hacktoberfest"],"created_at":"2024-09-24T23:01:01.399Z","updated_at":"2026-03-12T00:33:55.053Z","avatar_url":"https://github.com/andrewsomething.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"===================\nfabric-digitalocean\n===================\n\n.. image:: https://travis-ci.org/andrewsomething/fabric-digitalocean.svg?branch=master\n    :target: https://travis-ci.org/andrewsomething/fabric-digitalocean\n\nfabric-digitalocean is a collection of tools aiming to make it easy to use\n`Fabric`_ and `DigitalOcean`_ together.\n\nIt was inspired by `fabric-aws`_\n\nInstallation\n------------\n\n.. code-block::\n\n    pip install fabric-digitalocean\n\n\nUsage\n-----\n\nWith fabric-digitalocean, you can decorate Fabric tasks to run on a set of\nDigitalOcean Droplet. The `@droplets` decorator can take a list of Droplet IDs,\na tag, or a region as an argument. If you use a tag or region, it will be\nexpanded to a list of all Droplets with that tag applied or in that region.\nThey can also be used together.\n\nThe environmental variable `FABRIC_DIGITALOCEAN_TOKEN` must contain a\nDigitalOcean API token.\n\nSee below for an example:\n\n.. code-block:: python\n\n    from fabric.api import task, run\n    from fabric_digitalocean.decorators import droplets\n\n\n    @task\n    @droplets(ids=[8043964, 7997777])\n    def task_by_ids():\n        run('hostname')\n        run('uptime')\n\n\n    @task\n    @droplets(tag='demo')\n    def task_by_tag():\n        run('hostname')\n        run('uptime')\n\n\n    @task\n    @droplets(region='nyc3')\n    def task_by_region():\n        run('hostname')\n        run('uptime')\n\n\n    @task\n    @droplets(region='nyc2', tag='demo')\n    def task_by_both():\n        run('hostname')\n        run('uptime')\n\n\nTesting\n-------\n\nTo run the test suite, use:\n\n.. code-block::\n\n    nosetests -v --with-coverage --cover-package=fabric_digitalocean\n\n\n.. _Fabric: http://www.fabfile.org/\n.. _DigitalOcean: https://www.digitalocean.com\n.. _fabric-aws: https://github.com/EverythingMe/fabric-aws\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrewsomething%2Ffabric-digitalocean","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandrewsomething%2Ffabric-digitalocean","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrewsomething%2Ffabric-digitalocean/lists"}