How to use OpenGeode Python binding

What do you need

Python - pip

OpenGeode is supported and continuously tested with several Python versions:

  • 3.6 and 3.7 on Windows - Visual Studio 2017
  • 3.6, 3.7 and 3.8 on Linux

Using OpenGeode bindings from PyPI

The use of OpenGeode bindings very is simple.

Installation

The bindings are located in PyPI under the name OpenGeode-core. Install it using pip: pip install OpenGeode-core.

Execution

  1. Open a Python script or a Jupyter notebook.
  2. Import OpenGeode bindings: import opengeode.
  3. Use any OpenGeode objects, methods and functions point = opengeode.Point3D([0.1, 42, 54.9])

That's all! You are ready to work with OpenGeode bindings.