passagemath-giac 10.6.42__cp312-cp312-macosx_13_0_arm64.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/.dylibs/libcliquer.1.0.21.dylib +0 -0
- passagemath_giac/.dylibs/libcrypto.3.dylib +0 -0
- passagemath_giac/.dylibs/libcurl.4.dylib +0 -0
- passagemath_giac/.dylibs/libgfortran.5.dylib +0 -0
- passagemath_giac/.dylibs/libgiac.0.dylib +0 -0
- passagemath_giac/.dylibs/libglpk.40.dylib +0 -0
- passagemath_giac/.dylibs/libgmp.10.dylib +0 -0
- passagemath_giac/.dylibs/libgmpxx.4.dylib +0 -0
- passagemath_giac/.dylibs/libgsl.28.dylib +0 -0
- passagemath_giac/.dylibs/libgslcblas.0.dylib +0 -0
- passagemath_giac/.dylibs/libintl.8.dylib +0 -0
- passagemath_giac/.dylibs/libmpfi.0.dylib +0 -0
- passagemath_giac/.dylibs/libmpfr.6.dylib +0 -0
- passagemath_giac/.dylibs/libmps.3.dylib +0 -0
- passagemath_giac/.dylibs/libopenblasp-r0.3.29.dylib +0 -0
- passagemath_giac/.dylibs/libpari-gmp-tls.dylib +0 -0
- passagemath_giac/.dylibs/libquadmath.0.dylib +0 -0
- passagemath_giac/.dylibs/libreadline.8.2.dylib +0 -0
- passagemath_giac/.dylibs/libssl.3.dylib +0 -0
- passagemath_giac/.dylibs/libz.1.3.1.dylib +0 -0
- passagemath_giac/__init__.py +3 -0
- passagemath_giac-10.6.42.dist-info/METADATA +155 -0
- passagemath_giac-10.6.42.dist-info/RECORD +37 -0
- passagemath_giac-10.6.42.dist-info/WHEEL +6 -0
- passagemath_giac-10.6.42.dist-info/top_level.txt +3 -0
- sage/all__sagemath_giac.py +11 -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-darwin.so +0 -0
- sage/libs/giac/giac.pxd +205 -0
- sage/libs/giac/giac.pyx +2076 -0
- sage/libs/giac/keywords.pxi +10 -0
- sage/libs/giac/misc.h +117 -0
- sage_wheels/bin/giac +0 -0
|
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
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: passagemath-giac
|
|
3
|
+
Version: 10.6.42
|
|
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-Expression: GPL-2.0-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://passagemath.org/docs/latest
|
|
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: Operating System :: POSIX
|
|
20
|
+
Classifier: Operating System :: POSIX :: Linux
|
|
21
|
+
Classifier: Operating System :: MacOS :: MacOS X
|
|
22
|
+
Classifier: Programming Language :: Python :: 3 :: Only
|
|
23
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
24
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
25
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
26
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
27
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
28
|
+
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
29
|
+
Classifier: Topic :: Scientific/Engineering :: Mathematics
|
|
30
|
+
Requires-Python: <3.15,>=3.10
|
|
31
|
+
Description-Content-Type: text/x-rst
|
|
32
|
+
Requires-Dist: passagemath-categories~=10.6.42.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 uses the motto "Creating a Free Passage Between the
|
|
50
|
+
Scientific Python Ecosystem and Mathematical Software Communities."
|
|
51
|
+
It was created in October 2024 with the following goals:
|
|
52
|
+
|
|
53
|
+
- providing modularized installation with pip,
|
|
54
|
+
- establishing first-class membership in the scientific Python
|
|
55
|
+
ecosystem,
|
|
56
|
+
- giving `clear attribution of upstream
|
|
57
|
+
projects <https://groups.google.com/g/sage-devel/c/6HO1HEtL1Fs/m/G002rPGpAAAJ>`__,
|
|
58
|
+
- providing independently usable Python interfaces to upstream
|
|
59
|
+
libraries,
|
|
60
|
+
- offering `platform portability and integration testing
|
|
61
|
+
services <https://github.com/passagemath/passagemath/issues/704>`__
|
|
62
|
+
to upstream projects,
|
|
63
|
+
- inviting collaborations with upstream projects,
|
|
64
|
+
- `building a professional, respectful, inclusive
|
|
65
|
+
community <https://groups.google.com/g/sage-devel/c/xBzaINHWwUQ>`__,
|
|
66
|
+
- `empowering Sage users to participate in the scientific Python ecosystem
|
|
67
|
+
<https://github.com/passagemath/passagemath/issues/248>`__ by publishing packages,
|
|
68
|
+
- developing a port to `Pyodide <https://pyodide.org/en/stable/>`__ for
|
|
69
|
+
serverless deployment with Javascript,
|
|
70
|
+
- developing a native Windows port.
|
|
71
|
+
|
|
72
|
+
`Full documentation <https://passagemath.org/docs/latest/html/en/index.html>`__ is
|
|
73
|
+
available online.
|
|
74
|
+
|
|
75
|
+
passagemath attempts to support and provides binary wheels suitable for
|
|
76
|
+
all major Linux distributions and recent versions of macOS.
|
|
77
|
+
|
|
78
|
+
Binary wheels for native Windows (x86_64) are are available for a subset of
|
|
79
|
+
the passagemath distributions. Use of the full functionality of passagemath
|
|
80
|
+
on Windows currently requires the use of Windows Subsystem for Linux (WSL)
|
|
81
|
+
or virtualization.
|
|
82
|
+
|
|
83
|
+
The supported Python versions in the passagemath 10.6.x series are 3.10.x-3.14.x.
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
About this pip-installable distribution package
|
|
87
|
+
-----------------------------------------------
|
|
88
|
+
|
|
89
|
+
`Giac/Xcas <https://www-fourier.ujf-grenoble.fr/~parisse/giac.html>`_
|
|
90
|
+
is a general purpose Computer algebra system by Bernard Parisse released under GPLv3.
|
|
91
|
+
It has been developed since 2000 and is widely used: Giac/Xcas is the native CAS engine
|
|
92
|
+
of the HP Prime calculators; the C++ kernel of the system, Giac, provides the CAS view
|
|
93
|
+
of `Geogebra <https://www.geogebra.org/>`_.
|
|
94
|
+
|
|
95
|
+
This pip-installable source distribution ``passagemath-giac`` makes Giac available
|
|
96
|
+
from Python and provides integration with the Sage Mathematical Software System.
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
What is included
|
|
100
|
+
----------------
|
|
101
|
+
|
|
102
|
+
- `Cython interface to GIAC <https://passagemath.org/docs/latest/html/en/reference/libs/sage/libs/giac.html>`_
|
|
103
|
+
|
|
104
|
+
The Cython interface is by Frederic Han and was previously available under the name
|
|
105
|
+
`giacpy-sage <https://gitlab.math.univ-paris-diderot.fr/han/giacpy-sage/>`_.
|
|
106
|
+
It was merged into the Sage library in 2020.
|
|
107
|
+
|
|
108
|
+
- `Pexpect interface to GIAC <https://passagemath.org/docs/latest/html/en/reference/interfaces/sage/interfaces/giac.html>`_
|
|
109
|
+
|
|
110
|
+
- see https://github.com/passagemath/passagemath/blob/main/pkgs/sagemath-giac/MANIFEST.in
|
|
111
|
+
|
|
112
|
+
- The binary wheels on PyPI ship a prebuilt copy of the Giac library.
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
Examples
|
|
116
|
+
--------
|
|
117
|
+
|
|
118
|
+
A quick way to try it out interactively::
|
|
119
|
+
|
|
120
|
+
$ pipx run --pip-args="--prefer-binary" --spec "passagemath-giac[test]" ipython
|
|
121
|
+
|
|
122
|
+
In [1]: from passagemath_giac import *
|
|
123
|
+
|
|
124
|
+
In [2]: x = libgiac('x')
|
|
125
|
+
|
|
126
|
+
In [3]: V = [[x[i]**j for i in range(8)] for j in range(8)]
|
|
127
|
+
|
|
128
|
+
In [4]: libgiac(V).dim()
|
|
129
|
+
Out[4]: [8,8]
|
|
130
|
+
|
|
131
|
+
In [5]: libgiac.det_minor(V).factor()
|
|
132
|
+
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]))
|
|
133
|
+
|
|
134
|
+
In [6]: (x+5)**(1/3) # note here 1/3 is done in Python before being sent to Giac
|
|
135
|
+
Out[6]: (x+5)^0.333333333333
|
|
136
|
+
|
|
137
|
+
In [7]: (x+5)**QQ('1/3') # using Sage rationals
|
|
138
|
+
Out[7]: (x+5)^(1/3)
|
|
139
|
+
|
|
140
|
+
In [8]: from fractions import Fraction # using Python rationals
|
|
141
|
+
|
|
142
|
+
In [9]: (x+5)**Fraction(1,3)
|
|
143
|
+
Out[9]: (x+5)^(1/3)
|
|
144
|
+
|
|
145
|
+
The last example again, using the Sage REPL::
|
|
146
|
+
|
|
147
|
+
$ pipx run --pip-args="--prefer-binary" --spec "passagemath-giac[test]" sage
|
|
148
|
+
Warning: sage.all is not available; this is a limited REPL.
|
|
149
|
+
|
|
150
|
+
sage: from passagemath_giac import *
|
|
151
|
+
|
|
152
|
+
sage: x = libgiac('x')
|
|
153
|
+
|
|
154
|
+
sage: (x+5)^(1/3) # the Sage preparser translates this to (x+5)**QQ('1/3')
|
|
155
|
+
(x+5)^(1/3)
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
passagemath_giac/__init__.py,sha256=pFVkUnppi_J9Ayld8YZ6Yo-byTMTrjxyXlh2_2-A4aM,82
|
|
2
|
+
passagemath_giac/.dylibs/libgmpxx.4.dylib,sha256=sB8Nv70QFnGd6l3DYnvMnUTqu8hXfQbl1imXWTnrb5E,46544
|
|
3
|
+
passagemath_giac/.dylibs/libreadline.8.2.dylib,sha256=jVSaAn1q-7Mi5GefQvCFHKF55mhrtDkSCxcFJsNP_y8,298136
|
|
4
|
+
passagemath_giac/.dylibs/libgsl.28.dylib,sha256=1-r3GbRvj5cRJfKN6XAHJOymDwowRjbzE8mSpfIajLc,2600816
|
|
5
|
+
passagemath_giac/.dylibs/libmpfi.0.dylib,sha256=BGamd6RrJeOLqh2sVkv_DYhcKo7WM-3E56OhDNeJzas,149856
|
|
6
|
+
passagemath_giac/.dylibs/libglpk.40.dylib,sha256=C95FwcjBlpu_4oM1l8JxCVZmXQ-0qN1htmJqBtaHYkg,1055216
|
|
7
|
+
passagemath_giac/.dylibs/libgiac.0.dylib,sha256=f_4JYG24ljNTXrhvwEplbnK2s3UK1KSepG68fgjdndY,25704000
|
|
8
|
+
passagemath_giac/.dylibs/libssl.3.dylib,sha256=x93p3qlwC9uV72flBoP_7pmlniRKGypsxUMu8udXZC4,801424
|
|
9
|
+
passagemath_giac/.dylibs/libcrypto.3.dylib,sha256=QvQcse0LWJs39eXXrUbzkd7NwwKsGbAoewvkv4v0BMQ,4046144
|
|
10
|
+
passagemath_giac/.dylibs/libopenblasp-r0.3.29.dylib,sha256=fDPGbweXA3Zl2bYWTO8pm5Czb4mDMU6S6dRH7Awy0zQ,23810600
|
|
11
|
+
passagemath_giac/.dylibs/libgfortran.5.dylib,sha256=3bEZTQK7OjgMzve6m5TURS88pqgnocJgGeqfi1jPygw,1985216
|
|
12
|
+
passagemath_giac/.dylibs/libz.1.3.1.dylib,sha256=GnQmphYaDguDrE5_OcM_dgyeEsX8tAOpOFQGNln2ks8,119008
|
|
13
|
+
passagemath_giac/.dylibs/libintl.8.dylib,sha256=rOawSRt04yXdAGXe95AxIlE6Q5K-rh2N9S1qTu9YC44,221872
|
|
14
|
+
passagemath_giac/.dylibs/libmps.3.dylib,sha256=FHMzrH8sMxYc3NBZgCwlL-H3uyyWHH5hvvGWJvmlXXY,529440
|
|
15
|
+
passagemath_giac/.dylibs/libcurl.4.dylib,sha256=XCA8DdIwA_FkNWFUS0mno59TecwBYvS1YXRER5XSwys,675648
|
|
16
|
+
passagemath_giac/.dylibs/libpari-gmp-tls.dylib,sha256=upmq_X4k5GDuw5i89VfhYMCcGH5KUb5L_tCwlHwyj8E,9044312
|
|
17
|
+
passagemath_giac/.dylibs/libcliquer.1.0.21.dylib,sha256=ngZfIcyzysNX7-VxX5dp30hnLkhgE4-qqZz9w7-wHMg,103608
|
|
18
|
+
passagemath_giac/.dylibs/libquadmath.0.dylib,sha256=DTuz4Z2z32y8Mt1bTp8ks87Gw18v3xH7DHmPqT4zKZw,350208
|
|
19
|
+
passagemath_giac/.dylibs/libgslcblas.0.dylib,sha256=KsAD7zpbxQAbhXPHwgd6chHZ6kPudbEzTZgKSJXlCEg,271216
|
|
20
|
+
passagemath_giac/.dylibs/libgmp.10.dylib,sha256=xqMfK0_SRofnC3ESUYcpOyNwEh3Oi3_ZtB7tVsuR27g,446592
|
|
21
|
+
passagemath_giac/.dylibs/libmpfr.6.dylib,sha256=JJzNazUqrohx2LCbdkfssxAgTAuqzYygAtpoc4aWKJM,447920
|
|
22
|
+
sage_wheels/bin/giac,sha256=Wa4TvaYXMeZsslRBkon0NEc12Cz8m9aUN1CuPAlQ5bg,290680
|
|
23
|
+
passagemath_giac-10.6.42.dist-info/RECORD,,
|
|
24
|
+
passagemath_giac-10.6.42.dist-info/WHEEL,sha256=NyQG50tNDZ_APPDUcZDEpRLmYPHu-yiqQLzBIWZNamQ,153
|
|
25
|
+
passagemath_giac-10.6.42.dist-info/top_level.txt,sha256=0gpnAoR2Wg5B1ZM0E3Vv-WDl4L5I5nCQ1rjF-YqYNr0,23
|
|
26
|
+
passagemath_giac-10.6.42.dist-info/METADATA,sha256=rTokkw-hzuA3wYvx3oWyv_S_N1vzPtMS77LdVM_sBvE,6825
|
|
27
|
+
sage/all__sagemath_giac.py,sha256=_84rzeYsEqRQvyrfa7KhH_4YeeYISi-1Bl-nCVWGE6w,234
|
|
28
|
+
sage/libs/all__sagemath_giac.py,sha256=Ki9seZYz9nDXkjkzVTLXVAIqJdBc09sUzpK9Va8vWkM,154
|
|
29
|
+
sage/libs/giac/giac.pxd,sha256=u5TF3tAucvOa5ypyZyAeB8lLe_dRT1YAxCKEmOxdkng,8238
|
|
30
|
+
sage/libs/giac/misc.h,sha256=gDMJlwTFblzrfnWaoPGgxC1oQas03BP22ecBa5d-JJA,2548
|
|
31
|
+
sage/libs/giac/keywords.pxi,sha256=y_L_dsEE3lIopMt8fsbOhGN8b3iueAwT5Y7BSSUs3O0,25732
|
|
32
|
+
sage/libs/giac/giac.cpython-312-darwin.so,sha256=o6q3PrK6bAeUQh_XVA19K4L9oWtaN4V7gFHVocGJ-Jg,2964280
|
|
33
|
+
sage/libs/giac/__init__.py,sha256=pQcVLi-O_WRtie1aN8ge1U-lYTPRC502AJ2l585xM3k,12908
|
|
34
|
+
sage/libs/giac/auto-methods.pxi,sha256=Oh58oDqlbKWeFXY6ArLMROm5iTayfaZZuVAbdWj1ZhI,676345
|
|
35
|
+
sage/libs/giac/giac.pyx,sha256=2V9MYLPrvnINYG7BUDVyazBVdgchkTpoFqRCzNhfIdw,68898
|
|
36
|
+
sage/interfaces/all__sagemath_giac.py,sha256=kb8e_2ZD2q6tVPakBcnb9ocdKdeowDDYmWkBdNfsp2w,43
|
|
37
|
+
sage/interfaces/giac.py,sha256=mzv08OdogL81GP8oHwT-5f_4y0v6BKYt8ZOA4a8usDw,38218
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
# sage_setup: distribution = sagemath-giac
|