Skip to main content
Pollux logo

Pollux is a framework for building data-driven latent variable models in JAX. You can define a latent space and then define transforms from the latents to any number of observed outputs. Pollux was designed with stellar spectroscopy applications in mind (and it comes with pollux.Lux and pollux.Cannon as ready-made architectures), but the model-building pieces are very general.

Documentation Status Actions Status Coverage Status

Installation

pollux requires Python 3.12 or newer:

pip install pollux    # or: uv add pollux

For the unreleased development version, install from this repository:

pip install git+https://github.com/adrn/pollux

Development

uv sync                    # all development dependencies, in .venv
uv run pytest              # run the tests

The PEP 735 dependency groups (test, docs, dev) also work with pip 25.1 or newer:

python -m pip install -e . --group dev

See DEV.md for building the docs and cutting a release, and the documentation for everything else.

Metadata

Release files for pollux 0.1.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 pollux 0.1.1
File Size Uploaded Provenance Actions
pollux-0.1.1.tar.gz 1.6 MB With provenance Details for pollux-0.1.1.tar.gz

Built distribution (wheel)

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

Total release size: 1.7 MB

Release files / pollux-0.1.1.tar.gz

Download URL pollux-0.1.1.tar.gz
Size 1.6 MB
Tags Source
SHA-256 checksum
How to use checksums
ba186fbd063e82e19bc392df73be4f411f630cf39faeda5a4cbd3f0f925ba73e
BLAKE2b-256 checksum
How to use checksums
8de5ba66af8e3711d5036979b70c99e79c47b14a1872df1e69743d60ebb5fa28
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 10, 2026.

Transparency log

Release files / pollux-0.1.1-py3-none-any.whl

Download URL pollux-0.1.1-py3-none-any.whl
Size 67.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
32527054f0613c8ac68be82579a21e0f264191d49c6eb31c5c209a35811be7c0
BLAKE2b-256 checksum
How to use checksums
b5aa740fa683e8474fd81d34901fa76b9a7ed313327da06df422f8b08f8a9069
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 10, 2026.

Transparency log

Security for pollux 0.1.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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for pollux-0.1.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 10, 2026.

Transparency log

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

0.1.1 This release

2 release files Full 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