Replies: 2 comments 1 reply
-
Hi @DarkSky7 and welcome to the project! If you are looking for the unit tests to see how the Python version of Astronomy Engine is validated, there is a bash script unit_test_python which runs pylint and mypy, then invokes the main test script test.py. It also generates a large output file exercising the core functionality for comparing the calculations with the other programming language implementations for consistency. If you are looking for sample programs, there is a collection of demos that are all console-mode programs. About VPython, I had to look that up... it is new to me. It does look very interesting! So no, I didn't have any plans for that. I'm trying to understand if VPython is open source, and if so, where I can find the source code. |
Beta Was this translation helpful? Give feedback.
-
It's been around a long time, I saw nothing about licensing on:
https://vpython.org/index.html
https://vpython.org/contents/developers.html says it's open source.
…On Tue, Jun 20, 2023 at 5:40 AM Don Cross ***@***.***> wrote:
Hi @DarkSky7 <https://github.com/DarkSky7> and welcome to the project!
If you are looking for the unit tests to see how the Python version of
Astronomy Engine is validated, there is a bash script unit_test_python
<https://github.com/cosinekitty/astronomy/blob/master/generate/unit_test_python>
which runs pylint and mypy, then invokes the main test script test.py
<https://github.com/cosinekitty/astronomy/blob/master/generate/test.py>.
It also generates a large output file exercising the core functionality for
comparing the calculations with the other programming language
implementations for consistency.
If you are looking for sample programs, there is a collection of demos
<https://github.com/cosinekitty/astronomy/tree/master/demo/python> that
are all console-mode programs.
About VPython, I had to look that up... it is new to me. It does look very
interesting! So no, I didn't have any plans for that. I'm trying to
understand if VPython is open source, and if so, where I can find the
source code.
—
Reply to this email directly, view it on GitHub
<#310 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ARPYOQXZHXMPHDR2SVXQM53XMGK35ANCNFSM6AAAAAAZMY6HMU>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
I looked at demo/python/astronomy.py - huge piece of code, but no main. Where can I find test driver examples? Are there plans for Vpython visualizations or existing examples to read?
Beta Was this translation helpful? Give feedback.
All reactions