{"id":32176149,"url":"https://github.com/valerytschopp/python-radosgw-admin","last_synced_at":"2026-02-18T22:02:18.614Z","repository":{"id":57459717,"uuid":"13501478","full_name":"valerytschopp/python-radosgw-admin","owner":"valerytschopp","description":"Ceph RADOS Gateway admin operations","archived":false,"fork":false,"pushed_at":"2020-10-07T08:49:08.000Z","size":125,"stargazers_count":37,"open_issues_count":4,"forks_count":22,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-10-21T19:55:30.099Z","etag":null,"topics":["ceph","ceph-radosgw","pip","python","radosgw","radosgwadmin","rgw","rgwadmin"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/valerytschopp.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":"2013-10-11T14:49:17.000Z","updated_at":"2025-09-19T11:46:57.000Z","dependencies_parsed_at":"2022-09-13T16:11:04.050Z","dependency_job_id":null,"html_url":"https://github.com/valerytschopp/python-radosgw-admin","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/valerytschopp/python-radosgw-admin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/valerytschopp%2Fpython-radosgw-admin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/valerytschopp%2Fpython-radosgw-admin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/valerytschopp%2Fpython-radosgw-admin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/valerytschopp%2Fpython-radosgw-admin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/valerytschopp","download_url":"https://codeload.github.com/valerytschopp/python-radosgw-admin/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/valerytschopp%2Fpython-radosgw-admin/sbom","scorecard":{"id":915130,"data":{"date":"2025-08-11","repo":{"name":"github.com/valerytschopp/python-radosgw-admin","commit":"b339589abcbf2c7b0e7cccfc3463bfcf14bc60f9"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.3,"checks":[{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Code-Review","score":2,"reason":"Found 6/23 approved changesets -- score normalized to 2","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: GNU General Public License v3.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 13 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-24T20:41:06.628Z","repository_id":57459717,"created_at":"2025-08-24T20:41:06.632Z","updated_at":"2025-08-24T20:41:06.632Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29596329,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-18T20:59:56.587Z","status":"ssl_error","status_checked_at":"2026-02-18T20:58:41.434Z","response_time":162,"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":["ceph","ceph-radosgw","pip","python","radosgw","radosgwadmin","rgw","rgwadmin"],"created_at":"2025-10-21T19:55:02.658Z","updated_at":"2026-02-18T22:02:18.609Z","avatar_url":"https://github.com/valerytschopp.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"python-radosgw-admin\n====================\n\nPython REST API for the Ceph RADOS Gateway (radosgw) admin operations\n\nhttp://docs.ceph.com/docs/master/radosgw/adminops/\n\n**NOTICE:** The library support Ceph version \u003e= 10.2 (Jewel).\n\nChanges\n-------\n- Version 1.6: Support for Ceph Hammer or older have been dropped.\n- Version 1.7: Functions ``get_buckets()`` and ``get_users()`` returns an iterator, not a list anymore.\n- Version 1.7.1: Function ``get_uids()`` added.\n- Version 1.7.2: Functions ``get_policy(bucket, object=None, ...)`` and ``delete_usage()`` added. Function ``set_quota(...)`` returns ``None``.\n\nRequirement\n-----------\n\n- boto\n\nInstallation\n------------\n\n.. image:: https://img.shields.io/pypi/v/radosgw-admin.svg\n   :target: https://pypi.python.org/pypi/radosgw-admin\n\nThe package is available on https://pypi.python.org/pypi/radosgw-admin. To install it use ``pip``::\n\n  pip install radosgw-admin\n\nOr clone this `repository \u003chttps://github.com/valerytschopp/python-radosgw-admin\u003e`_ and install it locally::\n\n  python setup.py install\n\n\nConfiguration of the admin user\n-------------------------------\n\nTo create or modify a bucket/user in radosgw, the admin user require the following ``read,write`` capabilities (caps)::\n\n  \"caps\": [\n     { \"type\": \"buckets\",\n       \"perm\": \"*\" },\n     { \"type\": \"usage\",\n       \"perm\": \"read\" },\n     { \"type\": \"metadata\",\n       \"perm\": \"read\" },\n     { \"type\": \"users\",\n       \"perm\": \"*\" }\n  ]\n\nYou can use the ``radosgw-admin`` command to add capabilities to an existing user::\n\n  radosgw-admin caps add --uid \u003cUSER_ID\u003e --caps \"buckets=read,write\"\n  radosgw-admin caps add --uid \u003cUSER_ID\u003e --caps \"users=read,write\"\n\n\nExamples\n--------\n\nSee the example in `examples/radosgw-admin-example.py \u003chttps://github.com/valerytschopp/python-radosgw-admin/blob/master/examples/radosgw-admin-example.py\u003e`_\n\n\nHere is a simple example:\n\n.. code-block:: python\n\n  import radosgw\n\n  rgwadmin = radosgw.connection.RadosGWAdminConnection(host='hostname.example.org',\n                                                       access_key='\u003cADMIN_ACCESS_KEY\u003e',\n                                                       secret_key='\u003cADMIN_SECRET_KEY\u003e')\n  # user operations\n  testuser2 = rgwadmin.create_user('testuser2',\n                                   display_name='A test user',\n                                   email='testuser2@example.org')\n\n  testuser2.update(display_name='Second test user', suspended=True)\n\n  testuser1 = rgwadmin.get_user('testuser1')\n\n  # bucket operations\n  buckets = rgwadmin.get_buckets()\n  for bucket in buckets:\n      print(bucket)\n\n  testuser1_buckets = testuser1.get_buckets()\n  for bucket in testuser1_buckets:\n      # transfer buckets to testuser2\n      rgwadmin.link_bucket(bucket.name, bucket.id, testuser2.id)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvalerytschopp%2Fpython-radosgw-admin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvalerytschopp%2Fpython-radosgw-admin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvalerytschopp%2Fpython-radosgw-admin/lists"}