The BIDS format has several tools in the Python ecosystem. These are broadly
split into two groups: one for converting and storing data in the BIDS format,
and another for analyzing and manipulating pre-existing BIDS datasets.
mne-bids is a collection of tools
for converting magnetoencephalography (MEG) data into BIDS format, as well
as some helper functions for creating the folders and metadata needed for a
BIDS dataset. Check out their
online documentation and the
examples gallery to learn
how to use this package.