Install
Dependencies
DataMatrix
requires only the Python standard library. That is, you can use it without installing any additional Python packages (although the pip and conda packages install some of the optional dependencies by default). Python 3.7 and higher are supported.
The following packages are required for extra functionality:
numpy
andscipy
for using theFloatColumn
,IntColumn
,SeriesColumn
,MultiDimensionalColumn
objectspandas
for conversion to and frompandas.DataFrame
mne
for conversion to and frommne.Epochs
andmne.TFR
fastnumbers
for improved performanceprettytable
for creating a text representation of a DataMatrix (e.g. to print it out)openpyxl
for reading and writing.xlsx
filesjson_tricks
for hashing, serialization to and fromjson
, and memoization (caching)tomlkit
for reading configuration frompyproject.toml
psutil
for dynamic loading of large data
Installation
PyPi (pip install)
pip install datamatrix
Anaconda
conda install -c conda-forge datamatrix
Ubuntu
sudo add-apt-repository ppa:smathot/cogscinl # for stable releases
sudo add-apt-repository ppa:smathot/rapunzel # for development releases
sudo apt-get update
sudo apt install python3-datamatrix