Installation¶
aiomas requires Python >= 3.4 and runs on Linux, OS X and Windows. The default installation uses the JSON codec and only has pure Python dependencies.
If you have an active virtualenv, you can just run pip to install it:
$ pip install aiomas
If you don’t use a virtualenv (you should) and are not sure, which Python interpreter pip will use, you can manually select one:
$ python3.5 -m pip install aiomas
Updating aiomas¶
To upgrade your installation, use the -U
flag for the install
command:
$ pip install -U aiomas
Using MsgPack and Blosc¶
The MsgPack codec and its Blosc compressed version are optional features, that you need to explicitly install if you need them. Both packages require a C compiler for the installation:
$ pip install aiomas[mp] # Enables the MsgPack codec
$ pip install aiomas[mpb] # Enables the MsgPack and MsgPackBlosc codecs
Windows users can download pre-compiled binary packages from Christoph Gohlke’s website (msgpack | blosc) and install them with pip:
C:\> pip install aiomas
C:\> pip install Downloads\msgpack_python-0.4.7-cp35-none-win_amd64.whl
C:\> pip install Downloads\blosc-1.2.8-cp35-none-win_amd64.whl