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 --spec "passagemath-macaulay2" sage -sh -c 'M2'

Finding the installation location of Macaulay 2:

$ pipx run --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 --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.7rc0.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.7rc0-cp314-cp314t-manylinux_2_28_x86_64.whl (75.2 MB view details)

Uploaded CPython 3.14tmanylinux: glibc 2.28+ x86-64

passagemath_macaulay2-10.8.7rc0-cp314-cp314t-manylinux_2_28_aarch64.whl (70.1 MB view details)

Uploaded CPython 3.14tmanylinux: glibc 2.28+ ARM64

passagemath_macaulay2-10.8.7rc0-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.7rc0-cp314-cp314t-macosx_13_0_arm64.whl (59.3 MB view details)

Uploaded CPython 3.14tmacOS 13.0+ ARM64

passagemath_macaulay2-10.8.7rc0-cp312-abi3-manylinux_2_28_x86_64.whl (75.2 MB view details)

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

passagemath_macaulay2-10.8.7rc0-cp312-abi3-manylinux_2_28_aarch64.whl (70.1 MB view details)

Uploaded CPython 3.12+manylinux: glibc 2.28+ ARM64

passagemath_macaulay2-10.8.7rc0-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.7rc0-cp312-abi3-macosx_13_0_arm64.whl (59.3 MB view details)

Uploaded CPython 3.12+macOS 13.0+ ARM64

passagemath_macaulay2-10.8.7rc0-cp311-cp311-manylinux_2_28_x86_64.whl (75.2 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ x86-64

passagemath_macaulay2-10.8.7rc0-cp311-cp311-manylinux_2_28_aarch64.whl (70.1 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ ARM64

passagemath_macaulay2-10.8.7rc0-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.7rc0-cp311-cp311-macosx_13_0_arm64.whl (59.3 MB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

Details for the file passagemath_macaulay2-10.8.7rc0.tar.gz.

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.7rc0.tar.gz
Algorithm Hash digest
SHA256 d4c147e36ed066d1653189cd4e58c193b08f51434b0c1e6b3bf750c62fba5295
MD5 279ae0ad26378a996c122c922cd8387a
BLAKE2b-256 15131f33c93c5ca551e8d097f733fe4b2e3fd8d109871c01f7136fc0561095f8

See more details on using hashes here.

File details

Details for the file passagemath_macaulay2-10.8.7rc0-cp314-cp314t-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.7rc0-cp314-cp314t-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 dad24aa9f61a76a9e02c73881e436079d5015d40d489b6bab0129ba5d07ecc69
MD5 f1236dcd35310813101c441ce3168a7c
BLAKE2b-256 a0a25618888bc0a939d71227c8482555052d04e7e541cc022052c25950378b3b

See more details on using hashes here.

File details

Details for the file passagemath_macaulay2-10.8.7rc0-cp314-cp314t-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.7rc0-cp314-cp314t-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 ecc3a577cb065fad6cc50a151503dd337c9bac540e70e81214e146bf49b7e2c4
MD5 7c70c2f9ed77d337cd1f786ca2eb9bef
BLAKE2b-256 ac8b123a64f332f4deb68506d34ebb4a9d33ab4b9c94b9d53658cdf3f0f7c09a

See more details on using hashes here.

File details

Details for the file passagemath_macaulay2-10.8.7rc0-cp314-cp314t-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.7rc0-cp314-cp314t-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 73391b3ac549e3ea6edbd50f9dd7ed4599ae6108001962d17dd5ed92922c62bd
MD5 b0488cff27dc111819a128df4e38f5eb
BLAKE2b-256 419c9090910546802e60d0c2e216415171e20c474e50d2d0eed151b741734c96

See more details on using hashes here.

File details

Details for the file passagemath_macaulay2-10.8.7rc0-cp314-cp314t-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.7rc0-cp314-cp314t-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 9d25bff91704735a575cc37f38a33158137f316f09847c8c969cf0f2638452e6
MD5 c47f5ac604b0ec2b510b4961dc4eeb48
BLAKE2b-256 fc5b55b15a6eac4096a1ef355b1b181aa7845ac63f562d0e28cf8da10ce13c96

See more details on using hashes here.

File details

Details for the file passagemath_macaulay2-10.8.7rc0-cp312-abi3-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.7rc0-cp312-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 073888ecd4ab0a2b2957e0300060bd5eb1cf1f2a1d4960e0d387d7d4cb0178cc
MD5 e8e9138d7f38aab8fa5aa44a6fd19c1d
BLAKE2b-256 2374ae8d76b37eb72b36af5f97c5da9e4de40a55b378c2ee5139b78ed38dee15

See more details on using hashes here.

File details

Details for the file passagemath_macaulay2-10.8.7rc0-cp312-abi3-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.7rc0-cp312-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 4388bebb68351ac101d96aadd3f1246196abb9f0ebf8bdf2ed824c0cdc93e29b
MD5 2717c335f3fc09d6d548029254817590
BLAKE2b-256 e5bba4370e0dfa0166217ed2749f0083f979b6089d76ef234c82a14536e47721

See more details on using hashes here.

File details

Details for the file passagemath_macaulay2-10.8.7rc0-cp312-abi3-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.7rc0-cp312-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 a5a09a0d0018b25a383528b8485f2e599255132c5f9ef86520535a480a26a04c
MD5 ddbb27f750ee07e4de4b5fcdd54404c5
BLAKE2b-256 548faef474d3ba7403819c20feead539b567dea0cca09415ee52f21b1194347a

See more details on using hashes here.

File details

Details for the file passagemath_macaulay2-10.8.7rc0-cp312-abi3-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.7rc0-cp312-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 72d4b1e52ca994eba71bc57f01d1369dda5efd695f98d23acae1ba0714f85f2a
MD5 0631cea545d6e4b4ca019f7117ab300d
BLAKE2b-256 a5a5c5e56ff8298550fb6e7cf97777f3d1ee77f98010e036155abbc6c611e409

See more details on using hashes here.

File details

Details for the file passagemath_macaulay2-10.8.7rc0-cp311-cp311-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.7rc0-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 4c618f081e28ee36d57be73eb793d3d6bad8fbcc09efb39d6a53c53dadcb18fc
MD5 3ac943a68250869e63c32b0b9c6ac922
BLAKE2b-256 eef3b74488f3209ef921f4253a0d47c79012113cec2a2732557d2ebfe45d66ba

See more details on using hashes here.

File details

Details for the file passagemath_macaulay2-10.8.7rc0-cp311-cp311-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.7rc0-cp311-cp311-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 5d6d9714291aa541e4ab9800c5a3326aad1457b0db6f65005c1bd76e91842264
MD5 13b61a4597a996f3d75cbcc209a90ac0
BLAKE2b-256 1447a27f06e0eb8ad7a2819ed1b20c236a8695c7f1a8c1c2ad7a87ed90a5be6b

See more details on using hashes here.

File details

Details for the file passagemath_macaulay2-10.8.7rc0-cp311-cp311-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.7rc0-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 e15d5cb72a838e49cd1ae9ed6130732f159a3304396f78da504c582a0d1837ae
MD5 76198d50b1bacb92c60d83e51547ded2
BLAKE2b-256 3c0d56726fad1383caf9fb5c3d4547e52dba96edbb688a01c475cf93eb9cbbbc

See more details on using hashes here.

File details

Details for the file passagemath_macaulay2-10.8.7rc0-cp311-cp311-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.7rc0-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 d07eb48ecd2b837060b77638c63795b8daa13f2d97bb4064ad9b29a5f5edc67a
MD5 658c7f2bd7d6e70710e06de24ff0ef61
BLAKE2b-256 5e6663800429addcb771225b5a05f9621567a3fc6dd5b20c92666deee1356630

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