{"categories":[{"label":"Mathematics","url":"https://skillfed.io/packages/category/scientific-engineering-mathematics/3"}],"enrichment":{"capability":"cypari2 provides a Python interface to PARI/GP, a number theory library, exposing PARI functions as Python methods on wrapped objects.","skillfed_tags":["number-theory","cryptography-research","computational-algebra"],"use_cases":["Compute number-theoretic functions like zeta, factorization, and elliptic curve operations in Python scripts.","Factor polynomials over finite fields and perform algebraic number theory computations.","Prototype mathematical algorithms that will later be implemented in compiled code.","Integrate PARI/GP computations into larger Python scientific or educational applications.","Perform modular arithmetic and finite field operations for cryptographic research."],"what_it_does":"cypari2 is a Python wrapper around PARI/GP, a mature C library for computational number theory. It exposes PARI's functions as methods on Python objects, allowing you to perform operations like polynomial factorization, zeta function evaluation, and finite field arithmetic from Python code. The interface mirrors PARI/GP's syntax closely\u2014you can pass Python integers, floats, or PARI expression strings to the Pari() constructor and call methods directly on the resulting objects.\n\nThe package depends on cysignals for signal handling and requires a C compiler and PARI/GP headers to build from source, though pre-built wheels are available for Python 3.12+ on Linux, macOS, and musllinux. It is actively maintained by the SageMath community and carries a GPL-2.0-or-later license, which restricts use in proprietary software unless you comply with GPL terms or obtain a separate license.","worth_installing":"Yes, if you need computational number theory in Python and accept GPL-2.0-or-later licensing. The package is actively maintained, has no known vulnerabilities, and offers pre-built wheels for modern Python versions, reducing install friction. Not suitable for proprietary software without GPL compliance or a separate license. Verify that pre-built wheels include the specific PARI/GP features you need before committing to this dependency."},"id":"cypari2","links":{"html":"https://skillfed.io/packages/cypari2","md":"https://skillfed.io/packages/cypari2.md","pypi":"https://pypi.org/project/cypari2/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2025-10-31","license_spdx":"GPL-2.0-or-later","license_treatment":"copyleft","name":"cypari2","python_support":"supports_current","summary":"A Python interface to the number theory library PARI/GP"},"popularity":{"monthly_downloads":126161,"position":11787,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"2.2.4"}
