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

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.4rc0.tar.gz (21.4 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.4rc0-cp314-cp314t-manylinux_2_28_x86_64.whl (66.2 MB view details)

Uploaded CPython 3.14tmanylinux: glibc 2.28+ x86-64

passagemath_macaulay2-10.8.4rc0-cp314-cp314t-manylinux_2_28_aarch64.whl (61.3 MB view details)

Uploaded CPython 3.14tmanylinux: glibc 2.28+ ARM64

passagemath_macaulay2-10.8.4rc0-cp314-cp314t-macosx_13_0_x86_64.whl (55.9 MB view details)

Uploaded CPython 3.14tmacOS 13.0+ x86-64

passagemath_macaulay2-10.8.4rc0-cp314-cp314t-macosx_13_0_arm64.whl (52.3 MB view details)

Uploaded CPython 3.14tmacOS 13.0+ ARM64

passagemath_macaulay2-10.8.4rc0-cp312-abi3-manylinux_2_28_x86_64.whl (66.2 MB view details)

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

passagemath_macaulay2-10.8.4rc0-cp312-abi3-manylinux_2_28_aarch64.whl (61.3 MB view details)

Uploaded CPython 3.12+manylinux: glibc 2.28+ ARM64

passagemath_macaulay2-10.8.4rc0-cp312-abi3-macosx_13_0_x86_64.whl (55.9 MB view details)

Uploaded CPython 3.12+macOS 13.0+ x86-64

passagemath_macaulay2-10.8.4rc0-cp312-abi3-macosx_13_0_arm64.whl (52.3 MB view details)

Uploaded CPython 3.12+macOS 13.0+ ARM64

passagemath_macaulay2-10.8.4rc0-cp311-cp311-manylinux_2_28_x86_64.whl (66.2 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ x86-64

passagemath_macaulay2-10.8.4rc0-cp311-cp311-manylinux_2_28_aarch64.whl (61.3 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ ARM64

passagemath_macaulay2-10.8.4rc0-cp311-cp311-macosx_13_0_x86_64.whl (55.9 MB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

passagemath_macaulay2-10.8.4rc0-cp311-cp311-macosx_13_0_arm64.whl (52.3 MB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.4rc0.tar.gz
Algorithm Hash digest
SHA256 50e000aa4fb5414cb7c62645986452a483f259569f5370ffe332f8846989fc04
MD5 38889ffa699e38f6c027dbe403116078
BLAKE2b-256 939f897a85eced710d26b274785a6738a2ef560d72db4e94c8184054709d321e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.4rc0-cp314-cp314t-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 753ddce8f24c4d99dfe52867b500ae168b4bee5ad34970e00763da05d653e5c5
MD5 43aa94e7a925b0c1d9c97f9e92ed62ab
BLAKE2b-256 b4b87057f073889a01eafb57c79eee0d4576c959c47e4bbf9a4ba20e99c37f15

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.4rc0-cp314-cp314t-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 83a4593aa09b4abca5d41b4c9ecff4d29bde776b473ada180b27de5c8d8bfd59
MD5 b0a02f4f2199cb3b48cdcc6a93384edc
BLAKE2b-256 8bf44a56c4b008de8102cd8926e5cf798b51f3226a5d457108e30c5c3bb47e89

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.4rc0-cp314-cp314t-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 fb759ac260515c1b5f9b17f32061550d0bd0d74da60bbd403f0e9242405b9a64
MD5 a85db0295d9695795f5a81dbe8b5a68b
BLAKE2b-256 98d63a62d20006cc28452db15c87941910e5dac3a375a2f5fd41de689a64213a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.4rc0-cp314-cp314t-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 d35030916065ead00809275847dd4c971a4ce3cd1ee843b79638731de0a3278a
MD5 c99543b7d47c53e2cf511e83346d7124
BLAKE2b-256 3e179f15be2ada5becbbaf2a5549f7f3390cefbdc8c2f3b05fd53f08f61432a8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.4rc0-cp312-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 9675b68c37d00da7b22234cbe4fbd67648a0034773f589714f3d1a57e0a43add
MD5 272e135fe925027e006cc3e6ade64dd4
BLAKE2b-256 0566d25573c6e79c5e4a16ac3d254544772ce3f494833eb477384a3a3ecf4d38

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.4rc0-cp312-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 86bf4b4e44a2ec677c32cb0b4300cf91beb1f18d12b5f575f03256a76d545eff
MD5 5604be72b2fd47ca1dda7f9d3795ddce
BLAKE2b-256 652b880d736ee1245e772461874a94f3c54546f7888c2bed4419ded05cde679f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.4rc0-cp312-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 847b7dc60812887c65ccd6522c8fb2b433a539ac91cb9d1fdd324a7c81b4cd56
MD5 95a937a55649135930cb945fbd1c36d9
BLAKE2b-256 a4b5c3ffea90a304b8a3a69350dad48e3c916849f4ce9afc73f5e1ad07c81ae2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.4rc0-cp312-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 29b6b4b3f4ced879cc5c6b284663342f59c2c5bbcd9e5a280c6e363617c17de1
MD5 1677537a7ce84df1398d5003e4b30a48
BLAKE2b-256 8b5c098f66c912367a04e6d519e660f5321b774fb51d573b8df5549079712914

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.4rc0-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 2457105b7bfe91eb3e81ccf9fac74edd8f0b4b47b541ce8106f45dab1eca8510
MD5 a7afb456369ef1bfa37ddbeecb62804f
BLAKE2b-256 bb17befb72999e611bb246a8fe07677783a40e7a9b2438e24903f43caf2e3aa2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.4rc0-cp311-cp311-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 57f9766e6d0b8e00fa329c8de4ec363dbd887efbb459dfec4e70d52f1241d0bd
MD5 8243f17852b7e89bad7dc213d371206a
BLAKE2b-256 a85c5567448a3b907d92b4f238e75bb29f7138c5d5d4bb3e14ec63e537ecc430

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.4rc0-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 5fa28352f94d0a0debbb909a056017f76400d5eaf775fe055f94b2de1f6da056
MD5 c69217c0efa848380833521aa5767d9a
BLAKE2b-256 191c299f10408240a45dde23ef4ebcc059f58f86d883aa93488ad70fb3e2281b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.4rc0-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 2c966dbf6c02e26fed8822a089f90b509e21272fe13d4469e5a72c2a8ca436bd
MD5 34e142b20917d5077517e3bd19855058
BLAKE2b-256 8e2e6eb8708b6d31484e652fb9490a5cdc1e87880e90335eef0521ba26a92eed

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