PyAutoGalaxy: Open-Source Multi Wavelength Galaxy Structure & Morphology
Installation Guide | readthedocs | Introduction on Colab | HowToGalaxy
PyAutoGalaxy is software for analysing the morphologies and structures of galaxies:
PyAutoGalaxy also fits interferometer data from observatories such as ALMA:
Getting Started
Natural Language or Python
You can use PyAutoGalaxy by describing what you want in natural language, through the PyAutoGalaxy AI Assistant, or by writing Python yourself. Both routes use the same software. To start in natural language, paste this prompt into Claude Code, Codex or another AI coding agent:
Starting prompt for Claude Code, Codex or other AI coding agent
I want to study galaxy structure and morphology with PyAutoGalaxy (https://github.com/PyAutoLabs/PyAutoGalaxy)
and the autogalaxy_assistant (https://github.com/PyAutoLabs/autogalaxy_assistant). First clone that
repository, cd into it and follow its AGENTS.md.
Begin the "start here" guide for a new user.
The assistant takes you through the Start Here page as a conversation (grids, light profiles and bulge-plus-disk galaxies, then simulating and fitting a galaxy image), one step at a time, then helps you get started on your own galaxies. Claude Code and Codex are recommended, and sustained scientific use normally needs paid access to one of them. Free options are listed on the AI Options page. Start Here explains why PyAutoGalaxy is designed to be used in natural language, and why its Python API is not going anywhere.
Documentation and Examples
All of the documentation and examples are written for people to read:
- The PyAutoGalaxy readthedocs, which includes an overview of PyAutoGalaxy's core features, a new user starting guide and an installation guide.
- The introduction Jupyter Notebook on Google Colab, where you can try PyAutoGalaxy in a web browser (without installation).
- The autogalaxy_workspace GitHub repository: example scripts covering every PyAutoGalaxy use case.
- The HowToGalaxy GitHub repository: a Jupyter notebook lecture series teaching galaxy modeling from the ground up.
Core Aims
PyAutoGalaxy has three core aims:
- Big Data: Scaling automated Sérsic fitting to extremely large datasets, accelerated with JAX on GPUs and using tools like an SQL database to build a scalable scientific workflow.
- Model Complexity: Fitting complex galaxy morphology models (e.g. Multi Gaussian Expansion, Shapelets, Ellipse Fitting, Irregular Meshes) that go beyond just simple Sérsic fitting.
- Data Variety: Support for many data types (e.g. CCD imaging, interferometry, multi-band imaging) which can be fitted independently or simultaneously.
A complete overview of the software's aims is provided in our Journal of Open Source Software paper.
Community & Contributing
PyAutoGalaxy is built in the open by its users: everyone is welcome to ask questions, share what they have made with it, and contribute.
Questions, ideas and bug reports: the PyAutoLabs Discussions. Chat with us on Slack.
Community-built tools and tutorials, and how to contribute: the PyAutoGalaxy community page.
HowToGalaxy
For users less familiar with galaxy analysis, Bayesian inference, and scientific analysis, you may wish to read through the HowToGalaxy lectures. These introduce the basic principles of galaxy modeling and Bayesian inference, with the material pitched at undergraduate level and above.
A complete overview of the lectures is provided on the HowToGalaxy readthedocs page, and the notebooks themselves live in the PyAutoLabs/HowToGalaxy repository.
Citations
Information on how to cite PyAutoGalaxy in publications can be found on the citations page.
Metadata
Release files for autogalaxy 2026.11.4.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| autogalaxy-2026.11.4.1.tar.gz | 5.9 MB | Without provenance | Details for autogalaxy-2026.11.4.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| autogalaxy-2026.11.4.1-py3-none-any.whl | Python 3 | none | any | Details for autogalaxy-2026.11.4.1-py3-none-any.whl |
Total release size: 6.5 MB
Release files / autogalaxy-2026.11.4.1.tar.gz
| Download URL | autogalaxy-2026.11.4.1.tar.gz |
|---|---|
| Size | 5.9 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3046c52a7e39da913ea827e8dba39110000e7267bae2bef51f6065c79f9205ea
|
|
BLAKE2b-256 checksum How to use checksums |
52c9340864eea10cadfc303c934600d568df02d7cc0b947dd48db0066328fe7e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.12.16
|
Release files / autogalaxy-2026.11.4.1-py3-none-any.whl
| Download URL | autogalaxy-2026.11.4.1-py3-none-any.whl |
|---|---|
| Size | 536.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8fab2e1bcf2095e7b08366d87f586b64f523ccfbf9682c942fec1836ab66bbce
|
|
BLAKE2b-256 checksum How to use checksums |
4c88ba907fdae6b770b6d3cccbc662ef6402a49725cc888b575a1125eb6db49a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.12.16
|
Security for autogalaxy 2026.11.4.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.