Skip to main content

License Docs codecov Unit Tests Integration Tests

Zalmoxis

Interior structure solver for rocky planets and sub-Neptunes.

Zalmoxis computes self-consistent radial profiles of density, pressure, temperature, gravity, and phase state for differentiated planets from 0.1 to 50 Earth masses. Given a total mass, layer composition, and temperature mode, it iteratively solves the coupled hydrostatic equilibrium equations to determine the planet's radius and internal structure.

Features

  • Multiple EOS families: PALEOS unified tables (iron, MgSiO3, H2O), Chabrier H2 for sub-Neptune interiors, Wolf & Bower 2018, Seager 2007, and analytic polytropes
  • Multi-material mixing: volume-additive harmonic mean with per-component phase-aware suppression
  • H2 miscibility: binodal suppression models for H2-silicate and H2-H2O phase boundaries
  • Temperature modes: adiabatic (self-consistent), isothermal, linear, or prescribed profiles
  • Parameter grids: sweep any combination of input parameters via TOML grid files

Quick start

# Install
git clone https://github.com/FormingWorlds/Zalmoxis.git
cd Zalmoxis
pip install -e .

# Download EOS data
bash tools/setup/get_zalmoxis.sh

# Run default config (1 Earth-mass, PALEOS iron + MgSiO3)
python -m zalmoxis -c input/default.toml

See the installation guide and usage guide for details.

Documentation

Full documentation: proteus-framework.org/Zalmoxis

Part of PROTEUS

Zalmoxis is the interior structure module of the PROTEUS framework for coupled atmosphere-interior evolution of rocky planets and sub-Neptunes.

Contributing

Contributions are welcome. Please read the Code of Conduct and contributing guidelines before opening a pull request. If you encounter issues, please open an issue.

License

Apache License 2.0

Metadata

Release files for fwl-zalmoxis 26.9.21

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

Source distribution (sdist)

Source distribution for fwl-zalmoxis 26.9.21
File Size Uploaded
fwl_zalmoxis-26.9.21.tar.gz 5.5 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for fwl-zalmoxis 26.9.21
File Interpreter ABI Platform
fwl_zalmoxis-26.9.21-py3-none-any.whl Python 3 none any Details

Total release size: 5.7 MB

Release files / fwl_zalmoxis-26.9.21.tar.gz

Download URL fwl_zalmoxis-26.9.21.tar.gz
Size 5.5 MB
Tags Source
SHA-256 checksum
How to use checksums
25fcb5519ca0eef77348645bae68cde84071de46e313053dcfafd08f9860c473
BLAKE2b-256 checksum
How to use checksums
35507ec5c398efcc53c93adef3121d24294e66759ec45d443e1acffd00478045
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 Sep 21, 2026.

Transparency log

Release files / fwl_zalmoxis-26.9.21-py3-none-any.whl

Download URL fwl_zalmoxis-26.9.21-py3-none-any.whl
Size 182.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7111e607d5c2f81ca0060d5d5d62fad6a985af4bc0445d74849d96aaa0d762fd
BLAKE2b-256 checksum
How to use checksums
1dffbf06e48bbd9bcb612b67ffc3deba22c1cfe845c3a2e0026a715a7a4203b6
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 Sep 21, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

26.9.21 This release

2 release files

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