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

Uploaded CPython 3.14tmanylinux: glibc 2.28+ ARM64

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

Uploaded CPython 3.14tmacOS 13.0+ ARM64

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

Uploaded CPython 3.12+macOS 13.0+ ARM64

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

Uploaded CPython 3.11manylinux: glibc 2.28+ ARM64

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.3rc1.tar.gz
Algorithm Hash digest
SHA256 975cbfc35111ae9bb66ae950ec622182c9c1bda330b40825da50f120562ec9b0
MD5 cccc9d2759dcb0f71bbaf9ed3b0e8cad
BLAKE2b-256 f7d94e5f6875bb7aa2bec6a53d91ed4f7d138d1aba38dee6f3e86780c79657bc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.3rc1-cp314-cp314t-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 143b79908b2d843110437fcaeefea7bd040c572440fd968bf11829c2ff69814d
MD5 78c8ab3fd08a65ecf720321caa9c0581
BLAKE2b-256 cf622257e23437ec2ca800e1293b7fba2fdf1d02c0756da612358c2c7edbf96c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.3rc1-cp314-cp314t-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 35db14a277f500f86dcf69ae35b1d90301c177c33e8dcb5512dfe0406da5afb4
MD5 855733d52a90c59e94ceeb06f3676113
BLAKE2b-256 f502e92e18279fe28d852f9579208d37e97306923ca515c06079dc7bf9eb5e59

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.3rc1-cp314-cp314t-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 9b98504e17f22dbb0eb102ea5d26b5538a07f9b44ab8f24d62930f51e101ad33
MD5 2fd6af24d8f8614e0f62ce9866b03a61
BLAKE2b-256 f7e9cfa48c68332fda53cd30ad334a0093f4cb520aaf94cd1c40124abc1b7c50

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.3rc1-cp314-cp314t-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 dfae044038284a7a00fe62559ca59e5a50721a97f23e3c3c2a9256914403613e
MD5 c29daba71a07040e3654b68897945db9
BLAKE2b-256 f0a703dde43ed960b98d78319d8f87df0ac60644335a52c769a3217a5d3b5535

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.3rc1-cp312-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 83e58954b2577a34d990a9c09ac74cd1f2cc2c98a9f9578fba60c854103e6ad8
MD5 b9ad463492861d1755c9f0f6502290f2
BLAKE2b-256 1f3340663034759b907df2625055e62140e4c6b17f56eee0e59c74a3f3816b25

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.3rc1-cp312-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 2b614f2b62741c60a3d948a4ef51df25e2ac68b9670f5358a75553b9fc82554f
MD5 a74a439f617a08e4f9367745d498b242
BLAKE2b-256 8bf5e0876ae4f482c02252fb185ce99c2df24d80f9bfb4d8e96178d6d006f02d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.3rc1-cp312-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 c90a0004c7a07637eccd83d654e68e9325e8f0c997c26a49a58c95460c7458e2
MD5 c2cd1ee154df76916fdb54512d34f8f3
BLAKE2b-256 6012124234cf5c3086d569ea300784c0628ab2994c7cb40edaaf4f786e593817

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.3rc1-cp312-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 704f54086fbfe09daaff5703badc5b77c04fc0216f400af70f216f7a3d70d8af
MD5 d28f50f93e8268633931af10a6e632e6
BLAKE2b-256 d12401c8a8cc19d28ae957d4476467efeab9485ad2625905e5dd0f775336d173

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.3rc1-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 03142ce92e54641975c8765b789e84b3a616bf414a7e59a21d2f0bd1563d6fbd
MD5 b3c88ff915a962ef13e440f354e44421
BLAKE2b-256 0e988ffac04138ac7b4305ea2f5b29d831b352fc23f2efff6798a667f24679c8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.3rc1-cp311-cp311-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 aedb526b31e2d9bc98b7e8f8c5cf0703a132a25916e56faa242c3d4e608948a7
MD5 bf633c0eb5b70fab8daf7f74051ceee4
BLAKE2b-256 85e64f17ec84f18c5c44931eba3c3d0d58ce3d9ef1f6a1a208b5f8a232d916cd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.3rc1-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 5c868ac0c83b4162e990cfee29327ebf06560a76af5399790fb80262385ae5db
MD5 3bf768c86c27b944a9fad940bcba6eb6
BLAKE2b-256 e0221504e658e79d38324a63026da366bfb9117a032a0e7c0a0fbb163e6c18c8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.3rc1-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 97bf550812336a6a3cb4eac8e06aa9ac846d38f9f004a39b20b0828e6665831e
MD5 cc2e55864e0c46aee43636b243531b3f
BLAKE2b-256 6bf6afa76805236f6cd55d12e49fa19f927a21991f94f5808eef9731365f48c5

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