Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Insert excerpt
_python_introduction
_python_introduction
nopaneltrue

Python in this document

Python TutorialPython Tutorial for Geosoft GX Developer
Extending Oasis montaj with PythonPython Extensions
Stand-alone Python

Stand-Alone Programs

History of Python in GX Developer

Each release of GX Developer since 8.4 has included and advanced support for Python as noted here:

VersionDescription

GX Developer 9.3

 

9.3.1: Suport for Voxels and Surfaces, plus extension of the Geometry base class.

Jupyter notebook example: 

https://github.com/GeosoftInc/gxpy/blob/9.3.1/examples/jupyter_notebooks/Tutorials/Geosoft%20Voxel.ipynb


 

A Python Tutorial is now available: Python Tutorial for Geosoft GX Developer.

Jupyter notebook examples: https://github.com/GeosoftInc/gxpy/tree/9.3/examples/jupyter_notebooks/Tutorials

See the Module History for new api features.

GXDEV92

 

This is a significant advance of the geosoft.gxpy set of modules, which includes expansion of existing modules and support for 2D and 3D graphics capabilities. Following are new modules:

geosoft.gxpy.aggimage aggregates
geosoft.gxpy.coordinate_systemgeospatial coordinate system support
geosoft.gxpy.dataframetables, Pandas dataframe compatible
geosoft.gxpy.geometrygeospatial geometries
geosoft.gxpy.groupgroup drawing for 2D and 3D views
geosoft.gxpy.mapGeosoft maps, which are containers for 2D and 3D views
geosoft.gxpy.projectGeosoft project support
geosoft.gxpy.view2D and 3D views
geosoft.gxpy.viewerdocument viewers for all supported Geosoft document types.
Info

The multi-language GX API, on which both the Python geosoft.gxpy modules, and the geosoft.gxapi modules depend, remains consistent across versions, and Python scripts that depend on only the geosoft.gxapi module are version independent.

This is not the case for scripts that depend on the geosoft.gxpy modules, which have been significantly advanced and updated to conform to current Python development best practice. We recommend that Python scripts that depend on geosoft.gxpy version 9.1 be updated to support geosoft.gxpy version 9.2. Going forward we expect to have better backward compatibility across versions, though we are not currently in a position to assure backward compatibility for the geosoft.gxpy modules. We can assure backward compatibility for the geosoft.gxapi modules.

  • The Geosoft package is available on PyPI and supports pip install:
Code Block
pip install geosoft==9.2

GXDEV91

 

  • Refactored documentation with improved Python reference. (see GX Developer 9.1)
  • Added support for 64-bit Python 3.4, 3.5 and later versions.
  • Dropped support for 32-bit Python.
  • The Python API now has two parts
    1. geosoft.gxapi, which is the standard complete GX API
      https://geosoftinc.github.io/gxpy/9.1/python/geosoft.gxapi.html
    2. geosoft.gxpy, which includes a set of simplified "pythonic" modules.
      https://geosoftinc.github.io/gxpy/9.1/python/geosoft.gxpy.html
  • The Geosoft package is available on PyPI and supports pip install:
Code Block
pip install geosoft==9.1
GX Developer 9.0 BETA

 

BETA release of library and dll files to support external programs that needed to be rebuilt as 64-bit dlls in order to run from Oasis montaj 9.0. This release did not include an update of the Python interfaces, though external programs that worked for GX Developer 8.5 continued to work.

GX Developer 8.5

 

Bug fixes and new API functions. Continued support for 32-bit and 64-bit Python 3.4

GX Developer 8.4

 

GX API support for external Python 3.4 programs, both 32-bit and 64-bit. 64-bit programs were supported via a 64 to 32-bit interface (dbus).

Release History

Include Page
Release Notes
Release Notes