$npx skillfedfor your agent

permutation

Permutations of finitely many positive integers

Worth itPyPI MathematicsReleased Dec 2024142.9K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — permutation-0.5.0-py3-none-any.whl
v0.5.0 · released 2024-12-01 · Python >=3.8

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.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.8 or higher.
  • Low friction installation with no runtime dependencies.
  • Actively maintained as of 2026-07-20 with support across Python 3.8 through 3.13 and PyPy.

License · maintenance · safety

MIT (permissive) — MIT license (permissive) — you can use, modify, and distribute this package with minimal restrictions, including in proprietary software.

last release 2024-12-01 (621 days) · last repo commit 2026-07-20 · 17 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 142,933 downloads/mo, #11,196 on PyPI

Verify before relying

pip install permutation

from permutation import Permutation
p = Permutation(2, 1, 4, 5, 3)
print(p.to_cycles())  # [(1, 2), (3, 4, 5)]
print(p.order)  # 6
Same gist for agents: .md · .json

What it is and 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.

The 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.

Use it for

  • 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.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

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.

Install

permutation on PyPI

Before you install

Low friction installation with no runtime dependencies. Actively maintained as of 2026-07-20 with support across Python 3.8 through 3.13 and PyPy.

Requires Python 3.8 or higher.

License in practice

MIT license (permissive) — you can use, modify, and distribute this package with minimal restrictions, including in proprietary software.

Quickstart

pip install permutation

from permutation import Permutation
p = Permutation(2, 1, 4, 5, 3)
print(p.to_cycles())  # [(1, 2), (3, 4, 5)]
print(p.order)  # 6

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=3.8
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceActively maintained 621 days since the last release
Last repo commit
First released
Downloads142,933 / month, #11,196 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Intended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPyTopic :: Scientific/Engineering :: MathematicsTyping :: Typed

Evidence: permutation-0.5.0-py3-none-any.whl

Tags

Capabilities
permutation group theorycycle notation permutationssymmetric group operationspermutation compositioncycle decompositionpermutation inverse order paritylehmer code permutation
Topics
group-theorycombinatoricstyped
PyPI keywords
group theorymathmathematicsmathspermutationsymmetric group

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “permutation group theory”

  • permutationProvides a Permutation class for representing and manipulating…
  • passagemath-gapProvides Python interfaces to the GAP computational algebra system…
  • poseidon-pyPoseidon hash implementation in Python with a C-based Hades…

Give your agent the search over MCP, or paste the wish link into any chat.

More Mathematics packages

networkx Worth it
PyPI · Python Modules · released Dec 2025

NetworkX provides data structures and algorithms for creating, analyzing, and manipulating graphs and networks, supporting everything from simple undirected graphs to complex directed and weighted networks.

BSD-3-Clausepure Python
290.9Mdownloads / mo
kiwisolver Worth it
PyPI · Mathematics · released Mar 2026

kiwisolver is a Python binding to a fast C++ implementation of the Cassowary constraint solver, enabling you to solve systems of linear constraints and inequalities.

Install it if you need to solve constraint systems; skip it if you only need simple linear algebra.

BSD-3-Clausecompiled wheel · 3.10+
205.5Mdownloads / mo
sympy Worth it
PyPI · Scientific/Engineering · released Apr 2025

SymPy is a Python library for symbolic mathematics, performing algebraic manipulation, calculus, equation solving, and mathematical expression simplification without numerical approximation.

BSD-3-Clausepure Python · 3.9+
196.4Mdownloads / mo
contourpy Worth it
PyPI · Information Analysis · released Jul 2025

ContourPy calculates contours of 2D quadrilateral grids using C++11 algorithms wrapped in Python, offering serial and multithreaded implementations without requiring Matplotlib as a dependency.

BSD-3-Clausecompiled wheel · 3.11+
191.2Mdownloads / mo
torch With conditions
PyPI · Software Development · released Jul 2026

PyTorch provides GPU-accelerated tensor computation and automatic differentiation for building and training deep neural networks in Python.

Apache-2.0 AND Apache-2.0 WITH LLVM-exception AND BSD-2-Clause AND BSD-3-Clause AND BSL-1.0 AND MITcompiled wheel · 3.10+
102.5Mdownloads / mo
onnxruntime Worth it
PyPI · Software Development · released Jul 2026

onnxruntime loads and executes Open Neural Network Exchange (ONNX) models with a focus on inference performance across CPUs and accelerators.

Install it if you have ONNX models to run in production or development.

MITcompiled wheel · 3.11+
89.3Mdownloads / mo

See also passagemath-gap · poseidon-py · primePy · ldpc · passagemath-categories · multiset · cypari2 · gram-newton-schulz · graycode · pyroaring