Skip to main content

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

Project description

Build Status Coverage Status Latest Version Requirements Status

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

New BSD

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.4.tar.gz (5.0 kB view hashes)

Uploaded Source

Built Distribution

devpi_plumber-0.2.4-py2.py3-none-any.whl (6.3 kB view hashes)

Uploaded Python 2 Python 3

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