Skip to main content

Python Interface to MonumentAI Model Serving

Project description

This is a python interface to Monument model serving.


  • Monument gui version 1.14 or later

  • python 3 with numpy (tested with python 3.8)

How to Use


from monument import monument


Initialize with the installation directory of Monument app on your machine.

On Windows or Mac, the directory can be omitted,


On Linux, it might be found in your home directory.

from os.path import expanduser
home = expanduser("~").replace("\\","/")
monument.init(home + "/MonumentDev")


Specify the location of your maifile (.mai), serving data file (.csv), and algo name (Algo(Column)).

The algo name must match the model in the maifile.

maifile = "tests/data/insure.mai"
csvfile = "tests/data/insure2.csv"
algo = "Ent-Boost(AIG)"
res = monument.serve(maifile,csvfile,algo)

Project details

Download files

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

Source Distribution

monument-0.1.1.tar.gz (10.2 kB view hashes)

Uploaded source

Built Distribution

monument-0.1.1-py3-none-any.whl (11.3 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page