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)
=======================
[![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
Release history Release notifications | RSS feed
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.1.0.tar.gz
(3.3 kB
view details)
Built Distribution
File details
Details for the file devpi-plumber-0.1.0.tar.gz
.
File metadata
- Download URL: devpi-plumber-0.1.0.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7dca7a3c91edc437fb13be55d622efbc23ef03749a3f0be3b226acf59d1ac39e |
|
MD5 | d4b4197f8f2c0f3bb1e7bffe13a92040 |
|
BLAKE2b-256 | fc08522c64058563b007c7f29da7d9199e859c11a59c66e2d9a617d73debc475 |
File details
Details for the file devpi_plumber-0.1.0-py2.py3-none-any.whl
.
File metadata
- Download URL: devpi_plumber-0.1.0-py2.py3-none-any.whl
- Upload date:
- Size: 5.6 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 51ccaf209914acc5b7f2a82e89fac90492971cfe521883d3c0c55c2546bbde0a |
|
MD5 | 5b9af345816ffab3ba45156ab3627a3e |
|
BLAKE2b-256 | 7b0dbfb2974b112852bdf95f8ccf8bc9195a05c2ef78c5545294a05246ab9f23 |