--- id: passagemath-gap version: "10.8.9" license: GPL-2.0-or-later license_treatment: copyleft maintenance: active --- # passagemath-gap — passagemath: Computational Group Theory with GAP License: copyleft · Maintenance: active · Downloads: 128.4K/mo ## What it is and what it does passagemath-gap is a Python distribution that wraps the GAP computational algebra system, providing interfaces for group-theoretic computation. It bundles GAP with a comprehensive set of GAP packages covering group representations, cohomology, combinatorics, Lie algebras, and related areas. The package is part of the passagemath project, a modularized fork focused on pip-installable binary wheels and integration with the scientific Python ecosystem. It depends on passagemath-environment, passagemath-categories, passagemath-repl, and data packages for specific GAP libraries (factint, primgrp, smallgrp). Installation is straightforward on Linux and macOS via prebuilt wheels; Windows users currently need WSL or virtualization for full functionality. The package supports Python 3.11–3.14 and has no known vulnerabilities. Use it for: - Computing properties of finite groups, permutation groups, and group actions using GAP algorithms from Python. - Accessing the GAP Small Groups Library and primitive permutation groups library for group classification. - Performing cohomology calculations and representation theory computations via bundled GAP packages. - Integrating group-theoretic computations into scientific Python workflows alongside other ecosystem tools. - Prototyping and teaching group theory and computational algebra in interactive environments. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Provides Python interfaces to the GAP computational algebra system through Cython-based libgap and Pexpect-based interactive access, bundled with GAP and a comprehensive set of GAP packages for group theory and related mathematics. Yes, if you need Python access to GAP's group-theoretic algorithms and can use Linux/macOS or WSL on Windows. The package is actively maintained, has no known vulnerabilities, and provides binary wheels that eliminate compilation friction on supported platforms. The copyleft GPL-2.0-or-later license is a constraint for proprietary use. Install friction is moderate but manageable for academic and research use. ## Install pip install passagemath-gap uv add passagemath-gap poetry add passagemath-gap ## Installing passagemath-gap Before you install: Medium install friction due to compiled dependencies and bundled GAP binaries. Package is actively maintained with recent releases and supports Python 3.11–3.14 across Linux, macOS, and partial Windows coverage via binary wheels. License in practice: Licensed under GPL-2.0-or-later (copyleft). Use in proprietary or closed-source projects requires either licensing compliance or distribution under compatible open-source terms. Quickstart: pip install passagemath-gap import passagemath_gap Requires Python 3.11–3.14; binary wheels available for Linux (x86_64, aarch64), macOS (x86_64, arm64), and limited Windows support. Full Windows functionality requires WSL or virtualization. Verify before relying: - Specific API surface and usage patterns for the Cython libgap interface and Pexpect interface. - Whether the prebuilt GAP binary and bundled packages are sufficient for typical workflows without additional installation. - Performance characteristics of libgap versus Pexpect interface for large computations. - Compatibility and testing coverage with the listed GAP packages on all supported platforms. ## Package facts - License: GPL-2.0-or-later (copyleft) - Python support: supports_current - Install friction: medium - Maintenance: active - Downloads: 128.4K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags GAP group theory interface, computational algebra python, group theory computation, GAP system python binding, libgap cython interface, permutation group algorithms, finite group computation, group-theory, computational-algebra, gap-system [View on SkillFed](https://skillfed.io/packages/passagemath-gap) · [View on PyPI](https://pypi.org/project/passagemath-gap/)