A library that computes the ephemerides.
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 

5.9 KiB

Version 1.0.5 (2022-02-21)

Bug Fixes

  • ephemerides: fix the rise, culmination and set times being too often None (bbf1b9f)
  • fix the warning message from skyfield-data package about expired data (f3d39ad)

Version 1.0.4 (2022-01-09)

Bug Fixes

  • Breaking change: restore kosmorrolib.__version__ module (0245394)

Version 1.0.3 (2022-01-09)

Bug Fixes

Version 1.0.2 (2022-01-09)

Bug Fixes

  • fix Python support for NumPy (#40) (a99ef9d)

  • make the opposition detection more reliable (#39) (761ec4e)

  • remove NumPy direct dependency (#41) (f0b4267)

    Note that Numpy is still a dependency of Skyfield and its dependencies, so NumPy is actually still needed to run Kosmorrolib. But now, it is not used anymore here.

Version 1.0.1 (2021-11-01)

Bug Fixes

Version 1.0.0 (2021-11-01)

Bug Fixes

  • ephemerides: fix a bug that made the ephemerides calculations impossible for the Poles (#21) (40988f1)

Features

  • add support for Earth perihelion and aphelion (#30) (22a5ee0)
  • add support for Python 3.10 (#32) (6fb8d07)
  • event: add support for Earth seasons (#24) (ad96b8b), closes #21 #25
  • event: add support for lunar eclipses (#28) (f43d604)
  • use Skyfield-Data library instead of downloading needed files at first time (#22) (50b9569)

BREAKING CHANGES

  • Project license is now GNU Affero General Public License (previously it was CeCILL-C)
  • EventType constants MOON_APOGEE and MOON_PERIGEE have been renamed to APOGEE and PERIGEE
  • event: the Event.details field is now a dictionary (was previously a string).

Version 0.11.2 (2021-05-08)

Bug Fixes

  • “minute must be in 0..59” error (#20) (592f8b1)

Version 0.11.1 (2021-05-01)

Bug Fixes

  • false positives on opposition (#17) (03f0c57)
  • fix error in the serialization of the Object type (#18) (9ad4371)
  • remove useless dev dependencies (#16) (152efe7)

Misc.

  • Kosmorrolib now supports Windows environment! (#14) (746ce95)

Version 0.11.0 (2021-04-18)

Bug Fixes

  • add missing enums to the exposed model, rename data.py to model.py (#11) (64c8dd9)

Build System

  • fix some variables in version.py (#13) (2d24786)

BREAKING CHANGES

  • __build__ constant in __version__.py has been removed.
  • kosmorrolib.data has been renamed to kosmorrolib.model. To ensure further BC-break to happen on this side, prefer using the model now exposed from kosmorrolib directly.

Version 0.10.0 (2021-04-05)

Bug Fixes

  • take the timezone in account on get_moon_phase (2df588e)

Features

  • make the date parameter optional (default value: today) (c59b553)