Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

passagemath-gap

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

passagemath-gap

passagemath: Computational Group Theory with GAP

  • 10.4.68
  • PyPI
  • Socket score

Maintainers
1

============================================================================= passagemath: Computational Group Theory with GAP

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

This pip-installable distribution passagemath-gap is a small distribution that provides modules that depend on the GAP system <https://www.gap-system.org>_.

What is included

  • Cython interface to libgap <https://doc.sagemath.org/html/en/reference/libs/sage/libs/gap/libgap.html>_

  • Pexpect interface to GAP <https://doc.sagemath.org/html/en/reference/interfaces/sage/interfaces/gap.html>_

  • numerous modules with build-time dependencies on GAP, see MANIFEST <https://github.com/passagemath/passagemath/blob/main/pkgs/sagemath-gap/MANIFEST.in>_

  • the binary wheels on PyPI ship a prebuilt copy of GAP

Examples

A quick way to try it out interactively::

$ pipx run --pip-args="--prefer-binary" --spec "passagemath-gap[test]" IPython

In [1]: from sage.all__sagemath_modules import *

In [2]: from sage.all__sagemath_gap import *

In [3]: G = libgap.eval("Group([(1,2,3), (1,2)(3,4), (1,7)])")

In [4]: CG = G.ConjugacyClasses()

In [5]: gamma = CG[2]

In [6]: g = gamma.Representative()

In [7]: CG; gamma; g
[ ()^G, (4,7)^G, (3,4,7)^G, (2,3)(4,7)^G, (2,3,4,7)^G, (1,2)(3,4,7)^G, (1,2,3,4,7)^G ]
(3,4,7)^G
(3,4,7)

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc