Skip to main content

passagemath: Symbolic computation with GIAC

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 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:

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) 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.6.x series are 3.10.x-3.13.x.

About this pip-installable distribution package

Giac/Xcas is a general purpose Computer algebra system by Bernard Parisse released under GPLv3. It has been developed since 2000 and is widely used: Giac/Xcas is the native CAS engine of the HP Prime calculators; the C++ kernel of the system, Giac, provides the CAS view of Geogebra.

This pip-installable source distribution passagemath-giac makes Giac available from Python and provides integration with the Sage Mathematical Software System.

What is included

Examples

A quick way to try it out interactively:

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

In [1]: from sage.all__sagemath_giac import *

In [2]: x = libgiac('x')

In [3]: V = [[x[i]**j for i in range(8)] for j in range(8)]

In [4]: libgiac(V).dim()
Out[4]: [8,8]

In [5]: libgiac.det_minor(V).factor()
Out[5]: (x[6]-(x[7]))*(x[5]-(x[7]))*(x[5]-(x[6]))*(x[4]-(x[7]))*(x[4]-(x[6]))*(x[4]-(x[5]))*(x[3]-(x[7]))*(x[3]-(x[6]))*(x[3]-(x[5]))*(x[3]-(x[4]))*(x[2]-(x[7]))*(x[2]-(x[6]))*(x[2]-(x[5]))*(x[2]-(x[4]))*(x[2]-(x[3]))*(x[1]-(x[7]))*(x[1]-(x[6]))*(x[1]-(x[5]))*(x[1]-(x[4]))*(x[1]-(x[3]))*(x[1]-(x[2]))*(x[0]-(x[7]))*(x[0]-(x[6]))*(x[0]-(x[5]))*(x[0]-(x[4]))*(x[0]-(x[3]))*(x[0]-(x[2]))*(x[0]-(x[1]))

In [6]: (x+5)**(1/3)        # note here 1/3 is done in Python before being sent to Giac
Out[6]: (x+5)^0.333333333333

In [7]: (x+5)**QQ('1/3')    # using Sage rationals
Out[7]: (x+5)^(1/3)

In [8]: from fractions import Fraction  # using Python rationals

In [9]: (x+5)**Fraction(1,3)
Out[9]: (x+5)^(1/3)

The last example again, using the Sage REPL:

$ pipx run --pip-args="--prefer-binary" --spec "passagemath-giac[test]" sage
Warning: sage.all is not available; this is a limited REPL.

sage: from sage.all__sagemath_giac import *

sage: x = libgiac('x')

sage: (x+5)^(1/3)           # the Sage preparser translates this to (x+5)**QQ('1/3')
(x+5)^(1/3)

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_giac-10.6.28.tar.gz (183.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_giac-10.6.28-cp313-cp313-musllinux_1_2_x86_64.whl (103.1 MB view details)

Uploaded CPython 3.13musllinux: musl 1.2+ x86-64

passagemath_giac-10.6.28-cp313-cp313-musllinux_1_2_aarch64.whl (92.9 MB view details)

Uploaded CPython 3.13musllinux: musl 1.2+ ARM64

passagemath_giac-10.6.28-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (102.3 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

passagemath_giac-10.6.28-cp313-cp313-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl (92.5 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.27+ ARM64manylinux: glibc 2.28+ ARM64

passagemath_giac-10.6.28-cp313-cp313-macosx_14_0_arm64.whl (27.7 MB view details)

Uploaded CPython 3.13macOS 14.0+ ARM64

passagemath_giac-10.6.28-cp313-cp313-macosx_13_0_x86_64.whl (33.0 MB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64

passagemath_giac-10.6.28-cp312-cp312-musllinux_1_2_x86_64.whl (103.1 MB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ x86-64

passagemath_giac-10.6.28-cp312-cp312-musllinux_1_2_aarch64.whl (92.9 MB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ ARM64

passagemath_giac-10.6.28-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (102.3 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

passagemath_giac-10.6.28-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl (92.5 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.27+ ARM64manylinux: glibc 2.28+ ARM64

passagemath_giac-10.6.28-cp312-cp312-macosx_14_0_arm64.whl (27.7 MB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

passagemath_giac-10.6.28-cp312-cp312-macosx_13_0_x86_64.whl (33.0 MB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64

passagemath_giac-10.6.28-cp311-cp311-musllinux_1_2_x86_64.whl (103.6 MB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ x86-64

passagemath_giac-10.6.28-cp311-cp311-musllinux_1_2_aarch64.whl (93.3 MB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

passagemath_giac-10.6.28-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (102.7 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

passagemath_giac-10.6.28-cp311-cp311-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl (93.0 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.27+ ARM64manylinux: glibc 2.28+ ARM64

passagemath_giac-10.6.28-cp311-cp311-macosx_14_0_arm64.whl (27.8 MB view details)

Uploaded CPython 3.11macOS 14.0+ ARM64

passagemath_giac-10.6.28-cp311-cp311-macosx_13_0_x86_64.whl (33.1 MB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

passagemath_giac-10.6.28-cp310-cp310-musllinux_1_2_x86_64.whl (103.3 MB view details)

Uploaded CPython 3.10musllinux: musl 1.2+ x86-64

passagemath_giac-10.6.28-cp310-cp310-musllinux_1_2_aarch64.whl (93.0 MB view details)

Uploaded CPython 3.10musllinux: musl 1.2+ ARM64

passagemath_giac-10.6.28-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (102.5 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

passagemath_giac-10.6.28-cp310-cp310-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl (92.7 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.27+ ARM64manylinux: glibc 2.28+ ARM64

passagemath_giac-10.6.28-cp310-cp310-macosx_14_0_arm64.whl (27.8 MB view details)

Uploaded CPython 3.10macOS 14.0+ ARM64

passagemath_giac-10.6.28-cp310-cp310-macosx_13_0_x86_64.whl (33.1 MB view details)

Uploaded CPython 3.10macOS 13.0+ x86-64

File details

Details for the file passagemath_giac-10.6.28.tar.gz.

File metadata

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

File hashes

Hashes for passagemath_giac-10.6.28.tar.gz
Algorithm Hash digest
SHA256 b8e8e0dfbcbff8417a8e646be23c866d65ba2d54887a7f31cb32d962ae7dcd40
MD5 7a74cf9ff23a18ed9c6f26f80084e274
BLAKE2b-256 c0c9737b51715f87ffda73c3e433e6dacf1931f33b2265d146db57264a1e83a3

See more details on using hashes here.

File details

Details for the file passagemath_giac-10.6.28-cp313-cp313-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_giac-10.6.28-cp313-cp313-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 7d33db946eaaca17b29a0af80c2b4f33690f2ca4a9d583e53c5ed163c12ec0fd
MD5 6e4e222755830c0d798786d74280aa9b
BLAKE2b-256 f5a709310f90ec00a3dbff977a6db4d45f7d6b4dedd95a8ae9f92f1a2612271a

See more details on using hashes here.

File details

Details for the file passagemath_giac-10.6.28-cp313-cp313-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_giac-10.6.28-cp313-cp313-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 742f095c27a7406750a942d17554390f90c11f7474bd2e23688e5282411afd7c
MD5 e3f75c1ba96a67d2f9011397c4d1f5e3
BLAKE2b-256 8558f236705e6cd80e9304a5ec2e574de2dc87743f1e9fcec95aadb694f4305b

See more details on using hashes here.

File details

Details for the file passagemath_giac-10.6.28-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_giac-10.6.28-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 e5acac9d9769b397bea2aa8939bd3463436c247712ecc7c24aee82f824992617
MD5 3130d0203c2914772eba0d0c808abb2d
BLAKE2b-256 b5735c34ea2b22ca9374411c07df4338b4f7b274f20d163bdcfdd2a937fa952b

See more details on using hashes here.

File details

Details for the file passagemath_giac-10.6.28-cp313-cp313-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_giac-10.6.28-cp313-cp313-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 88f07f6af5a46faf4726fa546c67d0121ba52710b52657ce52b79978a6c755ca
MD5 0fc03050c2ebd21d6c962fe51eb3ef51
BLAKE2b-256 bce11a97286ec02f2a2efd8a5dd5d2054efdb832fbbaf20921ebfa6f6dc90a8e

See more details on using hashes here.

File details

Details for the file passagemath_giac-10.6.28-cp313-cp313-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_giac-10.6.28-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 d77fff9a0e43160f66eb683aa8e31d55c1db6c2d6590e365a8a53397cb63088a
MD5 07ef1f3d74aef0365558d0def35e72b6
BLAKE2b-256 71548be5cc530228d9e5c8bfc2ca333fa2045f4a47d52f010372b2157fc7b79a

See more details on using hashes here.

File details

Details for the file passagemath_giac-10.6.28-cp313-cp313-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_giac-10.6.28-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 dccf973e2dc792485d2563c003e9c6470abd6108605a5e49c546730d7ba10141
MD5 fc6c3e5452a1b12b538394fccdcd6dce
BLAKE2b-256 62ce5a3386ff8358385e94914f556c7b5863e1db85c44ca872dd017f6861281a

See more details on using hashes here.

File details

Details for the file passagemath_giac-10.6.28-cp312-cp312-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_giac-10.6.28-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 ffa10fdbd68eb9395dfd07725082be8635c0d9c4724ff24465b73b2a0362ed36
MD5 fe17b77db6af68500af870cfa5026139
BLAKE2b-256 02bc1c45b0dc4ecce67c616a3d4335ea1ce6f3e1b4194588fc56b250a1b4cfdb

See more details on using hashes here.

File details

Details for the file passagemath_giac-10.6.28-cp312-cp312-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_giac-10.6.28-cp312-cp312-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 83458405b4c9840856fe40c5adfe1957c408102d57bc15fca05aa2cf9f5ce571
MD5 83afeae9cd2a2da1a21f4edc827cf5d0
BLAKE2b-256 da9ab2781e45fce6e01d173fa2bb5401a823602cb2944b2612ff94d894211ffe

See more details on using hashes here.

File details

Details for the file passagemath_giac-10.6.28-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_giac-10.6.28-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 69ab844b69c92c4c7959bcbb96ecd184d12b3503508c73fbcf5a5186d3b1f102
MD5 76bea31b1ac037b56531310cd26b7c43
BLAKE2b-256 a9cc9cfc7d24fbd41ca1ada686ecd4741dbc426c571389cbab221c2412327f27

See more details on using hashes here.

File details

Details for the file passagemath_giac-10.6.28-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_giac-10.6.28-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 951d628f5623d9f19407af02697b7d31f1ff81d4f000c3bcdc8abfcc1f13a528
MD5 a8a5006f7fcc17da749ef354c7678e60
BLAKE2b-256 61574b92db3fbaca378a9fc326b1eef6398c35ae8ae276a3e07700cb639d8053

See more details on using hashes here.

File details

Details for the file passagemath_giac-10.6.28-cp312-cp312-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_giac-10.6.28-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 c2ef6653530046676177f70349d839084290910594f878e943ef9db48252e685
MD5 462b42f9b8f69220f0ff9291cf1c435e
BLAKE2b-256 429493bbf90eb1af6f4deb5094fe3da47568875a998f7e8c09ea2bb6893ed803

See more details on using hashes here.

File details

Details for the file passagemath_giac-10.6.28-cp312-cp312-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_giac-10.6.28-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 af97f8a709267e9b65a2a5c4bf6af9f57e001a0f916c9044534620ace89798b9
MD5 034c4f894c39d61898bfb97c98a2fbee
BLAKE2b-256 9140be609c5b6365e411b2dd853f53dc5906ec6f84d469f26c1d880bb3aa069d

See more details on using hashes here.

File details

Details for the file passagemath_giac-10.6.28-cp311-cp311-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_giac-10.6.28-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 b909bc570cd5c48b5f498289dc7a80c33dd6f7dc953298783dae7a5980ded131
MD5 bb31d1c9f9cf630880c3aa908753b8d3
BLAKE2b-256 4afaf640e8641b385afe6a1192dd0c8a99f6e7fde16059f86a01e0cac138a82f

See more details on using hashes here.

File details

Details for the file passagemath_giac-10.6.28-cp311-cp311-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_giac-10.6.28-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 02572e36438db7805db4d28bb4203219b7245eab3d960cc9427454df6102a181
MD5 5d58e08c39aa94ab02c482858d5c6502
BLAKE2b-256 9c878c7e7b15e9f9153a35b3df76ee36bbd09d38ed627f31df88e95c23306966

See more details on using hashes here.

File details

Details for the file passagemath_giac-10.6.28-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_giac-10.6.28-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 92eade52b3e705459da6e8406000e7766ad05022615917d3fc178a351fe0f690
MD5 d33bcd5b6af4490ada6c895b6f95e69c
BLAKE2b-256 a924392e63267c861443afc9f13bb0908f4417915f9ac2c9b25f7a079055542e

See more details on using hashes here.

File details

Details for the file passagemath_giac-10.6.28-cp311-cp311-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_giac-10.6.28-cp311-cp311-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 360f6a69421cc538ef67a808ca2b5997aaa69bd4b91354b02eab7f18ab1283a8
MD5 7968290544c83bae070e658421092040
BLAKE2b-256 434db1fb3e1db24ab7bd6f7b6cc4cc6825d983037a4904ef3be36e32d35b4f9b

See more details on using hashes here.

File details

Details for the file passagemath_giac-10.6.28-cp311-cp311-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_giac-10.6.28-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 404e11364c2f58b895397b4c10573f4a510bee79f66e9159f8e9f5d7d1ec6a58
MD5 7824868c3016c6f82a22ea74fe697b4e
BLAKE2b-256 411222423c3b9007c75e23b5e645fde2caf6f2b9f21aef37f695c79d88c66acc

See more details on using hashes here.

File details

Details for the file passagemath_giac-10.6.28-cp311-cp311-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_giac-10.6.28-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 558fb12c40567f77e66d042882fd994267dc6565c81b4156a976e9a1d7d41cd6
MD5 c5c3219a936c88f71251857ba686c6d9
BLAKE2b-256 3e8ddebdced65716b80c5a132df6a07f184ff24553ba104e56ac8b686828db72

See more details on using hashes here.

File details

Details for the file passagemath_giac-10.6.28-cp310-cp310-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_giac-10.6.28-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 81e48e3043f0b2f24b5c7c8e79644765a967da67275114a4b9f2553593c6481a
MD5 f6710ba64f5ff90e4a7ae65beb41b11a
BLAKE2b-256 fc86640485a32086324a30622d446da50e5c019c5ac2297bdfbb945671582053

See more details on using hashes here.

File details

Details for the file passagemath_giac-10.6.28-cp310-cp310-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_giac-10.6.28-cp310-cp310-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 a9b34a53f31f26437922f6f335f7ef47e0e7ca068349bd6ecb6812f34e27657b
MD5 12931adc4c496047bfd22c8479576f20
BLAKE2b-256 c1c59ee1f8e771d639e1575719ef4337409fd0089ac51777b95f4029c8609e64

See more details on using hashes here.

File details

Details for the file passagemath_giac-10.6.28-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_giac-10.6.28-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 98eb017b7fdf438b96b443926c84e23b74c04db7da58a6975d99554e4b345592
MD5 2cab230c049523067c34e695f707f8fa
BLAKE2b-256 cc51d0312c4a4160903bfff43fc349b6fe8099c60ad836a49275d3f61ba03088

See more details on using hashes here.

File details

Details for the file passagemath_giac-10.6.28-cp310-cp310-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for passagemath_giac-10.6.28-cp310-cp310-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 7a5dc9fddc500bcaeaac4587c5ab85ef008469a5e282f68102b971e1ff82810a
MD5 2820f23fc19f801d7fe8c52ed5cde2b0
BLAKE2b-256 f75a57a828bbcdbe58d74cce611077ae7af146a2f8e5abd82fc1707c1df484f2

See more details on using hashes here.

File details

Details for the file passagemath_giac-10.6.28-cp310-cp310-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_giac-10.6.28-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 f97ed0065c9b2560cf0e7f96b2a47c854ea60d4bf0ed874d6fab1f1ecb6c1ae7
MD5 798eac0423f852d837117710aa171c4e
BLAKE2b-256 d6bc8de62474846a26b014ba5a23da54aeda8094284e8aaedd7474cfdbad9254

See more details on using hashes here.

File details

Details for the file passagemath_giac-10.6.28-cp310-cp310-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_giac-10.6.28-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 86f740eb1cae0e836866825487fc57d0815a470320d73edae38ce61bd207cc73
MD5 ca231ed797a5657eff6c509a012ae6e9
BLAKE2b-256 4b5e676d872e477735980f9585b8bb25238cde264bba7a3652d9cec09a68c45c

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