PyAutoLens: Automated, Autodifferentiable and Autonomous Gravitational Lensing
PyAutoLens models strong gravitational lenses to measure the distribution of matter and reconstruct distant galaxies. Its JAX numerical backend provides automatic differentiation and GPU acceleration, while the PyAutoLens Assistant helps you develop and run analyses through conversation.
Getting Started
Explore It Yourself
- Start Here — discover PyAutoLens and work through your first example.
- Try it in your browser — run the introductory notebook without installing anything.
- Install PyAutoLens — get set up on your computer.
Visit the workspace to find examples for your data and science goals.
Explore with AI
The PyAutoLens AI Assistant helps you learn lensing, run examples and analyse your own data through conversation. To get started, paste this prompt into your AI coding agent:
I want to do strong lensing science with PyAutoLens
(https://github.com/PyAutoLabs/PyAutoLens) and the
autolens_assistant (https://github.com/PyAutoLabs/autolens_assistant).
First clone the assistant repository, cd into it and follow its AGENTS.md.
Begin the "start here" guide for a new user.
See AI Options for tools and setup guidance.
Learn Lensing
HowToLens teaches gravitational lensing and Bayesian inference through worked notebooks, starting from undergraduate level.
The PyAutoLens documentation covers the software’s features and how to use them in your own analysis.
Community and Contributing
Ask questions, suggest improvements and share your work in PyAutoLabs Discussions, or chat with us on Slack.
To contribute or explore community projects, visit the PyAutoLens community page.
Project Resources
Find the PyPI package, check test runs and release builds, or access the archived software release.
Citations
If you use PyAutoLens in your research, see the citation guide.
License
See the license.
Metadata
Release files for autolens 2026.11.13.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 |
|---|---|---|---|---|
| autolens-2026.11.13.1.tar.gz | 44.5 MB | Without provenance | Details for autolens-2026.11.13.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| autolens-2026.11.13.1-py3-none-any.whl | Python 3 | none | any | Details for autolens-2026.11.13.1-py3-none-any.whl |
Total release size: 45.0 MB
Release files / autolens-2026.11.13.1.tar.gz
| Download URL | autolens-2026.11.13.1.tar.gz |
|---|---|
| Size | 44.5 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
10433caedb76faf318d28384b018a95598e7b9de78f013577a4832617e1750f2
|
|
BLAKE2b-256 checksum How to use checksums |
e6557cb0c51a2f413782c5815387a6e1ebda1a12a6c50b467d728ea02b23261f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.12.16
|
Release files / autolens-2026.11.13.1-py3-none-any.whl
| Download URL | autolens-2026.11.13.1-py3-none-any.whl |
|---|---|
| Size | 430.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
729ded3ee18b1b03135b0fe5bf3fa43fdd145c3abd7805e9f8370c9b70af8301
|
|
BLAKE2b-256 checksum How to use checksums |
2b839e5ce7a68d3044eccc12bb04ee29d50eabfc065c0ec0db270c8270d19a74
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.12.16
|
Security for autolens 2026.11.13.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.