Skip to main content

Mario, the devpi-plumber, helps to automate and test large devpi installations.

Project description

Mario the Devpi Plumber
=======================

[![Build Status](https://travis-ci.org/blue-yonder/devpi-plumber.svg?branch=master)](https://travis-ci.org/blue-yonder/devpi-plumber)
[![Coverage Status](https://coveralls.io/repos/blue-yonder/devpi-plumber/badge.png?branch=master)](https://coveralls.io/r/blue-yonder/devpi-plumber?branch=master)
[![Latest Version](https://pypip.in/version/devpi-plumber/badge.svg)](https://pypi-hypernode.com/pypi/devpi-plumber/)
[![Requirements Status](https://requires.io/github/blue-yonder/devpi-plumber/requirements.png?branch=master)](https://requires.io/github/blue-yonder/devpi-plumber/requirements/?branch=master)


Mario, the devpi-plumber, helps to automate and test large devpi installations. It offers a simple python commandline wrapper
around the devpi client binary and utilities for using devpi in a test harness.


Mario by Example:
-----------------
Among others, it can be used to automate the upload of packages:
```python
with DevpiClient('https://devpi.company.com', 'user', 'secret') as devpi:
devpi.use('user/testindex')
devpi.upload('path_to_package')
```

In order to simplify the testing of such plumbing scripts, it ships with a simple context manager for starting and stopping devpi servers in tests:
```python
users = {
'user': {'password': 'secret'},
}
indices = {
'user/prodindex': { },
'user/testindex': {'bases': 'user/prodindex'},
}
with TestServer(users, indices) as devpi:
devpi.use('user/testindex')
devpi.upload('path_to_package')
```

License
-------

[New BSD](COPYING)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

devpi-plumber-0.2.2.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

devpi_plumber-0.2.2-py2.py3-none-any.whl (5.9 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file devpi-plumber-0.2.2.tar.gz.

File metadata

File hashes

Hashes for devpi-plumber-0.2.2.tar.gz
Algorithm Hash digest
SHA256 5b972e40fd9720bbbda8e44c198ede0bb6b1108525108832f5048582169db929
MD5 09f9c3e0ff992038e5d0f58fce59ecc1
BLAKE2b-256 9598871f3bc121c594e7239e2cad62622bc5641136f58a09b2d85d595e3c4ab7

See more details on using hashes here.

File details

Details for the file devpi_plumber-0.2.2-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for devpi_plumber-0.2.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 d2253df8f25f8e76f5f33f9efa0edc39059ba85114b906a7e22b294717026f57
MD5 ea8333d7937bdd3fc421b0b6708a49cb
BLAKE2b-256 9f3205daf77dab9ad29991e99dbf8ed2b62aed21a4197b40878857b6f5d73a0e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page