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

Uploaded CPython 3.14tmanylinux: glibc 2.28+ ARM64

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

Uploaded CPython 3.14tmacOS 13.0+ ARM64

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

Uploaded CPython 3.12+macOS 13.0+ ARM64

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

Uploaded CPython 3.11manylinux: glibc 2.28+ ARM64

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.2rc2.tar.gz
Algorithm Hash digest
SHA256 b0846d233e9887a13c7ddf48c8cea592c51b6d9925a2ba1c6f2987a9453a83a7
MD5 08e1d3cae44272fbf389aecb12bbba42
BLAKE2b-256 e1358dbf8d7cb36e1a707e20d19fe3a5e14a6f6731bef2d44111fe0a0b5a6385

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.2rc2-cp314-cp314t-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 a336fb5dbbd526eb1940fcee5d343ff7f21f681e930f949ed56be2a34ec4407b
MD5 e9bd98f65b14ac5dd307b6eabe665aea
BLAKE2b-256 c0120583407c67565be0430b9d74deadc2d588d6dd2783aa8f49a099f2226df9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.2rc2-cp314-cp314t-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 aff29e229ca2ef184f605989bfc0b7e50e44d8ef5aa9b205f6fa58f5b214b406
MD5 c3ffadde1ffc51f1c676ed166f4889d3
BLAKE2b-256 30d9a3af048d769b60d664d70283849af27449e92cfb781281cdf2b805c5aa7c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.2rc2-cp314-cp314t-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 8eb5319f53adde474624a1273eae4554d9a5b4bcac9bdb449fc503952fc1101d
MD5 405572157c3d87edd166d4cf3bf630e2
BLAKE2b-256 488fa7bb6925166d655e89af069ee4f8ee4902ddc2797cc59bd310dfe63608e5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.2rc2-cp314-cp314t-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 5299def7bb41f2ce11e117ecf8e0aeef5df7235060823e9966d05cb4761edb95
MD5 8a335cc0a0a2132c821fd80df132a417
BLAKE2b-256 c2d16ceae04d6fa08e32d6c22f31f5189b7f40e45e6abe08acf9fd2d0f931b0a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.2rc2-cp312-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 af87c3ed8a802045ecc834de301609e26097423434f921ca6c4b672458085817
MD5 cc167245a9979ca70b158e0d2393f1a4
BLAKE2b-256 7ffd827ba8ae14cd9e31157fd68f166a53444e846472111f68d8425dc1c25f65

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.2rc2-cp312-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 83e409e5a659e7ca2745adc8975926e4eb40a497f37ddc8381e740cc62e44187
MD5 bcac13fe5adbc8d43b90bebe1ac94e2b
BLAKE2b-256 00469436e99c2e0616eea760e23f6989c791e4d90d65162c90a52cf435d17acc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.2rc2-cp312-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 e97b71dd1f10e0572cce0d04ed53c17d565cab77644f0ef639591936df8dad63
MD5 b9ac86676eccf2cb34ca6de443a8c6bc
BLAKE2b-256 e10cf28fe1112d2b98b8a995d7424bb3e8587940a3f365c686764186078f4152

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.2rc2-cp312-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 8cb2d98264dfef4788fe741b0c3ab145b60ffb5fc8fd7f913bfa30483a30fb5f
MD5 c591ad9a0cc56026f5fc7bbd793761be
BLAKE2b-256 0fddbba063683732637a17ff752aec5dd0fac7761372ec7130376d900ddd9722

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.2rc2-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 61444771e8050d0e0153caa33d50a1bdf11f35ab4c761447275092d75b3c8921
MD5 dd9c7251b2c655d567f9b7d46c0c9113
BLAKE2b-256 8f8589a29338f32acb6755afea3c197b0f9f9e2f9d554a028a7d516cdc0b95f4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.2rc2-cp311-cp311-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 1ec6130344780c9f6d427569ae66ce46407e1f119f2748656f7653b2afc8492a
MD5 16ceb6c9f0d91044bf1c72a876f6a5c9
BLAKE2b-256 201f50d39f2967f12d3fd903381d1699e5b491dce3a8660eae74a3148f9082ce

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.2rc2-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 a185c4db191819505f081db3ae04ac86eeaac425ddf6cc2a3b13f57a33a90e43
MD5 41980363d1e8cc5ecff6df209b79de39
BLAKE2b-256 946a3a977a6d219e245c8c20e66d26ec1e478f1c4314fbcfa085005fd002bf94

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.2rc2-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 71d7db59cfcdb38b8006bb49314f2ea68a6cdb60ef6ee76222d998f782db9a82
MD5 461f7edf24eaa229cca46d9ef720809e
BLAKE2b-256 4607dc274dc9503a8f8ae512a98108d4ba1df5f928b27ce5dc8541991e7c3200

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