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

Uploaded CPython 3.14tmanylinux: glibc 2.28+ ARM64

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

Uploaded CPython 3.14tmacOS 13.0+ ARM64

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

Uploaded CPython 3.12+macOS 13.0+ ARM64

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

Uploaded CPython 3.11manylinux: glibc 2.28+ ARM64

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.6rc2.tar.gz
Algorithm Hash digest
SHA256 68db07cba0b34e598043420474589514ce7cc315803ab32029fb29b9328c06ce
MD5 b5e00346f1ff3897c14dfe927acdf439
BLAKE2b-256 c03da6ef081be8c7271d0fcdb58e0bdd97d04c552322448ebac168fd24bdd064

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.6rc2-cp314-cp314t-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 bb752418b23fe3ed63e2628e84813be399e1e4d2b5781e5f14dd58e273dbfd33
MD5 87da7d7e572ec2c051a98a6a8f354598
BLAKE2b-256 a3d041325ad5bfa6a37c7b98d6e7eb7137504b6d10155f241805e6d3f8a37d27

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.6rc2-cp314-cp314t-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 49778259c5db2587cc04a3bee2e2a413c105635dcf90799f765902f2157b0e7f
MD5 10eadbac8c1d6cb4b74cdd43833cd479
BLAKE2b-256 0c4236cbe145a2b6b14ad56de473913914330dd287babbd2dd275e067a436b9f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.6rc2-cp314-cp314t-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 dfb3d59da8521db3214cf8ac8f82af74ebb77e71a6d08f411645b367ecac6c46
MD5 38658df52827800c8ac8ae59fbd9debe
BLAKE2b-256 d7aa941410eaaf209422ff0c7b952e388170916a78d8d7cd8e73093a3f24f24b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.6rc2-cp314-cp314t-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 46baed6c0a0ce93b3d672e5f07b9bb0180fe070b0e728cbf69647cc788d18c0a
MD5 088bd5006d99c972f410e129411159ed
BLAKE2b-256 261e6a95dca278f248a572b52ea0f676b761f3259ebf74af3ce2a87d7a9026d1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.6rc2-cp312-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 a419ca2d4808661651c57673448109f15e39314f9a1d416bc25d692af71b9b68
MD5 9ac31c453aa677bbabe9e517e3339bbf
BLAKE2b-256 80d4247d6bbd85578f3604c62382ba896a2f708cb9e19f21da436adf8577975e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.6rc2-cp312-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 99e9fa762f3da825cc4eb380c9125ee6d11c9aa0df6719db99359435b588b019
MD5 3c06e4f834f96b5dbf5440162749fb49
BLAKE2b-256 2054dc1d142e64aaa7776095c6accf01066fb1840e8c6efc1c634f613e1bd4eb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.6rc2-cp312-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 8ded10a740f6721e3514cf521b74c6c808c7a78205b7e3b81ba5f5d87fc9449e
MD5 68a989a371026b1ca2e89ef7e6e2788f
BLAKE2b-256 0b8be2c58eedc64b60840ec2a392a8a4ecb1158057a2d1084b30ed3900c63c2b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.6rc2-cp312-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 0a15efd648ad989972626b9a149103a39feb6987dbc34942780c835e8caec7d0
MD5 06fd1f9fc1c3e28f4aa283474502c5b5
BLAKE2b-256 ae0b0161cf8a05a46380898414a72bb2d15b441462e36e04fd94fb50b3b59436

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.6rc2-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 1a07130f7b90c760d855d05bd630c645950d4c28507f69d2f0dd3bc2cae0a91c
MD5 7658941b68d1d705fc6ff269dc9df150
BLAKE2b-256 e0cc9958f7184c1db275bd285a59d7a9c1d1e24af3ae583b1da294a42f7814df

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.6rc2-cp311-cp311-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 8023d3c414f9a98692786d6d0c366b31e2bca42ee97e9dc857c8821c70f23742
MD5 ff8eac6ee251c6de2722415549877f7e
BLAKE2b-256 57d5e341113c4fea96e5f70c51f2d1dc08683f61a2e8bb904de71599752dd3eb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.6rc2-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 a4dea4587584a2307fb854f80c8583c95f21038c18110ee256c44388283cc3d8
MD5 8d9090918de74eaa387e9b70f1ed06cd
BLAKE2b-256 198b1986616ee3f1e1bcdb2f44e9dfe62ceff47b848660f8095c192ac21b4bcf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.6rc2-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 14d2915b6ae12df9aac6f4f107f9c20c7e8a8035f5c64fd17280371a14a3546f
MD5 e29be3394bfe002bad580187076fd574
BLAKE2b-256 c3ba5af8916977a7fc31220d5bcecec4499ba20b0b7459d36817885e831b9a8d

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