Skip to main content

passagemath: Computer algebra, algebraic geometry, singularity theory with Singular

Project description

About SageMath

“Creating a Viable Open Source Alternative to

Magma, Maple, Mathematica, and MATLAB”

Copyright (C) 2005-2024 The Sage Development Team

https://www.sagemath.org

SageMath fully supports all major Linux distributions, recent versions of macOS, and Windows (Windows Subsystem for Linux).

See https://doc.sagemath.org/html/en/installation/index.html for general installation instructions.

About this pip-installable distribution package

This pip-installable distribution passagemath-singular provides interfaces to [Singular](https://www.singular.uni-kl.de/), the computer algebra system for polynomial computations, with special emphasis on commutative and non-commutative algebra, algebraic geometry, and singularity theory.

It also ships various modules of the Sage library that depend on Singular.

What is included

Examples

Using Singular on the command line:

$ pipx run --pip-args="--prefer-binary" --spec "passagemath-singular" sage -singular
                     SINGULAR                                 /
 A Computer Algebra System for Polynomial Computations       /   version 4.4.0
                                                           0<
 by: W. Decker, G.-M. Greuel, G. Pfister, H. Schoenemann     \   Apr 2024
FB Mathematik der Universitaet, D-67653 Kaiserslautern        \
>

Finding the installation location of the Singular executable:

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

In [1]: from sage.features.singular import Singular

In [2]: Singular().absolute_filename()
Out[2]: '/Users/mkoeppe/.local/pipx/.cache/51651a517394201/lib/python3.11/site-packages/sage_wheels/bin/Singular'

Using the Cython interface to Singular:

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

In [1]: from sage.all__sagemath_singular import *

In [2]: from sage.libs.singular.function import singular_function

In [3]: P = PolynomialRing(GF(Integer(7)), names=['a', 'b', 'c', 'd'])

In [4]: I = sage.rings.ideal.Cyclic(P)

In [5]: std = singular_function('std')

In [6]: std(I)
Out[6]: [a + b + c + d, b^2 + 2*b*d + d^2, b*c^2 + c^2*d - b*d^2 - d^3,
         b*c*d^2 + c^2*d^2 - b*d^3 + c*d^3 - d^4 - 1, b*d^4 + d^5 - b - d,
         c^3*d^2 + c^2*d^3 - c - d, c^2*d^4 + b*c - b*d + c*d - 2*d^2]

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_singular-10.4.65.tar.gz (329.1 kB view details)

Uploaded Source

Built Distributions

passagemath_singular-10.4.65-cp312-cp312-macosx_14_0_arm64.whl (20.8 MB view details)

Uploaded CPython 3.12 macOS 14.0+ ARM64

passagemath_singular-10.4.65-cp312-cp312-macosx_13_0_x86_64.whl (18.4 MB view details)

Uploaded CPython 3.12 macOS 13.0+ x86-64

passagemath_singular-10.4.65-cp311-cp311-macosx_14_0_arm64.whl (20.8 MB view details)

Uploaded CPython 3.11 macOS 14.0+ ARM64

passagemath_singular-10.4.65-cp311-cp311-macosx_13_0_x86_64.whl (18.3 MB view details)

Uploaded CPython 3.11 macOS 13.0+ x86-64

passagemath_singular-10.4.65-cp310-cp310-macosx_14_0_arm64.whl (20.8 MB view details)

Uploaded CPython 3.10 macOS 14.0+ ARM64

passagemath_singular-10.4.65-cp310-cp310-macosx_13_0_x86_64.whl (18.3 MB view details)

Uploaded CPython 3.10 macOS 13.0+ x86-64

passagemath_singular-10.4.65-cp39-cp39-macosx_14_0_arm64.whl (20.8 MB view details)

Uploaded CPython 3.9 macOS 14.0+ ARM64

passagemath_singular-10.4.65-cp39-cp39-macosx_13_0_x86_64.whl (18.4 MB view details)

Uploaded CPython 3.9 macOS 13.0+ x86-64

File details

Details for the file passagemath_singular-10.4.65.tar.gz.

File metadata

File hashes

Hashes for passagemath_singular-10.4.65.tar.gz
Algorithm Hash digest
SHA256 e5b7945efcd2e1dc7b2662b6785d1478c2f0984013e17f93be4ce2470d6e06ab
MD5 7af32d9c373d5c1d3aa87dea56c55e7a
BLAKE2b-256 5374f2d343abd8fd461d333dc2eeea7bcc3d506934dd4c61bda667bdbe4e73e9

See more details on using hashes here.

File details

Details for the file passagemath_singular-10.4.65-cp312-cp312-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_singular-10.4.65-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 a47ec844f4ac91143ec0c5a6fa506ef00260d8b0e29b1c19237d7509e9c23da6
MD5 26535bace8c2542abf59125859e8c736
BLAKE2b-256 2f96c3c950e2401ceafab4891a37f2fe9774faf9233d23107bcab302f37ffd24

See more details on using hashes here.

File details

Details for the file passagemath_singular-10.4.65-cp312-cp312-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_singular-10.4.65-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 ffb03f4bcdb50e1a6dd31a55a494a6b734ff1569542f0797f2b40432fa521a40
MD5 14741927cdca37b62b901d3b1de9824e
BLAKE2b-256 86eb5d66c34442dacb6c4b384c2b1b801a8b3f21d54a44630539621922d165eb

See more details on using hashes here.

File details

Details for the file passagemath_singular-10.4.65-cp311-cp311-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_singular-10.4.65-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 b03356e37109106803f5811ae4a6dbe17be418b193c33c8ad5c64ef642cc5a27
MD5 e417c102b1d5e2ce0f5753b2a085b6e3
BLAKE2b-256 5012d98af5282ff4622a7b1796d918a4555402b003f981c1c5f429024df97c5c

See more details on using hashes here.

File details

Details for the file passagemath_singular-10.4.65-cp311-cp311-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_singular-10.4.65-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 d49097e4e83e41ea63ecccb06692cbbcb58487186f8c34deeb28d318a534bd45
MD5 711417d29e1d20425fe88a402e6df419
BLAKE2b-256 c42cb2223f743f21ac84d97a1a64496e58d312631f5fa0e147eb8831808fe92e

See more details on using hashes here.

File details

Details for the file passagemath_singular-10.4.65-cp310-cp310-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_singular-10.4.65-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 d298e5bf06512a1c339cfa1e1f88ad6e8b10bc52b121a1bd61f128e42562881d
MD5 d76532bdedc06b09bbb7cc371f33682d
BLAKE2b-256 e09a92b43cf6ecd483e73ddfbf41fd9c58567a7dc46a32ed4f61c663acaea579

See more details on using hashes here.

File details

Details for the file passagemath_singular-10.4.65-cp310-cp310-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_singular-10.4.65-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 3481e133a4cda821c2c1eb7d15f5cde66ee50760ed5f93245456dd45e4cf3956
MD5 9e0494c369b26a9ba468e1d32e4199e6
BLAKE2b-256 6079b6d6e252818e7f2953f2a98bb9a99d672ec2e161de6c1cd05d85b68e33db

See more details on using hashes here.

File details

Details for the file passagemath_singular-10.4.65-cp39-cp39-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_singular-10.4.65-cp39-cp39-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 b638108224d138153235d1c57b61fdb1a50aa2e59054cf477f7a35668ef0947e
MD5 d29935a94f86e115104c776723b65215
BLAKE2b-256 bef7e5dbfb57e627af702752745b83f4e2d037ac60e47de2f3cefba85333a392

See more details on using hashes here.

File details

Details for the file passagemath_singular-10.4.65-cp39-cp39-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_singular-10.4.65-cp39-cp39-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 5c9b7f0ee170c154ebc760283c32ae9da13f577d753662657e2b87ead869952e
MD5 3a019fcf384c8a7939e3e887df743c46
BLAKE2b-256 4241377081ea3453304df4ab6a10f752f69f356e94abce047f55534ffda7571a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page