PyAxQG
A pure Python implementation of a biaxial and A triaxial reference ellipsoid for the Earth to convert between geodetic lat-, longitude with ellipsoidal height and cartesian X, Y, Z with orthometric or quasi-geoid height using bilinear or bivariate spline interpolation of 1-degree, whole Earth grids.
Five whole Earth grids from Supplementary file 2 are included, making PyAxQG a self-contained package.
For further details see the documentation and the main module. See module pygeodesy.geoids for other pure Python geoid height implementations and interpolations.
Installation
To install pyaxqg, type python[3] -m pip install pyaxqg or python[3] -m easy_install pyaxqg in a terminal or command window.
Alternatively, download pyaxqg-yy.m.d.tar.gz from PyPI or GitHub, unzip the downloaded file, cd to directory pyaxqg-yy.m.d and type python[3] setup.py install.
To run the pyaxqg tests, type python[3] test/run.py or type python[3] test/unitTestSuite.py before or after installation.
Dependencies
Installation of Python package pygeodesy is required, version 26.8.26 or newer. Type python[3] -m pip install -r requirements.txt to install.
Both the scipy and numpy package must be installed, but only when using bivariate spline interpolations.
Documentation
In addition to the pyaxqg package, the pyaxqg distribution file contain the tests, the test results (on macOS only) and the complete documentation generated by Epydoc using command line: epydoc --html --no-private --no-source --name=pyaxqg --url=... -v pyaxqg.
Tests
The tests ran with Python 3.14.7, 2.7.18 and with PyPy 7.3.17 (Python 3.10.14), all with pygeodesy 26.8.26 and on macOS 26.6.2 Tahoe in 64-bit. The results of those tests are included in the distribution file.
Python 3.14.7 and PyPy 7.3.17 run on Apple M4 (arm64), natively. Python 2.7.18 runs on Intel (x86_64) or Intel emulation ("arm64_x86_64", see function pyaxqg.machine).
Test coverage has been measured with coverage 7.14.0 using Python 3.14.7. The complete coverage report in HTML and a PDF summary are included in the distribution file.
The tests also ran with Python 3.14.7 on Windows 2019Server and with Python 3.13.3 on Windows 11, both in 64-bit only.
Notes
All Python source code has been statically checked with Ruff using Python 3.13.12 and with PyChecker, PyFlakes, PyCodeStyle (formerly Pep8) and McCabe using Python 2.7.18, both in 64-bit on macOS 26.6.2 Tahoe only.
Last updated: Sep 02, 2026.
License
Copyright (C) 2026-2026 -- mrJean1 at Gmail -- All Rights Reserved.
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Metadata
Release files for pyaxqg 26.9.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pyaxqg-26.9.2.tar.gz | 1.5 MB | Without provenance | Details for pyaxqg-26.9.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pyaxqg-26.9.2-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for pyaxqg-26.9.2-py2.py3-none-any.whl |
Total release size: 1.5 MB
Release files / pyaxqg-26.9.2.tar.gz
| Download URL | pyaxqg-26.9.2.tar.gz |
|---|---|
| Size | 1.5 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
089470e66ec2531181286c57147c06a8531a25e3a1600df89f44378d828a42a0
|
|
BLAKE2b-256 checksum How to use checksums |
4cdf8aa5b16e00aff2048abd16918475235fbf7e4ffbc5a21e214d0ad7055b4c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.8
|
Release files / pyaxqg-26.9.2-py2.py3-none-any.whl
| Download URL | pyaxqg-26.9.2-py2.py3-none-any.whl |
|---|---|
| Size | 23.9 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
4b5a3352c23254004ddf590b1e9d7af1c1383c667a7b21e7ebdebdcb9ecd53c7
|
|
BLAKE2b-256 checksum How to use checksums |
f4daa32682db9f18ece46df92517a4f684337d209a6d7608df8aaf058df4d769
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.8
|
Security for pyaxqg 26.9.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.