Skip to content
PyRank
  • Search
  • PyPI
  • GitHub
  • Insights
  • Compare
  • Advisories
  • Ecosystem
  • About

Cosmology Python Packages

Python packages with the GitHub topic cosmology. Sorted by monthly downloads, with stars and forks.
cmbant
camb

Code for Anisotropies in the Microwave Background

125K 265 198
PyAutoLabs
autolens

PyAutoLens: Open-Source Strong Gravitational Lensing

26K 189 40
lenstronomy
lenstronomy

Multi-purpose lens modeling software package

16K 226 130
simosartori
otswap

Discrete optimal transport reconstruction of cosmological displacement fields and redshift-space distortion correction, for simulations and surveys. C++17 and Python

8K 0 0
eelregit
mcfit

multiplicatively convolutional fast integral transforms, implementing FFTLog

6K 35 13
SimoSartori
meshsearch

Uniform cubic mesh for fast neighbour queries in 3D, in C++ with Python bindings

5K 0 0
galsci
pysm3

PySM 3: Sky emission simulations for Cosmic Microwave Background experiments

4K 47 38
SWIFTSIM
swiftsimio

Python library for reading SWIFT data. Uses unyt and h5py.

4K 31 22
daniel-muthukrishna
astrodash

Deep learning for the automated spectral classification of supernovae

3K 41 19
handley-lab
fgivenx

Functional Posterior Plotter

3K 27 12
glass-dev
glass

Generator for Large Scale Structure

3K 56 15
igmhub
picca

set of tools for continuum fitting, correlation function calculation, cosmological fits...

2K 37 26
innermost47
pygrm

Global Relational Model for Python: a log-space solver for networks of relations. Finds values, tensions and the hidden invariants between known data, from 1e-53 to 1e122. Pure Python, NumPy optional.

2K 0 0
manodeep
corrfunc

⚡️⚡️⚡️Blazing fast correlation functions on the CPU.

2K 206 57
abacusorg
abacusutils

Python code to interface with halo catalogs and other Abacus N-body data products

2K 25 19
nickhand
classylss

a lightweight Python binding of the CLASS CMB Boltzmann code

2K 11 5
astro-ph
cosmolib

Easy-to-use formats and plots for cosmological observables

2K 0 0
minaskar
pocomc

pocoMC: A Python implementation of Preconditioned Monte Carlo for accelerated Bayesian Computation

2K 131 12
smups
inflatox

Framework for implementing high-performance numerical consistency conditions for multifield inflation models.

2K 4 4
bccp
nbodykit

Analysis kit for large-scale structure datasets, the massively parallel way

2K 123 60
euclidlib
euclidlib

Unofficial python library for reading cosmology-ready data products from the ESA Euclid mission

1K 18 2
Cosmoglobe
cosmoglobe

The Cosmoglobe Sky model. A Python package for producing astrophysical sky simulations directly from Commander results.

1K 8 3
temuller
hostphot

HostPhot: global and local photometry of galaxies hosting supernovae or other transients

1K 12 4
dpiras
cosmopower-jax

Differentiable cosmological emulators: the JAX version of CosmoPower

1K 50 5
    • Original data from PyPI, GitHub, and OSV; downloads served through ClickHouse
    • Sources & methodology