astronomy — a reasoning module
The sky planned and calculated, as a DKE Python module you compile into your own store. You record sites with their latitude and the faintest star their instrument reaches, stars with their declination and magnitude, and nights and bookings with their windows; it concludes which stars never set at a site, which never rise and which it can see, and which bookings are observable and over what stretch of time, withdrawing each answer when you correct the fact it rests on. It calculates Julian dates, sidereal time, a star's altitude, rising and setting, the Sun's position and the length of a day, Kepler's equation, and the two-body problem.
Licence: MIT. Current version: 1.0.2, released in rev 145.
Get it
The whole release, as one archive:
curl -O https://dke.langsyn.com/source/astronomy/1.0.2/astronomy-1.0.2.tar.gz
Its SHA-256: dc1bb20e236364aae25ec4acc15be9e63016a3e41f6e06ede565654b150043c7.
Or browse version 1.0.2 file by file.
/source/astronomy/latest/ always redirects to the current version.
A release's files never change. When the next release supersedes this one, this
version stays served at its URL, marked superseded, so cite the version and the
archive's digest to say exactly which bytes you read, and use latest
for a link that follows each new release.
Current release
- 1.0.2
1 file, released in rev 145