passagemath-giac 10.5.32__cp312-cp312-manylinux_2_28_aarch64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- passagemath_giac-10.5.32.dist-info/METADATA +153 -0
- passagemath_giac-10.5.32.dist-info/RECORD +33 -0
- passagemath_giac-10.5.32.dist-info/WHEEL +5 -0
- passagemath_giac-10.5.32.dist-info/top_level.txt +2 -0
- passagemath_giac.libs/libcliquer-c82a6403.so.1.0.21 +0 -0
- passagemath_giac.libs/libcrypto-3dc39733.so.1.1.1k +0 -0
- passagemath_giac.libs/libcurl-a40f5fa0.so.4.8.0 +0 -0
- passagemath_giac.libs/libgfortran-8a9a71bc.so.5.0.0 +0 -0
- passagemath_giac.libs/libgiac-871a4dec.so.0.0.0 +0 -0
- passagemath_giac.libs/libglpk-d0062a88.so.40.3.1 +0 -0
- passagemath_giac.libs/libgmp-b7bc6ccf.so.10.5.0 +0 -0
- passagemath_giac.libs/libgsl-826def97.so.28.0.0 +0 -0
- passagemath_giac.libs/libgslcblas-fb9a3408.so.0.0.0 +0 -0
- passagemath_giac.libs/libmpfi-df60bb29.so.0.0.0 +0 -0
- passagemath_giac.libs/libmpfr-505667db.so.6.2.1 +0 -0
- passagemath_giac.libs/libncurses-f1161415.so.6.1 +0 -0
- passagemath_giac.libs/libopenblas_neoversen2p-r0-0063d18d.3.28.so +0 -0
- passagemath_giac.libs/libpari-gmp-tls-ac971185.so.2.15.5 +0 -0
- passagemath_giac.libs/libreadline-87a2c7c5.so.7.0 +0 -0
- passagemath_giac.libs/libssl-b6e07dfa.so.1.1.1k +0 -0
- passagemath_giac.libs/libtinfo-3254f169.so.6.1 +0 -0
- sage/all__sagemath_giac.py +10 -0
- sage/interfaces/all__sagemath_giac.py +1 -0
- sage/interfaces/giac.py +1264 -0
- sage/libs/all__sagemath_giac.py +7 -0
- sage/libs/giac/__init__.py +356 -0
- sage/libs/giac/auto-methods.pxi +16982 -0
- sage/libs/giac/giac.cpython-312-aarch64-linux-gnu.so +0 -0
- sage/libs/giac/giac.pxd +205 -0
- sage/libs/giac/giac.pyx +2074 -0
- sage/libs/giac/keywords.pxi +10 -0
- sage/libs/giac/misc.h +117 -0
- sage_wheels/bin/giac +0 -0
@@ -0,0 +1,153 @@
|
|
1
|
+
Metadata-Version: 2.4
|
2
|
+
Name: passagemath-giac
|
3
|
+
Version: 10.5.32
|
4
|
+
Summary: passagemath: Symbolic computation with GIAC
|
5
|
+
Author-email: The Sage Developers <sage-support@googlegroups.com>
|
6
|
+
Maintainer: Matthias Köppe, passagemath contributors
|
7
|
+
License: GNU General Public License (GPL) v2 or later
|
8
|
+
Project-URL: release notes, https://github.com/passagemath/passagemath/releases
|
9
|
+
Project-URL: repo (upstream), https://github.com/sagemath/sage
|
10
|
+
Project-URL: repo, https://github.com/passagemath/passagemath
|
11
|
+
Project-URL: documentation, https://doc.sagemath.org
|
12
|
+
Project-URL: homepage (upstream), https://www.sagemath.org
|
13
|
+
Project-URL: discourse, https://passagemath.discourse.group
|
14
|
+
Project-URL: tracker (upstream), https://github.com/sagemath/sage/issues
|
15
|
+
Project-URL: tracker, https://github.com/passagemath/passagemath/issues
|
16
|
+
Classifier: Development Status :: 6 - Mature
|
17
|
+
Classifier: Intended Audience :: Education
|
18
|
+
Classifier: Intended Audience :: Science/Research
|
19
|
+
Classifier: License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)
|
20
|
+
Classifier: Operating System :: POSIX
|
21
|
+
Classifier: Operating System :: MacOS :: MacOS X
|
22
|
+
Classifier: Programming Language :: Python :: 3 :: Only
|
23
|
+
Classifier: Programming Language :: Python :: 3.9
|
24
|
+
Classifier: Programming Language :: Python :: 3.10
|
25
|
+
Classifier: Programming Language :: Python :: 3.11
|
26
|
+
Classifier: Programming Language :: Python :: 3.12
|
27
|
+
Classifier: Programming Language :: Python :: 3.13
|
28
|
+
Classifier: Programming Language :: Python :: Implementation :: CPython
|
29
|
+
Classifier: Topic :: Scientific/Engineering :: Mathematics
|
30
|
+
Requires-Python: <3.14,>=3.9
|
31
|
+
Description-Content-Type: text/x-rst
|
32
|
+
Requires-Dist: passagemath-categories~=10.5.32.0
|
33
|
+
Provides-Extra: test
|
34
|
+
Requires-Dist: passagemath-repl; extra == "test"
|
35
|
+
Requires-Dist: passagemath-symbolics; extra == "test"
|
36
|
+
|
37
|
+
========================================================================
|
38
|
+
passagemath: Symbolic computation with Giac
|
39
|
+
========================================================================
|
40
|
+
|
41
|
+
`passagemath <https://github.com/passagemath/passagemath>`__ is open
|
42
|
+
source mathematical software in Python, released under the GNU General
|
43
|
+
Public Licence GPLv2+.
|
44
|
+
|
45
|
+
It is a fork of `SageMath <https://www.sagemath.org/>`__, which has been
|
46
|
+
developed 2005-2025 under the motto “Creating a Viable Open Source
|
47
|
+
Alternative to Magma, Maple, Mathematica, and MATLAB”.
|
48
|
+
|
49
|
+
The passagemath fork was created in October 2024 with the following
|
50
|
+
goals:
|
51
|
+
|
52
|
+
- providing modularized installation with pip, thus completing a `major
|
53
|
+
project started in 2020 in the Sage
|
54
|
+
codebase <https://github.com/sagemath/sage/issues/29705>`__,
|
55
|
+
- establishing first-class membership in the scientific Python
|
56
|
+
ecosystem,
|
57
|
+
- giving `clear attribution of upstream
|
58
|
+
projects <https://groups.google.com/g/sage-devel/c/6HO1HEtL1Fs/m/G002rPGpAAAJ>`__,
|
59
|
+
- providing independently usable Python interfaces to upstream
|
60
|
+
libraries,
|
61
|
+
- providing `platform portability and integration testing
|
62
|
+
services <https://github.com/passagemath/passagemath/issues/704>`__
|
63
|
+
to upstream projects,
|
64
|
+
- inviting collaborations with upstream projects,
|
65
|
+
- `building a professional, respectful, inclusive
|
66
|
+
community <https://groups.google.com/g/sage-devel/c/xBzaINHWwUQ>`__,
|
67
|
+
- developing a port to `Pyodide <https://pyodide.org/en/stable/>`__ for
|
68
|
+
serverless deployment with Javascript,
|
69
|
+
- developing a native Windows port.
|
70
|
+
|
71
|
+
`Full documentation <https://doc.sagemath.org/html/en/index.html>`__ is
|
72
|
+
available online.
|
73
|
+
|
74
|
+
passagemath attempts to support all major Linux distributions and recent versions of
|
75
|
+
macOS. Use on Windows currently requires the use of Windows Subsystem for Linux or
|
76
|
+
virtualization.
|
77
|
+
|
78
|
+
Complete sets of binary wheels are provided on PyPI for Python versions 3.9.x-3.12.x.
|
79
|
+
Python 3.13.x is also supported, but some third-party packages are still missing wheels,
|
80
|
+
so compilation from source is triggered for those.
|
81
|
+
|
82
|
+
|
83
|
+
About this pip-installable distribution package
|
84
|
+
-----------------------------------------------
|
85
|
+
|
86
|
+
`Giac/Xcas <https://www-fourier.ujf-grenoble.fr/~parisse/giac.html>`_
|
87
|
+
is a general purpose Computer algebra system by Bernard Parisse released under GPLv3.
|
88
|
+
It has been developed since 2000 and is widely used: Giac/Xcas is the native CAS engine
|
89
|
+
of the HP Prime calculators; the C++ kernel of the system, Giac, provides the CAS view
|
90
|
+
of `Geogebra <https://www.geogebra.org/>`_.
|
91
|
+
|
92
|
+
This pip-installable source distribution ``passagemath-giac`` makes Giac available
|
93
|
+
from Python and provides integration with the Sage Mathematical Software System.
|
94
|
+
|
95
|
+
|
96
|
+
What is included
|
97
|
+
----------------
|
98
|
+
|
99
|
+
- `Cython interface to GIAC <https://doc.sagemath.org/html/en/reference/libs/sage/libs/giac.html>`_
|
100
|
+
|
101
|
+
The Cython interface is by Frederic Han and was previously available under the name
|
102
|
+
`giacpy-sage <https://gitlab.math.univ-paris-diderot.fr/han/giacpy-sage/>`_.
|
103
|
+
It was `merged into the Sage library <https://github.com/sagemath/sage/issues/29171>`_
|
104
|
+
in 2020.
|
105
|
+
|
106
|
+
- `Pexpect interface to GIAC <https://doc.sagemath.org/html/en/reference/interfaces/sage/interfaces/giac.html>`_
|
107
|
+
|
108
|
+
- see https://github.com/passagemath/passagemath/blob/main/pkgs/sagemath-giac/MANIFEST.in
|
109
|
+
|
110
|
+
- The binary wheels on PyPI ship a prebuilt copy of the Giac library.
|
111
|
+
|
112
|
+
|
113
|
+
Examples
|
114
|
+
--------
|
115
|
+
|
116
|
+
A quick way to try it out interactively::
|
117
|
+
|
118
|
+
$ pipx run --pip-args="--prefer-binary" --spec "passagemath-giac[test]" ipython
|
119
|
+
|
120
|
+
In [1]: from sage.all__sagemath_giac import *
|
121
|
+
|
122
|
+
In [2]: x = libgiac('x')
|
123
|
+
|
124
|
+
In [3]: V = [[x[i]**j for i in range(8)] for j in range(8)]
|
125
|
+
|
126
|
+
In [4]: libgiac(V).dim()
|
127
|
+
Out[4]: [8,8]
|
128
|
+
|
129
|
+
In [5]: libgiac.det_minor(V).factor()
|
130
|
+
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]))
|
131
|
+
|
132
|
+
In [6]: (x+5)**(1/3) # note here 1/3 is done in Python before being sent to Giac
|
133
|
+
Out[6]: (x+5)^0.333333333333
|
134
|
+
|
135
|
+
In [7]: (x+5)**QQ('1/3') # using Sage rationals
|
136
|
+
Out[7]: (x+5)^(1/3)
|
137
|
+
|
138
|
+
In [8]: from fractions import Fraction # using Python rationals
|
139
|
+
|
140
|
+
In [9]: (x+5)**Fraction(1,3)
|
141
|
+
Out[9]: (x+5)^(1/3)
|
142
|
+
|
143
|
+
The last example again, using the Sage REPL::
|
144
|
+
|
145
|
+
$ pipx run --pip-args="--prefer-binary" --spec "passagemath-giac[test]" sage
|
146
|
+
Warning: sage.all is not available; this is a limited REPL.
|
147
|
+
|
148
|
+
sage: from sage.all__sagemath_giac import *
|
149
|
+
|
150
|
+
sage: x = libgiac('x')
|
151
|
+
|
152
|
+
sage: (x+5)^(1/3) # the Sage preparser translates this to (x+5)**QQ('1/3')
|
153
|
+
(x+5)^(1/3)
|
@@ -0,0 +1,33 @@
|
|
1
|
+
passagemath_giac.libs/libcliquer-c82a6403.so.1.0.21,sha256=o0dxlHbvzahKj1xOK5fo3Hjfhx5m1HjkCmYLuD9_XPg,460417
|
2
|
+
passagemath_giac.libs/libcrypto-3dc39733.so.1.1.1k,sha256=_iompPH3TAPEsA4B85pYGztLxEt3RLDKE13q56BlyyM,2945609
|
3
|
+
passagemath_giac.libs/libcurl-a40f5fa0.so.4.8.0,sha256=ZLTLZoxOz-nb8ncBlxrOBBAvseLESWl8m_BVoS1nFtE,4397273
|
4
|
+
passagemath_giac.libs/libgfortran-8a9a71bc.so.5.0.0,sha256=atxs0oHDWcJ-ksauJ9hkc4MhFQcgOo5GCW3DTFFCM7U,1484433
|
5
|
+
passagemath_giac.libs/libgiac-871a4dec.so.0.0.0,sha256=vKg16tl47NuOYOCM5alMc3c5XpmuCV8m2UOG_2j1rpw,245653361
|
6
|
+
passagemath_giac.libs/libglpk-d0062a88.so.40.3.1,sha256=Q9NUX1pn3DIVDgInHDbhV0mmxnordFa2W6DnxzmmmY0,4395417
|
7
|
+
passagemath_giac.libs/libgmp-b7bc6ccf.so.10.5.0,sha256=wWj9DTad9TDc7qK_-TCSchoWOhjzylvaWDAA_hwYDbA,666681
|
8
|
+
passagemath_giac.libs/libgsl-826def97.so.28.0.0,sha256=xGpDbGE6dewiAtYqKg67QitZUGYnWD6jsJWBIkb27do,3879217
|
9
|
+
passagemath_giac.libs/libgslcblas-fb9a3408.so.0.0.0,sha256=d_86HFaJhnOCLJWeaCnHiB63WFAWdpgopX8yNpagrRA,526337
|
10
|
+
passagemath_giac.libs/libmpfi-df60bb29.so.0.0.0,sha256=5lf6WV6ZqlAZsZWDmQKSPNG504Wx-k1h5sFaXUDdSvg,790705
|
11
|
+
passagemath_giac.libs/libmpfr-505667db.so.6.2.1,sha256=xjSMEZDZJCYjN1zImNc9d3p4w2APWjTqI1xY8Fwi3ko,930241
|
12
|
+
passagemath_giac.libs/libncurses-f1161415.so.6.1,sha256=NDRMrusyOrUOAC5JN_WsfotS1pGTCLMeTArilRzHCp8,332969
|
13
|
+
passagemath_giac.libs/libopenblas_neoversen2p-r0-0063d18d.3.28.so,sha256=oWhahfvhNtXlLwVDMDU3ViAIGJAwrSWZd4s52APzhPg,12089121
|
14
|
+
passagemath_giac.libs/libpari-gmp-tls-ac971185.so.2.15.5,sha256=rQmR6M6tOV37Yx60RsB7cFp7lpMnEuOO5xR2ISHty5I,10698489
|
15
|
+
passagemath_giac.libs/libreadline-87a2c7c5.so.7.0,sha256=IBNruXZiSGy8vFnkz0RBjqPhbLpHEezHAlVUsquS7gA,472777
|
16
|
+
passagemath_giac.libs/libssl-b6e07dfa.so.1.1.1k,sha256=M-DbmdJllVbnO9frAwzxbbvvKA1QaqPzmCcck64tiw0,740585
|
17
|
+
passagemath_giac.libs/libtinfo-3254f169.so.6.1,sha256=r5PLg_QnpqXmkOyjl_TqJULQGnMjA3LhK6Ig53yURlo,267817
|
18
|
+
sage/all__sagemath_giac.py,sha256=BXuEI2KgK8sqcL2WLl-U8g3GhMYOoJ6ppSNb03pvuBk,214
|
19
|
+
sage/interfaces/all__sagemath_giac.py,sha256=kb8e_2ZD2q6tVPakBcnb9ocdKdeowDDYmWkBdNfsp2w,43
|
20
|
+
sage/interfaces/giac.py,sha256=EDIv4z_4jCkhgjld2cspLXV9ACg0AIc_Xokm55uJbx4,38219
|
21
|
+
sage/libs/all__sagemath_giac.py,sha256=Ki9seZYz9nDXkjkzVTLXVAIqJdBc09sUzpK9Va8vWkM,154
|
22
|
+
sage/libs/giac/__init__.py,sha256=pQcVLi-O_WRtie1aN8ge1U-lYTPRC502AJ2l585xM3k,12908
|
23
|
+
sage/libs/giac/auto-methods.pxi,sha256=Oh58oDqlbKWeFXY6ArLMROm5iTayfaZZuVAbdWj1ZhI,676345
|
24
|
+
sage/libs/giac/giac.cpython-312-aarch64-linux-gnu.so,sha256=RYEb1eV7-fgFUYGjBmA-skvKPOdkmOAhp7meFst5Wa4,23012097
|
25
|
+
sage/libs/giac/giac.pxd,sha256=u5TF3tAucvOa5ypyZyAeB8lLe_dRT1YAxCKEmOxdkng,8238
|
26
|
+
sage/libs/giac/giac.pyx,sha256=CuwKJe1xP5hwgZ__0jWofwEI7KHnmxoNmswnO7jOqyU,68830
|
27
|
+
sage/libs/giac/keywords.pxi,sha256=y_L_dsEE3lIopMt8fsbOhGN8b3iueAwT5Y7BSSUs3O0,25732
|
28
|
+
sage/libs/giac/misc.h,sha256=gDMJlwTFblzrfnWaoPGgxC1oQas03BP22ecBa5d-JJA,2548
|
29
|
+
sage_wheels/bin/giac,sha256=h4gcwVE4_s-XEml5rokDKuXDzn_aXBTFnZu4H9mB6-Y,4363536
|
30
|
+
passagemath_giac-10.5.32.dist-info/METADATA,sha256=MXN9f_a6-RkC_olCIqwnJQySShx1T2-56LMwt3mfCJ4,6696
|
31
|
+
passagemath_giac-10.5.32.dist-info/WHEEL,sha256=ivikzPJl2Kp0X5tjGrVcpV9rruWudydo4VX6f7EZWGw,114
|
32
|
+
passagemath_giac-10.5.32.dist-info/top_level.txt,sha256=Kmzulf9WsphADFQuqgvdy5mvTLDj_V2zkFHU2s3UXos,6
|
33
|
+
passagemath_giac-10.5.32.dist-info/RECORD,,
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1 @@
|
|
1
|
+
# sage_setup: distribution = sagemath-giac
|