Skip to main content

Python implementation of Jean Meeus astronomical routines

Project description

Library of astronomical algorithms in Python.

PyMeeus is a Python implementation of the astronomical algorithms described in the classical book “Astronomical Algorithms, 2nd Edition, Willmann-Bell Inc. (1998)” by Jean Meeus.

There are great astronomical libraries out there. For instance, if you’re looking for high precision and speed you should take a look at libnova. For a set of python modules aimed at professional astronomers, you should look at Astropy. On the other hand, the advantages of PyMeeus are its simplicity, ease of use, ease of reading, ease of installation (it has the minimum amount of dependencies) and abundant documentation.

Installation

The easiest way of installing PyMeeus is using pip:

pip install pymeeus

Or, for a per-user installation:

pip install --user pymeeus

Meta

Author: Dagoberto Salazar

Distributed under the GNU Lesser General Public License v3 (LGPLv3). See LICENSE.txt and COPYING.LESSER for more information.

Documentation: https://pymeeus.readthedocs.io/en/latest/

GitHub: https://github.com/architest/pymeeus

Contributing

The preferred method to contribute is through forking and pull requests:

  1. Fork it (https://github.com/architest/pymeeus/fork)

  2. Create your feature branch (git checkout -b feature/fooBar)

  3. Commit your changes (git commit -am 'Add some fooBar')

  4. Push to the branch (git push origin feature/fooBar)

  5. Create a new Pull Request

Please bear in mind that PyMeeus follows the PEP8 style guide for Python code (PEP8). We suggest you install and use a linter like Flake8 before contributing.

Additionally, PyMeeus makes heavy use of automatic tests. As a general rule, every function or method added must have a corresponding test in the proper place in tests directory.

Finally, documentation is also a big thing here. Add proper and abundant documentation to your new code. This also includes in-line comments!!!.

What’s new

  • 0.1.4

    • Added several conversion functions to Coordinates module

  • 0.1.3

    • Added Coordinates module

  • 0.1.2

    • Added precession and proper motion methods, and changed handling of Epoch class

  • 0.1.1

    • Added methods related to nutation corrections

  • 0.1.0

    • Earth class added

  • 0.0.9

    • Significant documentation improvements

  • 0.0.8

    • Epoch class finished

  • 0.0.7

    • Epoch class added

  • 0.0.6

    • CurveFitting class added

  • 0.0.5

    • Interpolation class added

  • 0.0.4

    • Angle class finished

  • 0.0.3

    • Removed unnecessary dependencies

  • 0.0.2

    • Documentation improvements

  • 0.0.1

    • Initial commit

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

PyMeeus-0.1.4.tar.gz (85.4 kB view details)

Uploaded Source

File details

Details for the file PyMeeus-0.1.4.tar.gz.

File metadata

  • Download URL: PyMeeus-0.1.4.tar.gz
  • Upload date:
  • Size: 85.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.10.0 pkginfo/1.2.1 requests/2.18.4 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.19.5 CPython/3.6.5

File hashes

Hashes for PyMeeus-0.1.4.tar.gz
Algorithm Hash digest
SHA256 b35d7060e2610d176bf167094144639dcb77b8f3b58b1e6fd34cdd78c7417e41
MD5 8d8725524c0db2e606a2cd5c5870f232
BLAKE2b-256 56a40ad77699cbd733470062ab672e088a7d5786d8e9d75cd64cd725d36b28a5

See more details on using hashes here.

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