This is a BSD-licensed HEALPix package which is wrapped around the cdshealpix Rust crate.
cdshealpix is multi-platform and is currently deployed on PyPI for i686, x86_64 and aarch64 archs.
pip install cdshealpix
Or
conda install -c conda-forge cdshealpix
Reminder on conda activation/deactivation:
conda config --set auto_activate_base false
conda activate base
conda deactivate
Test:
import cdshealpix
from cdshealpix import healpix_to_lonlat
lon, lat = healpix_to_lonlat(0, 0)
assert lon.rad[0] == 0.7853981633974483
num_threads
optional parameter can be used to allow parallelism. By default, concurrency is disabled.Here is the link to the documentation for informations about how to use this package.