Skip to content
Astrophysics utilities for python
Python Other
Find file
New pull request
Latest commit d808b51 @eteq Merge pull request #22 from mwcraig/patch-1
Fix indentation error in
Failed to load latest commit information.
astropysics Merge pull request #22 from mwcraig/patch-1
docs Add note about Astropy
licenses added configobj
logo added mini-icon in rel bar for docs
scripts adjustments to allow publication preperation to work for ApJ submissi…
tests Add `on-sky` wrapper about nextRiseSetTransit.
.gitignore moved experimenting stuff to tests and updated
README.rst Typo fix changed to distribute instead of ez_setup
setup.cfg test suit and guidelines implemented excluding tests from packages to build



A python library for astronomy/astrophysics calculations and data analysis.

Web Page:

License: Apache License v2.0

Note that Astropysics is now in "maintainence mode" only. That is, further development is not expected, as my efforts have shifted to the Astropy project. It is a much larger effort that contains most of the functionality in Astropysics and much more. Astropysics will remain so that code written against it will continue to function, though, and I will continue to accept bug fixes as necessary.


If you have numpy ( and scipy ( installed, just do:

python install

On some linux distributions, this may need to be:

sudo python install


Documentation (in the "docs" directory) is meant to be used with sphinx ( Typical usage is:

python build_sphinx

to build html documentation and place it in docs/_build/html. Note that this requires Sphinx >=1.0

Source Distribution Directory Structure

  • astropysics/ - source code for all astropysics modules
  • docs/ - Sphinx documentation and example code
  • logo/ - astropysics logo in various forms
  • licenses/ - copyright/license notices for all open source code
  • scripts/ - command-line scripts installed with astropysics
  • tests/ - unit tests (for use with Nose) and algorithmic experiments (Note unit tests require networkx and pymodelfit to run).
Something went wrong with that request. Please try again.