Skip to main content

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

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-2025 under the motto “Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, and MATLAB”.

The passagemath fork was created in October 2024 with the following goals:

Full documentation is available online.

passagemath attempts to support all major Linux distributions and recent versions of macOS. Use on Windows currently requires the use of Windows Subsystem for Linux or virtualization.

Complete sets of binary wheels are provided on PyPI for Python versions 3.9.x-3.12.x. Python 3.13.x is also supported, but some third-party packages are still missing wheels, so compilation from source is triggered for those.

About this pip-installable distribution package

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

What is included

Examples

A quick way to try it out interactively:

$ pipx run --pip-args="--prefer-binary" --spec "passagemath-modules[test]" ipython

In [1]: from sage.all__sagemath_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 "sagemath-modules[RDF,CDF]"

Linear algebra over fields of real and complex numbers using NumPy

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

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

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

Linear algebra over finite fields (various implementations)

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

Linear algebra over the algebraic numbers or number fields

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

Lattice basis reduction (LLL, BKZ):

$ pipx run --pip-args="--prefer-binary" --spec "passagemath-modules[flint,fpylll,linbox,test]" ipython

In [1]: from sage.all__sagemath_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 “sagemath-modules[padics]”

Linear algebra over p-adic rings and fields

pip install “sagemath-modules[combinat]”

Modules and algebras with combinatorial bases; algebraic combinatorics

pip install “sagemath-modules[invariant]”

Submodules invariant under group actions

pip install “sagemath-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

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_modules-10.5.29.tar.gz (3.2 MB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

passagemath_modules-10.5.29-cp313-cp313-manylinux_2_28_x86_64.whl (72.9 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ x86-64

passagemath_modules-10.5.29-cp313-cp313-macosx_14_0_arm64.whl (21.2 MB view details)

Uploaded CPython 3.13macOS 14.0+ ARM64

passagemath_modules-10.5.29-cp313-cp313-macosx_13_0_x86_64.whl (21.8 MB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64

passagemath_modules-10.5.29-cp312-cp312-manylinux_2_28_x86_64.whl (73.3 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ x86-64

passagemath_modules-10.5.29-cp312-cp312-macosx_14_0_arm64.whl (21.3 MB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

passagemath_modules-10.5.29-cp312-cp312-macosx_13_0_x86_64.whl (21.9 MB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64

passagemath_modules-10.5.29-cp311-cp311-manylinux_2_28_x86_64.whl (73.2 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ x86-64

passagemath_modules-10.5.29-cp311-cp311-macosx_14_0_arm64.whl (21.3 MB view details)

Uploaded CPython 3.11macOS 14.0+ ARM64

passagemath_modules-10.5.29-cp311-cp311-macosx_13_0_x86_64.whl (21.9 MB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

passagemath_modules-10.5.29-cp310-cp310-manylinux_2_28_x86_64.whl (68.8 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ x86-64

passagemath_modules-10.5.29-cp310-cp310-macosx_14_0_arm64.whl (21.3 MB view details)

Uploaded CPython 3.10macOS 14.0+ ARM64

passagemath_modules-10.5.29-cp310-cp310-macosx_13_0_x86_64.whl (21.9 MB view details)

Uploaded CPython 3.10macOS 13.0+ x86-64

passagemath_modules-10.5.29-cp39-cp39-manylinux_2_28_x86_64.whl (68.9 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.28+ x86-64

passagemath_modules-10.5.29-cp39-cp39-macosx_14_0_arm64.whl (21.4 MB view details)

Uploaded CPython 3.9macOS 14.0+ ARM64

passagemath_modules-10.5.29-cp39-cp39-macosx_13_0_x86_64.whl (21.9 MB view details)

Uploaded CPython 3.9macOS 13.0+ x86-64

File details

Details for the file passagemath_modules-10.5.29.tar.gz.

File metadata

  • Download URL: passagemath_modules-10.5.29.tar.gz
  • Upload date:
  • Size: 3.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for passagemath_modules-10.5.29.tar.gz
Algorithm Hash digest
SHA256 13883b037c586645dc81eb99217a4dc27b64bf5403e2711171b6436a2bd7a945
MD5 c0dafa7183fbc8ffa51c6b57b43143f3
BLAKE2b-256 d5282dfda3884c9c93a228402adfcbf620c5c80c10b2fbddf99a4686949be31d

See more details on using hashes here.

File details

Details for the file passagemath_modules-10.5.29-cp313-cp313-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_modules-10.5.29-cp313-cp313-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 814e1f18e15278dec49c9e3c9d10f0817fc92df1170358ae7ca5d1b4fa2f164a
MD5 91402e3f187d0d0580323ef79dcedfdf
BLAKE2b-256 91f9ded3fcae50df5b7b50b4a301b9c11c40b5e3a00d39ea6877295d79266ba1

See more details on using hashes here.

File details

Details for the file passagemath_modules-10.5.29-cp313-cp313-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_modules-10.5.29-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 1f056fa6675c5c66bdbf33ac68e4c6c0a15c7d79d9fe648a82297ca91aefccf3
MD5 97868915a3f055eac34206655feeb63d
BLAKE2b-256 e86bac693b2534b688d60d1a06c3e869125e2ea98a93dd3059d6e267c4c39d68

See more details on using hashes here.

File details

Details for the file passagemath_modules-10.5.29-cp313-cp313-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_modules-10.5.29-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 ec2ffdc84c1dd88d4a3183aa9f74c134c9490c5c12045d5aada60e907bc22abf
MD5 867f4960ac1caf22f93ba64338a8cd19
BLAKE2b-256 9678ff9e4395d8768c744416c1b425acfec6cb9754ea29a5b129f9ca5c6d921b

See more details on using hashes here.

File details

Details for the file passagemath_modules-10.5.29-cp312-cp312-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_modules-10.5.29-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 d7b9c47df2e3c2d4f32aaf2e6e717402d1cebff66f7bd1c8d452575316dac10c
MD5 7cdfc11d318dd5b603905d1b58515f53
BLAKE2b-256 988d2ae6709119e23a974c928e138d73c3345d8543b4bd18d43f83a3a4aa8452

See more details on using hashes here.

File details

Details for the file passagemath_modules-10.5.29-cp312-cp312-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_modules-10.5.29-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 179ab0b7ea35ed0cba4f0d19c93d429099f21ae4ffaba9ae256c280f8221f1b4
MD5 05f737c09faf904b6e6000458badce1f
BLAKE2b-256 f4bee900c0cec7ac5062d61589be1066f0f168aca1817dca03e5b3bb089439aa

See more details on using hashes here.

File details

Details for the file passagemath_modules-10.5.29-cp312-cp312-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_modules-10.5.29-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 3e483d42f902514c515fd6bd53339bb8ef88bff94832113975644cfff2031004
MD5 437b36848f8b4f4545df1c5283cc7c09
BLAKE2b-256 ac701c4c1d447320d44d183cc5d5f46a09520dd07009154664dccc942f4e4e59

See more details on using hashes here.

File details

Details for the file passagemath_modules-10.5.29-cp311-cp311-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_modules-10.5.29-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 c02956f8de8f1571a3235bc3c86fa5fb423ea2c8ac394a3d39dcc3e34028945b
MD5 99d5e96f6b5257ccfec394145de1aeaa
BLAKE2b-256 dd08a4e9406bfe3278bb41a2d0f0a314ed44db7f5467821c7956d63f67333db0

See more details on using hashes here.

File details

Details for the file passagemath_modules-10.5.29-cp311-cp311-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_modules-10.5.29-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 2b29d12fc0de31ac5b5b2ebae30f95ede80f511a6aec2f7407a0ce177bfe8d34
MD5 14d5d019bef58b2c7217cc26256fa5c6
BLAKE2b-256 67bd724fc3321647e56917e4032f95d34e2f70d6d7a8baeb2440f0dd40fdc6dc

See more details on using hashes here.

File details

Details for the file passagemath_modules-10.5.29-cp311-cp311-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_modules-10.5.29-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 2fb50fa9c3ca49d0c41d3c6d1389bfaed4d122847ad0d15f58687fc45194fb2d
MD5 3fe91d75a3ad99c0e6012d06d9af1ef7
BLAKE2b-256 4e9adb3b804d95501b2e491c54b9e859a9ca23be2be8cba5b9ca5ae89949704c

See more details on using hashes here.

File details

Details for the file passagemath_modules-10.5.29-cp310-cp310-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_modules-10.5.29-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 73278ddaac42366bc3679086eac79c3d43d7704e107bcda0e8a42aa9f863a720
MD5 e721ff1328ab08ebab66813eb4374dac
BLAKE2b-256 b240a5d8af4c30d5ce459e9182f5416db9a428be141216e5b20dd234a970f285

See more details on using hashes here.

File details

Details for the file passagemath_modules-10.5.29-cp310-cp310-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_modules-10.5.29-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 7d9481a15d1dd81bdc222c6ea153b696f9e08f33f86382647f45e7ace5e4730c
MD5 07fbda925b3f1921082326631d49c62a
BLAKE2b-256 5e03f435c73ad516a633847c4eb29b1af811e9c1b61e014ec9f62686aeeff05e

See more details on using hashes here.

File details

Details for the file passagemath_modules-10.5.29-cp310-cp310-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_modules-10.5.29-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 54cd738d926c6b50640743cf23c80a266e5a35b9bd4ffd0546370062b368815b
MD5 36666ab2c976b1bc5bb29a29e2f4b1d2
BLAKE2b-256 22766369c0d8604acc32765143f92b00501a483a29d6e187b0d5ebdd38027330

See more details on using hashes here.

File details

Details for the file passagemath_modules-10.5.29-cp39-cp39-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_modules-10.5.29-cp39-cp39-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 50769d34207a1d9c817a3fff23ec8c355743d4be8630bdb451ff0d75d2e2b9ec
MD5 31aa6464eb5b14bd6ee32a3eb582b9f5
BLAKE2b-256 18e60b3fc3a635d75e1f3b99709769a9f561c0564feb97b5afa975f600aa68df

See more details on using hashes here.

File details

Details for the file passagemath_modules-10.5.29-cp39-cp39-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_modules-10.5.29-cp39-cp39-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 952c4ffd3756553ac8ce5bc50259df68f8cde94bc13e33c05a695dbb2e02b8e5
MD5 16b09c94610d3124aa891272a3dce7ad
BLAKE2b-256 60246429b432e3359631731edbff9447f61566e0b61717f268fd961ace9cf91c

See more details on using hashes here.

File details

Details for the file passagemath_modules-10.5.29-cp39-cp39-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_modules-10.5.29-cp39-cp39-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 c807012d24f2238bb4cf77827a43dc72f013d9b69e710c2bc6a15d1491f7f3cb
MD5 e018cc550a89c62873b58d8f69785832
BLAKE2b-256 30bcaa57cea25325b77112f470f743e282491958b9cd7e657c4ed109e00f1505

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