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.5rc2.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.5rc2-cp314-cp314t-manylinux_2_28_x86_64.whl (66.7 MB view details)

Uploaded CPython 3.14tmanylinux: glibc 2.28+ x86-64

passagemath_macaulay2-10.8.5rc2-cp314-cp314t-manylinux_2_28_aarch64.whl (61.8 MB view details)

Uploaded CPython 3.14tmanylinux: glibc 2.28+ ARM64

passagemath_macaulay2-10.8.5rc2-cp314-cp314t-macosx_13_0_x86_64.whl (56.4 MB view details)

Uploaded CPython 3.14tmacOS 13.0+ x86-64

passagemath_macaulay2-10.8.5rc2-cp314-cp314t-macosx_13_0_arm64.whl (52.8 MB view details)

Uploaded CPython 3.14tmacOS 13.0+ ARM64

passagemath_macaulay2-10.8.5rc2-cp312-abi3-manylinux_2_28_x86_64.whl (66.7 MB view details)

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

passagemath_macaulay2-10.8.5rc2-cp312-abi3-manylinux_2_28_aarch64.whl (61.8 MB view details)

Uploaded CPython 3.12+manylinux: glibc 2.28+ ARM64

passagemath_macaulay2-10.8.5rc2-cp312-abi3-macosx_13_0_x86_64.whl (56.4 MB view details)

Uploaded CPython 3.12+macOS 13.0+ x86-64

passagemath_macaulay2-10.8.5rc2-cp312-abi3-macosx_13_0_arm64.whl (52.8 MB view details)

Uploaded CPython 3.12+macOS 13.0+ ARM64

passagemath_macaulay2-10.8.5rc2-cp311-cp311-manylinux_2_28_x86_64.whl (66.7 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ x86-64

passagemath_macaulay2-10.8.5rc2-cp311-cp311-manylinux_2_28_aarch64.whl (61.8 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ ARM64

passagemath_macaulay2-10.8.5rc2-cp311-cp311-macosx_13_0_x86_64.whl (56.4 MB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

passagemath_macaulay2-10.8.5rc2-cp311-cp311-macosx_13_0_arm64.whl (52.8 MB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

Details for the file passagemath_macaulay2-10.8.5rc2.tar.gz.

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.5rc2.tar.gz
Algorithm Hash digest
SHA256 47805623d7d1f5f291ce9a48f20eeebfc71c8f337b59640e8506570528606ad0
MD5 ae647c50838a2bc2ef780229eceee1f8
BLAKE2b-256 052d5571b7bd65e8dc5c077292cd98e18680125fe781b6958f2857a8b5219e4c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.5rc2-cp314-cp314t-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 08663d386f47cedbf1aecbc5a7245d01c64a6282a7d609448ab419328a2a55c5
MD5 9c6e3c0d367c743d609bbb1f650be88f
BLAKE2b-256 0a9bc10044eb0c742416eaf95c6a06cec8e24b28cb33cfb9c0dcc6cfa87bd859

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.5rc2-cp314-cp314t-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 fe723a9c591fc499e273d9a68aa11fb883595b073e608983e60bd328dd35874a
MD5 7fe01fd00f15bff3abfb73eae3716514
BLAKE2b-256 61fffddf396125ecddeed2e2f35c9fbb846d42f29927b8857e88bc36e6800586

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.5rc2-cp314-cp314t-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 28fa257814875f8302e21ac740a3c428c58f79fdf54d3da77535f354b64a7df5
MD5 c49afa0305ea74b60f18f183ca84b11a
BLAKE2b-256 a4e3086642e8c417ba9e1a48d0acbe778099cc0cb554e9bdaba007658c1b9537

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.5rc2-cp314-cp314t-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 383fda6760dec36b5d775d4263dc5b0942f5a51b23c132babb01867542b9e61e
MD5 61e7996d1ced0cf3be07e3afe780b27c
BLAKE2b-256 88c914aea1d4f09bd75f6e4a99996e6336fb69ae9aea78a9ebf2f0b7765638fb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.5rc2-cp312-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 aca5eae2370d070e7ef96159284008005034ced2c7600d6046e96c7d02f42b07
MD5 491e4a1a2aea3e55bb82ef8c96a95b63
BLAKE2b-256 bc8b16155db9fbef36d9e26c4e33226dffc3fe200035d4995a78dc349b56b172

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.5rc2-cp312-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 a85a7bcc9c22aab1aa44b1add47222114f36e7b4d281a979a1ddca80d4b651a7
MD5 fe5189cbf073291d2ee24720df0b0365
BLAKE2b-256 5f54479922ed58110e06daf1187457406fcbde9b80e9f8a6267b2987b0a1b2c6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.5rc2-cp312-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 b29d4b7adf3493f66a83eb34f4f433c0c3ca253d285d5c5edada716194fc90e6
MD5 215161b9de38178fcc1330668022e4b5
BLAKE2b-256 e1bd9026f3189495ea750f6a7f5f9068fe4d3e9d00a527d209cfc8490e635d11

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.5rc2-cp312-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 5140ac374ad855e30298dbe2e77e7b11702bed98ab6e9586a958847fc35c219f
MD5 6cf2d23aa01efab72f8607213eef1951
BLAKE2b-256 c9f21518a9e94f075e2481d1103aa86288d28c384821105750a27f98c28f0f60

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.5rc2-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 d5540914f133c03d400f9ea26139286d10bee074b0695d3e3fcf4ecf7aee79ce
MD5 53fb182162b1215931c55513831c84ef
BLAKE2b-256 9a8d0c6d4155e6842cab08fac8d0a2b8f5cded5c1ee2da4338f59c58af471efe

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.5rc2-cp311-cp311-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 c653771f058cfecb9d8f37ee5aa77f2d105db0fed8b7884705722e8a00b46c53
MD5 1c7a236559641b41b7b8a7ee859f9834
BLAKE2b-256 4e0cc59487568119a1138f154378e65bb0f6100b4005da73167d9c93b624481d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.5rc2-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 cdc8f3fa6f6194fc342490d0d3f9ee64d76f57038197214b52d08e0620b82a44
MD5 f6db779dc1c7caba1a74c15dd827bdd9
BLAKE2b-256 bc4dde59647feacc42a4a849bb04fd539e4a0f6d8870bbab42142b0dcfbb755b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.5rc2-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 6533f753f379fb18f9396a3e107616e2924ecef3508e61a16934cc378bc9d1f9
MD5 655f478157a45ab146ae0dee0b8499dc
BLAKE2b-256 aeddbd430ff04e4d4379464d01635f52b3b96f099e7cf18f8919081a7519ec35

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