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

Uploaded CPython 3.14tmanylinux: glibc 2.28+ ARM64

passagemath_macaulay2-10.8.6-cp314-cp314t-macosx_13_0_x86_64.whl (62.7 MB view details)

Uploaded CPython 3.14tmacOS 13.0+ x86-64

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

Uploaded CPython 3.14tmacOS 13.0+ ARM64

passagemath_macaulay2-10.8.6-cp312-abi3-manylinux_2_28_x86_64.whl (75.2 MB view details)

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

passagemath_macaulay2-10.8.6-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.6-cp312-abi3-macosx_13_0_x86_64.whl (62.7 MB view details)

Uploaded CPython 3.12+macOS 13.0+ x86-64

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

Uploaded CPython 3.12+macOS 13.0+ ARM64

passagemath_macaulay2-10.8.6-cp311-cp311-manylinux_2_28_x86_64.whl (75.2 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ x86-64

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

Uploaded CPython 3.11manylinux: glibc 2.28+ ARM64

passagemath_macaulay2-10.8.6-cp311-cp311-macosx_13_0_x86_64.whl (62.7 MB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

passagemath_macaulay2-10.8.6-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.6.tar.gz.

File metadata

  • Download URL: passagemath_macaulay2-10.8.6.tar.gz
  • Upload date:
  • Size: 22.5 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.6.tar.gz
Algorithm Hash digest
SHA256 4febf3abe0cd87830e27091bef24d24d27f9ebb76bd69b4f12829d2ba05447ea
MD5 63dfe45acfabe5ca03a962d68a318f4a
BLAKE2b-256 98916d4ce4af0eaeb6b4992eb4c56058b08ba5062ea876ed7e35f0b189f1b266

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.6-cp314-cp314t-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 321c96921091e30cc2363ca9ca05991b48f95f9187e024afa9ed1275b45ab9a9
MD5 3fd107f385fdd096d1b5d122ac0aaaf1
BLAKE2b-256 cf000386b22a678f34e23558125a194d3b4cb92fa1909c71b6154c880afce868

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.6-cp314-cp314t-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 913c3694e828ca162737b23e53d1d479005537f4f706b01a9f452b9e90050cd3
MD5 6aa2209efd12f7f50b6ca8ffc0340050
BLAKE2b-256 2368da3235dfbf6585f112e0f3cf76585811f01a632503184bffeaf371b06de6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.6-cp314-cp314t-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 b84224f635e3e6e6088271c81d6408b9447aa09e84edb2ea3122638021b2eff0
MD5 e2321e7d9708376a29ed4a7616bc0e8c
BLAKE2b-256 a46a5a848a278659b1126433ce41669e46f9fe0e8577257cf72c1c0815fd23ce

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.6-cp314-cp314t-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 d0e5138231dcfa6d0f0a87543cd4e98c74a8daa321170e9217d901f49c8b885d
MD5 bc7dff7ad28b0c47fe2d33d7435a3668
BLAKE2b-256 7528b5870c56702f05168efdd4dae58290c316a7ecbe8920d2d5800f7be1c0a2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.6-cp312-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 7421321dca6640353f7d199b571ef12a002866a88cda83c0a5e1176eb43aa839
MD5 9e2c79c2908cb6e5fbeff466db150030
BLAKE2b-256 3c29627a3094162334c558a48de007ec2536b7bf0f15928b664a854743115ac2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.6-cp312-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 66e9c9f64bd46ad2c8347b031e81cc34273bcbd91fe84a06ae71d2fb76e12e42
MD5 109cdfb2e1932e40f762cd81051d0aa9
BLAKE2b-256 b7c3c4c97a4f615e8a2304b6add2054cd40a1f3775394d0c3d48c0a998ccb769

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.6-cp312-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 f2b750015b79923a24f8aa1a917c109b52d4d27a09be9b957a3755dce43ad840
MD5 5dea51e99e1d8f4f2c885ca872650c20
BLAKE2b-256 090ed01ba73ec6fbfb131fc0faa081943e4f97d2078890d89086e685324b5c0a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.6-cp312-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 98c517cfd267fa57c4d460fa4bc78fd5a901a5c55daceb0165b42b90961a9962
MD5 bc12a19d72435a7a95f8fb868026611d
BLAKE2b-256 d9ebe6e37bd7b48b186d46a5e05e40344ebec6e40f144717c8f5ba97577e056b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.6-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 d6c3dfb0700e41a3093d9bd3c1c28eeece23fb9eecb7dd32ca2917b29b6c7300
MD5 acae6ad4a97f034c4c638566854d174a
BLAKE2b-256 eb61718a2700c38ba414e03d7d6ebe336219dcc12dc3fc790e9d8c6336257f61

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.6-cp311-cp311-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 1ffb71102acd39e6d8e833c90d695cc55662b7d30964acecb546a95b1d5f7ed1
MD5 253b91e2d70168b60225ec2ce2242910
BLAKE2b-256 e771c1e45c53890cc5aef931822554120f1f2a870ee1d15656f44445fd68f04c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.6-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 81414f75f689151b7e9baf0c9f452c82ab1921ab810782a664b6160fe980b352
MD5 329917989e5144932a906b53e7c12cea
BLAKE2b-256 b875bfb79accf459d2c4d91722d7f815bfb6421dcebfabf558a4ea74e2debd60

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.6-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 035d0f42268a6f2c750f9b8c3f7baae0d2a415e958857d1e70a25e8a7c3366e3
MD5 9ee813543bbf7e6bb82644b44f43830c
BLAKE2b-256 8eb2e026699ede0f7585f68e60535ffba1e703f5d820da8d7b853c449a4f4f9b

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