Skip to main content

passagemath: Computing in commutative algebra, algebraic geometry and related fields with Macaulay2

Project description

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-macaulay2 provides an interface to Macaulay2.

What is included

Examples

Using Macaulay 2 on the command line:

$ pipx run --pip-args="--prefer-binary" --spec "passagemath-macaulay2" sage -sh -c 'M2'

Finding the installation location of Macaulay 2:

$ pipx run --pip-args="--prefer-binary" --spec "passagemath-macaulay2[test]" ipython

In [1]: from sage.features.macaulay2 import Macaulay2

In [2]: Macaulay2().absolute_filename()
Out[2]: '.../bin/M2'

Using the Python interface:

$ pipx run --pip-args="--prefer-binary" --spec "passagemath-macaulay2[test]" ipython

In [1]: from passagemath_macaulay2 import *

In [2]: R = macaulay2('QQ[x, y]'); R
Out[2]: QQ[x..y]

In [3]: S = R / macaulay2('ideal {x^2 - y}'); S
Out[3]:
QQ[x..y]
--------
  2
 x  - y

In [4]: S.gens()
Out[4]: {x, y}

Available as extras, from other distributions

Runtime dependencies of various Macaulay2 packages

Extras are defined for Macaulay2 packages that have pip-installable runtime dependencies. Examples:

pip install "passagemath-macaulay2[CoincidentRootLoci]"

installs QEPCAD, a runtime dependency of M2 package CoincidentRootLoci

pip install "passagemath-macaulay2[FourTiTwo]"

installs 4ti2, a runtime dependency of M2 package FourTiTwo

pip install "passagemath-macaulay2[gfanInterface]"

installs gfan, a runtime dependency of M2 package gfanInterface

Jupyter kernel

pip install "passagemath-macaulay2[jupyterkernel]"

installs the kernel for use in the Jupyter notebook and JupyterLab

pip install "passagemath-macaulay2[notebook]"

installs the kernel and the Jupyter notebook

pip install "passagemath-macaulay2[jupyterlab]"

installs the kernel and JupyterLab

Project details


Download files

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

Source Distribution

passagemath_macaulay2-10.8.5.tar.gz (22.5 kB view details)

Uploaded Source

Built Distributions

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

passagemath_macaulay2-10.8.5-cp314-cp314t-manylinux_2_28_x86_64.whl (75.3 MB view details)

Uploaded CPython 3.14tmanylinux: glibc 2.28+ x86-64

passagemath_macaulay2-10.8.5-cp314-cp314t-manylinux_2_28_aarch64.whl (70.0 MB view details)

Uploaded CPython 3.14tmanylinux: glibc 2.28+ ARM64

passagemath_macaulay2-10.8.5-cp314-cp314t-macosx_13_0_x86_64.whl (62.7 MB view details)

Uploaded CPython 3.14tmacOS 13.0+ x86-64

passagemath_macaulay2-10.8.5-cp314-cp314t-macosx_13_0_arm64.whl (59.2 MB view details)

Uploaded CPython 3.14tmacOS 13.0+ ARM64

passagemath_macaulay2-10.8.5-cp312-abi3-manylinux_2_28_x86_64.whl (75.3 MB view details)

Uploaded CPython 3.12+manylinux: glibc 2.28+ x86-64

passagemath_macaulay2-10.8.5-cp312-abi3-manylinux_2_28_aarch64.whl (70.0 MB view details)

Uploaded CPython 3.12+manylinux: glibc 2.28+ ARM64

passagemath_macaulay2-10.8.5-cp312-abi3-macosx_13_0_x86_64.whl (62.7 MB view details)

Uploaded CPython 3.12+macOS 13.0+ x86-64

passagemath_macaulay2-10.8.5-cp312-abi3-macosx_13_0_arm64.whl (59.2 MB view details)

Uploaded CPython 3.12+macOS 13.0+ ARM64

passagemath_macaulay2-10.8.5-cp311-cp311-manylinux_2_28_x86_64.whl (75.3 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ x86-64

passagemath_macaulay2-10.8.5-cp311-cp311-manylinux_2_28_aarch64.whl (70.0 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ ARM64

passagemath_macaulay2-10.8.5-cp311-cp311-macosx_13_0_x86_64.whl (62.7 MB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

passagemath_macaulay2-10.8.5-cp311-cp311-macosx_13_0_arm64.whl (59.2 MB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

Details for the file passagemath_macaulay2-10.8.5.tar.gz.

File metadata

  • Download URL: passagemath_macaulay2-10.8.5.tar.gz
  • Upload date:
  • Size: 22.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for passagemath_macaulay2-10.8.5.tar.gz
Algorithm Hash digest
SHA256 d8d3de30e09536e9672661064351df29fe724c17f271a47cebc4ba16b7a49d57
MD5 aaf08bae241cef91250951f6f3967595
BLAKE2b-256 571d09e094110b94d2c026396324a927baeeeec3515e4c43daee2371f64c9c66

See more details on using hashes here.

File details

Details for the file passagemath_macaulay2-10.8.5-cp314-cp314t-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.5-cp314-cp314t-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 acee04a4c3b1d88b4d2af3616263c1186969bedb78f8be035d0f5686435d2895
MD5 9919194400352529b0f23350a586be99
BLAKE2b-256 bcee1bff91e35a55bd459ef3e18a59b425b35ff571980b3252723a948e0509a0

See more details on using hashes here.

File details

Details for the file passagemath_macaulay2-10.8.5-cp314-cp314t-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.5-cp314-cp314t-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 438dea6cb91ec9a9d540e5deeeaabf9f2589ae049f60ffe257057f2dc4b45be6
MD5 fcb0693b8cc1d4af778c36d16620892c
BLAKE2b-256 e5880a884d5d56c6b40a980f6b77b86332eccfeef85b2583ff738c880623d003

See more details on using hashes here.

File details

Details for the file passagemath_macaulay2-10.8.5-cp314-cp314t-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.5-cp314-cp314t-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 d8be98cd2e7cc8a7ccad7b20a1b95a31d3896be77e275723b222ed8b816ac8b4
MD5 55b5c63cdd0f464c98ab8c2884bf484a
BLAKE2b-256 ee82af2269e80881e08116c96c0a6484453195caf3156f947e0720ccc97810e2

See more details on using hashes here.

File details

Details for the file passagemath_macaulay2-10.8.5-cp314-cp314t-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.5-cp314-cp314t-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 8defcbf3793d082d07be9415664c45ad45c52eb9744d9d50f40f969fd5bfd212
MD5 e7afd8a36fb2d4304b6a04483f4882fa
BLAKE2b-256 e4df70b270467a9c556c94ffc39d33f2d483f8ce01708f94ed4d8d9ebe35dc0f

See more details on using hashes here.

File details

Details for the file passagemath_macaulay2-10.8.5-cp312-abi3-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.5-cp312-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 d066f60fb385bf66861ae042ab9d9a4d88e51d7892627a489a8e01ff01ecc90b
MD5 c7f49cb6f7af8bcf938a44f7d4f9457a
BLAKE2b-256 62b559ede6d627b75a64f61880ee1a5a71529614b2c1000c937d473bd64913e5

See more details on using hashes here.

File details

Details for the file passagemath_macaulay2-10.8.5-cp312-abi3-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.5-cp312-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 bfc4ca0891df80052e76e9ee3969b0c33f251b0d1df238a37178d40cc494fe96
MD5 d1f6f9187b9492f1177664abd239ee18
BLAKE2b-256 9888c890fc295e5e39d2f6dc5f633ea03963a38cd7dd2c17b8d7478bf2ea9711

See more details on using hashes here.

File details

Details for the file passagemath_macaulay2-10.8.5-cp312-abi3-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.5-cp312-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 258256aebe83366207f5d5b9894baa73da2e1082172b45cf3e5bf686c6b81fe7
MD5 8c85e10a3b4b810f57fd2cd1ef4f6374
BLAKE2b-256 29d38e16daef475569496fcbfa53e24d70d0a1104919bf7c64b1b69827022afc

See more details on using hashes here.

File details

Details for the file passagemath_macaulay2-10.8.5-cp312-abi3-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.5-cp312-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 a0bbf454d11895ce3364856c0687b918453fb11e747467ba40904bb0a924c018
MD5 2c37e18040be785c2e9420be40458f25
BLAKE2b-256 b24f086a6b96e8afb5b6308170d2dbdec867614318c4b46c9d9e23a5b5d135eb

See more details on using hashes here.

File details

Details for the file passagemath_macaulay2-10.8.5-cp311-cp311-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.5-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 5487e8ce73cea0ab7c6911d7025364b908bb10b23d336cad1d532001736041b1
MD5 e1bbbdf8a90ba956fa7c673932bedaed
BLAKE2b-256 2a0fde239607e2df8aed2a706b21e2f708572730ad0fa6b47363628218b3c74e

See more details on using hashes here.

File details

Details for the file passagemath_macaulay2-10.8.5-cp311-cp311-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.5-cp311-cp311-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 fb6a341b288e219e145c91ad1fca9a9d893811327836e71300642a75f6b49d05
MD5 389aab32db83d7931ae9e8b052d738a3
BLAKE2b-256 8561b272b4dda12cbc2715e3171d62ad032fc93615dec2984f68e393dbf2a8a4

See more details on using hashes here.

File details

Details for the file passagemath_macaulay2-10.8.5-cp311-cp311-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.5-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 d39bd882b19dbdb6ce0dc70942f54c788ebd06050eb2955e744af4a829496c56
MD5 5825032396e1e8f0802ba52dda4b61c4
BLAKE2b-256 6cc6f5d8befe994c6ba6e4ad6e96063bb7888f9bc4b8d365f539ad1be71b588a

See more details on using hashes here.

File details

Details for the file passagemath_macaulay2-10.8.5-cp311-cp311-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.5-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 2f1e77279d0e3b8b7710319ef46bb2d4e9e1ef943c217a966b90601ab0f06895
MD5 a0b350307820c98d5f74b626bce6d7fa
BLAKE2b-256 eaf57a717a4a8204bf2fdb72a3bd0d9ae5591df7bd31577491d578c610258859

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