{"id":20727341,"url":"https://github.com/blue-yonder/devpi-plumber","last_synced_at":"2025-04-23T18:51:55.381Z","repository":{"id":22635486,"uuid":"25978239","full_name":"blue-yonder/devpi-plumber","owner":"blue-yonder","description":"devpi-plumber helps to automate and test large devpi installations","archived":false,"fork":false,"pushed_at":"2024-04-15T08:07:38.000Z","size":438,"stargazers_count":10,"open_issues_count":0,"forks_count":6,"subscribers_count":16,"default_branch":"master","last_synced_at":"2024-04-16T04:18:31.577Z","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}},"created_at":"2014-10-30T15:53:10.000Z","updated_at":"2024-04-18T17:04:14.117Z","dependencies_parsed_at":"2023-01-13T22:06:19.664Z","dependency_job_id":"8bfeaf1e-41ea-4e90-a692-9c5b9190e0da","html_url":"https://github.com/blue-yonder/devpi-plumber","commit_stats":{"total_commits":215,"total_committers":14,"mean_commits":"15.357142857142858","dds":0.758139534883721,"last_synced_commit":"d04b6097b920a5066a9c07f094bd2abd436fe733"},"previous_names":[],"tags_count":29,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blue-yonder%2Fdevpi-plumber","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blue-yonder%2Fdevpi-plumber/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blue-yonder%2Fdevpi-plumber/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blue-yonder%2Fdevpi-plumber/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/blue-yonder","download_url":"https://codeload.github.com/blue-yonder/devpi-plumber/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224999539,"owners_count":17405057,"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":["devpi","python"],"created_at":"2024-11-17T04:30:08.762Z","updated_at":"2024-11-17T04:30:09.306Z","avatar_url":"https://github.com/blue-yonder.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"=======================\nMario the Devpi Plumber\n=======================\n\n.. image:: https://coveralls.io/repos/blue-yonder/devpi-plumber/badge.svg?branch=master\n    :alt: Coverage Status\n    :target: https://coveralls.io/r/blue-yonder/devpi-plumber?branch=master\n.. image:: https://badge.fury.io/py/devpi-plumber.svg\n    :alt: Latest Version\n    :target: https://pypi.python.org/pypi/devpi-plumber\n\nMario, the devpi-plumber, helps to automate and test large devpi_ installations. It offers a simple python commandline wrapper\naround the devpi client binary and utilities for using devpi in a test harness. To get access to the latter, install Mario\nwith the extra ``test`` requirement::\n\n    pip install devpi-plumber[test]\n\n\nMario by Example:\n=================\n\nAmong others, it can be used to automate the upload of packages:\n\n.. code:: python\n\n    with DevpiClient('https://devpi.company.com', 'user', 'secret') as devpi:\n        devpi.use('user/testindex')\n        devpi.upload('path/to/package-1.0.tar.gz')\n\nTo make it easier to perform modifications on non-volatile indices, there is a context manager that temporarily toggles the volatile flag.\n\n.. code:: python\n\n    with volatile_index(devpi, 'user/prodindex'):\n        devpi.remove('broken_package==0.1.0')\n\nIn order to simplify the testing of such plumbing scripts, it ships with a simple context manager for starting and stopping devpi servers in tests.\n\n.. code:: python\n\n    def do_maintenance(devpi):\n        \"\"\" My plumbing script \"\"\"\n        devpi.use('user/testindex')\n        # ...\n\n    users = { \n        'user': {'password': 'secret'},\n    }\n    indices = {\n        'user/prodindex': {},\n        'user/testindex': {'bases': 'user/prodindex'},\n    }\n    with TestServer(users, indices) as devpi:\n        do_maintenance(devpi)\n\n\nLicense\n=======\n\n`New BSD`_\n\n\n.. _devpi: http://doc.devpi.net/latest/\n.. _New BSD: https://github.com/blue-yonder/devpi-builder/blob/master/COPYING\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblue-yonder%2Fdevpi-plumber","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fblue-yonder%2Fdevpi-plumber","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblue-yonder%2Fdevpi-plumber/lists"}