{"id":13542129,"url":"https://github.com/blue-yonder/devpi-cleaner","last_synced_at":"2025-07-28T08:05:13.459Z","repository":{"id":35086929,"uuid":"39243415","full_name":"blue-yonder/devpi-cleaner","owner":"blue-yonder","description":"Batch removal of (development) packages from devpi servers","archived":false,"fork":false,"pushed_at":"2025-06-19T06:56:24.000Z","size":159,"stargazers_count":18,"open_issues_count":2,"forks_count":7,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-06-19T07:45:44.676Z","etag":null,"topics":["devpi","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/blue-yonder.png","metadata":{"files":{"readme":"README.rst","changelog":"CHANGELOG.rst","contributing":null,"funding":null,"license":"COPYING","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,"zenodo":null}},"created_at":"2015-07-17T08:27:30.000Z","updated_at":"2025-06-19T06:56:27.000Z","dependencies_parsed_at":"2023-01-15T13:33:45.184Z","dependency_job_id":"0b3cbd71-915b-4cd6-9d67-24159e38b040","html_url":"https://github.com/blue-yonder/devpi-cleaner","commit_stats":{"total_commits":161,"total_committers":10,"mean_commits":16.1,"dds":"0.40372670807453415","last_synced_commit":"5f332be21f92b4ed375bc96eb54d9e7ff01da6be"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/blue-yonder/devpi-cleaner","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blue-yonder%2Fdevpi-cleaner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blue-yonder%2Fdevpi-cleaner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blue-yonder%2Fdevpi-cleaner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blue-yonder%2Fdevpi-cleaner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/blue-yonder","download_url":"https://codeload.github.com/blue-yonder/devpi-cleaner/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blue-yonder%2Fdevpi-cleaner/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267482004,"owners_count":24094508,"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","status":"online","status_checked_at":"2025-07-28T02:00:09.689Z","response_time":68,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["devpi","python"],"created_at":"2024-08-01T10:01:01.719Z","updated_at":"2025-07-28T08:05:13.428Z","avatar_url":"https://github.com/blue-yonder.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"=============\nDevpi Cleaner\n=============\n\n.. image:: https://coveralls.io/repos/blue-yonder/devpi-cleaner/badge.svg?branch=master\n    :alt: Coverage Status\n    :target: https://coveralls.io/r/blue-yonder/devpi-cleaner?branch=master\n.. image:: https://badge.fury.io/py/devpi-cleaner.svg\n    :alt: Latest Version\n    :target: https://pypi.python.org/pypi/devpi-cleaner\n\n\nLéon, the devpi cleaner, enables batch removal of artefacts from a `devpi server`_. Given a package and version\nspecification, it will remove the specified versions of a package from either a single index or all indices of a given\nuser.\n\nRationale\n=========\nDevpi cleaner wraps the original `devpi remove` command. It provides the following extensions:\n\n* Conditionally limit removal to development packages.\n* Conditionally limit removal to versions matching a given regular expression.\n* Temporarily switch non-volatile indices to volatile.\n* Apply a remove operation to all indices of a user.\n* Throttle removal activities if the Devpi server is having difficulties keeping up.\n\nLéon by Example\n===============\n\nThe following command will delete all development packages preceding version 0.2 of ``delete_me`` on index `index1` of\nthe user::\n\n    \u003e devpi-cleaner http://localhost:2414/ user/index1 'delete_me\u003c=0.2' --dev-only\n    Password:\n    Packages to be deleted from user/index1:\n     * delete_me 0.2.dev1 on user/index1\n     * delete_me 0.2.dev2 on user/index1\n    Cleaning user/index1…\n    100% (2 of 2) |###########################| Elapsed Time: 0:00:00 Time: 0:00:00\n    \u003e\n\nAs shown, packages will be listed and confirmation required before they are actually deleted from the server.\n\nCommandline Usage\n=================\n::\n\n    usage: devpi-cleaner [-h] [--batch] [--dev-only] [--version-filter REGEX]\n                         [--force] [--password PASSWORD] [--login LOGIN]\n                         server user[/index] package_specification\n\n    A utility to batch-remove packages from a Devpi server.\n\n    positional arguments:\n      server                The devpi server to operate on.\n      user[/index]          The index from which to remove the packages. If only\n                            the user part is specified, all indices of that user\n                            will be cleaned.\n      package_specification\n                            The specification of the package version(s) to remove.\n\n    optional arguments:\n      -h, --help            show this help message and exit\n      --batch               Assume yes on confirmation questions.\n      --dev-only            Remove only development versions as specified by PEP\n                            440.\n      --version-filter REGEX\n                            Remove only versions in which the given regular\n                            expression can be found.\n      --force               Temporarily make indices volatile to enable package\n                            removal.\n      --password PASSWORD   The password with which to authenticate.\n      --login LOGIN         The user name to user for authentication. Defaults to\n                            the user of the indices to operate on.\n\n    The arguments --dev-only and --version-filter can be combined. In this case\n    only packages passing both filters will be removed.\n\nLicense\n=======\n\n`New BSD`_\n\n\n.. _devpi server: http://doc.devpi.net/latest/\n.. _New BSD: https://github.com/blue-yonder/devpi-cleaner/blob/master/COPYING\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblue-yonder%2Fdevpi-cleaner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fblue-yonder%2Fdevpi-cleaner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblue-yonder%2Fdevpi-cleaner/lists"}