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.5rc1.tar.gz (21.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.5rc1-cp314-cp314t-manylinux_2_28_x86_64.whl (66.2 MB view details)

Uploaded CPython 3.14tmanylinux: glibc 2.28+ x86-64

passagemath_macaulay2-10.8.5rc1-cp314-cp314t-manylinux_2_28_aarch64.whl (61.3 MB view details)

Uploaded CPython 3.14tmanylinux: glibc 2.28+ ARM64

passagemath_macaulay2-10.8.5rc1-cp314-cp314t-macosx_13_0_x86_64.whl (55.9 MB view details)

Uploaded CPython 3.14tmacOS 13.0+ x86-64

passagemath_macaulay2-10.8.5rc1-cp314-cp314t-macosx_13_0_arm64.whl (52.3 MB view details)

Uploaded CPython 3.14tmacOS 13.0+ ARM64

passagemath_macaulay2-10.8.5rc1-cp312-abi3-manylinux_2_28_x86_64.whl (66.2 MB view details)

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

passagemath_macaulay2-10.8.5rc1-cp312-abi3-manylinux_2_28_aarch64.whl (61.3 MB view details)

Uploaded CPython 3.12+manylinux: glibc 2.28+ ARM64

passagemath_macaulay2-10.8.5rc1-cp312-abi3-macosx_13_0_x86_64.whl (55.9 MB view details)

Uploaded CPython 3.12+macOS 13.0+ x86-64

passagemath_macaulay2-10.8.5rc1-cp312-abi3-macosx_13_0_arm64.whl (52.3 MB view details)

Uploaded CPython 3.12+macOS 13.0+ ARM64

passagemath_macaulay2-10.8.5rc1-cp311-cp311-manylinux_2_28_x86_64.whl (66.2 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ x86-64

passagemath_macaulay2-10.8.5rc1-cp311-cp311-manylinux_2_28_aarch64.whl (61.3 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ ARM64

passagemath_macaulay2-10.8.5rc1-cp311-cp311-macosx_13_0_x86_64.whl (55.9 MB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

passagemath_macaulay2-10.8.5rc1-cp311-cp311-macosx_13_0_arm64.whl (52.3 MB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.5rc1.tar.gz
Algorithm Hash digest
SHA256 c9cdc214489e8d51f2ce780cdba658e4ff4b7dde1c013f2634d3c6802792aca2
MD5 d3065729eb3c102a1f4d54cca86ee6c0
BLAKE2b-256 40748662f268e43e4eb1b3f6cd041ac2c6931214237ba754bad316fbab460899

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.5rc1-cp314-cp314t-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 999d287b8697060d43b925fcdb198bfba1046031aae6a77166b37dc1f027c03f
MD5 7ad30e379408e69d8cf08cd116b21e3e
BLAKE2b-256 1eaedb32faf69852297efae9a58bdea4ae293d7d298edce8497e03b77eb2a00c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.5rc1-cp314-cp314t-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 fe17b753ba89dea1bff719303a7dcd2129edfc0798537b5a34799485a3327577
MD5 8bddd00baff0611d89bb80f1e2dd8a3c
BLAKE2b-256 c2091f56af6f926efc9dbe0c9a39f8dd5b94f7fb3fddae643b0cfdee7a1f96d7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.5rc1-cp314-cp314t-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 c4ff4d8ed867d7342ae28fb0f6522bb1f2e181c172a74e146d828f571e180116
MD5 2db7ecf052b4bbcdfd17ff92b8bdace2
BLAKE2b-256 bbf430a6ce65fcdd479b1975199beb274a61aefb6254db10e50ba26ad96029b3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.5rc1-cp314-cp314t-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 f50b09b6264f2b3f7149a381c4e17f9db84e609c8fd58884d7b880c72c83424f
MD5 c333cc4284f8764dd0c941739714f7ed
BLAKE2b-256 31aab9d870234a8f3f78003f84e8d4df05734b1fbe13b01b4cb19118ca630db0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.5rc1-cp312-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 6876f8fca330946a6e6b764a724b1d66f173285549281e68d616ce3dbe720289
MD5 ae4cf0fba3aa6c000e005710f6f4be60
BLAKE2b-256 6beac3f35277e0eb303fd781418cc4d79a3104cd6f2253723c44d75f42d7afc1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.5rc1-cp312-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 a890bdc0b1f1fadade64f44a91ff6d19f032269242adbea198a945e035af1efc
MD5 9a8463ce552411c4acc0269591080488
BLAKE2b-256 fc4b3ea9195d3895acdb1fac98da83f9bf02147f65f2105232667eaf0919470a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.5rc1-cp312-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 ab5d9ab5c37f7aa74e83ccca87d8ff8c6c6659d6746a92ca47626142dc848262
MD5 0e45a07c15a3e85254a400bfccd40bd1
BLAKE2b-256 2960c05fa871b3b33e465964b5dcaa0a7f4f464d19614d64411f6ff1bab3ad25

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.5rc1-cp312-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 0b356e679e76ca0c88304b38559b18622746a8872c73a724ebc54c8f8a213f70
MD5 7f29b9a20c420cc2f01a53fc0a13ba99
BLAKE2b-256 f0bc1b0243267632eec71e7d30f67106af4e31e3dcd61b8101c783b2584ad7a5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.5rc1-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 6c83dc2ecbd20b4a27f14a917bdd3bf09a105ac5c1a9e0ecb6507a844eb10ea4
MD5 39a0bbc22fc88a314357e045e54d31c0
BLAKE2b-256 4cab7e69b52b5a0b8cdf3baece8b3edb43311968c3b11141c5b31c5eff0aec7d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.5rc1-cp311-cp311-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 2a11ba36882078e31c533ac9b1f0deac7841a01d5faf0fcfb2c8dd6abeba2bbc
MD5 bba8e8109bd68c8d9204e439cb76c50e
BLAKE2b-256 0ee1e0103a3417afff32f3a16a7ed590af676b1f29a298117a5fdf22bdefbc23

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.5rc1-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 9e34d14e434d3b099e8c9d4a8f25ed603058c43d95800da27eb532cdb99392a3
MD5 e21cdc0552fba39268158d57ada135b5
BLAKE2b-256 db5a77dc326c9e4930e5f5161b2f5e4d56cf8a44cdb4169692ef10890e401ac8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.5rc1-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 151651c0c210409d6698591c654497ca76a09f06b58061ccc10fdc21688e8f43
MD5 d4e15a4ac4e7cfe2aac9580b13690c92
BLAKE2b-256 124414e83604249a2a64b99a1090fa402089b370a374690d188d0a455b54cbe1

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