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

Uploaded CPython 3.14tmanylinux: glibc 2.28+ ARM64

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

Uploaded CPython 3.14tmacOS 13.0+ ARM64

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

Uploaded CPython 3.12+macOS 13.0+ ARM64

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

Uploaded CPython 3.11manylinux: glibc 2.28+ ARM64

passagemath_macaulay2-10.8.3rc0-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.3rc0-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.3rc0.tar.gz.

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.3rc0.tar.gz
Algorithm Hash digest
SHA256 4d8973bb93a92956e3102ca1069a32fb326df3ad104fa10da347a0f01ad26518
MD5 599f9c1841ce623fa96477a6c4e2d971
BLAKE2b-256 aa27c656e0fc2e301c410316273420e346e4c2eeb9879980e6e058bf9f6d85ed

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.3rc0-cp314-cp314t-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 2181d37c581a10876449f993ec4ea4aec7c5f03f3a745d6565c4200b9a8f9289
MD5 6cffd97554257a5723d831c1c8da0e88
BLAKE2b-256 055552c3da466e1e1063187d354ae7cd6f17ab2f40dd1043fd2ead27627502d2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.3rc0-cp314-cp314t-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 6eedfd6cb32eea7f589c5bd1b7b5161c02d9056cd03e492728370873ad90e78a
MD5 b232fa6df2ebaddce558973a937f707a
BLAKE2b-256 98b1e2a1ad9b6860b90db127f7e31551a606371c20600a0d0123558cbff13598

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.3rc0-cp314-cp314t-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 ff28649fd2063824a68071d68c25b098b28ad9cee649cc2e134ffaec936dfcc3
MD5 b4b05932575714a51d39c1dd61222419
BLAKE2b-256 842441f95b485f7bb560a8d1053be13f4d023d75a3dad109c80eea1ef03cb201

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.3rc0-cp314-cp314t-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 3e5a1d761a38a7c0b73e87d46d49c276fb4d0242c98e4a9e3886d88715179e46
MD5 372244399fd60745236cf548b9e5f98e
BLAKE2b-256 f811afaf92af2abe8608948bbcbef21e4333013a767f6b5af15c8b2b63f0cd44

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.3rc0-cp312-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 1edb42ea439fdc62a1ffb7825d61cec4e93b5323cd033c6d6297a5bfdd38d66a
MD5 8128ead3d1bc531ad023e3b05a9ee6d4
BLAKE2b-256 830687d39f51072c947a1262ce250ecaa66bad8a4acae6aaf8421be7c41db91f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.3rc0-cp312-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 daad4ed70062804949f6aa0c3594a6f9513d19fcc0c728f519a853bb3ba8efcb
MD5 c568fccfb6c4ce579292995646a0f353
BLAKE2b-256 89ef08ac67508ff7715c83585d64b7e0b0dde752d0289f9b4dbf584e44910d02

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.3rc0-cp312-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 e08847c6b5e5f769dd14b7dab64b796923e4a08551c552b50045e9ca42239fff
MD5 a1c739f7c01643f90cd50920d708eda7
BLAKE2b-256 4a8659389aaff261f68f9f39c77c265b4b45d2b0253ad416eeaecfee51e0bc7a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.3rc0-cp312-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 ea94847d201c15732c7668b9533a4886491ac2c4572251c2f4d9fa040acc5789
MD5 7b5b1717db6df1df46b7a0d2b714753a
BLAKE2b-256 642386adc34cb66db6161e671aff74a31917303c328857fc3653d19c618ddf1a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.3rc0-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 b96b9f9fbe0f3ac3ceb19a249625c7ac4c6f7433c8cb13dfbf4fa1ecb39ba780
MD5 1886d291df3c640a124331484da218a0
BLAKE2b-256 82d0aedeb0e4952a317d616df2e3e8796019e7ad1c9746b9e12846fad26e4ab1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.3rc0-cp311-cp311-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 a44e923aa55c75104349f69e7c73771f97d6eed3a7c56f062695920f7c0012f1
MD5 7af3117af54e8ae09c8e8686c762cb70
BLAKE2b-256 ff6cb5c1ae1a6d6541abb3a893aff0edb14e50acbc6a7d79f3ad7e6c6c968ae5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.3rc0-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 c228cceb9fc5c98770ed950727bee6b21fb2908c6e5e4257a3518a9a800c1def
MD5 8cac4d3353a9d9453d08325cf255797a
BLAKE2b-256 b99c7ceba2bc8c176dcf57d6edd30833a5b3278a666406011484b2a0b6835618

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.3rc0-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 fa8f2281000445796b334e2f43c4cefb5c0941851ab91bcba400b7d31f5af48c
MD5 c05b73dc12f022a5a63dc8920442a007
BLAKE2b-256 bd36112b2679b29bdb12e0fce65112af3044d276d65cbf22bd99b1b9db6a5ec5

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