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, optionally, 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.3.0 (January 2019)
    Sources calceph-3.3.0.tar.gz
    Pip package PyPI version
    Octave package calcephoct-3.3.0.tar.gz
    • Add the functions calceph_sgetfileversion and calceph_getfileversion.
    • Fix a regression to open some old JPL DE format files.
    • Fix a compiler warning in the file util.c.
    • Support the segments 8, 9, 17 and 21 in the SPICE kernel file.
    • Check the validity of the number of constants in the original INPOP/DE files.
    • For the Python interface, the functions compute??? and orient??? supports a list or numpy's array for the time parameters.
  • 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 Monday 07 January 2019