Skip to main content

Python bindings for MOOS

Project description


Python bindings for the Mission Oriented Software Suite (MOOS), developed at Oxford University and hosted on GitHub.


  • v2020.01
    • Fixed CMake to use whatever version of Python 3 available on the system.
    • Added binary message data type support.
    • Clean up code (clang-format and black).
  • v2019.07


  • MOOS Core
  • Python 3
  • Boost libraries (Boost Python compiled against Python 3)

Newer Ubuntu installations ship with both 2.7 and 3 versions of the Boost Python library. For older versions (or other OS's) Boost Python must be compiled and linked against Python 3.

Building MOOS

The pymoos bindings require that the core MOOS packages be installed:

git clone
cd core-moos
mkdir build
cd build
cmake ..

Building and Installation

The pymoos bindings can be downloaded and installed by:

git clone
cd pymoos
mkdir build
cmake ../
sudo make install

The installation can be tested by:

import pymoos.MOOSCommClient

If an import error occurs check that the installation directory (usually /usr/local/lib/python3/dist-packages on Ubuntu) is included in your PYTHONPATH. If not it can be added by:

export PYTHONPATH=$PYTHONPATH:/usr/local/lib/python3/dist-packages

Example Usage

The following code snippet creates a MOOS comm client from Python and connects to a database hosted on the local machine. From a Python3 interpreter, run:

import pymoos.MOOSCommClient
m = pymoos.MOOSCommClient.MOOSApp()
m.Run( "", 9000, "pymoos_test", 10)


The pymoos bindings were originally written by Ian Baldwin and then fixed up by David Hodo, but this repository hasn't seen an update in some years.

Project details

Release history Release notifications

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pymoos, version 2020.1.0
Filename, size File type Python version Upload date Hashes
Filename, size pymoos-2020.1.0.tar.gz (4.8 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page