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

Uploaded CPython 3.14tmanylinux: glibc 2.28+ ARM64

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

Uploaded CPython 3.14tmacOS 13.0+ ARM64

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

Uploaded CPython 3.12+macOS 13.0+ ARM64

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

Uploaded CPython 3.11manylinux: glibc 2.28+ ARM64

passagemath_macaulay2-10.8.2rc3-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.2rc3-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.2rc3.tar.gz.

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.2rc3.tar.gz
Algorithm Hash digest
SHA256 21792a81a6edbc6dea233f887395c8bb9bd0e7940e30f63e5daf41f8596c124a
MD5 b4614e25e4b1c4cfb2a7ebbf0491c29c
BLAKE2b-256 d7d5d4fc74b3a4984f63a0f02b146685a9879edc21020fbd0a5b118c1853b505

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.2rc3-cp314-cp314t-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 12baada3dedf418287445605a92007c9e0303dafa9183c1b2b41050169d0e354
MD5 05dd9dbcf08adccdbb187d1aca7de2be
BLAKE2b-256 3684866a6af5631868d9904280f2486da97e26ebcfce57d2f8c5439e0e19ecca

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.2rc3-cp314-cp314t-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 8af9cf4d3da30e6392fb0c100fcc4f4379a766857b2bd2ea915037deea7bb950
MD5 4ab8e61ab2b0b3c4865d99f53acf0bed
BLAKE2b-256 9ee338aa638ee71f691961b27da647599c39f0aaf1d3ad47f5dc02e187122e34

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.2rc3-cp314-cp314t-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 8b8f2166bd958cc91503e57c1406cf9885414f24eff523ace2ecd980a4fd7eeb
MD5 e550dea3185c598806fcd106f10f7c4a
BLAKE2b-256 3034908777286a1d40cc4a3a1fd35236e8250955f8afbb680cfaa8c071c07307

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.2rc3-cp314-cp314t-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 415bb2d6371606943dcb5ac51a34b0c74eab4f1f3203c86b579c2b24bfa5146f
MD5 3d38483e7c0007f75ba4cd2e7f12348d
BLAKE2b-256 6faf23396c8ac19ae3db77cd10b057adcf7191ce4ab9dcf0b17db618357ebd44

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.2rc3-cp312-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 841aa68b29e49aa5cf3286a0cf3811154ee876e99b78840e881e8ee40aef05cf
MD5 e466182a227141f26b7ca61233e3b51f
BLAKE2b-256 53361a41d332ea3f327531475aa7ecc0a8ef4f89c2e64b96feaa8e7a6d75a2e2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.2rc3-cp312-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 b3b88e18789654b002d10bb0b6f6011ffc9c20e055148bb1dd85b24586e08d95
MD5 20716748916c859e193e27dba001bb75
BLAKE2b-256 afdea5bc058e61a6343e8524d800f76beb11d05892c3f871cd14bba1b7483a04

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.2rc3-cp312-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 5b31bcc30765d4fca391e2c1e9f6664ef5fbe68885207546bb3344a299cbdb6a
MD5 8b5b99e526ef58b8090d37b74c6b03d4
BLAKE2b-256 83a53eeeeb0636329da4b07a413a872b4e604083e27a450aabe2ba279a679a23

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.2rc3-cp312-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 55f67540ea008a41e326686ad9783970e67b1db41c4f9c2e475b0fd99533e63a
MD5 5d239302dd5561e928acf6737f23fe4f
BLAKE2b-256 6fd741082f6c9e94066768c5594139e0279c740e05b6a12857171b912109da6d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.2rc3-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 a488b2f8b6a72990ff83075efdd954a436f67c0523170f12a2d00939bb1a776e
MD5 19b7c4242d2f21bc49705f4e5f9043fc
BLAKE2b-256 7513822deb40b2f785cd13753dce4bba9c184106c3f982f57275944487e6bd29

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.2rc3-cp311-cp311-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 65e0bd03c567c30e261cac4cf896dfb48480d9166e3f277196dd4d592da9e49e
MD5 644c67836bac5c7f84425c10499bc007
BLAKE2b-256 5759fb20e4d44ddc4dddeb6ed72d0fe08ed391554fae852bc0224c5456642d2d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.2rc3-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 be6619ba170e25eb2e78311da59846871495b036ffb8351defe3248c66dab577
MD5 89d3487be01e403195ee56e2736f1148
BLAKE2b-256 45d1d7da208eb63fad84defb2c6050d1503f6fc232f638aca38e72e1117cab87

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.2rc3-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 b222cc60c4e0ec030377bfa341536329f2a5b759e45ee80f510f5895890dd5f6
MD5 aa10d4f4ec430119fb8d9e82f3163686
BLAKE2b-256 38e63b2c17df9357806c6cd70863d910828b31b23bb6736f3124adbdc93fc2e7

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