- Support Python 3.11 and 3.12
- The
permute()
method now accepts iterables of any element type and returns a list - Migrated from setuptools to hatch
- Drop support for Python 3.7
- Drop support for Python 3.6
- Add a
__pow__
method (contributed by @Deric-W)
- Fix a typing issue in Python 3.9
- Support Python 3.10
- 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
- Added an
inversions()
method for returning the inversion number of a permutation (based on a patch by @drocta) - Added a
right_inversion_count()
method
- Drop support for Python 3.3
- Fix a DeprecationWarning in Python 3.5+
Initial release