Skip to main content

Library for calculation of ephemeris and other astronomical calculations

Project description

Tests Test Coverage Latest release BSD-3 clause license PyPI - Python Version

Astronomia - Quick Guide

Astronomia is a collection of subroutines and applications for calculating the positions of the sun, moon, planets and other celestial objects. The emphasis is on high accuracy over a several thousand year time span. Note that the techniques used are overkill for most calendar applications.

The subroutine library attempts to implement some the techniques described in Astronomical Algorithms, second edition 1998, by Jean Meeus, Willmann-Bell, Inc.

Currently there are no graphical applications apart from some demo CGI interfaces.

Astronomia will work with Python 3.10+.

Documentation

Reference documentation is at http://timcera.bitbucket.io/.

Installation

At the command line:

$ pip install astronomia
# OR
$ conda install -c conda-forge astronomia

Usage

To use Astronomia in a project:

import astronomia

Development

Development is managed on bitbucket at https://bitbucket.org/timcera/astronomia/src/main/ and on github at https://github.com/timcera/astronomia

History

Astronomia is a fork of the Astrolabe library created by Bill McClain. The Astrolabe library is no longer available.

I (Tim Cera) used the Astrolabe library within my tidal analysis package TAPPy. In 2013 I pulled Astrolabe out of TAPPy and forked Astronomia. I have since fixed many bugs and added features. The most important added feature is the ability for most functions to work with array inputs. Bill McClain had dual Python and ‘C’ code, but I focused only on the Python code, updating with newer data and equations as I found them.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

astronomia-3.0.3.tar.gz (697.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

astronomia-3.0.3-py3-none-any.whl (677.0 kB view details)

Uploaded Python 3

File details

Details for the file astronomia-3.0.3.tar.gz.

File metadata

  • Download URL: astronomia-3.0.3.tar.gz
  • Upload date:
  • Size: 697.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for astronomia-3.0.3.tar.gz
Algorithm Hash digest
SHA256 d91aaf2053df33c7d98a56dfba489c9cfc5be56361f46ec9427a2159a02327a6
MD5 88002fbd9085cfea6136270abd6aa664
BLAKE2b-256 cf0869e74a11deb46f622bec75df97590ef40787ac4760c9ddff04198f0c38c7

See more details on using hashes here.

Provenance

The following attestation bundles were made for astronomia-3.0.3.tar.gz:

Publisher: pypi-package.yml on timcera/astronomia

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file astronomia-3.0.3-py3-none-any.whl.

File metadata

  • Download URL: astronomia-3.0.3-py3-none-any.whl
  • Upload date:
  • Size: 677.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for astronomia-3.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 fc30f7f5c9f074137d2c79046440157b146c6b42fa483cf8eb0c21e51247a5e0
MD5 dea363ec98209662cabde41d20acf730
BLAKE2b-256 72316bc13109e380b253b798b2672f8f2c9e056e6fb111ed3b5e6dbe1e6ff10d

See more details on using hashes here.

Provenance

The following attestation bundles were made for astronomia-3.0.3-py3-none-any.whl:

Publisher: pypi-package.yml on timcera/astronomia

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page