Skip to main content

GinacSympy: GinacSym Python Wrappers

A Cython frontend to the C++ library GinacSym (https://github.com/mithun218/ginacsym), a fast C++ symbolic manipulation library.

Introduction

GinacSym (made on GiNaC, https://ginac.de) is a fast C++ symbolic manipulation library released under GPL v2 or above. It has many features:

  • It is build on C and C++ libraries: gmp,mpfr,flint,cln
  • It provides fast computations for multivariate polynomial operations (expansion and factorisation) using flint library, and
  • symbolic computations: solving linear or nonlinear systems of equations, simplifications, series, limit, differentiation, integration, Infinity, functions with dependend variable, real symbol,complex symbol,...
  • It has many special functions which are computed using flint library.
  • Linear Algebra with numerical or symbolic coefficients.
  • Indexed objects, tensors, symmetrization
  • Clifford algebra
  • Color algebra
  • and many more

GinacSympy is an interface to this library. It is built with cython.

Motivation

We are aware of the existence of the Sympy Python Library, a full computer algebra system. However, because sympy is a pure Python library (Sympy now depends on mpmath as an external library), symbolic manipulation of huge algebraic expressions is slow using it. Consequently, we have made an effort to create a computer algebra system that is both extremely fast in comparison to Sympy and quite simple to install, much like sympy.

Installation

GinacSympy releases are available as wheel packages for Windows and Linux on PyPi. Install it using pip:

python -m pip install -U pip
python -m pip install -U ginacsympy

Short usage

>>>from ginacsympy import *
>>>a,b,c,d=Ex('a,b,c,d')
>>>expr=(a+b+c+d)**5
>>>expr=expr.expand()
>>>expr.factor()
(a+b+c+d)**5
>>>from ginacsympy_abc import *
>>>(x**2*y+y*x+y*x*b+a*x+b*x**2*y).collect(lst([x,y]),True)
x**2*(1+b)*y+x*(1+b)*y+a*x

For in-depth documentation click here.

Metadata

Release files for ginacsympy 1.0.7

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 ginacsympy 1.0.7
File
ginacsympy-1.0.7-cp314-cp314-win_amd64.whl CPython 3.14 CPython 3.14 Windows x86-64 Details
ginacsympy-1.0.7-cp314-cp314-manylinux_2_38_x86_64.whl CPython 3.14 CPython 3.14 Linux glibc 2.38+ x86-64 Details
ginacsympy-1.0.7-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details
ginacsympy-1.0.7-cp312-cp312-manylinux_2_38_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.38+ x86-64 Details
ginacsympy-1.0.7-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details
ginacsympy-1.0.7-cp311-cp311-manylinux_2_38_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.38+ x86-64 Details
ginacsympy-1.0.7-cp310-cp310-win_amd64.whl CPython 3.10 CPython 3.10 Windows x86-64 Details
ginacsympy-1.0.7-cp310-cp310-manylinux_2_38_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.38+ x86-64 Details
ginacsympy-1.0.7-cp39-cp39-win_amd64.whl CPython 3.9 CPython 3.9 Windows x86-64 Details
ginacsympy-1.0.7-cp39-cp39-manylinux_2_38_x86_64.whl CPython 3.9 CPython 3.9 Linux glibc 2.38+ x86-64 Details

Total release size: 323.4 MB

Release files / ginacsympy-1.0.7-cp314-cp314-win_amd64.whl

Download URL ginacsympy-1.0.7-cp314-cp314-win_amd64.whl
Size 8.0 MB
Tags CPython 3.14 Windows x86-64
SHA-256 checksum
How to use checksums
5e3c3e2e35ed13f50a2b7105a0dcc0c4fb75cdd15d2d85dcb3d5150dccb46996
BLAKE2b-256 checksum
How to use checksums
9e31277e76832014a821ab8c44b7ea06aeefc78a423147a77a33c045f815a72b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Release files / ginacsympy-1.0.7-cp314-cp314-manylinux_2_38_x86_64.whl

Download URL ginacsympy-1.0.7-cp314-cp314-manylinux_2_38_x86_64.whl
Size 57.1 MB
Tags CPython 3.14 Linux glibc 2.38+ x86-64
SHA-256 checksum
How to use checksums
79b819c717d08b9f72a07f95979903a013caeb0ddaeb0b80c7b92eae93162246
BLAKE2b-256 checksum
How to use checksums
f9bbabdccf4cb61440d9154c2d2fb9ada33abfa9274412a352352ccba58742ee
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Release files / ginacsympy-1.0.7-cp312-cp312-win_amd64.whl

Download URL ginacsympy-1.0.7-cp312-cp312-win_amd64.whl
Size 7.8 MB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
541ce79891669509ea9c6e082a5dbf4888b18b53d62f47e1d783c91c7b97a8dc
BLAKE2b-256 checksum
How to use checksums
7a559ceaf9441f268b6e3757e5713d4c0257fa3ace9ab88ac925d908f4a03905
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Release files / ginacsympy-1.0.7-cp312-cp312-manylinux_2_38_x86_64.whl

Download URL ginacsympy-1.0.7-cp312-cp312-manylinux_2_38_x86_64.whl
Size 56.9 MB
Tags CPython 3.12 Linux glibc 2.38+ x86-64
SHA-256 checksum
How to use checksums
2aa2f25a6d1f1264789bc5706a73f4a9ca45780079677951f238e5cda12063db
BLAKE2b-256 checksum
How to use checksums
b8d6b91e65b239db8134fdd80a98e1e0104a9d06d17acdcd0d5ae54483ff4229
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Release files / ginacsympy-1.0.7-cp311-cp311-win_amd64.whl

Download URL ginacsympy-1.0.7-cp311-cp311-win_amd64.whl
Size 7.8 MB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
93a6f3c2be65df1c23fd152af6f5c037bcd81447e94bc77d55da6ff1ae7c11f8
BLAKE2b-256 checksum
How to use checksums
e5136ef96e1da02ad7f1772b6fd63bb9252268e5c95ab81e1bf82a9bd46b3d44
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Release files / ginacsympy-1.0.7-cp311-cp311-manylinux_2_38_x86_64.whl

Download URL ginacsympy-1.0.7-cp311-cp311-manylinux_2_38_x86_64.whl
Size 56.8 MB
Tags CPython 3.11 Linux glibc 2.38+ x86-64
SHA-256 checksum
How to use checksums
0054e4c8d575f8ef6e7536afd8f39052c55cbf3feb1b04605d2b033d3ee89d2c
BLAKE2b-256 checksum
How to use checksums
8ef8988a701631b0770e4f1ba4c4dc08f726f3e2bfbfc0643064a6b30013aea7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Release files / ginacsympy-1.0.7-cp310-cp310-win_amd64.whl

Download URL ginacsympy-1.0.7-cp310-cp310-win_amd64.whl
Size 7.8 MB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
77d6a22032e7f886e6a530aaccc25349936abe9a62d25ed48cf048e049401887
BLAKE2b-256 checksum
How to use checksums
cfa7cf9558bbc41040b359d5c7cb1c1385bb99d7c8f9257516086eac95558fb6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Release files / ginacsympy-1.0.7-cp310-cp310-manylinux_2_38_x86_64.whl

Download URL ginacsympy-1.0.7-cp310-cp310-manylinux_2_38_x86_64.whl
Size 56.6 MB
Tags CPython 3.10 Linux glibc 2.38+ x86-64
SHA-256 checksum
How to use checksums
c0a54bcecb79863c579c64526255823701e37a64fcffd39bbd7b2701236c6b0b
BLAKE2b-256 checksum
How to use checksums
3a6962a2932e72fc60db134ddfc41aacb23d1e31bd0ca0979586870b4c0e818e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Release files / ginacsympy-1.0.7-cp39-cp39-win_amd64.whl

Download URL ginacsympy-1.0.7-cp39-cp39-win_amd64.whl
Size 7.8 MB
Tags CPython 3.9 Windows x86-64
SHA-256 checksum
How to use checksums
b8d7b7039d606470065ff04be0736eea41e72bb41dbdea887c5b52b7731fb552
BLAKE2b-256 checksum
How to use checksums
26de33c7d014824c4052268b848bac2b3e7734bd9eca06fa5ca55a9ef9481d33
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Release files / ginacsympy-1.0.7-cp39-cp39-manylinux_2_38_x86_64.whl

Download URL ginacsympy-1.0.7-cp39-cp39-manylinux_2_38_x86_64.whl
Size 56.7 MB
Tags CPython 3.9 Linux glibc 2.38+ x86-64
SHA-256 checksum
How to use checksums
55070446ac9e9e2b2f306cfc06791ca7169adb363814b9c146b218938cd2c9d3
BLAKE2b-256 checksum
How to use checksums
f33f4168f91576c495aa0bcd5c1828ab169ee1855d2fa4039d6c90ed83d2025b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Release history Release notifications | RSS feed

This release

1.0.7 This release

10 release files

1.0.4

4 release files

1.0.3

7 release files

1.0.2

8 release files

1.0.1

6 release files

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