Install

Stable versions

MOCPy relies on the following mandatory external dependencies :

It has an optional dependency to query FITS files by url:

To upgrade the mocpy package to the latest version:

pip install mocpy -U

To install mocpy type:

pip install mocpy

From source

To install MOCPy from source, you’ll need Rust.

Then you can download the source code from `this link https://github.com/cds-astro/mocpy/archive/refs/heads/master.zip`_ or directly from the GitHub repository. Once in the source code folder, you’ll have to do

::

> pip install maturin > maturin develop –release > pip install .

And you’ll have the very last changes running on your machine.