This library is designed to access the binary planetary ephemeris files, such INPOPxx, JPL DExxx and SPICE ephemeris files.
This library provides a C Application Programming Interface (API) and, optionnally, a Fortran 77/2003 and Python 2/3 interface to be called by the application


This software is an open-source product distributed under three distinct licenses giving you the choice of one of the three following sets of free software/open source licensing terms. This allows the use of our code in as wide a variety of software projects as possible.
This software is governed by the CECILL-C, CECILL-B or CECILL version 2 license under French law and abiding by the rules of distribution of free software. You can use, modify and/or redistribute the software under the terms of the CeCILL-C, CeCILL-B or CeCILL license as circulated by CEA, CNRS and INRIA at the following URL


Latest stable version

  • Version 3.0.0 (February 2018)
    Sources calceph-3.0.0.tar.gz
    PyPI version
    • Update the license CeCILL v2.0 to CeCILL v2.1.
    • Fix a decode error for SPICE kernels with a big-endian format.
    • Add the functions calceph_gettimescale and calceph_gettimespan.
    • Add the functions calceph_getpositionrecordcount and calceph_getpositionrecordindex.
    • Add the functions calceph_getorientrecordcount and calceph_getorientrecordindex.
    • Add the functions calceph_sgettimescale and calceph_sgettimespan.
    • Support INPOP file format 3.0 (add angular momentum due to the rotation in the binary file).
    • Use sphinx-doc to produce the documentation.
  • Previous releases


C interface html pdf

Fortran 77 interface html pdf

Fortran 2003 interface html pdf

Python interface html pdf


The installation steps for various operating system are described in the following links.

Other interfaces

The following interfaces for CALCEPH are available :


The library is written by the research team Astronomie et Systèmes Dynamiques (CNRS - Observatoire de Paris - IMCCE).
For all comments concerning these pages, contact the authors :

Last update Saturday 17 February 2018