Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

passagemath is open source mathematical software in Python, released under the GNU General Public Licence GPLv2+.

It is a fork of SageMath, which has been developed 2005-2026 under the motto “Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, and MATLAB”.

The passagemath fork uses the motto “Creating a Free Passage Between the Scientific Python Ecosystem and Mathematical Software Communities.” It was created in October 2024 with the following goals:

Moreover, the passagemath project:

  • provides a stable, frequently updated version of the Sage distribution,

  • integrates additional mathematical software, notably Macaulay2, a full set of GAP packages, and the Combinatorial Matrix Recognition library,

  • curates a library of Sage user packages.

Full documentation is available online.

passagemath attempts to support and provides binary wheels suitable for all major Linux distributions and recent versions of macOS.

Binary wheels for native Windows (x86_64, ARM) are are available for a subset of the passagemath distributions. Use of the full functionality of passagemath on Windows currently requires the use of Windows Subsystem for Linux (WSL) or virtualization.

The supported Python versions in the passagemath-10.8.x series are 3.11.x-3.14.x; the passagemath-10.6.x series (EOL 2026-10) still supports Python 3.10.x.

About this pip-installable distribution package

This pip-installable distribution passagemath-symbolics is a distribution of a part of the Sage Library. It provides a small subset of the modules of the Sage library (“sagelib”, passagemath-standard).

What is included

Examples

Using SageManifolds:

$ pipx run --spec "passagemath-symbolics[test]" ipython

In [1]: from passagemath_symbolics import *

In [2]: M = Manifold(4, 'M', structure='Lorentzian'); M
Out[2]: 4-dimensional Lorentzian manifold M

In [3]: X = M.chart(r"t r:(0,+oo) th:(0,pi):\theta ph:(0,2*pi):\phi")

In [4]: t,r,th,ph = X[:]; m = var('m'); assume(m>=0)

In [5]: g = M.metric(); g[0,0] = -(1-2*m/r); g[1,1] = 1/(1-2*m/r); g[2,2] = r**2; g[3,3] = (r*sin(th))**2; g.display()
Out[5]: g = (2*m/r - 1) dt⊗dt - 1/(2*m/r - 1) dr⊗dr + r^2 dth⊗dth + r^2*sin(th)^2 dph⊗dph

In [6]: g.christoffel_symbols_display()
Out[6]:
Gam^t_t,r = -m/(2*m*r - r^2)
Gam^r_t,t = -(2*m^2 - m*r)/r^3
Gam^r_r,r = m/(2*m*r - r^2)
Gam^r_th,th = 2*m - r
Gam^r_ph,ph = (2*m - r)*sin(th)^2
Gam^th_r,th = 1/r
Gam^th_ph,ph = -cos(th)*sin(th)
Gam^ph_r,ph = 1/r
Gam^ph_th,ph = cos(th)/sin(th)

Available as extras, from other distributions

pip install "passagemath-symbolics[fricas]"

Computer algebra system FriCAS, via passagemath-fricas

pip install "passagemath-symbolics[giac]"

Computer algebra system Giac, via passagemath-giac

pip install "passagemath-symbolics[mathics3]"

Computer algebra system Mathics3

pip install "passagemath-symbolics[primecount]"

Prime counting function implementation primecount, via primecountpy

pip install "passagemath-symbolics[sympy]"

Python library for symbolic mathematics / computer algebra system SymPy

pip install "passagemath-symbolics[plot]"

Plotting facilities

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

passagemath_symbolics-10.10.1a0.tar.gz (1.6 MB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

passagemath_symbolics-10.10.1a0-cp315-cp315t-macosx_13_0_arm64.whl (22.2 MB view details)

Uploaded CPython 3.15tmacOS 13.0+ ARM64

passagemath_symbolics-10.10.1a0-cp315-cp315-macosx_13_0_arm64.whl (22.1 MB view details)

Uploaded CPython 3.15macOS 13.0+ ARM64

passagemath_symbolics-10.10.1a0-cp314-cp314t-macosx_13_0_arm64.whl (22.2 MB view details)

Uploaded CPython 3.14tmacOS 13.0+ ARM64

passagemath_symbolics-10.10.1a0-cp314-cp314-macosx_13_0_arm64.whl (22.1 MB view details)

Uploaded CPython 3.14macOS 13.0+ ARM64

passagemath_symbolics-10.10.1a0-cp313-cp313-macosx_13_0_arm64.whl (22.1 MB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64

passagemath_symbolics-10.10.1a0-cp312-cp312-macosx_13_0_arm64.whl (22.1 MB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

File details

Details for the file passagemath_symbolics-10.10.1a0.tar.gz.

File metadata

File hashes

Hashes for passagemath_symbolics-10.10.1a0.tar.gz
Algorithm Hash digest
SHA256 5b144b27f8a17e16daa83a7382809e124aa20b0f04a1a6eb89a989ee504989df
MD5 d183f7219a90dd87b26dc313ae00a796
BLAKE2b-256 640c6e0a3639cd75a647d8c0854be0859ca124c362f9c0df7098ee3c76cf62cb

See more details on using hashes here.

File details

Details for the file passagemath_symbolics-10.10.1a0-cp315-cp315t-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_symbolics-10.10.1a0-cp315-cp315t-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 35a87e1cb6473272b2892aa4d98a4b4051f53f6e6fb4a655ff41721d00a3cfed
MD5 5a23044997c5761d1906d3b1610d457d
BLAKE2b-256 d36c7aafbec5b4054e2781700f8e42353ce911671123187cbacde6299c782419

See more details on using hashes here.

File details

Details for the file passagemath_symbolics-10.10.1a0-cp315-cp315-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_symbolics-10.10.1a0-cp315-cp315-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 9ef355c787f84e9dd5b24ae23faf4ee75e99016797d384bb5dfb3f69462ea86e
MD5 775bdd45e8a01b7f6c08c3767e55fdbc
BLAKE2b-256 5582cf6505c4924c91d40138302eb4bb68a84b95903ca21573750a6af7a319d5

See more details on using hashes here.

File details

Details for the file passagemath_symbolics-10.10.1a0-cp314-cp314t-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_symbolics-10.10.1a0-cp314-cp314t-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 df601a0df84f8bee1f79b6493b3958c47a2a67a5d41e4dd236b10d44ace4d851
MD5 6822f9e8b32c594d0e2c784d645d29ca
BLAKE2b-256 c137f3aae17424f9a28471754c0d4f8a53108219ef6bba844dd46bb5b9f61477

See more details on using hashes here.

File details

Details for the file passagemath_symbolics-10.10.1a0-cp314-cp314-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_symbolics-10.10.1a0-cp314-cp314-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 b29fd7787bf5b403f337d5b2d5ae03407941d77cda9c735ac1e995993cf45db0
MD5 0dc36698f4727ad7a338081bf35e4760
BLAKE2b-256 c150b4fde4bc5f910a46559d70cb4eadcdc1a4f1c18bec29a655c2d8e4c9dc30

See more details on using hashes here.

File details

Details for the file passagemath_symbolics-10.10.1a0-cp313-cp313-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_symbolics-10.10.1a0-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 8e5f8699a2e02a62f8855e1955b4050c8f22fdb30e0745a37a7aaa78d0f8f0cc
MD5 eccbde5c3a2efa55486d58248a841905
BLAKE2b-256 170939efd1b27ad5c454e0c5b02ac709f32600ef2fb605656e0f651da9c12de3

See more details on using hashes here.

File details

Details for the file passagemath_symbolics-10.10.1a0-cp312-cp312-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_symbolics-10.10.1a0-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 0112a1d61f343b57f3167d713c35446195b9e863265e2497543fda670b2d3ab9
MD5 527df7617b2c99dd63a8a2e794cd8f71
BLAKE2b-256 b16e6140bb8fb6756bc1e9689c891c9ea050277e0d1051ea86257a92026b78f2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page