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

Uploaded CPython 3.14tmanylinux: glibc 2.28+ ARM64

passagemath_macaulay2-10.8.5rc0-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.5rc0-cp314-cp314t-macosx_13_0_arm64.whl (52.3 MB view details)

Uploaded CPython 3.14tmacOS 13.0+ ARM64

passagemath_macaulay2-10.8.5rc0-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.5rc0-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.5rc0-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.5rc0-cp312-abi3-macosx_13_0_arm64.whl (52.3 MB view details)

Uploaded CPython 3.12+macOS 13.0+ ARM64

passagemath_macaulay2-10.8.5rc0-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.5rc0-cp311-cp311-manylinux_2_28_aarch64.whl (61.3 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ ARM64

passagemath_macaulay2-10.8.5rc0-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.5rc0-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.5rc0.tar.gz.

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.5rc0.tar.gz
Algorithm Hash digest
SHA256 c658e8e8ac7d6e84254d9c1330adc1fb10d896753336480ad8164f4546c79ee9
MD5 edb82ed2c24844656fe42da1f52af200
BLAKE2b-256 2af7b1caacf68381e910e0522f4bc16408c31d94bf3bc0e82375582a34964bb7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.5rc0-cp314-cp314t-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 ed7191ae4bd8c95a794d01638832169a53f9d1b6ffcc313b8090b73b769da611
MD5 f8e0c16b8cf04e2336d877c15e19ed8e
BLAKE2b-256 1b6c8f31baccd0f47fea9f70ee0c63ef752c71e0536775dca4e2a6e9f389b545

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.5rc0-cp314-cp314t-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 a11c6507ea8e09216786b7f276c5df377610442cf08fa76f8cffed90dc78bca2
MD5 3620c0d9e2410b9a0363d537db091d47
BLAKE2b-256 ad31f274ec30a1c4408e33be9df76b49911dbae745972f26aee62c13a6bfde1d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.5rc0-cp314-cp314t-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 9a405c4e5d8cbf44dee3ce67d1b2ce6e1eec87fca14a6bab26c8b48f4e1740a0
MD5 b9d5cba8612d3ded8753355579c6ea68
BLAKE2b-256 1825f450f540ae7842a4516a2a33ec2a5dcf1ef71b5199d5a5633dff691cfddb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.5rc0-cp314-cp314t-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 237d2ff5e326b69d1d2ec2db250dd47263317cffe280d1ec9311d6eb55108da9
MD5 cdb8a7372b60d8246f1e6dde63f1a026
BLAKE2b-256 efae00c9398397931c4097a4718e751f4f72a48cf681a5740288c0d3c573d13e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.5rc0-cp312-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 f63e1af3bbef0ea7c9ad007f7f2a72b0697e0f214302fcb54491c3e8952f1521
MD5 800297f2ebedb45794dfbc5ff3f260ab
BLAKE2b-256 458e236f349f13fcef13ffa9b60a117859064cfc0d69f47b99b96d0da5052fb9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.5rc0-cp312-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 14d9923811d0e0e1a63becfdf9d7e9bca6a82982b376312343b45727fa324a73
MD5 975fd7f4c6476ad2191e217f6dd992b3
BLAKE2b-256 efe3b84f0b66edda3a64bc8093d0a0b1e5fdcf795b9734bbe081affb36a7ffde

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.5rc0-cp312-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 fab0d0d0770a2c1f91e925377ece57c582d52e29ba2200343a9dbf0999dffcbb
MD5 c72323e0ddaad5f943c8906edb90fa22
BLAKE2b-256 55fdc7c3d9dab5fdf6898300662ecf4f98a045d7e44ab632fdc56e55b4012258

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.5rc0-cp312-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 8db30ee872e23cbe655070b2d30decc46322677b4a0b84629b65dc658ee06d57
MD5 671c87d14e65e0ce1c0473241ad09b2e
BLAKE2b-256 1dca33dda423d2a036e00ee782868eface1191cfe0c0c819f511ea473474beda

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.5rc0-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 0afb09bf83622051e0c48b974d5d3b42de61cb61b4793b7b1e59fe270e444f99
MD5 18c048ae832ee3f8fbb25b8fe216eec3
BLAKE2b-256 d85aeed75ea37133a36f728d8b49c47b451fb235e602405a1332864457e9a0c0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.5rc0-cp311-cp311-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 4e7dbf2cb6d09b612660ca9d2fa40f3f38375acd2e9e1b5bc0f0b42a7b81612e
MD5 7b620dfc5dfb1511602c56eb13a20b95
BLAKE2b-256 aa7d72e6bb9a47d2d5af9af02f8c94c901d27f50cbba5660ab9a70119767d398

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.5rc0-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 734b289543e6f5ef8aa2fda11f875afcafe5112509d5abe45fb4ac5a4270d90d
MD5 7f44e29ed97c462c1d247cd21a8979b3
BLAKE2b-256 35d8b90ae046a0cc66425076738912f304f9b392208a84ec16638728b9a4efae

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.5rc0-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 36ae474c775a208f55853cb21e195448f344af04d056395a1925968449c84a2b
MD5 0bf2352c831aba0f98e7f9c0e9578c53
BLAKE2b-256 9c41b78d88ed9315d142176e0b0b94de5e270eead9d177cfd069ac19d426825f

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