Skip to main content

py-Galaxia-ananke

PyPI - Version Documentation Status DOI Slack

Python wrapper for a modified version of Galaxia (Sharma et al. 2011).

Getting started

py-Galaxia-ananke is compatible with Python versions above 3.7.12 and below 3.11. The project is organized into three branches: main, stable, and develop. The main branch contains the latest released version, while the stable and develop branches host versions currently in development, with stable being the most recent stable version. py-Galaxia-ananke is linked to a separate repository hosting the C++ backend software, Galaxia-ananke, a modified version of Galaxia. It is worth noting that Galaxia-ananke incorporates several pre-installed photometric systems, represented by sets of isochrones generated from the CMD web interface (commonly referred to as Padova isochrones). Among the available options are HST, GAIA, Euclid, Rubin, JWST & Roman.

Installation

py-Galaxia-ananke is available on the PyPI, so it may be installed using the command:

pip install galaxia_ananke

Alternatively, if you wish to run the latest version on the repository, you can use the following pip command, which pulls it directly from the repository's main branch:

pip install git+https://github.com/athob/py-Galaxia-ananke@main

You may also change the branch to use in the above command by replacing the main that follows the @ symbol. If you prefer, you may clone the repository to your local machine and then install py-Galaxia-ananke using the following pip command, which installs it from your local copy of the repository:

git clone https://github.com/athob/py-Galaxia-ananke
cd py-Galaxia-ananke
pip install .

Please note that the command with flag pip install . --no-cache-dir may be necessary due to some dependencies issues.

After installation, the module can be imported in Python under the name galaxia_ananke and be ran as such.

Troubleshooting installation

You may find yourself in a situation after installation where importing the package module errors out in an AssertionError. The installation compiles and installs the backend C++ submodule Galaxia-ananke which is required, this AssertionError means that process failed in some way at installation. When installing the Galaxia-ananke submodule, galaxia_ananke's setup write log files in a cache location. The AssertionError at import that calls for the missing Galaxia executable gives the bin path where that executable should be located. The parent directory for that bin path should contain also a log directory, where those log files can be found and can help troubleshooting the missing executable. Below are some potential situations:

Galaxia-ananke submodule didn't pull appropriately

The installation of galaxia_ananke is supposed to automatically pull the Galaxia-ananke git submodule. However, if the directory of that submodule is empty, it means that the pull failed. Try to manually run git submodule update --init from the root of this repository before installing.

build-aux/install-sh: Permission denied

In the log files, check if Galaxia-make-install.log contains a mention regarding a file named build-aux/install-sh with permission denied. This file is an executable ran by the installer, and it may need executable permission to be ran. It is located in the Galaxia-ananke submodule.

no writing permission in sys.prefix directory

When you run in a python terminal the following import sys; sys.prefix, the resulting path is the path of the directory where the Galaxia-ananke cached data is meant to be stored. If this directory doesn't have write permission, the installation will not complete. It is ideal to let the installation use that directory, so troubleshooting that missing write permission should be the priority. That said in last resort, it is possible to set a custom prefix directory by exporting its full path in the environment variable ANANKE_SYSTEM_PREFIX.

Metadata

Release files for galaxia-ananke 0.8.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 galaxia-ananke 0.8.0
File Size Uploaded
galaxia_ananke-0.8.0.tar.gz 120.6 kB Details

Release files / galaxia_ananke-0.8.0.tar.gz

Download URL galaxia_ananke-0.8.0.tar.gz
Size 120.6 kB
Tags Source
SHA-256 checksum
How to use checksums
0f517b8f52c500a8cb61d9b09bcc839da8ba55626343752b474d25869398e512
BLAKE2b-256 checksum
How to use checksums
01841c96140fe05719275f818c18124d8a9d43ee41f4bf60940b84300c5ded0a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Aug 10, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.8.0 This release

1 release file

0.7.0

1 release file

0.6.1

1 release file

0.6.0

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