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 --spec "passagemath-macaulay2" sage -sh -c 'M2'

Finding the installation location of Macaulay 2:

$ pipx run --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 --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

Runtime dependencies of various Macaulay2 packages

Extras are defined for Macaulay2 packages that have pip-installable runtime dependencies. Examples:

pip install "passagemath-macaulay2[CoincidentRootLoci]"

installs QEPCAD, a runtime dependency of M2 package CoincidentRootLoci

pip install "passagemath-macaulay2[FourTiTwo]"

installs 4ti2, a runtime dependency of M2 package FourTiTwo

pip install "passagemath-macaulay2[gfanInterface]"

installs gfan, a runtime dependency of M2 package gfanInterface

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.7.tar.gz (22.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.7-cp314-cp314t-manylinux_2_28_x86_64.whl (75.2 MB view details)

Uploaded CPython 3.14tmanylinux: glibc 2.28+ x86-64

passagemath_macaulay2-10.8.7-cp314-cp314t-manylinux_2_28_aarch64.whl (70.1 MB view details)

Uploaded CPython 3.14tmanylinux: glibc 2.28+ ARM64

passagemath_macaulay2-10.8.7-cp314-cp314t-macosx_13_0_x86_64.whl (62.8 MB view details)

Uploaded CPython 3.14tmacOS 13.0+ x86-64

passagemath_macaulay2-10.8.7-cp314-cp314t-macosx_13_0_arm64.whl (59.3 MB view details)

Uploaded CPython 3.14tmacOS 13.0+ ARM64

passagemath_macaulay2-10.8.7-cp312-abi3-manylinux_2_28_x86_64.whl (75.1 MB view details)

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

passagemath_macaulay2-10.8.7-cp312-abi3-manylinux_2_28_aarch64.whl (70.1 MB view details)

Uploaded CPython 3.12+manylinux: glibc 2.28+ ARM64

passagemath_macaulay2-10.8.7-cp312-abi3-macosx_13_0_x86_64.whl (62.8 MB view details)

Uploaded CPython 3.12+macOS 13.0+ x86-64

passagemath_macaulay2-10.8.7-cp312-abi3-macosx_13_0_arm64.whl (59.3 MB view details)

Uploaded CPython 3.12+macOS 13.0+ ARM64

passagemath_macaulay2-10.8.7-cp311-cp311-manylinux_2_28_x86_64.whl (75.1 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ x86-64

passagemath_macaulay2-10.8.7-cp311-cp311-manylinux_2_28_aarch64.whl (70.1 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ ARM64

passagemath_macaulay2-10.8.7-cp311-cp311-macosx_13_0_x86_64.whl (62.8 MB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

passagemath_macaulay2-10.8.7-cp311-cp311-macosx_13_0_arm64.whl (59.3 MB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

Details for the file passagemath_macaulay2-10.8.7.tar.gz.

File metadata

  • Download URL: passagemath_macaulay2-10.8.7.tar.gz
  • Upload date:
  • Size: 22.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for passagemath_macaulay2-10.8.7.tar.gz
Algorithm Hash digest
SHA256 b46bd0b23a2e6d1b19b7cd10a8afb08c5a480f020c340522a327e40398178f05
MD5 3198fff4b977c51010b5a2f3a980df69
BLAKE2b-256 7e35668923e123773202cf573861c37d4f109b0843994a241f097e6eede73072

See more details on using hashes here.

File details

Details for the file passagemath_macaulay2-10.8.7-cp314-cp314t-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.7-cp314-cp314t-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 ffd7ce5a97916b7cea09560a7b9cb59d49cd273f7a8d5d9bfe49c65a7e620303
MD5 19e88a2078750bf717cadd1cc56bd51a
BLAKE2b-256 17b8c30b8975baeaf124f4343fee7eeb83d978e45a2755ddfadefe4e5e42e121

See more details on using hashes here.

File details

Details for the file passagemath_macaulay2-10.8.7-cp314-cp314t-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.7-cp314-cp314t-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 bee3a7559375f3b5ebdc5cc9629f7895d08cd57c264cb42ed75e4d7e8c1d54eb
MD5 ecd961ebd61692479f6487000e7a6bb0
BLAKE2b-256 1b2f566d15a2a02f4e7dec9ea0877fd2dab05bb512543d869f08f7834f0e817f

See more details on using hashes here.

File details

Details for the file passagemath_macaulay2-10.8.7-cp314-cp314t-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.7-cp314-cp314t-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 43a9b01a8e66cf006636bde07e92af775a472075ca18673b32e16c84d3ba1339
MD5 be517311eea20367a81ae4739e697a83
BLAKE2b-256 093a9c1bdb1cdcb681617f61fc55b57f3c5d2802261e1c4219b5fb20ef18e63f

See more details on using hashes here.

File details

Details for the file passagemath_macaulay2-10.8.7-cp314-cp314t-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.7-cp314-cp314t-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 f33fb067cb77eaaacdf81c8fd6e085242c3f107e92322dbf1df748ef735afec1
MD5 7fbaab03013a69038f68b5c7b2f1d371
BLAKE2b-256 2b2c0e75b1d3cf5d9cc6e5cc006ead2ab2f1b4ae2692d165f9609254b442f9d1

See more details on using hashes here.

File details

Details for the file passagemath_macaulay2-10.8.7-cp312-abi3-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.7-cp312-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 805d0e0a16a52d088ebab2a585db979b01e320d5ea84b4a352ca0e8a07f004b0
MD5 efd9bce89362540767cf727f393f1120
BLAKE2b-256 e7c64cd70a2030c36b6ae90478ded1a85e4e4c796decc7083c744128f78d92b7

See more details on using hashes here.

File details

Details for the file passagemath_macaulay2-10.8.7-cp312-abi3-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.7-cp312-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 d4f8450da24ff8afcbda1ca79e655a3c8e905d2d091b089be451f96945108592
MD5 28b74070f781f07aef28080ac61b4c31
BLAKE2b-256 effe06579d096c18453aabb8f25e0085f2c71c41a136069203cd80134015560c

See more details on using hashes here.

File details

Details for the file passagemath_macaulay2-10.8.7-cp312-abi3-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.7-cp312-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 865de7ccf90466440965fe62f4938aabfbb09f997fe11591bab95440712867e4
MD5 ca0175d4ab5b55bb19dfbf44ca051d9f
BLAKE2b-256 d8b310ec6ca34672622e82bd72c4eaf3c33f2a0c0233de466938b01aaff8c4c2

See more details on using hashes here.

File details

Details for the file passagemath_macaulay2-10.8.7-cp312-abi3-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.7-cp312-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 7338d7acb91a72b60c11cd4e461d68b8b1da4f1578c339f2c94d15ab73832bcb
MD5 e593637e9ef25d00009351f3a653501c
BLAKE2b-256 1fe663965b660a6e403c75464a76b1f91b5b518fe6c3421285b151412690b510

See more details on using hashes here.

File details

Details for the file passagemath_macaulay2-10.8.7-cp311-cp311-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.7-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 1b79ef8b705b2f22dd5ee3a0298ed4561bacbcc7e516c21333532479ec9e4ab6
MD5 8d863227defcabae5faa44eb408e43e9
BLAKE2b-256 4298c468565f55bd6a1c405d79d999dc7659b39c42216b88d82c702cfcfd6187

See more details on using hashes here.

File details

Details for the file passagemath_macaulay2-10.8.7-cp311-cp311-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.7-cp311-cp311-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 4b46fd16b96a7ab4f8e9a391cd75a236125b658ea9cdca9c043ec77367ff3201
MD5 926f15b180a080d8017180fb5369fd86
BLAKE2b-256 90219a9fffd0d436146784be77f17c8c3688b21d38559b283eea358950d2ebdf

See more details on using hashes here.

File details

Details for the file passagemath_macaulay2-10.8.7-cp311-cp311-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.7-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 dde5bb610165119e62be29b31a6dec3e0ff452cbbaa77c96759a648ff6ec343a
MD5 0fc1fe9530b096d586b45d64450b368e
BLAKE2b-256 13925397db38b609aac1da4b66c894707c950a6b72a53fa8e24eaa0e3cf88f32

See more details on using hashes here.

File details

Details for the file passagemath_macaulay2-10.8.7-cp311-cp311-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.7-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 25d775dbe4fcb8b9c0a2a03284a361b28881d0dd98a8bd95138eb5ff01cf230d
MD5 3095c38ce0da72fb80e95e3fa7d4ab4b
BLAKE2b-256 ab8c98a68c1a6fdc187e1c74940b1ef863447b201e2e98195116cf1ab70c3b98

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