mabo basic lib in python