Install PyMapManager

Install from PyPi

pip install PyMapManager

Install from a manual download

1) Download the repo

git clone --depth=1

2) Install PyMapManager (from the downloaded folder)

cd PyMapManager
python install

Testing the install from a python prompt

Load an example map

from pymapmanager import mmMap
path = 'PyMapManager/examples/exampleMaps/rr30a'
myMap = mmMap(path)

You should see (exact seconds will vary)

map rr30a loaded in 0.45 seconds.

Then type

print myMap

And you should see

map:rr30a map segments:5 stacks:9 total object:2467

We have tons more examples

Head over to the examples/ folder in the main Github repository.

Running Jupyter notebooks

At this point, it is super simple to run all the example Jupyter notebooks interactively. Back at a command prompt, not in Python, enter the following commands to open a web page with interactive examples.

pip install jupyter
cd PyMapManager/examples
jupyter notebook