Pack and unpack Check_MK mkp files
Project description
Pack or unpack Check_MK mkp files.
Installation
pip install mkp
Usage
Extract mkp package
import mkp package = mkp.load_file('foo-1.0.mkp') print(package.info) package.extract_files('path/to/somewhere')
Pack files to mkp package
import mkp info = { 'author': 'tom-mi', 'description': 'Test the system', 'download_url': 'http://example.com/', 'files': mkp.find_files('path/to/files'), 'name': 'test', 'title': 'Test', 'version': '1.0', 'version.min_required': '1.2.3', } mkp.pack_to_file(info, 'path/to/files', 'test-1.0.mkp')
License
This software is licensed under GPLv2.
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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
mkp-0.1-py2.py3-none-any.whl
(4.6 kB
view hashes)