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

Uploaded CPython 3.14tmanylinux: glibc 2.28+ ARM64

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

Uploaded CPython 3.14tmacOS 13.0+ ARM64

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

Uploaded CPython 3.12+macOS 13.0+ ARM64

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

Uploaded CPython 3.11manylinux: glibc 2.28+ ARM64

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.6rc1.tar.gz
Algorithm Hash digest
SHA256 f167c30c2f7868b13d300553e419cd29007bf328d04d9e78bf2b92027b20a9a8
MD5 79b1a2d4d5f33b268abd2c2bb88923dc
BLAKE2b-256 91c741289a93da2bee6e183e0d9b494e7fac281d45571ffa61b72e1fab1c001e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.6rc1-cp314-cp314t-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 1971a1795899a85a3647718c8c450894e647c37ec2ccb52471d8f952106fa614
MD5 967eff8f618fc7fc020f9b876d20afb0
BLAKE2b-256 ca16add261a2a971e87c396a78ca92e3b73a55ce924fc51a532ec3b78eacdd74

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.6rc1-cp314-cp314t-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 f55e6192e8f59b955f806d145813c744cc030a17a82f9597f9e8c82318ba9bb4
MD5 2fc4f42f39149aba59aa190d3e9aff67
BLAKE2b-256 3b9128e521b2bcd243187990bcdf0bd87f1df572340b72c9347e5f78c6088d37

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.6rc1-cp314-cp314t-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 993db067535e1c286f7bba38cd618dd7732097b6cdca3badecc0cac616330785
MD5 09354ca0181045a4ab7a840ecac141da
BLAKE2b-256 6c78c4a7c4b6e026731eaed0f56ed8fb47db7eebe04bb07defe87dd290ad503f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.6rc1-cp314-cp314t-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 f0d4067d40241cdffb28ff57985a0aa6ddd55456136b0f6697e2c365fd97f38b
MD5 84fb71ccb9b4496555d89a246013dea9
BLAKE2b-256 76d7f559151bf0653c2284e4a6d84bf37c2c9dfa1fc9a5576cd88b5a060af7e6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.6rc1-cp312-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 98c8c84cbd39d25595aa1c8edc0677a06e181b1e02ec46b827c695cbaabc96cc
MD5 5ab300ead1890928e638c545315cfed3
BLAKE2b-256 26c7f16dcf351645370e107304c6234d40806022f3f4a4725752bb4a77e9f9ea

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.6rc1-cp312-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 f32d35ecc215e8c5a2d94481e4072460b72c41e04dd3223328466e15e98e22e5
MD5 4932456729f05b0a86aa757c76454cff
BLAKE2b-256 364f0caff2e3b7166ddb28fdfd900e6b440ff5ab344b9d5b9856bdab46f8fb24

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.6rc1-cp312-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 4fd1cd1800bb0885b83f933acb297d48430f21b1edc7edc23716706db3933a50
MD5 a543af0347ac74bc7fdb93943ce4336e
BLAKE2b-256 571384cf4cc4fc7d45401776a3e03ac0f6fa4578e011b8cfa74a8abe8c823920

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.6rc1-cp312-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 412132b31ba7bc0edb04d40299ef6ef2100434481cd7ab19b31cdb237cc86220
MD5 abe36729f1e02d91aef2d200caaea353
BLAKE2b-256 b4bdcdcaa5e13395ccd7030496a492b6569820159d6ebd3f3faf13ecb39aadb1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.6rc1-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 a744d50346933b51f0a58759fd0894fb67e63f98053e5c492a03eff4b541bfcd
MD5 9e65462917eaf4b425281134d8d55f2d
BLAKE2b-256 75a9cc157869d1f14d0a21d1cf5952b11b001f74192374fbaaa90e139148400a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.6rc1-cp311-cp311-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 8a643c6620be71db7a3743ae97a757e58cc56316be4f7f585505eed466374b80
MD5 b9c91ccb9871544df4976ced966a6bf4
BLAKE2b-256 7d5c5eee4a8e9b471e1f891773a78b9011a873e0eee0dbdfde96b90690399c02

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.6rc1-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 9e5aba5b334f2fa1713ac540d3f98f16712362a76dd6677adc348f4096ac90ed
MD5 8e9ef630b8e6759784abd164dfa2e20f
BLAKE2b-256 a251fe50c0c6123291e49b68cdcab8a9a45525e8ee0eba1c26f0d694478f17fb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.6rc1-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 60cc0b8569a60b0574865f9a61a281fde9c3a1262aa649d900a5a6341dc5d23b
MD5 a298d73f39621705a53c9d5bd787166a
BLAKE2b-256 04fb4eed461b744fdfa6cd3302c975c60ab9eefb7ff324f266fe2c5658abadad

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