Skip to main content

brutus

Et tu, Brute?

brutus logo

Tests Coverage Documentation Status PyPI arXiv License: MIT

brutus is a Python package for Bayesian inference of stellar properties, distances, and extinctions from photometry. It supports individual star fitting, cluster analysis, and 3D dust mapping.

Documentation: brutus.readthedocs.io

Installation

pip install astro-brutus

Requires Python 3.9+ on Linux, macOS, or Windows with WSL.

Windows users: Due to the healpy dependency, brutus requires WSL (Windows Subsystem for Linux) on Windows.

Development Install

git clone https://github.com/joshspeagle/brutus.git
cd brutus
pip install -e ".[dev]"

Data Files

Download required stellar models and dust maps:

from brutus import fetch_grids, fetch_isos, fetch_dustmaps

fetch_grids()      # MIST stellar grids
fetch_isos()       # MIST isochrones
fetch_dustmaps()   # 3D dust maps

Data files are also available from the Harvard Dataverse.

Citation

If you use brutus, please cite Speagle et al. (2025).

License

MIT License. See LICENSE for details.

Contact

Acknowledgments

brutus uses MIST stellar evolution models and Bayestar dust maps. We thank the developers for making their data publicly available.

Metadata

Release files for astro-brutus 1.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for astro-brutus 1.2.0
File Size Uploaded
astro_brutus-1.2.0.tar.gz 188.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for astro-brutus 1.2.0
File Interpreter ABI Platform
astro_brutus-1.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 392.0 kB

Release files / astro_brutus-1.2.0.tar.gz

Download URL astro_brutus-1.2.0.tar.gz
Size 188.9 kB
Tags Source
SHA-256 checksum
How to use checksums
950ebec13839ada3c7d6109e532bdfd86d8f4021de9e5c78e24106fda534272c
BLAKE2b-256 checksum
How to use checksums
c8c0c62867f19a983382065828e0cd6e5a1363854bd866dddae08211bd46370e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

Release files / astro_brutus-1.2.0-py3-none-any.whl

Download URL astro_brutus-1.2.0-py3-none-any.whl
Size 203.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b6d33aacc0a4537d2d29203cc78bca00b88b6886d5adc5242d9b4ee7abe14c21
BLAKE2b-256 checksum
How to use checksums
d50fa9314f5b3b748b1b9eff7e1cea51c9f77adb7afca1c1cf28213d8c346607
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

Release history Release notifications | RSS feed

This release

1.2.0 This release

2 release files

1.1.0

2 release files

0.8.2

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page