Skip to main content

PyAutoLens-JAX: Open-Source Strong Lensing

Colab Documentation Status Tests Build Code Style: black JOSS Zenodo DOI arXiv Project Status: Active Python Versions PyPI Version

Installation Guide | readthedocs | Introduction on Colab | HowToLens

When two or more galaxies are aligned perfectly down our line-of-sight, the background galaxy appears multiple times.

This is called strong gravitational lensing and PyAutoLens makes it simple to model strong gravitational lenses, using JAX to accelerate lens modeling on GPUs.

Getting Started

Human-Readable Documentation and Examples

The following human-readable documentation and examples are useful for new starters:

PyAutoLens AI Assistant

The PyAutoLens AI Assistant lets you do gravitational lensing science in natural language from inside an AI coding agent. You can get started simply by asking it a question about gravitational lensing or describing the task you would like to perform with PyAutoLens. See the autolens_assistant GitHub page for its full scope and instructions.

The assistant runs inside an AI coding agent: Claude Code or Codex are recommended. Sustained scientific use normally needs paid access to one of them (a personal subscription, institutional access or API billing). OpenCode is an experimental alternative whose client is free but whose model access, cost and capability depend on the provider. Browser chat routes (ChatGPT or Claude with a GitHub connector) are no longer supported.

Community & Contributing

PyAutoLens 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 PyAutoLens community page.

HowToLens

For users less familiar with gravitational lensing, Bayesian inference and scientific analysis you may wish to read through the HowToLens lectures. These teach you the basic principles of gravitational lensing and Bayesian inference, with the content pitched at undergraduate level and above.

A complete overview of the lectures is provided on the HowToLens readthedocs page, and the notebooks themselves live in the PyAutoLabs/HowToLens repository.

Citations

Information on how to cite PyAutoLens in publications can be found on the citations page.

i found you, i found you, i found you beautiful, exploding, i found you

Metadata

Release files for autolens 2026.10.23.1

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

Source distribution (sdist)

Source distribution for autolens 2026.10.23.1
File Size Uploaded Provenance
autolens-2026.10.23.1.tar.gz 7.9 MB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for autolens 2026.10.23.1
File Interpreter ABI Platform
autolens-2026.10.23.1-py3-none-any.whl Python 3 none any Details

Total release size: 8.3 MB

Release files / autolens-2026.10.23.1.tar.gz

Download URL autolens-2026.10.23.1.tar.gz
Size 7.9 MB
Tags Source
SHA-256 checksum
How to use checksums
a38e6f9452548866d45c2af0adf05f43dd7054c4d02e353a36ba1d364590d8e7
BLAKE2b-256 checksum
How to use checksums
26ec845794c2f0d06a549cecf465ebaf80755c54a53b4d830435315d04f21ad7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.12.15

Release files / autolens-2026.10.23.1-py3-none-any.whl

Download URL autolens-2026.10.23.1-py3-none-any.whl
Size 386.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1e0c7e46e890ea7d6c56abe9ecfabd2690e4f6e27d9966f396671ef7620fcbbf
BLAKE2b-256 checksum
How to use checksums
a481fa784eee10c38ecb5bf70f360b1aa54d07bc1c6b773d4ddc92016d95ffd0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.12.15

Security for autolens 2026.10.23.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.

Release history Release notifications | RSS feed

This release

2026.10.23.1 This release

2 release files No provenance

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