{"id":22048918,"url":"https://github.com/chaostoolkit-incubator/chaostoolkit-gandi","last_synced_at":"2026-04-29T22:01:33.264Z","repository":{"id":89502181,"uuid":"247826623","full_name":"chaostoolkit-incubator/chaostoolkit-gandi","owner":"chaostoolkit-incubator","description":"ChaosToolkit extension for Gandi","archived":false,"fork":false,"pushed_at":"2023-02-27T10:20:28.000Z","size":30,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-23T14:45:36.840Z","etag":null,"topics":["chaos-engineering","chaostoolkit","chaostoolkit-extension","gandi","gandi-api"],"latest_commit_sha":null,"homepage":"https://chaostoolkit.org/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chaostoolkit-incubator.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-03-16T22:15:05.000Z","updated_at":"2022-09-29T09:05:49.000Z","dependencies_parsed_at":null,"dependency_job_id":"4e586137-9de6-47c6-bf45-b98dc0f7ecba","html_url":"https://github.com/chaostoolkit-incubator/chaostoolkit-gandi","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/chaostoolkit-incubator/chaostoolkit-gandi","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chaostoolkit-incubator%2Fchaostoolkit-gandi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chaostoolkit-incubator%2Fchaostoolkit-gandi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chaostoolkit-incubator%2Fchaostoolkit-gandi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chaostoolkit-incubator%2Fchaostoolkit-gandi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chaostoolkit-incubator","download_url":"https://codeload.github.com/chaostoolkit-incubator/chaostoolkit-gandi/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chaostoolkit-incubator%2Fchaostoolkit-gandi/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32445555,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T20:22:27.477Z","status":"ssl_error","status_checked_at":"2026-04-29T20:22:26.507Z","response_time":110,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["chaos-engineering","chaostoolkit","chaostoolkit-extension","gandi","gandi-api"],"created_at":"2024-11-30T14:13:43.015Z","updated_at":"2026-04-29T22:01:33.230Z","avatar_url":"https://github.com/chaostoolkit-incubator.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":" # Chaos Toolkit extension for the Gandi platform\n \n[![Build Status](https://travis-ci.org/chaostoolkit-incubator/chaostoolkit-gandi.svg?branch=master)](https://travis-ci.org/chaostoolkit-incubator/chaostoolkit-gandi)\n[![Python versions](https://img.shields.io/pypi/pyversions/chaostoolkit-gandi.svg)](https://www.python.org/)\n\n\nThis project is a collection of [actions][] and [probes][], gathered as an\nextension to the [Chaos Toolkit][chaostoolkit].\n\n[actions]: http://chaostoolkit.org/reference/api/experiment/#action\n[probes]: http://chaostoolkit.org/reference/api/experiment/#probe\n[chaostoolkit]: http://chaostoolkit.org\n\n## Install\n\nThis package requires Python 3.5+\n\nTo be used from your experiment, this package must be installed in the Python\nenvironment where [chaostoolkit][] already lives.\n\n```\n$ pip install -U chaostoolkit-gandi\n```\n\n## Usage\n\nTo use the probes and actions from this package, add the following to your\nexperiment file:\n\n```json\n{\n    \"version\": \"1.0.0\",\n    \"title\": \"Our domains are not going expiring within a month\",\n    \"description\": \"We need time to renew.\",\n    \"secrets\": {\n        \"gandi\": {\n            \"apikey\": {\n                \"type\": \"env\",\n                \"key\": \"GANDI_API_KEY\"\n            }\n        }\n    },\n    \"steady-state-hypothesis\": {\n        \"title\": \"Check domains are all more than 1 month away from expiring\",\n        \"probes\": [\n            {\n                \"type\": \"probe\",\n                \"name\": \"list-my-domains\",\n                \"tolerance\": {\n                    \"type\": \"probe\",\n                    \"name\": \"validate-domain-expire-date\",\n                    \"provider\": {\n                        \"type\": \"python\",\n                        \"secrets\": [\"gandi\"],\n                        \"module\": \"chaosgandi.domains.tolerances\",\n                        \"func\": \"domains_should_not_expire_in\",\n                        \"arguments\": {\n                            \"when\": \"1 month\"\n                        }\n                    }\n                },\n                \"provider\": {\n                    \"type\": \"python\",\n                    \"secrets\": [\"gandi\"],\n                    \"module\": \"chaosgandi.domains.probes\",\n                    \"func\": \"list_domains\"\n                }\n            }\n        ]\n    },\n    \"method\": []\n}\n\n```\n\nThat's it!\n\nSet the `GANDI_API_KEY` environment variable to your Gandi API Key.\n\nPlease explore the code to see existing probes and actions.\n\n## Contribute\n\nIf you wish to contribute more functions to this package, you are more than\nwelcome to do so. Please, fork this project, make your changes following the\nusual [PEP 8][pep8] code style, sprinkling with tests and submit a PR for\nreview.\n\n[pep8]: https://pycodestyle.readthedocs.io/en/latest/\n\nThe Chaos Toolkit projects require all contributors must sign a\n[Developer Certificate of Origin][dco] on each commit they would like to merge\ninto the master branch of the repository. Please, make sure you can abide by\nthe rules of the DCO before submitting a PR.\n\n[dco]: https://github.com/probot/dco#how-it-works\n\n### Develop\n\nIf you wish to develop on this project, make sure to install the development\ndependencies. But first, [create a virtual environment][venv] and then install\nthose dependencies.\n\n[venv]: http://chaostoolkit.org/reference/usage/install/#create-a-virtual-environment\n\n```console\n$ pip install -r requirements-dev.txt -r requirements.txt\n```\n\nThen, point your environment to this directory:\n\n```console\n$ pip install -e .\n```\n\nNow, you can edit the files and they will be automatically be seen by your\nenvironment, even when running from the `chaos` command locally.\n\n### Test\n\nTo run the tests for the project execute the following:\n\n```\n$ pytest\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchaostoolkit-incubator%2Fchaostoolkit-gandi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchaostoolkit-incubator%2Fchaostoolkit-gandi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchaostoolkit-incubator%2Fchaostoolkit-gandi/lists"}