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

Uploaded CPython 3.14tmanylinux: glibc 2.28+ ARM64

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

Uploaded CPython 3.14tmacOS 13.0+ ARM64

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

Uploaded CPython 3.12+macOS 13.0+ ARM64

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

Uploaded CPython 3.11manylinux: glibc 2.28+ ARM64

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

File metadata

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

File hashes

Hashes for passagemath_macaulay2-10.8.3.tar.gz
Algorithm Hash digest
SHA256 327e34cb878533a1bf1ef7a83c1bf1edc50508047a41b8d93b4e79c8d2226a40
MD5 7addfcc61f38228d2b7382852face90f
BLAKE2b-256 38a62bd53c35f78521467d3e7b2f65ec9d9996b03368e7c8ccb27eeed2777211

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.3-cp314-cp314t-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 45430edc83878c9da90890d28ecbb4257512d5aa8f7e8948e0de581cf8f0ea9c
MD5 e8b3c2ac52567ee4e27135f72e2f5bee
BLAKE2b-256 1be548f73c558d51c87ebf094b5780d40519b8d2e7555d659d27bb0fbe33d909

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.3-cp314-cp314t-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 edd1a16aceea9a7ac15406f634623eedc6a57ae29bf2ebee3b17f9d11323210e
MD5 8f0f8d880a8351af5ace302b35e3daf0
BLAKE2b-256 84ef69fa193e80dde5287b6344b9f124c101fd70935f2436020bd7fdd30724b0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.3-cp314-cp314t-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 eee0735a5da6cf1ac7bfdc5e2651ffcd564b3b36e8b304c2f9301a7ea1dac992
MD5 c49171699fed211c50caac269aecbbdd
BLAKE2b-256 64f31eef2c32dd7eac1330c4e84bcc7d34797dd6f63ea127bcf553b380529f73

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.3-cp314-cp314t-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 b868fd1541198b7de155f1917846cf35fac7c43e1ae61fb50dd9c2ffeff8cee0
MD5 1b328b8e35d20213044032eba8b501dd
BLAKE2b-256 d02bdac410390a909e9a4d250569c54331ece05ba166ece93e7469f858335a30

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.3-cp312-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 0476849f316cffefb7eda22391220814c3cb885ac233c850c7111d556e2e80aa
MD5 520a85f2b350e1e4510cb8f4062a6ca7
BLAKE2b-256 9d250496aaf2cd96820b18ef6f870f8022825b43dbd3bc3cd8c2674e52682600

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.3-cp312-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 cdf8fd9e4cc2c49a92029f456746aae2bea3584dbd4fbcffc59c6ce118d61b44
MD5 adde6e7b3b4bca7d31e6274bb524dd1d
BLAKE2b-256 b26bb5816b2826ecf9a9a2d4cc6e870dfca1253944401b50a79b9992d8ce83c7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.3-cp312-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 c0863c30a44ce80cd153a65b01aecbfde4d888559f0ef8452feb56f7c13cc55b
MD5 bb4f76ece29f0c80c92efb3a21ca3108
BLAKE2b-256 7bfa5d3e14070149e3283d93084fb09b7335bc5a281d57cb505e319c657dd25b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.3-cp312-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 cca3b69bce2d8ee12ebca17b7d98cad82445cc8a9158d360d0958aeeaebd4fbe
MD5 cfb13fe94ccd741a9abf0f26475d56e3
BLAKE2b-256 a11624a8fa5dfa3cf392a6aa71a13c0d48d562415c3bce95050cc9bd2e28a993

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.3-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 dea793d115b30802df96f93230e9e1d734e42b2a1ba9dce5e2d3be4260770aea
MD5 936873389877ce6734da4d741b7d033e
BLAKE2b-256 6f905273c9b80963125ee6c31e0acac16a8f9612fb3bd947b379a7706aaf2711

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.3-cp311-cp311-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 19166248d3c750debba1d433853e8fb202c16aade5b921d56d54606bf2442c36
MD5 4e28ae9c6b84fbf20fef803becb1a8fa
BLAKE2b-256 1fdc76262fd1a2247b9ed7327100072370f34bc001b207216c8d46cc9a3e675e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.3-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 81ff4deabcd5bef7a1f5618fddd8e294fcb879ee90fe134664c885e7e79726b2
MD5 c6e4f72ef5b121416b156e107bbf8e8e
BLAKE2b-256 a329f186e50711ea8f86e067eb0e9110021812ec71f84184a3f9ccd4351d91d2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.3-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 27aa03a229facddec7acf4a8ce462abfd7d683d5b7cba711f50e4a57345c390c
MD5 8a47f4ef2b025cdb9a4bda9bc6dd89a7
BLAKE2b-256 ce5743a24b221bcefdca8e132b5f59a02f48742710b53a365957e56a7c72d4a8

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