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

Uploaded CPython 3.14tmanylinux: glibc 2.28+ ARM64

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

Uploaded CPython 3.14tmacOS 13.0+ ARM64

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

Uploaded CPython 3.12+macOS 13.0+ ARM64

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

Uploaded CPython 3.11manylinux: glibc 2.28+ ARM64

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.2rc4.tar.gz
Algorithm Hash digest
SHA256 9ea3f18a83e174e2bead42dd6427770dc22ceb41c300ddf84856aebd95b30d8c
MD5 34cef9eaf28b61d8fe0f963749a090f5
BLAKE2b-256 501d6b8a339bdabc8d48695101d4f4a5154f979565ba8ae9ac70c387338b8e95

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.2rc4-cp314-cp314t-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 8729523f1a9186927a0ae4e03170509197f8fee95caec9f2bf2384b1c16b109d
MD5 3b5f04dbb353a9448a076a069675ad99
BLAKE2b-256 7e3670515ef1386aa5a76228a0f7261902d2c79ccdbe993bdb2dc9a5ecb5a94b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.2rc4-cp314-cp314t-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 845ad3693146d21e57122cc562d3cacd23b50cf218b125fe7c5a7d25c0083191
MD5 bf37fdc88b469971abc5d78a7b8940af
BLAKE2b-256 46cec0310d020c65c549b958d3d4444804fcd96b5411e97c6a1f90c7447fc964

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.2rc4-cp314-cp314t-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 537d810da83ef4519129cef8918984a8c63204d6256ecf1a7b133829bbb05674
MD5 14a66ecc66892f12d23df9914272d5a5
BLAKE2b-256 76319a1c3bb48e79ce4254f1624b5d5405e711f42ee27f95aed5348733042067

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.2rc4-cp314-cp314t-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 d5decca6237797196dad008b826957d0c6d46520e006680f9374fd6fcfaa03e6
MD5 e1815c2e2979f75684e73a84d476b130
BLAKE2b-256 ce5807ad9c553b2e026c3e619eeb5a94bc1ddb7267e1af1573f893c90c7aff65

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.2rc4-cp312-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 09b9eae261a2cbf8855aa3f8ce0bb85a9ccc5ce44e2d73c8a4bbcd020a292c66
MD5 09ebd1c9fcb366d61752361351c9cf34
BLAKE2b-256 ad7fb9959e518bf86a4d59e0c87037530b314f94ee53f729e160abf329359b74

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.2rc4-cp312-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 d715d814496eb2265d7cbd8f803de09d59dc9bddadcab3ca1f645260418cd6bc
MD5 97fdcb3487f98ca6d86aa7b7921d7392
BLAKE2b-256 5d96482acc3f713e68892538b80822c4ad65954985a0c4972969b7290eab2b05

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.2rc4-cp312-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 798548203196dc0a4214d8ec7bc8f79e7ebf0a45060921202e4b6f58b88a61a9
MD5 2bada1df2a8f1f1b16b45f576f24d581
BLAKE2b-256 2f177bd5e4857b0c4138b7e4c491211037e29cf360c29ed1416ecfdce8a840e0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.2rc4-cp312-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 3257a796d0bd7e18a7831ff27d5f8aecee9ee79cb8319f9f763f9ae02124b4d6
MD5 a016a41839e52e9633e17d31a3cda104
BLAKE2b-256 b7791f99de787f771f6c34a49d7b648da532799d7c5992b44b977bb599edbd7a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.2rc4-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 e79dace67562d1beb0c32f959e1df2ce02627ebf98e7ea8d17620c6429f6243c
MD5 8a53dc86683c89cd3c9370c65ec01fcd
BLAKE2b-256 84d9018a7e1fcbc022000fd8071fe43e6bc1a264b1c3ac7230ba5ec523b41ca1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.2rc4-cp311-cp311-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 5c63355c9808951e451fd882733c5b53341515aa323ade82cd8771983286d394
MD5 9984735537291b007318dc3437384ed9
BLAKE2b-256 161d85cff98da771024817feb63a85ffb3655c0ed80dac1cc1e940a9dc737ccc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.2rc4-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 cce76af91d0a98d60b9121d9ccf92f4436eafc5ce9872f1b63b2381f13525f75
MD5 ee785e4fca904d2bc2bf5d3c3f5ca0b7
BLAKE2b-256 2116d86c25894998404aab44d0c00f607b16e4c92fb839c9921e4631a5810c47

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.2rc4-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 73160983be45a5120ad047b89f975fb2833a479c3f180b24f5d83e9e7c368623
MD5 31fa19ab3e75793d472621becc890170
BLAKE2b-256 a596435fdaa47faa117caa9ac76342f96c90f9576208d9fdcc990b550c442b23

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