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.3rc2.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.3rc2-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.3rc2-cp314-cp314t-manylinux_2_28_aarch64.whl (61.3 MB view details)

Uploaded CPython 3.14tmanylinux: glibc 2.28+ ARM64

passagemath_macaulay2-10.8.3rc2-cp314-cp314t-macosx_13_0_arm64.whl (52.3 MB view details)

Uploaded CPython 3.14tmacOS 13.0+ ARM64

passagemath_macaulay2-10.8.3rc2-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.3rc2-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.3rc2-cp312-abi3-macosx_13_0_arm64.whl (52.3 MB view details)

Uploaded CPython 3.12+macOS 13.0+ ARM64

passagemath_macaulay2-10.8.3rc2-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.3rc2-cp311-cp311-manylinux_2_28_aarch64.whl (61.3 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ ARM64

passagemath_macaulay2-10.8.3rc2-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.3rc2.tar.gz.

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.3rc2.tar.gz
Algorithm Hash digest
SHA256 1dfeb0fcf2d94479d4e8ef54c651344f8f14cedf6a2f929cb03fc436ffb298be
MD5 1c510400996b6ad6a5755c49e57231bc
BLAKE2b-256 caaf5fbfbcdb7a218af51481f03f8712a99d71ebe155d3cb37727312c75df2c7

See more details on using hashes here.

File details

Details for the file passagemath_macaulay2-10.8.3rc2-cp314-cp314t-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.3rc2-cp314-cp314t-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 eb8e333737c029c9b766bcec2ec7cd3a3534ced52b01543b20d9664e8cee2252
MD5 8a9bb3888a3657f4d9b8702b0a50c154
BLAKE2b-256 caf329b0253a934b263715d24fc10e4f352b7ac4d9ab03aad47de29d7fdef647

See more details on using hashes here.

File details

Details for the file passagemath_macaulay2-10.8.3rc2-cp314-cp314t-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.3rc2-cp314-cp314t-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 77217190f3d3fb993bc974dd5e902bb947dfd031a07a595c8fc983827c7bda00
MD5 08d4a22da270b24dfb4a032fa3b5160f
BLAKE2b-256 ff7a0e31d81c8f9c1907226b0c53821c6e35fa5760fdb0c2e1035ee2d6f1f14c

See more details on using hashes here.

File details

Details for the file passagemath_macaulay2-10.8.3rc2-cp314-cp314t-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.3rc2-cp314-cp314t-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 5ecf68c5a58df30e10759b5f6629065ab603229886aa3137a17ef24570bc35db
MD5 d7dc676ebfd3482a48574087dbcfc781
BLAKE2b-256 0196f276c7cd01d84e8b2ee6c4463f5f5e940e75d32afdcef4cde3daaf869f6e

See more details on using hashes here.

File details

Details for the file passagemath_macaulay2-10.8.3rc2-cp312-abi3-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.3rc2-cp312-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 9d600d18d07babb636df667a3b1442bfb849e4dc684c512c4817772995d83f66
MD5 1c8dcddd3791aaa1dec1786510542d32
BLAKE2b-256 0e57fbef9e6a832dcc40025e4c135ccdd1c7dfaeb5f46816f0a44037235f3fef

See more details on using hashes here.

File details

Details for the file passagemath_macaulay2-10.8.3rc2-cp312-abi3-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.3rc2-cp312-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 695cc0bdfb85ed523c34fd3eb4eb2e9d5c16ea8967c5601aa8082c1c32820964
MD5 4f5990e174239d00ee45f2f002609c1c
BLAKE2b-256 385a4a0cab6bcec23052a02e3fb85cf87a46ec41fcd095d676424c9552be5d91

See more details on using hashes here.

File details

Details for the file passagemath_macaulay2-10.8.3rc2-cp312-abi3-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.3rc2-cp312-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 0a80a74a0b73abc89bf196c3852e35881c22cc1cc8b0298071e0f157aee88b64
MD5 44ad898c9d74e5ec6d25f7c692c0dbf6
BLAKE2b-256 ef8557cb68d48a1de19ca616c757781a09cdb3a9e685137732ec62c6036f4bff

See more details on using hashes here.

File details

Details for the file passagemath_macaulay2-10.8.3rc2-cp311-cp311-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.3rc2-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 03c2932d567946aa47e16bba0e9c7a801623bd98747fd21ef44c9f64f9c0314d
MD5 0081b824e559794d804282f897844ca6
BLAKE2b-256 750038297875a7ffe814b3bacb2330d39e9b68d5ec25f3923f55cade149d8c41

See more details on using hashes here.

File details

Details for the file passagemath_macaulay2-10.8.3rc2-cp311-cp311-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.3rc2-cp311-cp311-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 26d2ca50492431978aa9058bbb5e5a5268212915ed8b7e815bf3879df2d6ba08
MD5 f69d0e1a0c066c7aaca8b92ffd9874c4
BLAKE2b-256 cb194f884f7136db600f5db83f14cea6d94bbf2a8f7c4182b6674793c1009447

See more details on using hashes here.

File details

Details for the file passagemath_macaulay2-10.8.3rc2-cp311-cp311-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.3rc2-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 ec4e0bbbbb5dc1b2148abf6e9d36befadc73205827c7c397f9cc9c46d6b94051
MD5 fcc4180ec691fe62450edf4c7145d3b6
BLAKE2b-256 7f84cb3c4f44c254f3868ca3967092136629323ecc8933c8abcbe11c965597b7

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