File: astronomy.py

package info (click to toggle)
python-workalendar 17.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,568 kB
  • sloc: python: 16,500; makefile: 34; sh: 5
file content (11 lines) | stat: -rw-r--r-- 297 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
try:
    import skyfield  # noqa: F401
    import skyfield_data  # noqa: F401
    from .skyfield_astronomy import calculate_equinoxes, solar_term
except ImportError:
    from .precomputed_astronomy import calculate_equinoxes, solar_term

__all__ = [
    'calculate_equinoxes',
    'solar_term',
]