Permutation

Latest version: v0.4.0

Safety actively analyzes 618931 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

0.4.0

-------------------
- Drop support for Python 3.6
- Add a `__pow__` method (contributed by
[Deric-W](https://github.com/Deric-W))

0.3.1

-------------------
- Fix a typing issue in Python 3.9
- Support Python 3.10

0.3.0

-------------------
- Support Python 3.8 and 3.9
- Fix a typo in the link to the Wikipedia definition of "inversion number"
- Drop support for Python 2.7, 3.4, and 3.5
- Add link to changelog to both README and docs page
- Add type annotations

0.2.0

-------------------
- Added an `inversions()` method for returning the inversion number of a
permutation (based on a patch by drocta)
- Added a `right_inversion_count()` method

0.1.1

-------------------
- Drop support for Python 3.3
- Fix a DeprecationWarning in Python 3.5+

0.1.0

-------------------
Initial release

Links

Releases

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.