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

Uploaded CPython 3.14tmanylinux: glibc 2.28+ ARM64

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

Uploaded CPython 3.14tmacOS 13.0+ ARM64

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

Uploaded CPython 3.12+macOS 13.0+ ARM64

passagemath_macaulay2-10.8.4-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.4-cp311-cp311-manylinux_2_28_aarch64.whl (61.3 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ ARM64

passagemath_macaulay2-10.8.4-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.4-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.4.tar.gz.

File metadata

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

File hashes

Hashes for passagemath_macaulay2-10.8.4.tar.gz
Algorithm Hash digest
SHA256 399de42f764f9152335612e435d183a69157afd9c40cc13f261a2aa802603e98
MD5 f617752291ed5d509c81514c819a75e8
BLAKE2b-256 20005939e32d694eb22afbff638994780f7ce8032145dc4b2a0642b5bdbae152

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.4-cp314-cp314t-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 687d1da397afb8b3e4e2fb0d639934e1801a8ff7146909da407748be532a0350
MD5 53f9f9e8bf23984f5bb4069db45dd585
BLAKE2b-256 ac8d7ea3c0af9abef7eb53b99a1b0a7ff1a90c3651250ba0319d482cfe91a599

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.4-cp314-cp314t-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 356a6f33c091fd49872106083c12b95fc8e71cd533521e2f6fc6d90478d54e57
MD5 6079a2da1dcb07e47284be06c9b3187b
BLAKE2b-256 3eb151c63795f069960ee096f2a158ac8703e82969ef6289869b6605f2e5581d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.4-cp314-cp314t-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 154319520a9de5b805824fcbd6e1e4be58092ca514b9dbd5fde20c47287666b6
MD5 245f1ba9101793521be84b197cf8ed50
BLAKE2b-256 e4c690efb1ed52504a0a2fd0f51475439958ffba23bbe280723160d25ddc4178

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.4-cp314-cp314t-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 3f3d201b9c7629bd6199db0ae1a4d328b5b92d464ca59d1f68b7f78731b891e0
MD5 f375713bdb3c2cb43cea65b641185019
BLAKE2b-256 70eeceaa61e37093978dcecdd3819bd399b76147088883bfe4b022b690500637

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.4-cp312-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 84ebdbb32cd957d71fb7c6e8cbe99657e20947a5683b213545a5d89ea57d20c2
MD5 96a83075085dc50f2511168852c278ab
BLAKE2b-256 1cadd66f57838cea46094757a8efcb6720e3a47e7123006bc853c010ae14577b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.4-cp312-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 3df2071029fc9a79dd39b14ff925a12d2e2508fe14f83fc70b5b33e9bb65d399
MD5 c019d74f9fe0a5587bcf9408510aed5c
BLAKE2b-256 4ef307b471602594c2903df6ed831010a9a6a0c157d8d21882da2c8d08081188

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.4-cp312-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 c308cde09f7d04028f786676ae6f28fcc5d681eb5f70ae93b7cc542f9e89111c
MD5 4ea520c1e452e72b942828c4834979c0
BLAKE2b-256 21f806730112ef55f181972f439d8d27d3d5b2942e1c46ee799f96c1e0c3ff31

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.4-cp312-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 af51eaa51762d94a8d5a36f6d7f8eac5d3b448e19882b796275c79fa69d31042
MD5 b8b5ab0adb7813dce2c60a1ca64aa6f8
BLAKE2b-256 87dfab5886067307225f1498ea78ba7ce24974196e1aae7e284988356b1082d5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.4-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 5433ebd9c443c8fad4eba97d6d6181afef11c3f7b20f0d459b0155657927e7a4
MD5 3abbaeae1668dd18e890f71c44c5be5a
BLAKE2b-256 20c20f1509bb75f565c702d82e1c9e6c00f20d7770c825b992603068a22a2dc1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.4-cp311-cp311-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 cca098433117cab4745d29185443bfc0f52f57a0ce22e855fe72fb7f96b6ffbc
MD5 5c6cbffabaf4667aaae8f5aacd2f7704
BLAKE2b-256 3b54bdbb22ba429fc2d32b3ffbc311f8df9f5726c3f290556bb1e52b909b0a36

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.4-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 fa4fe48c69aa64f74ab879e4414495be7a871c3aa38ef94b6b8c4b5c0bb6e25f
MD5 0cd26422096bd7b896c2df6d8632b62a
BLAKE2b-256 7e2e8f0d97e5a5a7cfcdcbef57bf1a725d22bf0a55791088405bc97df1c7b243

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.4-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 28a5a7e0e56a09ef1f3b2311f58b624f4fdb59d47ac0517b11958defdea33d0a
MD5 694e7694bcdae33a5f47ac4e4d22f790
BLAKE2b-256 aee5cc6597b166973dca3d5e258857072d4d380e8e87fbe9706d8e21c8861704

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