Enhancement request: Document how to get the lightkurve version in a Python script.
See original GitHub issueEnhancement request description
Amend documentation to show how to get the lightkurve software version in a Python script.
Example
from lightkurve import version as lkver
print("lightkurve version =", lkver.__version__)
Issue Analytics
- State:
- Created 5 years ago
- Comments:7 (1 by maintainers)
Top Results From Across the Web
Document how to get the lightkurve version in a Python script ...
Enhancement request description Amend documentation to show how to get the lightkurve software version in a Python script. Example from lightkurve import ...
Read more >Reporting issues and proposing changes - Lightkurve
If you would like to propose a change or bug fix to Lightkurve, please go ahead and open a pull request using the...
Read more >lightkurve.lightcurve — AltaiPony 2.0.0 documentation
Source code for lightkurve.lightcurve. """Defines LightCurve, KeplerLightCurve, and TessLightCurve.""" import os import ...
Read more >PHOEBE | Eclipsing Binary Modeling Software
PHOEBE is an astronomical python software package which robustly generates synthetic models of the light curves, radial velocity curves, and spectral line ...
Read more >The VARTOOLS Light Curve Analysis Program
The development version of VARTOOLS can also be obtained from the ... Note that the -python command and -R commands have only been...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Having Google’d this a bit just now, it looks like
packagename.__version__
is the de facto standard way in which Python packages encode their version numbers, and it is recorded as such in PEP8 (and PEP 396, though it is not an active PEP).For the sake of avoiding having multiple ways to do the same thing, I suggest we advertise and document the use of
lightkurve.__version__
as the way to get the version information.Our current installation instructions in the online docs demonstrate how to use
lightkurve.__version__
to verify what version of Lightkurve has been installed, so I believe this issue has been resolved! 🎉