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

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

Uploaded CPython 3.14tmanylinux: glibc 2.28+ x86-64

passagemath_macaulay2-10.8.5rc5-cp314-cp314t-manylinux_2_28_aarch64.whl (70.0 MB view details)

Uploaded CPython 3.14tmanylinux: glibc 2.28+ ARM64

passagemath_macaulay2-10.8.5rc5-cp314-cp314t-macosx_13_0_arm64.whl (59.2 MB view details)

Uploaded CPython 3.14tmacOS 13.0+ ARM64

passagemath_macaulay2-10.8.5rc5-cp312-abi3-manylinux_2_28_x86_64.whl (75.0 MB view details)

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

passagemath_macaulay2-10.8.5rc5-cp312-abi3-manylinux_2_28_aarch64.whl (70.0 MB view details)

Uploaded CPython 3.12+manylinux: glibc 2.28+ ARM64

passagemath_macaulay2-10.8.5rc5-cp312-abi3-macosx_13_0_arm64.whl (59.2 MB view details)

Uploaded CPython 3.12+macOS 13.0+ ARM64

passagemath_macaulay2-10.8.5rc5-cp311-cp311-manylinux_2_28_x86_64.whl (75.0 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ x86-64

passagemath_macaulay2-10.8.5rc5-cp311-cp311-manylinux_2_28_aarch64.whl (70.0 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ ARM64

passagemath_macaulay2-10.8.5rc5-cp311-cp311-macosx_13_0_arm64.whl (59.2 MB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.5rc5.tar.gz
Algorithm Hash digest
SHA256 136824aa5e08d4ac352646e9787db8fb4da823ff6a03838b43ce2b71f83fe673
MD5 f0b4ad42aa616eb874f22af17490d0bd
BLAKE2b-256 97f6d7da82386b91c51697b05797dc1ab367e65d2d261904301536b276034e12

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.5rc5-cp314-cp314t-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 fe9201d8150d05464f54cfab9edc64499229f01f10f232a7e1f1330de7e51234
MD5 752f1c41b23f94de10eb2e41a522b0f8
BLAKE2b-256 9f60dcfab7590677d611d4d8b6439b91452eff0bd9a31b22fd834edad29aee49

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.5rc5-cp314-cp314t-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 3989f27a884ae51cb988b5e7618ffe77003b8ceb6f68c12af57771b8b743a200
MD5 b375d404d66c6c8e078ae22739c15297
BLAKE2b-256 5715a140228a2150c19d6d7833a22f982e4f87929d112647830ca0695c451353

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.5rc5-cp314-cp314t-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 0d62819d6e721ba9ae5ed4966dc4e01f7ba6963ea2e9f04f598ae453db427c2d
MD5 4c74373ea8f132e2fe18b42f20d1a603
BLAKE2b-256 567a7865a56bb1d04f4511aaecfc7cdbbb4e0b15fb867f77564afc265f881301

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.5rc5-cp312-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 70fc90aacf712b91048a8c236cf7b7748c7443539c8c1eeed694f6ea1739659b
MD5 5685b8bc2e32604ee54154387232f44d
BLAKE2b-256 03738218a17e4b599427c46937a18e988adee8aa0b0fb888201d91de23ba3f4d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.5rc5-cp312-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 200598661a8309784e725c1883429bd1792ea4666f966f947f73e11f19098817
MD5 d0b574c0638e638b663ee4dcac600dfc
BLAKE2b-256 060d905aed09742451fe8a95ed31cb88df0d1c2a6aaf0078a2de7b971774b333

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.5rc5-cp312-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 7fc37619843db35904281449e97ba209e8d9c3c93500a05b6757bd2d6b0ba808
MD5 13b64b7922f5e2f6e6ed66ca5a9f8008
BLAKE2b-256 c820f5b46bfc84628b183482438b20be0ea9a369cacf254fbbcd71a26feed225

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.5rc5-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 f14cfa5171656e823c0373621280f3c6a084de65aaf53b11265752e4343fbf7e
MD5 d572e876ef69e79885fe709fcfc611e1
BLAKE2b-256 736135477ed9f57b92a5183f46edc42a626e2969e73dff1febd5553cf965d075

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.5rc5-cp311-cp311-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 0ac2b36e5fa06ed344c7ede2c116ca888d5e41a05f3e1a434487d48a0812f11a
MD5 f1cbaa9ae675c8d53c7e89bf7a37914e
BLAKE2b-256 f88cdd0c9718005f35c947c7035566d2c53b1de6af03f815d7d7b9883087b9a2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.5rc5-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 ece89eb9485861a2e54608ec95de0873ec22e438730e9def3e37ed9464e3f7f9
MD5 c9f3096859b06499038731c9f13d49dc
BLAKE2b-256 822579c7153b682ffbc536a4c263c2f2d60a371959d95750445d9e4d303707e3

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