{"categories":[{"label":"Mathematics","url":"https://skillfed.io/packages/category/scientific-engineering-mathematics/3"}],"enrichment":{"capability":"Provides a Permutation class for representing and manipulating permutations of positive integers, supporting operations like composition, cycle decomposition, inverses, order, parity, and Lehmer codes.","skillfed_tags":["group-theory","combinatorics","typed"],"use_cases":["Implementing group-theoretic algorithms that require permutation composition and cycle analysis.","Computing properties of permutations such as order, parity, and cycle structure for mathematical research.","Building combinatorial or cryptographic tools that manipulate permutations as callable objects.","Converting between permutation representations (cycle notation, word form, Lehmer codes) for educational or algorithmic purposes.","Generating and iterating over symmetric groups for exhaustive search or enumeration tasks."],"what_it_does":"permutation is a pure-Python library for working with permutations of finitely many positive integers. It provides a Permutation class that lets you construct, compose, and analyze permutations using standard group-theoretic operations. You can represent permutations in cycle notation, compute their inverses and order, check parity, convert to and from Lehmer codes, and use them as callables to map integers.\n\nThe package is designed for developers and mathematicians who need to work with permutation groups, symmetric groups, or permutation-based algorithms. It has no external runtime dependencies, making it lightweight to install, and is fully typed. The library supports both CPython and PyPy across modern Python versions.","worth_installing":"Yes. The package is actively maintained, has zero known vulnerabilities, installs with no friction, and carries a permissive MIT license. It fills a clear niche for group-theoretic permutation work in Python with a well-documented, typed API. Install it if you need to work with permutations; skip it if your use case doesn't involve permutation algebra."},"id":"permutation","links":{"html":"https://skillfed.io/packages/permutation","md":"https://skillfed.io/packages/permutation.md","pypi":"https://pypi.org/project/permutation/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2024-12-01","license_spdx":null,"license_treatment":"permissive","name":"permutation","python_support":"supports_current","summary":"Permutations of finitely many positive integers"},"popularity":{"monthly_downloads":142933,"position":11196,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.5.0"}
