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.6rc0.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.6rc0-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.6rc0-cp314-cp314t-manylinux_2_28_aarch64.whl (70.1 MB view details)

Uploaded CPython 3.14tmanylinux: glibc 2.28+ ARM64

passagemath_macaulay2-10.8.6rc0-cp314-cp314t-macosx_13_0_x86_64.whl (62.8 MB view details)

Uploaded CPython 3.14tmacOS 13.0+ x86-64

passagemath_macaulay2-10.8.6rc0-cp314-cp314t-macosx_13_0_arm64.whl (59.3 MB view details)

Uploaded CPython 3.14tmacOS 13.0+ ARM64

passagemath_macaulay2-10.8.6rc0-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.6rc0-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.6rc0-cp312-abi3-macosx_13_0_x86_64.whl (62.8 MB view details)

Uploaded CPython 3.12+macOS 13.0+ x86-64

passagemath_macaulay2-10.8.6rc0-cp312-abi3-macosx_13_0_arm64.whl (59.3 MB view details)

Uploaded CPython 3.12+macOS 13.0+ ARM64

passagemath_macaulay2-10.8.6rc0-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.6rc0-cp311-cp311-manylinux_2_28_aarch64.whl (70.1 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ ARM64

passagemath_macaulay2-10.8.6rc0-cp311-cp311-macosx_13_0_x86_64.whl (62.8 MB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

passagemath_macaulay2-10.8.6rc0-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.6rc0.tar.gz.

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.6rc0.tar.gz
Algorithm Hash digest
SHA256 3e9232cc33b1ec278d12b710bfd2a73c2a1406eb7fa64abc8be0ecbec5acd10a
MD5 012bf6b58b0d199ad6819ee87d173962
BLAKE2b-256 e852222cfa66dedd0159bfbd20d0fc3df770221c0b59b085b3f2ab74c5c3d870

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.6rc0-cp314-cp314t-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 9feb57174864f4cca3fa09a8681b40cf46ccf9e21d8ec36623b68b1f31284f36
MD5 f1eb1913a4fba154cffa253c154a49e8
BLAKE2b-256 7f9c37331d47b912332cc2662184d8a0f6df63556e5d0ad20cf0a29121993a8a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.6rc0-cp314-cp314t-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 e484a4f15d8d34e117fe13bcb51c63596df20b4ffe4ca3277ae955fc33909bd1
MD5 5e0efaa4f036d2cf7390cc41c031b9f8
BLAKE2b-256 5a44496d3f7df92be76595ef320719275fe01eab3794053a76582700e0c7765d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.6rc0-cp314-cp314t-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 e943893e279f30681a6942acfdd853da324b89c00b667a7cf5562ab1aa253872
MD5 d5c0cee87e859e57ad298d538af0068f
BLAKE2b-256 7808d71449b137591b64244629a5c933c67edbb3b48a8a30a88f845df36cdfd6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.6rc0-cp314-cp314t-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 41a96ab64a58b9df73516cbe84d0be6f5c3f94b9d58cda39421dcb406384f494
MD5 df150c300a6fbabc6ffa47f2be78e07c
BLAKE2b-256 31fa4e127544ce1333d96db37ab4477944a9664f73130810380fe63087c35809

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.6rc0-cp312-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 c577099b9d54e3dc788a54c45d97eb094d20bf35cee3fbb29363d7b3ed0ff776
MD5 16c9ae93c613722dff9e31137f3415e2
BLAKE2b-256 39f4aa4f23b8a1b80f56fd56df1a58cb14c41682864defad712cbf0f004f37d4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.6rc0-cp312-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 3360830ad6d32c4ab02c3361065112e9c0b170773cce5248571e9ce2e2c2c454
MD5 824d59d5154bcda6d63bc548de6e01c9
BLAKE2b-256 64884523932cc8f3b9f567608ae2f5f8a2109119d4ee6517b0b77fa947ac5d6d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.6rc0-cp312-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 f8c15ccf744f75b9aca6eb9af05b62eec88736056d9fd3075f2c513aa29d1fb8
MD5 9cafdc35d804db0215912d6d3bc15616
BLAKE2b-256 221c3a008d837479c01dedb4dfdeada75aef23ee8b01e4a757032a05ffba40dc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.6rc0-cp312-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 8ebf7d51cb52b193ab2de4dc765cdaeacf272db6f5bc8faf8b29de3e323f3810
MD5 5817ade85945956b1ab1ba407fdfff01
BLAKE2b-256 fb84e866518cc3e7034364c4bda10f8b3cc6e223d82fd8bacf9a6f47c2f4131d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.6rc0-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 54e9d669b33b303fec6f71e284388798bfdebd44e9a8774412ced23d89c22ecc
MD5 e2e4b478e88d8447c2b40d9d91ea923f
BLAKE2b-256 37edd1d9ff409a9533d21e842b591f38fc06343d9740276b32bbc15110af008b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.6rc0-cp311-cp311-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 88f8e1edcf607e91a112ee0f7276694f95abc1d660c3ff41eaea32d3d5181842
MD5 6bd94a35272061a556273e222bc5f62f
BLAKE2b-256 92a307f63bff2c4af362819dee2094362e1aeda66e09aa15c1b460dd1a7bdf3d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.6rc0-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 e861e92bd08c3df7ccf01b9c02dab7446a8b0cfbd4958e79423e5be0f4088453
MD5 ffbd3de8099e5df99daa1bd20cd472e1
BLAKE2b-256 4158860986fe4cf07048c588d6a8a14cbe878d59adcb1b0a7a7e4538e575aa9a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.6rc0-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 9d025a49ef52e5cfed761052b7f9a893fc93173ccb5278882341475563945718
MD5 2af502bab746054780e26a5c1f09029a
BLAKE2b-256 f5a222c0e18798f8109e54c5583eb98a81e2b697b9a9571a7426765e9bfda53d

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