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

Uploaded CPython 3.14tmanylinux: glibc 2.28+ x86-64

passagemath_macaulay2-10.8.5rc3-cp314-cp314t-manylinux_2_28_aarch64.whl (63.5 MB view details)

Uploaded CPython 3.14tmanylinux: glibc 2.28+ ARM64

passagemath_macaulay2-10.8.5rc3-cp314-cp314t-macosx_13_0_x86_64.whl (57.2 MB view details)

Uploaded CPython 3.14tmacOS 13.0+ x86-64

passagemath_macaulay2-10.8.5rc3-cp314-cp314t-macosx_13_0_arm64.whl (53.6 MB view details)

Uploaded CPython 3.14tmacOS 13.0+ ARM64

passagemath_macaulay2-10.8.5rc3-cp312-abi3-manylinux_2_28_x86_64.whl (68.5 MB view details)

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

passagemath_macaulay2-10.8.5rc3-cp312-abi3-manylinux_2_28_aarch64.whl (63.5 MB view details)

Uploaded CPython 3.12+manylinux: glibc 2.28+ ARM64

passagemath_macaulay2-10.8.5rc3-cp312-abi3-macosx_13_0_x86_64.whl (57.2 MB view details)

Uploaded CPython 3.12+macOS 13.0+ x86-64

passagemath_macaulay2-10.8.5rc3-cp312-abi3-macosx_13_0_arm64.whl (53.6 MB view details)

Uploaded CPython 3.12+macOS 13.0+ ARM64

passagemath_macaulay2-10.8.5rc3-cp311-cp311-manylinux_2_28_x86_64.whl (68.5 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ x86-64

passagemath_macaulay2-10.8.5rc3-cp311-cp311-manylinux_2_28_aarch64.whl (63.5 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ ARM64

passagemath_macaulay2-10.8.5rc3-cp311-cp311-macosx_13_0_x86_64.whl (57.2 MB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

passagemath_macaulay2-10.8.5rc3-cp311-cp311-macosx_13_0_arm64.whl (53.6 MB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.5rc3.tar.gz
Algorithm Hash digest
SHA256 b209cb376bb3caa84896823a1a3737daf599b92ca162e4e83ccf617c8059de5c
MD5 57527df5d01b8cfb483c5a6116f79669
BLAKE2b-256 c804fb93d2710bd3bc26891752095b8e89a7118e50361b14da75903e44f5d861

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.5rc3-cp314-cp314t-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 4f5870c7173934fc7ecb531a8b8e2c078db58c62144bd649f1cb39c06d9a7cc0
MD5 fd8996524943c32f1ee867138da646ac
BLAKE2b-256 e009929d1a4bb5d8ca9e14cec00d7593df928558e7b2000d53b9e8cfcb4cd117

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.5rc3-cp314-cp314t-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 575c790cef7bb15fdc865af6b5724ef40e96201fb1fe509ade16a26db182ed5f
MD5 087820a6aff6adc9af2788c3ec7e751f
BLAKE2b-256 8d130832b1d092be9a12a9f73c46c6f59228944f664c5854458cdccab9cde158

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.5rc3-cp314-cp314t-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 493e8d9e47e59923f52c6523afbd36440cd93f9e6695edac1d5f5eaab72397ed
MD5 f070e65dd6aa5bacca5ea62fb7fbd600
BLAKE2b-256 12520c7c112f44c5da659fe55b94ecd8709c6d09c27b234bd6236d9de54dc58c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.5rc3-cp314-cp314t-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 edd78a2bfd5c6bf9e99dbe499de49cb564dd6cc8cf4c7ebc9a63f1bbcba27ae9
MD5 ff6ba0a37220c4aa0380aebc4649fff0
BLAKE2b-256 bd8f732eaedebc6b4211619d9781625adf190d37f2fdd807dd114dd276ea2a8d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.5rc3-cp312-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 99e957c932e78531383bc2ecd57792dd3917ae250aa8fe7769325526887b20a4
MD5 8d7a5d71d798a86019467a0d550cebe3
BLAKE2b-256 1df72a265780e4600eef06402d08e817ada2480b1d66db8b2d7cfdd77a0a59f7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.5rc3-cp312-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 42f24758eaae73f8e505e55b86ed73d6a0d7c638dbe6e8975beb90d6240d7e15
MD5 bb45a69ae62ec646f54faa11a22ef16f
BLAKE2b-256 7c53c7ce5cd31e96f6cb75caa9a16b828fbb632dc9f2506728d930014c78c359

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.5rc3-cp312-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 e9d39031748279e05f46719464ba3b2d6020bf6ef78da96cc3db998cacc7df71
MD5 81111773fda584a7779d2a2dcbcd7590
BLAKE2b-256 b35cfeeee67a3c681f1ec559ed5c0831076269e6bb6b424504fbbd826de8b525

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.5rc3-cp312-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 aac1bfeb1329111a70ae945ed501448aadbc627757ea1797696898199df7e4b6
MD5 6445f7fc1f146c04688e17530ad27265
BLAKE2b-256 c2dd22c0bcd7b6a08ec613e7bf416b30b971f47653a0d6b0e66d6c0e751ecddf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.5rc3-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 163d38d3c6fcdf1a2f0f7c3e22bc5a1d16927bea3fde977a8cd51f29ea3e7bb5
MD5 b569a6d5c5f1e81f85c8d2130c862a38
BLAKE2b-256 4a12f0fc4befa6a8789814d62b9935a611548132a535150ec210c3c527ebded5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.5rc3-cp311-cp311-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 2e89d43195c075876eafe792629fc739486ac66b84975ef51ec44578b4d72ad1
MD5 73dcba76efb2d962ae5ed88493884e91
BLAKE2b-256 590ece2d47e47e01490d0ec0e4c792b340293bfc5a39aba7500010d6ebc80919

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.5rc3-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 38b870bf899714a4333f066355871634b203e630827b14d3d732af4aa57e3f21
MD5 d048ffa9302a6f8151dbb84fc87de92e
BLAKE2b-256 65bc16654e95e7ed4fcdd27f2f5f99ad9b21212ea20d80b7f4f8d2ee67c6b90d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.5rc3-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 7b9f996726c33bfe7d50aaf2db50b133d8ec80f6097097cc53840540bbfa2d4d
MD5 1809374f1bedaeb7d4f37e9d237ea3f4
BLAKE2b-256 39afce2942e843965da567825a765721ef19f3373529141a3a6338802c2a8e1d

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