Mario, the devpi-plumber, helps to automate and test large devpi installations.
Project description
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:
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
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
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.2.4.tar.gz
(5.0 kB
view details)
Built Distribution
File details
Details for the file devpi-plumber-0.2.4.tar.gz
.
File metadata
- Download URL: devpi-plumber-0.2.4.tar.gz
- Upload date:
- Size: 5.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c19e6681dc782e1fcc52ffa3d894cfdedb3e80c94075d52a315196a24ab82e81 |
|
MD5 | 154de4da66d6f17405123aace57dd938 |
|
BLAKE2b-256 | dde2a39774ab38a3daf8f03231f46fac1c3959b3147f5d6aeaa210ceaf7287d1 |
File details
Details for the file devpi_plumber-0.2.4-py2.py3-none-any.whl
.
File metadata
- Download URL: devpi_plumber-0.2.4-py2.py3-none-any.whl
- Upload date:
- Size: 6.3 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 30f5f13373b8fd5d98fa6b00aea595e492cd9725b03af76c309aa7946d9e4947 |
|
MD5 | a47a9504e585f5d6b41455a546928a7b |
|
BLAKE2b-256 | 03f7bcea31eb1a8f14621d3d4c831731482fd0a8a130a92db49934f6dd4510ad |