At the command line:
$ pip install magnum
Or, if you have virtualenvwrapper installed:
$ mkvirtualenv magnum $ pip install magnum