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

Uploaded CPython 3.14tmanylinux: glibc 2.28+ ARM64

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

Uploaded CPython 3.14tmacOS 13.0+ ARM64

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

Uploaded CPython 3.12+macOS 13.0+ ARM64

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

Uploaded CPython 3.11manylinux: glibc 2.28+ ARM64

passagemath_macaulay2-10.8.1-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.1-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.1.tar.gz.

File metadata

  • Download URL: passagemath_macaulay2-10.8.1.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.1.tar.gz
Algorithm Hash digest
SHA256 3bd3fc45497992199183b97d8b87cac56cea765adcd3acfae698d665e25ab440
MD5 fd48eab3f04ffddadac7489a6ce06b53
BLAKE2b-256 4423e80d6ba76254838d72fd89772f7ae473c61c4ab37b4522d97cb2575169ed

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.1-cp314-cp314t-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 2b4053dd21ae16474330714ceba6c25930791cf1a6073c4f51b4d6df0de4cd40
MD5 5d55ac8eee36cff768ea03eb589ef6b5
BLAKE2b-256 2d58ccc98e5d05bb5279d2a9b77068f3028cc25b73efb4b12f034c88bcc71329

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.1-cp314-cp314t-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 400c0b99683c058e67509583b4fee402c4f109949ff2fd6811ae5cf69eaac331
MD5 477e529a281ce931f68e9d5a5ba42271
BLAKE2b-256 19119f99caee81dcdbbb473da2fad31c421f95eb40fc320a4614ac1663a645b0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.1-cp314-cp314t-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 12b4428616d4ed6766fc2fb504ba9834b95668c578085763649ae100ba146eb6
MD5 0ddf72c47c3dde73285dc8cf4482856a
BLAKE2b-256 a0cc45ca68e4a64bdad7998d26af53fb18da9d14cb468b70ade1d9269bf05d1e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.1-cp314-cp314t-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 9728f85bccca665e26cf6ca773c9d4ce044dabc65aff969eadeafe94d69e1a27
MD5 c1efce166d1f3257caeb927db170abe8
BLAKE2b-256 5b7c41ba42e00b8d829c07e88e2fdbc0805f622add3f56af71ca858b3788fe6c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.1-cp312-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 c8f182a0312fc86295479b4b48d570bd23a485f04d2e40c90ba02edd66b2ac4a
MD5 72a20a83ace7fa31396bdb071fe0cbe2
BLAKE2b-256 61d683061c4b70d23887f5b60417dec4de59060b3f3369928a28f2b63804b2ce

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.1-cp312-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 1469d76ad5723fbd1c6b43037cd1647245f6b4a1b6d2184a65c881f70dd15d03
MD5 ab4500d75f2dff9dfb945d5834d23a8b
BLAKE2b-256 1cc269558d6ca32666a57d1fcf22bae239cbea5006d630ed9a369253ae2f6ff1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.1-cp312-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 ead1621231646c8251caba9e5f54a8a33fcd0b798e687207476b11e243b840fc
MD5 e2364ff98ccc7881f8eb90242b1bd19b
BLAKE2b-256 2a20b7c4a39b74aef846111da2dadabc49cd451d24f6e4bc359d56bbf548eebb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.1-cp312-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 d4b8b9b8aa98805de34b3b1c4cc4e1c4bf365bf1f36519c9c407deb3652b2430
MD5 5f631cdae895f0f9e44505e285ab59bb
BLAKE2b-256 8ce0911f9b2d685595cb870fda36a1b2180d11b1aad055c89eac3fac641568c7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.1-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 c2bf5e21b2e8331e6fb3f7704762022137fa71fa899e78dae5561a468be989d1
MD5 5d5057457f69f9df38b285e80f00dc9c
BLAKE2b-256 68a7012a095bce8c417370d722ee95a259e7a229bacc116fcd3bed14a7fbdac2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.1-cp311-cp311-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 e23124356e7e3981f7a09e21160e2e75d7f98ae49fd23e07ea10c904daac2df2
MD5 3781d6c064c7fc0047851e3283181be0
BLAKE2b-256 f3b4437e14f9376a39ef83b6fab690eeadfac949819f062193e87f8c9bb233f6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.1-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 66bba5f3eb8ea985d3f2a09f9c1a2a4c22c896885c9cb803eb699c86f1f6a7bb
MD5 b3d20e533458bac76ba20da687fdaa24
BLAKE2b-256 a5bd697a239d54b8c8acadc18624e59cf03d7a05820b0e3048e15451d49352d4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.1-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 9ae0cded0fe7e16c4130cb6aca9ad11ba7b0500251c179b42141a8c218293751
MD5 465c7e322e0d8ee43f9efab191a8ec50
BLAKE2b-256 0d18ce08de83db35d6cfab59155486e0b8e7008f17c27a7896c4b3fa6f799ffa

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