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.3rc3.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.3rc3-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.3rc3-cp314-cp314t-manylinux_2_28_aarch64.whl (61.3 MB view details)

Uploaded CPython 3.14tmanylinux: glibc 2.28+ ARM64

passagemath_macaulay2-10.8.3rc3-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.3rc3-cp314-cp314t-macosx_13_0_arm64.whl (52.3 MB view details)

Uploaded CPython 3.14tmacOS 13.0+ ARM64

passagemath_macaulay2-10.8.3rc3-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.3rc3-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.3rc3-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.3rc3-cp312-abi3-macosx_13_0_arm64.whl (52.3 MB view details)

Uploaded CPython 3.12+macOS 13.0+ ARM64

passagemath_macaulay2-10.8.3rc3-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.3rc3-cp311-cp311-manylinux_2_28_aarch64.whl (61.3 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ ARM64

passagemath_macaulay2-10.8.3rc3-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.3rc3-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.3rc3.tar.gz.

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.3rc3.tar.gz
Algorithm Hash digest
SHA256 8053627ec957d111a24d0286f08977442b8c6496ee57ce2af685d5f25d46d6ea
MD5 1c0d2e424530a2fcc752383b3dfa3c2d
BLAKE2b-256 caf213fb2f905ab8bef30408d8c8e52e04a85feb547c16729ef4e3f57a94dac4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.3rc3-cp314-cp314t-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 07adf8021355d46e543f7fdf694564abe30717214c338fb6d2c0c0e1c4267da3
MD5 69cad15e71a3f7d1123d3dd2f650e970
BLAKE2b-256 cf97dce5eeab037a0225bf74a10e26cdab4c47b165cdac58d34fe98eb308d730

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.3rc3-cp314-cp314t-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 4c5648bb5caefb50afc6245e047d617f403662388e04153b80b419e7b42a1ee5
MD5 7ab30415e7b8b54e5a0d84ca6e898332
BLAKE2b-256 0501ae4e64443ba386657756f72d0230f703a94206fcb26a47e4ec49ee43b225

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.3rc3-cp314-cp314t-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 a06e78b79409cf993ba89e4219eec78eecef34355640b1149d97626dea492e3d
MD5 b4b229adf841d346882326b6da995772
BLAKE2b-256 a066b88fe8a9ec73a4547ff5c3d8860f581cfa49c5f8d0a9912eafc33c561ba3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.3rc3-cp314-cp314t-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 53f0a3609d24e21fc26e2cc44b1e8a2b4d4618ff3b80df05ffb64283e959c362
MD5 c87c2522a4d156d887bdafc98d8cc5be
BLAKE2b-256 4e7ab10f24e929c07ad4fc9045368593e03a767b7fa329798df3c6a897ed6e2d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.3rc3-cp312-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 76ddd61ef446aad3d024c2e89ff3051921ef30fdebecfe0ca9d4a33718432bb8
MD5 ea770a3911ae45d9360205158c42e3ad
BLAKE2b-256 540e2732dfc4c874546bed2d1b39fe33a308e9b6ccc8a2051a17dc842d65e80f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.3rc3-cp312-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 602f528c2626fa1e83e7b478585d93134c2e51b0bea1b364ba955adc3c25b057
MD5 bbec9004626592e196b7daa51fa432f9
BLAKE2b-256 5b74352f5827acd7f3ba7ef8ff91f564ce66442a9f1347df89d0c9375dc69936

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.3rc3-cp312-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 5492d80325f9f0dd2db14309dc75481deefce2d70941421ece442e66616dc975
MD5 c50e2b8ab0df53cbd9a30e4004c753d2
BLAKE2b-256 e82ae6bf00d1796716a82c0716e57516590058c261297840b2572a62311eed99

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.3rc3-cp312-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 4ade156193f11c1673ab7d610fb7dbd567e948251dd6e294a70ad26699e38c67
MD5 81ecce9929df7ec8761f0ab9ed0e5ba3
BLAKE2b-256 3d37f87e07db2e5a79911f025a4905e51424e25fd23e79f5b636333b192c28ae

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.3rc3-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 f7b496c02e0142ad46d9302b92dc941f0c1b3bd452d96878e33a0aedc1943ab5
MD5 54b3627a675eeb7127f05dcab7a5b1b3
BLAKE2b-256 17a0d908ad76d7c3d0ea98a34035a07347da785100db7eb21ee073906e7da967

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.3rc3-cp311-cp311-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 33158fe6b4c6567c1281d07a5b10a532615dba27a42610882a106a49a3d469b8
MD5 9fd613e00294d8cb0dcf995aa2b807f5
BLAKE2b-256 fe8845533a15b66b7249f11107b14c9074816b219ce1056008ea68f6604267da

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.3rc3-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 dc30d8c310d55460baaf70e4d5a293404eec34c917e5bc206062563e2d1a0ee6
MD5 bcd654f9834b0d7f9dab6cc01829e250
BLAKE2b-256 b8561acc5dfa7886fed873809d7e5a694b53bafc900c511163576f6145d0b288

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.3rc3-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 dae393cc7962489863d1510868472bd41d12310397d915eae3f6cb2fc5558317
MD5 5e93286593b88c3a6f14d8c7b1665970
BLAKE2b-256 d9882bd1dbdb52ed89df4fb2b123d4548d3e2fb36f22fa28be1530bc3d5aa0c4

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