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, Fortran 77/2003, Python 2/3 and octave/Matlab interfaces 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.1.0 (May 2018)
    Sources calceph-3.1.0.tar.gz
    Pip package PyPI version
    Octave package calcephoct-3.1.0.tar.gz
    • Fix a compilation problem with MinGW if the terminal cmd.exe is used.
    • Fix a wrong function name open_array instead of open in the documentation of the Python interface.
    • Fix the return value of the functions calceph_orient_xxx when the unit CALCEPH_UNIT_RAD is not provided.
    • Add the Mex interface compliant with Octave 4.0+ and Matlab 2017+.
    • Add the functions calceph_getconstantsd, calceph_getconstantvd, calceph_getconstantss and calceph_getconstantvs.
    • Add the functions calceph_sgettimescale and calceph_sgettimespan.
    • The return value of the function calceph_(s)getconstant(index) is the number of values associated to the constant.
    • Display a better message for the unsupported old spice kernel (NAIF/DAF).
  • Previous releases


C interface html pdf

Fortran 77 interface html pdf

Fortran 2003 interface html pdf

Python interface html pdf

Octave/Matlab 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 Wednesday 23 May 2018