{"categories":[{"label":"Mathematics","url":"https://skillfed.io/packages/category/scientific-engineering-mathematics"}],"enrichment":{"capability":"Provides functions to test primality, factor integers, generate prime sequences, and compute Euler's totient function for mathematical and cryptographic applications.","skillfed_tags":["number-theory","abandoned-but-stable"],"use_cases":["Educational projects or scripts that need basic primality testing and factorization without external dependencies","Cryptographic prototyping or number-theory experiments where you need quick prime generation and Euler's totient","Competitive programming or mathematical problem-solving requiring fast prime enumeration up to moderate bounds","Legacy systems or offline environments where a self-contained, dependency-free prime utility is preferred"],"what_it_does":"primePy is a pure-Python module for prime number operations: testing primality, extracting prime factors with multiplicity, generating sequences of primes, and computing Euler's totient function. It exposes a simple API through the `primes` module with methods like `check()`, `factor()`, `factors()`, `first()`, `upto()`, `between()`, and `phi()`. The package has no external runtime dependencies and installs as a single wheel.\n\nThe module was designed for reasonable performance on moderate-sized integers (demonstrated on numbers up to around 10^14 and factorizations completing within seconds). However, the package has been abandoned since its single release on 2018-05-29, with no maintenance, bug fixes, or compatibility updates for modern Python environments. It remains functional for basic number-theoretic tasks but carries the risk of incompatibility with future Python versions and no recourse for issues.","worth_installing":"Yes, with strong conditions. Install only if you need a lightweight, dependency-free prime utility for educational or experimental use and can tolerate the lack of maintenance. The MIT license and low install friction are advantages, and no known vulnerabilities exist. However, do not use in production or long-term projects\u2014the package is abandoned, and there is no guarantee of compatibility with current or future Python versions. For active development, consider a maintained alternative."},"id":"primepy","links":{"html":"https://skillfed.io/packages/primepy","md":"https://skillfed.io/packages/primepy.md","pypi":"https://pypi.org/project/primepy/"},"maintenance":{"status":"abandoned"},"meta":{"latest_release":"2018-05-29","license_spdx":null,"license_treatment":"permissive","name":"primePy","python_support":"unspecified","summary":"This module contains several useful functions to work with prime numbers. from primePy import primes"},"popularity":{"monthly_downloads":2138753,"position":3261,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"1.3"}
