pymkv is a Python wrapper for mkvmerge. It provides support for muxing, splitting, linking, chapters, tags, and and attachments through the use of mkvmerge.
pymkv is a Python 3 library for manipulating MKV files. I was previously constructing mkvmerge commands manually but they were becoming overly complex and unmanageable. This is what inspired me to start this project. Please open new issues for any bugs you find, support is greatly appreciated!
mkvmerge must be installed on your computer. It is recommended to add it to your $PATH variable but a different path can be manually specified. mkvmerge can be found and downloaded from here or can be found in most package managers.
To install pymkv using pip, run the following command:
$ pip install pymkv
You can also clone the repo and run the following commands in project root if you wish to edit the source code:
$ pip install -r requirements.txt $ pip install -e .
pymkv documentation can be found in the GitHub repo wiki.