Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

passagemath: Vectors, matrices, tensors, vector spaces, affine spaces, modules and algebras, additive groups, quadratic forms, root systems, homology, coding theory, matroids

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.10.x series is adding support for Python 3.15.

About this pip-installable distribution package

This pip-installable distribution passagemath-modules is a distribution of a part of the Sage Library. It provides a subset of the modules of the Sage library (“sagelib”, passagemath-standard).

What is included

Examples

A quick way to try it out interactively:

$ pipx run --spec "passagemath-modules[test]" ipython

In [1]: from passagemath_modules import *

In [2]: M = matroids.Wheel(5); M
Out[2]: Wheel(5): Regular matroid of rank 5 on 10 elements with 121 bases

In [3]: M.representation()
Out[3]:
[ 1  0  0  0  0  1  0  0  0 -1]
[ 0  1  0  0  0 -1  1  0  0  0]
[ 0  0  1  0  0  0 -1  1  0  0]
[ 0  0  0  1  0  0  0 -1  1  0]
[ 0  0  0  0  1  0  0  0 -1  1]

Available as extras, from other distributions

pip install "passagemath-modules[RDF,CDF]"

Linear algebra over fields of real and complex numbers using NumPy

pip install "passagemath-modules[RBF,CBF]"

Linear algebra over fields of real and complex numbers with ball arithmetic using FLINT/arb

pip install "passagemath-modules[GF,GF2,GF2e,GFpn]"

Linear algebra over finite fields (various implementations)

pip install "passagemath-modules[QQbar,NumberField,CyclotomicField]"

Linear algebra over the algebraic numbers or number fields

pip install "passagemath-modules[flint,fpylll,linbox]"

Lattice basis reduction (LLL, BKZ):

$ pipx run --spec "passagemath-modules[flint,fpylll,linbox,test]" ipython

In [1]: from passagemath_modules import *

In [2]: M = matrix(ZZ, [[1,2,3],[31,41,51],[101,201,301]])

In [3]: A = M.LLL(); A
Out[3]:
[ 0  0  0]
[-1  0  1]
[ 1  1  1]
pip install "passagemath-modules[padics]"

Linear algebra over p-adic rings and fields

pip install "passagemath-modules[combinat]"

Modules and algebras with combinatorial bases; algebraic combinatorics

pip install "passagemath-modules[invariant]"

Submodules invariant under group actions

pip install "passagemath-modules[standard]"

All related features as in a standard installation of SageMath

Development

$ git clone --origin passagemath https://github.com/passagemath/passagemath.git
$ cd passagemath
passagemath $ ./bootstrap
passagemath $ python3 -m venv modules-venv
passagemath $ source modules-venv/bin/activate
(modules-venv) passagemath $ pip install -v -e pkgs/sagemath-modules

Metadata

Release files for passagemath-modules 10.8.16rc0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for passagemath-modules 10.8.16rc0
File Actions
passagemath_modules-10.8.16rc0-cp314-cp314t-win_arm64.whl CPython 3.14 CPython 3.14 free-threading Windows ARM64 Details for passagemath_modules-10.8.16rc0-cp314-cp314t-win_arm64.whl
passagemath_modules-10.8.16rc0-cp314-cp314t-win_amd64.whl CPython 3.14 CPython 3.14 free-threading Windows x86-64 Details for passagemath_modules-10.8.16rc0-cp314-cp314t-win_amd64.whl
passagemath_modules-10.8.16rc0-cp314-cp314-win_arm64.whl CPython 3.14 CPython 3.14 Windows ARM64 Details for passagemath_modules-10.8.16rc0-cp314-cp314-win_arm64.whl
passagemath_modules-10.8.16rc0-cp314-cp314-win_amd64.whl CPython 3.14 CPython 3.14 Windows x86-64 Details for passagemath_modules-10.8.16rc0-cp314-cp314-win_amd64.whl
passagemath_modules-10.8.16rc0-cp313-cp313-win_arm64.whl CPython 3.13 CPython 3.13 Windows ARM64 Details for passagemath_modules-10.8.16rc0-cp313-cp313-win_arm64.whl
passagemath_modules-10.8.16rc0-cp313-cp313-win_amd64.whl CPython 3.13 CPython 3.13 Windows x86-64 Details for passagemath_modules-10.8.16rc0-cp313-cp313-win_amd64.whl
passagemath_modules-10.8.16rc0-cp312-cp312-win_arm64.whl CPython 3.12 CPython 3.12 Windows ARM64 Details for passagemath_modules-10.8.16rc0-cp312-cp312-win_arm64.whl
passagemath_modules-10.8.16rc0-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details for passagemath_modules-10.8.16rc0-cp312-cp312-win_amd64.whl
passagemath_modules-10.8.16rc0-cp311-cp311-win_arm64.whl CPython 3.11 CPython 3.11 Windows ARM64 Details for passagemath_modules-10.8.16rc0-cp311-cp311-win_arm64.whl
passagemath_modules-10.8.16rc0-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details for passagemath_modules-10.8.16rc0-cp311-cp311-win_amd64.whl

Total release size: 188.0 MB

Release files / passagemath_modules-10.8.16rc0-cp314-cp314t-win_arm64.whl

Download URL passagemath_modules-10.8.16rc0-cp314-cp314t-win_arm64.whl
Size 18.1 MB
Tags CPython 3.14 CPython 3.14 free-threading Windows ARM64
SHA-256 checksum
How to use checksums
6bb09360807a2b8d90fbf3dfa1a22412e8f2b6de8ffe6c2d2b63d422d889dfc8
BLAKE2b-256 checksum
How to use checksums
f0b1a86b8401720c8f98c5bdb609f9205fab9117fb20e32f0034954257211e83
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / passagemath_modules-10.8.16rc0-cp314-cp314t-win_amd64.whl

Download URL passagemath_modules-10.8.16rc0-cp314-cp314t-win_amd64.whl
Size 21.9 MB
Tags CPython 3.14 CPython 3.14 free-threading Windows x86-64
SHA-256 checksum
How to use checksums
09bb46cd56ee842b65bdbff46ed3d33e80de22911c38aea727c8f81155fe163a
BLAKE2b-256 checksum
How to use checksums
1d117a34fdc9bdefc3a10806bdbb378c5260e9b92f4e83d627e50f9b9773fbb2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / passagemath_modules-10.8.16rc0-cp314-cp314-win_arm64.whl

Download URL passagemath_modules-10.8.16rc0-cp314-cp314-win_arm64.whl
Size 17.4 MB
Tags CPython 3.14 Windows ARM64
SHA-256 checksum
How to use checksums
96ad67ca08dd3793aa77b433893703bc405667d53b73566c8ecb1b184c144b7c
BLAKE2b-256 checksum
How to use checksums
2adea513321cc462d1f6592989558d1269904e9004e34695e87796812ded049d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / passagemath_modules-10.8.16rc0-cp314-cp314-win_amd64.whl

Download URL passagemath_modules-10.8.16rc0-cp314-cp314-win_amd64.whl
Size 20.1 MB
Tags CPython 3.14 Windows x86-64
SHA-256 checksum
How to use checksums
0b22fd453699330017debcb8f19d18d7633f81fbdef9efaabc3d4e349584ccbe
BLAKE2b-256 checksum
How to use checksums
73190c5e8d7e5f12e86b4562562fe600810cf4c12ca841060e79b41f2edb66e0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / passagemath_modules-10.8.16rc0-cp313-cp313-win_arm64.whl

Download URL passagemath_modules-10.8.16rc0-cp313-cp313-win_arm64.whl
Size 17.0 MB
Tags CPython 3.13 Windows ARM64
SHA-256 checksum
How to use checksums
ce7f19d07a37241858d4bc7fe06cdbd350c814f1668b658bc406575ea98224cf
BLAKE2b-256 checksum
How to use checksums
4cb926a8712b5dc7e68d31722857fe5f86384391dfec7215604e00fcf46a9d18
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / passagemath_modules-10.8.16rc0-cp313-cp313-win_amd64.whl

Download URL passagemath_modules-10.8.16rc0-cp313-cp313-win_amd64.whl
Size 19.7 MB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
09b8c4b9df94ede5a17f4c1dd583fe8c58542e780e937dd41e0492f0b1e12fa1
BLAKE2b-256 checksum
How to use checksums
652e48268b69041d0754e3c37eb18c785508573bbdae27894da6ef067bbf5d9e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / passagemath_modules-10.8.16rc0-cp312-cp312-win_arm64.whl

Download URL passagemath_modules-10.8.16rc0-cp312-cp312-win_arm64.whl
Size 17.1 MB
Tags CPython 3.12 Windows ARM64
SHA-256 checksum
How to use checksums
a3e98fd2c9acdf47652b9408a093040c955c981a0789f6c437f43acd612a8627
BLAKE2b-256 checksum
How to use checksums
4e00350cce3882e954c5f45ffdb48a37962081fecf4b2c2829f3144f196e4b70
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / passagemath_modules-10.8.16rc0-cp312-cp312-win_amd64.whl

Download URL passagemath_modules-10.8.16rc0-cp312-cp312-win_amd64.whl
Size 19.7 MB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
4b31323dcbd5cdf06db03404617d7bf387b5c55692db7b90b9a69ca0c8bf5b4c
BLAKE2b-256 checksum
How to use checksums
cf8b3082e2ce330d2b9359e1f88800c613ae354a98d3ca472a235380d3b01efd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / passagemath_modules-10.8.16rc0-cp311-cp311-win_arm64.whl

Download URL passagemath_modules-10.8.16rc0-cp311-cp311-win_arm64.whl
Size 17.2 MB
Tags CPython 3.11 Windows ARM64
SHA-256 checksum
How to use checksums
691ef6b9a99deea3176cc92634147075644cca8911b82b2c797f38bd52ef00ec
BLAKE2b-256 checksum
How to use checksums
785c4735171465f16669944bdf4efccbcc3d751f4e155f7b0b7b1dfe559e60e2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / passagemath_modules-10.8.16rc0-cp311-cp311-win_amd64.whl

Download URL passagemath_modules-10.8.16rc0-cp311-cp311-win_amd64.whl
Size 19.9 MB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
b8a22f1dd055acc084bc3039838d06140e9f5fe91ba95f91980eaf274b5d0b83
BLAKE2b-256 checksum
How to use checksums
a6ce7d507c6d0072a90dbc9838c30e01736d457bd8bb3201aeece8e5aa7d0f73
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Security for passagemath-modules 10.8.16rc0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page