Skip to content

Commit

Permalink
Refactoring
Browse files Browse the repository at this point in the history
Modified several modules to simplify old code, handle env variables. etc.

Documentation typos and other updates, mostly for consistency.
  • Loading branch information
mrJean1 committed Oct 23, 2024
1 parent 8a49592 commit 5ae437c
Show file tree
Hide file tree
Showing 727 changed files with 56,793 additions and 135,033 deletions.
18 changes: 9 additions & 9 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -90,12 +90,12 @@ line: ``epydoc --html --no-private --no-source --name=PyGeodesy --url=... -v pyg
Tests
=====

The tests ran with Python 3.13.0, 3.12.7 (with geographiclib_ 2.0, numpy_ 2.1.0, scipy_ 1.14.1,
GeodSolve_ 2.3, IntersectTool_ 2.3 and RhumbSolve_ 2.3), 3.11.5 (with geographiclib_ 2.0, numpy_
1.24.2 and scipy_ 1.10.1), Python 3.10.8 (with geographiclib_ 2.0, numpy_ 1.23.3, scipy_ 1.9.1,
GeoConvert_ 2.3, GeodSolve_ 2.3), Python 3.9.6 and Python 2.7.18 (with geographiclib_ 1.50, numpy_
1.16.6, scipy_ 1.2.2, GeoConvert_ 2.3, GeodSolve_ 2.3, IntersectTool_ 2.3 and RhumbSolve_ 2.3),
all on macOS 14.6.1 Sonoma in 64-bit.
The tests ran with Python 3.13.0 (with geographiclib_ 2.0), 3.12.7 (with geographiclib_ 2.0, numpy_
2.1.0, scipy_ 1.14.1, GeodSolve_ 2.3, IntersectTool_ 2.3 and RhumbSolve_ 2.3), 3.11.5 (with
geographiclib_ 2.0, numpy_ 1.24.2 and scipy_ 1.10.1), Python 3.10.8 (with geographiclib_ 2.0, numpy_
1.23.3, scipy_ 1.9.1, GeoConvert_ 2.3, GeodSolve_ 2.3), Python 3.9.6 and Python 2.7.18 (with
geographiclib_ 1.50, numpy_ 1.16.6, scipy_ 1.2.2, GeoConvert_ 2.3, GeodSolve_ 2.3, IntersectTool_
2.3 and RhumbSolve_ 2.3), all on macOS 14.6.1 Sonoma in 64-bit.

All tests ran with and without ``lazy import`` for Python 3 and with command line option ``-W default``
and env variable ``PYGEODESY_WARNINGS=on`` for all Python versions. The results of those tests are
Expand All @@ -107,7 +107,7 @@ runs on Intel (``x86_64``) or Intel *emulation* (\"``arm64_x86_64``\", see funct
Test coverage has been measured with coverage_ 7.6.1 using Python 3.13.0, 3.12.7, 3.11.5 and 3.10.8. The
complete coverage report in HTML and a PDF summary are included in the distribution files.

The tests also ran with Python 3.12.7 (and geographiclib_ 2.0) on `Debian 12`_ in 64-bit only and with
The tests also ran with Python 3.13.0 (and geographiclib_ 2.0) on `Debian 12`_ in 64-bit only and with
Python 3.12.5 (and geographiclib_ 2.0) on `Windows 2019Server`_ in 64-bit only and with Python 2.7.18
(and with geographiclib_ 1.52) on `Windows 10`_ in 64- and 32-bit.

Expand Down Expand Up @@ -135,7 +135,7 @@ and McCabe_ using Python 2.7.18 and with Flake8_ using Python 3.11.5, both in 64

For a summary of all *Karney*-based functionality in ``pygeodesy``, see module karney_.

*Last updated: Oct 10, 2024.*
*Last updated: Oct 24, 2024.*

License
=======
Expand Down Expand Up @@ -226,7 +226,7 @@ DEALINGS IN THE SOFTWARE.
.. _PyCodeStyle: https://PyPI.org/project/pycodestyle
.. _PyFlakes: https://PyPI.org/project/pyflakes
.. _PyGeodesy: https://PyPI.org/project/PyGeodesy
.. _pygeodesy.machine: https://mrJean1.GitHub.io/PyGeodesy/docs/pygeodesy.interns-module.html#machine
.. _pygeodesy.machine: https://mrJean1.GitHub.io/PyGeodesy/docs/pygeodesy.internals-module.html#machine
.. _PyInstaller: https://PyPI.org/project/pyinstaller
.. _PyPI: https://PyPI.org/project/PyGeodesy
.. _PyPI Download files: https://PyPI.org/project/PyGeodesy/#files
Expand Down
Binary file removed dist/PyGeodesy-24.10.10-py2.py3-none-any.whl
Binary file not shown.
Binary file removed dist/PyGeodesy-24.10.10.tar.bz2
Binary file not shown.
Binary file removed dist/PyGeodesy-24.10.10.tar.gz
Binary file not shown.
Binary file added dist/PyGeodesy-24.10.24-py2.py3-none-any.whl
Binary file not shown.
Binary file added dist/PyGeodesy-24.10.24.tar.bz2
Binary file not shown.
Binary file added dist/PyGeodesy-24.10.24.tar.gz
Binary file not shown.
Binary file not shown.
2 changes: 1 addition & 1 deletion docs/abc.ABCMeta-class.html
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ <h3 class="epydoc"><span class="sig"><span class="sig-name">__subclasscheck__</s
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
<tr>
<td align="left" class="footer">
Generated by Epydoc 3.0.1 on Wed Oct 9 16:14:58 2024
Generated by Epydoc 3.0.1 on Tue Oct 22 17:06:19 2024
</td>
<td align="right" class="footer">
<a target="mainFrame" href="http://epydoc.sourceforge.net"
Expand Down
24,343 changes: 194 additions & 24,149 deletions docs/api-objects.txt

Large diffs are not rendered by default.

304 changes: 119 additions & 185 deletions docs/class-tree.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/help.html
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ <h2> The Navigation Bar </h2>
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
<tr>
<td align="left" class="footer">
Generated by Epydoc 3.0.1 on Wed Oct 9 16:14:56 2024
Generated by Epydoc 3.0.1 on Tue Oct 22 17:06:18 2024
</td>
<td align="right" class="footer">
<a target="mainFrame" href="http://epydoc.sourceforge.net"
Expand Down
385 changes: 157 additions & 228 deletions docs/identifier-index-A.html

Large diffs are not rendered by default.

148 changes: 62 additions & 86 deletions docs/identifier-index-B.html

Large diffs are not rendered by default.

384 changes: 132 additions & 252 deletions docs/identifier-index-C.html

Large diffs are not rendered by default.

471 changes: 131 additions & 340 deletions docs/identifier-index-D.html

Large diffs are not rendered by default.

550 changes: 207 additions & 343 deletions docs/identifier-index-E.html

Large diffs are not rendered by default.

716 changes: 306 additions & 410 deletions docs/identifier-index-F.html

Large diffs are not rendered by default.

176 changes: 73 additions & 103 deletions docs/identifier-index-G.html

Large diffs are not rendered by default.

271 changes: 87 additions & 184 deletions docs/identifier-index-H.html

Large diffs are not rendered by default.

565 changes: 202 additions & 363 deletions docs/identifier-index-I.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/identifier-index-J.html
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ <h1 class="epydoc">Identifier Index</h1>
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
<tr>
<td align="left" class="footer">
Generated by Epydoc 3.0.1 on Wed Oct 9 16:14:55 2024
Generated by Epydoc 3.0.1 on Tue Oct 22 17:06:17 2024
</td>
<td align="right" class="footer">
<a target="mainFrame" href="http://epydoc.sourceforge.net"
Expand Down
49 changes: 16 additions & 33 deletions docs/identifier-index-K.html
Original file line number Diff line number Diff line change
Expand Up @@ -97,58 +97,41 @@ <h1 class="epydoc">Identifier Index</h1>
<tr>
<td width="33%" class="link-index"><a href="pygeodesy.azimuthal.Stereographic-class.html#k0">k0</a><br />
<span class="index-where">(in&nbsp;<a href="pygeodesy.azimuthal.Stereographic-class.html">Stereographic</a>)</span></td>
<td width="33%" class="link-index"><a href="pygeodesy.named._NamedEnum-class.html#keys">keys()</a><br />
<span class="index-where">(in&nbsp;<a href="pygeodesy.named._NamedEnum-class.html">_NamedEnum</a>)</span></td>
<td width="33%" class="link-index"><a href="pygeodesy.ellipsoids.Ellipsoid-class.html#KsOrder">KsOrder</a><br />
<span class="index-where">(in&nbsp;<a href="pygeodesy.ellipsoids.Ellipsoid-class.html">Ellipsoid</a>)</span></td>
<td width="33%" class="link-index"><a href="pygeodesy.karney-module.html">karney</a><br />
<span class="index-where">(in&nbsp;<a href="pygeodesy-module.html">pygeodesy</a>)</span></td>
<td width="33%" class="link-index"><a href="pygeodesy.ktm.KTMError-class.html">KTMError</a><br />
<span class="index-where">(in&nbsp;<a href="pygeodesy.ktm-module.html">pygeodesy.ktm</a>)</span></td>
</tr>
<tr>
<td width="33%" class="link-index"><a href="pygeodesy.etm.ExactTransverseMercator-class.html#k0">k0</a><br />
<span class="index-where">(in&nbsp;<a href="pygeodesy.etm.ExactTransverseMercator-class.html">ExactTransverseMercator</a>)</span></td>
<td width="33%" class="link-index"><a href="pygeodesy.geoids._GeoidBase-class.html#kind">kind</a><br />
<span class="index-where">(in&nbsp;<a href="pygeodesy.geoids._GeoidBase-class.html">_GeoidBase</a>)</span></td>
<td width="33%" class="link-index"><a href="pygeodesy.ktm-module.html">ktm</a><br />
<span class="index-where">(in&nbsp;<a href="pygeodesy-module.html">pygeodesy</a>)</span></td>
</tr>
<tr>
<td width="33%" class="link-index"><a href="pygeodesy.ktm.KTransverseMercator-class.html#k0">k0</a><br />
<span class="index-where">(in&nbsp;<a href="pygeodesy.ktm.KTransverseMercator-class.html">KTransverseMercator</a>)</span></td>
<td width="33%" class="link-index"><a href="pygeodesy.utily-module.html#km2m">km2m()</a><br />
<span class="index-where">(in&nbsp;<a href="pygeodesy.utily-module.html">pygeodesy.utily</a>)</span></td>
<td width="33%" class="link-index"><a href="pygeodesy.ktm.KTMError-class.html">KTMError</a><br />
<span class="index-where">(in&nbsp;<a href="pygeodesy.ktm-module.html">pygeodesy.ktm</a>)</span></td>
</tr>
<tr>
<td width="33%" class="link-index"><a href="pygeodesy.lcc.Conic-class.html#k0">k0</a><br />
<span class="index-where">(in&nbsp;<a href="pygeodesy.lcc.Conic-class.html">Conic</a>)</span></td>
<td width="33%" class="link-index"><a href="pygeodesy.heights._HeightNamed-class.html#kmin">kmin</a><br />
<span class="index-where">(in&nbsp;<a href="pygeodesy.heights._HeightNamed-class.html">_HeightNamed</a>)</span></td>
<td width="33%" class="link-index"><a href="pygeodesy.ktm.KTransverseMercator-class.html">KTransverseMercator</a><br />
<span class="index-where">(in&nbsp;<a href="pygeodesy.ktm-module.html">pygeodesy.ktm</a>)</span></td>
</tr>
<tr>
<td width="33%" class="link-index"><a href="pygeodesy.elliptic.Elliptic-class.html#k2">k2</a><br />
<td width="33%" class="link-index"><a href="pygeodesy.ktm.KTransverseMercator-class.html#k0">k0</a><br />
<span class="index-where">(in&nbsp;<a href="pygeodesy.ktm.KTransverseMercator-class.html">KTransverseMercator</a>)</span></td>
<td width="33%" class="link-index"><a href="pygeodesy.elliptic.Elliptic-class.html#kp2">kp2</a><br />
<span class="index-where">(in&nbsp;<a href="pygeodesy.elliptic.Elliptic-class.html">Elliptic</a>)</span></td>
<td width="33%" class="link-index"><a href="pygeodesy.geoids._GeoidBase-class.html#knots">knots</a><br />
<span class="index-where">(in&nbsp;<a href="pygeodesy.geoids._GeoidBase-class.html">_GeoidBase</a>)</span></td>
<td width="33%" class="link-index"><a href="pygeodesy.frechet.Frechet-class.html#kwds">kwds</a><br />
<span class="index-where">(in&nbsp;<a href="pygeodesy.frechet.Frechet-class.html">Frechet</a>)</span></td>
</tr>
<tr>
<td width="33%" class="link-index"><a href="pygeodesy.geodesici._IntersectBase-class.html#k2kAkB">k2kAkB()</a><br />
<span class="index-where">(in&nbsp;<a href="pygeodesy.geodesici._IntersectBase-class.html">_IntersectBase</a>)</span></td>
<td width="33%" class="link-index"><a href="pygeodesy.heights._HeightIDW-class.html#knots">knots</a><br />
<span class="index-where">(in&nbsp;<a href="pygeodesy.heights._HeightIDW-class.html">_HeightIDW</a>)</span></td>
<td width="33%" class="link-index"><a href="pygeodesy.lcc.Conic-class.html#k0">k0</a><br />
<span class="index-where">(in&nbsp;<a href="pygeodesy.lcc.Conic-class.html">Conic</a>)</span></td>
<td width="33%" class="link-index"><a href="pygeodesy.ellipsoids.Ellipsoid-class.html#KsOrder">KsOrder</a><br />
<span class="index-where">(in&nbsp;<a href="pygeodesy.ellipsoids.Ellipsoid-class.html">Ellipsoid</a>)</span></td>
<td width="33%" class="link-index"><a href="pygeodesy.hausdorff.Hausdorff-class.html#kwds">kwds</a><br />
<span class="index-where">(in&nbsp;<a href="pygeodesy.hausdorff.Hausdorff-class.html">Hausdorff</a>)</span></td>
</tr>
<tr>
<td width="33%" class="link-index"><a href="pygeodesy.karney-module.html">karney</a><br />
<span class="index-where">(in&nbsp;<a href="pygeodesy-module.html">pygeodesy</a>)</span></td>
<td width="33%" class="link-index"><a href="pygeodesy.elliptic.Elliptic-class.html#kp2">kp2</a><br />
<td width="33%" class="link-index"><a href="pygeodesy.elliptic.Elliptic-class.html#k2">k2</a><br />
<span class="index-where">(in&nbsp;<a href="pygeodesy.elliptic.Elliptic-class.html">Elliptic</a>)</span></td>
<td width="33%" class="link-index"><a href="pygeodesy.heights._HeightIDW-class.html#kwds">kwds</a><br />
<span class="index-where">(in&nbsp;<a href="pygeodesy.heights._HeightIDW-class.html">_HeightIDW</a>)</span></td>
<td width="33%" class="link-index"><a href="pygeodesy.ktm-module.html">ktm</a><br />
<span class="index-where">(in&nbsp;<a href="pygeodesy-module.html">pygeodesy</a>)</span></td>
<td width="33%" class="link-index">&nbsp;</td>
</tr>
</table>
</td></tr>
Expand Down Expand Up @@ -184,7 +167,7 @@ <h1 class="epydoc">Identifier Index</h1>
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
<tr>
<td align="left" class="footer">
Generated by Epydoc 3.0.1 on Wed Oct 9 16:14:55 2024
Generated by Epydoc 3.0.1 on Tue Oct 22 17:06:17 2024
</td>
<td align="right" class="footer">
<a target="mainFrame" href="http://epydoc.sourceforge.net"
Expand Down
Loading

0 comments on commit 5ae437c

Please sign in to comment.