Skip to main content

Pack and unpack Check_MK mkp files

Project description

Build Status

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


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

If you're not sure about the file name format, learn more about wheel file names.

mkp-0.1-py2.py3-none-any.whl (4.6 kB view details)

Uploaded Python 2Python 3

File details

Details for the file mkp-0.1-py2.py3-none-any.whl.

File metadata

  • Download URL: mkp-0.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 4.6 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for mkp-0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 6e44c68959b2b6d0c25c80a426596096524a802103cb43d8a0cd87fac9ee478d
MD5 0648bf0aea100a3a9f927a4ef6bf8b93
BLAKE2b-256 50b0348bf8ecda8c2c9b53b569a9faf8a42a589f4ddcc8773d19023d0cff35bc

See more details on using hashes here.

Supported by

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