Python: the bmp package

Python interface to BMP

PyBMP is implemented as a Python package, named bmp. This package offers three public modules:

The bmp.common module provides common objects to share between the two other modules, such as bmp.common.error, the most generic PyBMP exception, also accessible as bmp.error.

The bmp.control module provides functions to control BMP (play, pause, add files to the playlist...).

The bmp.config module provides functions and classes to manage the main configuration file for BMP (parsing, modification, writing...).

For backward compatibility, the public objects defined in bmp.control are accessible directly from the bmp package, so code like import bmp; bmp.play() still works, but you should not rely on this behaviour.