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

Uploaded CPython 3.14tmanylinux: glibc 2.28+ ARM64

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

Uploaded CPython 3.14tmacOS 13.0+ ARM64

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

Uploaded CPython 3.12+macOS 13.0+ ARM64

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

Uploaded CPython 3.11manylinux: glibc 2.28+ ARM64

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

File metadata

  • Download URL: passagemath_macaulay2-10.8.2.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.2.tar.gz
Algorithm Hash digest
SHA256 2586f9d3858c9067efe1ec107d6e76b61ce42e5165900eeb9cb9fc73f14aa564
MD5 3c2bed88560e281f6155ac2d117aa478
BLAKE2b-256 c6d956fcd752c78b90052de69eb911a89f042b838d09d3d3536f444170f8fc96

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.2-cp314-cp314t-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 d59064b10cfdc3d30b156d210c1ef932a0c4689378bc02d6df2f31d4b32bfc5b
MD5 60ec14c861a9bd7366bf78bb8b5f109e
BLAKE2b-256 56e30e49269fb46e904358029cb9b70435819014c0dc2b1e14a8d8da87ad315f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.2-cp314-cp314t-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 d8b89e3cd721c29f4e734f116b2c820ba9d828b533422768a70eeecafa08cbb1
MD5 7e48939d79f650e1033c347662640885
BLAKE2b-256 4ce51ede7caf4702d18ede948d71cfad2b7c4b7da341bf43352e3caa0a467ee1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.2-cp314-cp314t-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 26d73ba59c84efae9d0af15e00bff73234d1c1cb2774426a833b1a6052ba7c18
MD5 41fd55f386e5b5656c70db0ac66e8c5c
BLAKE2b-256 c97078344ed3364a5e91729e3da5644c6924a2e451893cd87ba724b738b80e6e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.2-cp314-cp314t-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 c08dcf03f6f59d33cef54d5b49a1c72e1b63babfc51846df2b73fa5e402f42bf
MD5 7d288179fcc17f912180c684e823c482
BLAKE2b-256 33d6112e1a30a683b2e8d215d1f2d6e143852fe3c4c4a5679a5bef4eab4d8a19

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.2-cp312-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 376905ccde5c6e19b382c7ae7234ae66a3ac4a79ca20acdb1285e56dd0a60d87
MD5 c5cbbca6f0a59acb0a3d139d878563f3
BLAKE2b-256 82d4084afd5ec89bbfaba8f34e20d6119f9f78f8be53bbb9f98d54a5860fd03a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.2-cp312-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 552c4f892836e5342ea4b84161cc5f8b5719f522644da1b3f24a11c9a4c6de27
MD5 0be798bd5a07fb083c3fcced5d5f9165
BLAKE2b-256 b56b66a489506a3a6a77795df5911b882e0584b64a4da4a7f5624bdb3ab44d12

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.2-cp312-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 6cb76bbdc87af5b5afa93941f85294a295a95ea6a540a5e8ecd0653e2c7bc53f
MD5 29922bd8d825551656decba2dfcb8e85
BLAKE2b-256 d31807cab9877ae685f023f125c539a1f8f3949a4f8e9394776770df3e6f192a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.2-cp312-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 cc6918c8de4a3320438b9d2ccb413b0e5257698b04fb254a138fd269573182fc
MD5 3158db6bbe97765c56594762bb06b897
BLAKE2b-256 8787a78d870574c79533a6ab46adba2d2221fb4770958fa6ff72270f5d18acb8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.2-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 63eb8a1a10e088c3e1f3e02b14ee7dae23880aa2983a1b3dde9f2558b802089c
MD5 4f5383e88eef0485602adea69b6f1d7f
BLAKE2b-256 565f68c4819fa4c3d96533ff3ee178d2155a5a70e1b6f83ca49d165d464d3153

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.2-cp311-cp311-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 68d01c56b4b71a9f9df587c9320859e3bda1edfd9fdf87b2f29def7529b5f724
MD5 e1b3c8d90a580396c4d28791091927b8
BLAKE2b-256 7692f38260787acd78f9da0111f7ad3d42a0cc7377c9e2057f9423dca6a669c7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.2-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 ff1bbd753636af05487b961fe09ad1b4a1687a1ce43a411c8e4d946b62b8a5ce
MD5 220212353072191b8079deb2b635024a
BLAKE2b-256 25359f0f7bc8fb9efd60fd7f3bdf4d65d517c70ae5457160b6708e9e7dbed7ed

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_macaulay2-10.8.2-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 683f354a3bf2a0df425f44664bfdc9cfd4e009a9f32159c4abf8b1fa3726faad
MD5 d56b75dd3ba6228c308f15fb96832bde
BLAKE2b-256 34117b3fdd0dbfd36ebed6cb20f539fd262e180ba4e3d3cec0e833d647d16919

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