This is the repository for Seequent's Geosoft GX Developer support for Python development. Refer to the documentation for more information.
Tutorials for various subjects are available as Jupyter Notebooks, and are added as subjects are developed. See the following github page for what is currently available:
https://github.com/GeosoftInc/gxpy/tree/master/examples/jupyter_notebooks/Tutorials (Select the branch that matches the GX Developer version you are working with.)
If you are new to GX Developer, refer to the GX Developer tutorial
Also see the Geosoft organization on Github for the other programming language specific repos.
A Python environment is shipped with Oasis Montaj and will be used by default. If you would like to use a different environment installed on your machine, you can configure this in Oasis Montaj from the Project > Settings > Python...
path in the menu.
If you choose to use a non-default environment, you will need to manually install the gxpy wheels into that environment
envpath\scripts\pip.exe install geosoft
See https://pypi.org/project/geosoft/#history to determine for any gxpy version, what python environment version it can be installed into.
The base GX API, which is exposed to Python by the geosoft.gxapi module, is consistent across versions. This means that earlier versions of geosoft.pxpy will work with the latest Oasis Montaj. While we recommend that older scripts be updated to conform to the latest version API, should you need support for multiple versions of geosoft.gxpy you can create separate Python environments for each version.
Any source code found here are released under the BSD 2-clause license. Core functionality exposed by the GX API may have additional license implications. For more information consult the License page in the GX Developer Wiki