{"id":13551459,"url":"https://github.com/jbbriel/cloudflare-py","last_synced_at":"2025-04-03T01:32:54.479Z","repository":{"id":156918153,"uuid":"221007639","full_name":"jbbriel/cloudflare-py","owner":"jbbriel","description":"Script to enable and disable pools in CF Load Balancers","archived":false,"fork":false,"pushed_at":"2023-05-22T22:17:25.000Z","size":5,"stargazers_count":4,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-08-01T12:24:53.796Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jbbriel.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2019-11-11T15:10:41.000Z","updated_at":"2021-10-03T14:38:47.000Z","dependencies_parsed_at":"2024-01-16T19:12:00.382Z","dependency_job_id":null,"html_url":"https://github.com/jbbriel/cloudflare-py","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jbbriel%2Fcloudflare-py","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jbbriel%2Fcloudflare-py/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jbbriel%2Fcloudflare-py/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jbbriel%2Fcloudflare-py/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jbbriel","download_url":"https://codeload.github.com/jbbriel/cloudflare-py/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":222905961,"owners_count":17055820,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2024-08-01T12:01:48.663Z","updated_at":"2024-11-03T21:32:27.035Z","avatar_url":"https://github.com/jbbriel.png","language":"Python","readme":"# CloudFlare Script\n\nScript to enable and disable pools in CF Loadbalancers. Useful for deployments that are being executed in productions\n## Installation\n\n\n\n```bash\npip install -r requirements.txt\n```\n\n## Example commands\n\n```bash\n# Disables pool pool \npython cloudflare.py --pool ${CF_POOL_NAME} --authemail ${CF_EMAIL} --authkey ${CF_AUTH_KEY}  --lbname ${CF_LB_NAME}\n.com \n\n# Enables specified pool\npython cloudflare.py --pool ${CF_POOL_NAME} --authemail ${CF_EMAIL} --authkey ${CF_AUTH_KEY}  --lbname ${CF_LB_NAME}\n.com --enabled\n```\n\n### Arguement List\n\n```bash\n\n'--pool', required=True, help='name of the pool to be updated'\n\n'--lbname', required=True, help='name of the load balancer'\n\n'--authkey', required=True, help='CloudFlare API key'\n\n'--authemail', required=True, help='email associated with CloudFlare API key'\n\n'--enabled', action='store_true', help='Enables pool if specified, else it defaults to False\n```\n\n## Contributing\nContributing is allowed. Dont be afraid to make changes. :-)","funding_links":[],"categories":["Python"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjbbriel%2Fcloudflare-py","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjbbriel%2Fcloudflare-py","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjbbriel%2Fcloudflare-py/lists"}