libsemigroups-pybind11 1.4.3__tar.gz → 1.4.5__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (299) hide show
  1. libsemigroups_pybind11-1.4.5/.pre-commit-config.yaml +40 -0
  2. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/CITATION.cff +2 -2
  3. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/Makefile +1 -0
  4. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/PKG-INFO +5 -5
  5. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/README.md +4 -4
  6. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/build_tools/__init__.py +1 -1
  7. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/authors.rst +1 -1
  8. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/changelog-v1.rst +14 -2
  9. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/presentations/to-inverse-present.rst +10 -11
  10. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/presentations/to-present.rst +6 -6
  11. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/install.rst +4 -4
  12. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/main-algorithms/froidure-pin/to-froidure-pin.rst +6 -6
  13. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/main-algorithms/knuth-bendix/to-knuth-bendix.rst +7 -7
  14. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/etc/check-params.py +5 -2
  15. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/action.cpp +2 -2
  16. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/aho-corasick.cpp +25 -18
  17. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/bipart.cpp +7 -7
  18. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/cong-common.cpp +9 -9
  19. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/cong.cpp +1 -1
  20. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/dot.cpp +7 -7
  21. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/errors.cpp +2 -2
  22. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/forest.cpp +31 -35
  23. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/freeband.cpp +1 -1
  24. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/froidure-pin-base.cpp +10 -8
  25. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/froidure-pin.cpp +6 -6
  26. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/gabow.cpp +7 -7
  27. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/hpcombi.cpp +37 -36
  28. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/kambites.cpp +13 -9
  29. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/knuth-bendix-impl.cpp +27 -27
  30. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/knuth-bendix.cpp +9 -9
  31. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/konieczny.cpp +17 -18
  32. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/libsemigroups_pybind11/_version.py +3 -3
  33. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/libsemigroups_pybind11/detail/cxx_wrapper.py +6 -2
  34. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/libsemigroups_pybind11/presentation/__init__.py +3 -5
  35. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/libsemigroups_pybind11.egg-info/PKG-INFO +5 -5
  36. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/libsemigroups_pybind11.egg-info/SOURCES.txt +4 -0
  37. libsemigroups_pybind11-1.4.5/src/libsemigroups_pybind11.egg-info/scm_file_list.json +327 -0
  38. libsemigroups_pybind11-1.4.5/src/libsemigroups_pybind11.egg-info/scm_version.json +8 -0
  39. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/main.hpp +1 -1
  40. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/matrix.cpp +26 -25
  41. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/obvinf.cpp +7 -7
  42. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/order.cpp +9 -5
  43. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/paths.cpp +19 -20
  44. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/pbr.cpp +23 -21
  45. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/present.cpp +81 -75
  46. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/presentation-examples.cpp +115 -142
  47. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/report.cpp +2 -2
  48. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/runner.cpp +34 -27
  49. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/schreier-sims.cpp +37 -33
  50. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/sims.cpp +92 -80
  51. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/stephen.cpp +25 -19
  52. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/todd-coxeter-impl.cpp +54 -56
  53. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/todd-coxeter.cpp +36 -38
  54. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/transf.cpp +24 -14
  55. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/types.cpp +5 -5
  56. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/ukkonen.cpp +82 -62
  57. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/word-graph.cpp +65 -65
  58. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/word-range.cpp +72 -65
  59. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/tests/test_present.py +32 -0
  60. libsemigroups_pybind11-1.4.5/tests/test_sims_threads.py +82 -0
  61. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/LICENSE +0 -0
  62. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/MANIFEST.in +0 -0
  63. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/build_tools/packaging_helpers.py +0 -0
  64. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/Makefile +0 -0
  65. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/make.bat +0 -0
  66. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/pictures/libsemigroups_pybind11_banner.svg +0 -0
  67. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/pictures/libsemigroups_pybind11_logo.svg +0 -0
  68. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/pictures/to-table.svg +0 -0
  69. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/pictures/to-table.tex +0 -0
  70. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/_ext/libsemigroups_pybind11_extensions.py +0 -0
  71. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/_static/custom.css +0 -0
  72. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/_static/links.rst +0 -0
  73. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/_static/runner_non_inherit.rst +0 -0
  74. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/biblio.rst +0 -0
  75. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/changelog-v0.rst +0 -0
  76. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/conf.py +0 -0
  77. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/adapters/imageleftaction.rst +0 -0
  78. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/adapters/imagerightaction.rst +0 -0
  79. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/adapters/index.rst +0 -0
  80. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/constants/index.rst +0 -0
  81. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/elements/bipart/bipart-helpers.rst +0 -0
  82. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/elements/bipart/bipart.rst +0 -0
  83. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/elements/bipart/blocks-helpers.rst +0 -0
  84. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/elements/bipart/blocks.rst +0 -0
  85. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/elements/bipart/index.rst +0 -0
  86. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/elements/index.rst +0 -0
  87. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/elements/matrix/bmat8-helpers.rst +0 -0
  88. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/elements/matrix/bmat8.rst +0 -0
  89. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/elements/matrix/index.rst +0 -0
  90. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/elements/matrix/matrix-helpers.rst +0 -0
  91. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/elements/matrix/matrix.rst +0 -0
  92. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/elements/pbr/class.rst +0 -0
  93. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/elements/pbr/helpers.rst +0 -0
  94. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/elements/pbr/index.rst +0 -0
  95. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/elements/transformations/helpers.rst +0 -0
  96. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/elements/transformations/index.rst +0 -0
  97. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/elements/transformations/perm.rst +0 -0
  98. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/elements/transformations/pperm.rst +0 -0
  99. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/elements/transformations/transf.rst +0 -0
  100. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/enums/congruence-kind.rst +0 -0
  101. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/enums/index.rst +0 -0
  102. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/enums/matrix-kind.rst +0 -0
  103. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/enums/order.rst +0 -0
  104. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/enums/paths-algorithm.rst +0 -0
  105. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/enums/side.rst +0 -0
  106. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/enums/tril.rst +0 -0
  107. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/hpcombi/index.rst +0 -0
  108. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/hpcombi/perm16.rst +0 -0
  109. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/hpcombi/pperm16.rst +0 -0
  110. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/hpcombi/ptransf16.rst +0 -0
  111. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/hpcombi/transf16.rst +0 -0
  112. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/hpcombi/vect16.rst +0 -0
  113. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/order/index.rst +0 -0
  114. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/presentations/examples.rst +0 -0
  115. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/presentations/index.rst +0 -0
  116. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/presentations/inverse-present.rst +0 -0
  117. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/presentations/obvinf.rst +0 -0
  118. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/presentations/present-helpers.rst +0 -0
  119. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/presentations/present.rst +0 -0
  120. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/suffix-trees/index.rst +0 -0
  121. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/suffix-trees/ukkonen-helpers.rst +0 -0
  122. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/suffix-trees/ukkonen.node.rst +0 -0
  123. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/suffix-trees/ukkonen.rst +0 -0
  124. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/suffix-trees/ukkonen.state.rst +0 -0
  125. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/to-function.rst +0 -0
  126. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/tries/class.rst +0 -0
  127. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/tries/helpers.rst +0 -0
  128. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/tries/index.rst +0 -0
  129. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/visualisation/dot.edge.rst +0 -0
  130. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/visualisation/dot.kind.rst +0 -0
  131. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/visualisation/dot.node.rst +0 -0
  132. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/visualisation/dot.rst +0 -0
  133. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/visualisation/index.rst +0 -0
  134. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/word-graph/forest-helpers.rst +0 -0
  135. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/word-graph/forest.rst +0 -0
  136. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/word-graph/gabow.rst +0 -0
  137. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/word-graph/index.rst +0 -0
  138. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/word-graph/joiner.rst +0 -0
  139. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/word-graph/meeter.rst +0 -0
  140. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/word-graph/paths-helpers.rst +0 -0
  141. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/word-graph/paths.rst +0 -0
  142. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/word-graph/word-graph-helpers.rst +0 -0
  143. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/word-graph/word-graph.rst +0 -0
  144. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/words/index.rst +0 -0
  145. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/words/string-range.rst +0 -0
  146. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/words/to-string.rst +0 -0
  147. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/words/to-word.rst +0 -0
  148. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/words/word-funcs.rst +0 -0
  149. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/data-structures/words/word-range.rst +0 -0
  150. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/index.rst +0 -0
  151. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/libsemigroups-error.rst +0 -0
  152. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/libsemigroups.bib +0 -0
  153. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/main-algorithms/action/action.rst +0 -0
  154. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/main-algorithms/action/index.rst +0 -0
  155. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/main-algorithms/action/leftaction.rst +0 -0
  156. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/main-algorithms/action/rightaction.rst +0 -0
  157. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/main-algorithms/congruence/class.rst +0 -0
  158. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/main-algorithms/congruence/helpers.rst +0 -0
  159. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/main-algorithms/congruence/index.rst +0 -0
  160. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/main-algorithms/congruence/to-cong.rst +0 -0
  161. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/main-algorithms/core-classes/delta.rst +0 -0
  162. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/main-algorithms/core-classes/index.rst +0 -0
  163. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/main-algorithms/core-classes/report-guard.rst +0 -0
  164. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/main-algorithms/core-classes/reporter.rst +0 -0
  165. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/main-algorithms/core-classes/runner.rst +0 -0
  166. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/main-algorithms/core-classes/runner.state.rst +0 -0
  167. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/main-algorithms/froidure-pin/class.rst +0 -0
  168. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/main-algorithms/froidure-pin/helpers.rst +0 -0
  169. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/main-algorithms/froidure-pin/index.rst +0 -0
  170. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/main-algorithms/kambites/class.rst +0 -0
  171. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/main-algorithms/kambites/helpers.rst +0 -0
  172. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/main-algorithms/kambites/index.rst +0 -0
  173. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/main-algorithms/knuth-bendix/helpers.rst +0 -0
  174. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/main-algorithms/knuth-bendix/index.rst +0 -0
  175. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/main-algorithms/knuth-bendix/knuth-bendix.options.rst +0 -0
  176. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/main-algorithms/knuth-bendix/knuth-bendix.rst +0 -0
  177. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/main-algorithms/konieczny/index.rst +0 -0
  178. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/main-algorithms/konieczny/konieczny.dclass.rst +0 -0
  179. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/main-algorithms/konieczny/konieczny.rst +0 -0
  180. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/main-algorithms/low-index/classes/index.rst +0 -0
  181. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/main-algorithms/low-index/classes/minimalreporc.rst +0 -0
  182. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/main-algorithms/low-index/classes/reporc.rst +0 -0
  183. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/main-algorithms/low-index/classes/sims1.rst +0 -0
  184. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/main-algorithms/low-index/classes/sims2.rst +0 -0
  185. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/main-algorithms/low-index/classes/simsrefinerfaithful.rst +0 -0
  186. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/main-algorithms/low-index/classes/simsrefinerideals.rst +0 -0
  187. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/main-algorithms/low-index/classes/simsstats.rst +0 -0
  188. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/main-algorithms/low-index/helpers.rst +0 -0
  189. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/main-algorithms/low-index/index.rst +0 -0
  190. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/main-algorithms/radoszewski-rytter/index.rst +0 -0
  191. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/main-algorithms/schreier-sims/class.rst +0 -0
  192. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/main-algorithms/schreier-sims/helpers.rst +0 -0
  193. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/main-algorithms/schreier-sims/index.rst +0 -0
  194. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/main-algorithms/stephen/class.rst +0 -0
  195. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/main-algorithms/stephen/helpers.rst +0 -0
  196. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/main-algorithms/stephen/index.rst +0 -0
  197. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/main-algorithms/todd-coxeter/class/accessors.rst +0 -0
  198. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/main-algorithms/todd-coxeter/class/common.rst +0 -0
  199. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/main-algorithms/todd-coxeter/class/index.rst +0 -0
  200. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/main-algorithms/todd-coxeter/class/index_to_word.rst +0 -0
  201. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/main-algorithms/todd-coxeter/class/init.rst +0 -0
  202. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/main-algorithms/todd-coxeter/class/modifiers.rst +0 -0
  203. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/main-algorithms/todd-coxeter/class/settings.rst +0 -0
  204. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/main-algorithms/todd-coxeter/class/word_to_index.rst +0 -0
  205. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/main-algorithms/todd-coxeter/helpers.rst +0 -0
  206. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/main-algorithms/todd-coxeter/index.rst +0 -0
  207. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/main-algorithms/todd-coxeter/to-todd-coxeter.rst +0 -0
  208. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/docs/source/main-algorithms/todd-coxeter/todd-coxeter.options.rst +0 -0
  209. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/etc/check-docstring-indentation.py +0 -0
  210. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/etc/make-doc.sh +0 -0
  211. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/etc/replace-strings-in-doc.py +0 -0
  212. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/examples/not_renner_B_5_1.py +0 -0
  213. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/pyproject.toml +0 -0
  214. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/setup.cfg +0 -0
  215. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/setup.py +0 -0
  216. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/adapters.cpp +0 -0
  217. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/bmat8.cpp +0 -0
  218. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/cong-common.hpp +0 -0
  219. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/constants.cpp +0 -0
  220. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/errors.hpp +0 -0
  221. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/kbe.cpp +0 -0
  222. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/kbe.hpp +0 -0
  223. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/libsemigroups_pybind11/__init__.py +0 -0
  224. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/libsemigroups_pybind11/action.py +0 -0
  225. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/libsemigroups_pybind11/adapters.py +0 -0
  226. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/libsemigroups_pybind11/aho_corasick.py +0 -0
  227. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/libsemigroups_pybind11/bipartition.py +0 -0
  228. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/libsemigroups_pybind11/blocks.py +0 -0
  229. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/libsemigroups_pybind11/bmat8.py +0 -0
  230. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/libsemigroups_pybind11/congruence.py +0 -0
  231. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/libsemigroups_pybind11/detail/__init__.py +0 -0
  232. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/libsemigroups_pybind11/detail/congruence_common.py +0 -0
  233. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/libsemigroups_pybind11/detail/decorators.py +0 -0
  234. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/libsemigroups_pybind11/detail/dot.py +0 -0
  235. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/libsemigroups_pybind11/detail/tools.py +0 -0
  236. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/libsemigroups_pybind11/forest.py +0 -0
  237. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/libsemigroups_pybind11/froidure_pin.py +0 -0
  238. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/libsemigroups_pybind11/hpcombi.py +0 -0
  239. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/libsemigroups_pybind11/is_obviously_infinite.py +0 -0
  240. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/libsemigroups_pybind11/kambites.py +0 -0
  241. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/libsemigroups_pybind11/knuth_bendix.py +0 -0
  242. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/libsemigroups_pybind11/konieczny.py +0 -0
  243. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/libsemigroups_pybind11/matrix.py +0 -0
  244. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/libsemigroups_pybind11/paths.py +0 -0
  245. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/libsemigroups_pybind11/pbr.py +0 -0
  246. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/libsemigroups_pybind11/presentation/examples.py +0 -0
  247. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/libsemigroups_pybind11/schreier_sims.py +0 -0
  248. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/libsemigroups_pybind11/sims.py +0 -0
  249. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/libsemigroups_pybind11/stephen.py +0 -0
  250. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/libsemigroups_pybind11/to.py +0 -0
  251. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/libsemigroups_pybind11/todd_coxeter.py +0 -0
  252. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/libsemigroups_pybind11/transf.py +0 -0
  253. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/libsemigroups_pybind11/ukkonen.py +0 -0
  254. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/libsemigroups_pybind11/word_graph.py +0 -0
  255. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/libsemigroups_pybind11/words.py +0 -0
  256. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/libsemigroups_pybind11.egg-info/dependency_links.txt +0 -0
  257. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/libsemigroups_pybind11.egg-info/requires.txt +0 -0
  258. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/libsemigroups_pybind11.egg-info/top_level.txt +0 -0
  259. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/main.cpp +0 -0
  260. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/ranges.cpp +0 -0
  261. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/to-cong.cpp +0 -0
  262. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/to-froidure-pin.cpp +0 -0
  263. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/to-knuth-bendix.cpp +0 -0
  264. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/to-presentation.cpp +0 -0
  265. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/src/to-todd-coxeter.cpp +0 -0
  266. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/tests/__init__.py +0 -0
  267. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/tests/cong_common.py +0 -0
  268. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/tests/runner.py +0 -0
  269. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/tests/test_action.py +0 -0
  270. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/tests/test_adapters.py +0 -0
  271. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/tests/test_aho_corasick.py +0 -0
  272. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/tests/test_bipart.py +0 -0
  273. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/tests/test_bmat8.py +0 -0
  274. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/tests/test_cong.py +0 -0
  275. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/tests/test_constants.py +0 -0
  276. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/tests/test_delta.py +0 -0
  277. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/tests/test_dot.py +0 -0
  278. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/tests/test_forest.py +0 -0
  279. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/tests/test_froidure_pin.py +0 -0
  280. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/tests/test_gabow.py +0 -0
  281. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/tests/test_hpcombi.py +0 -0
  282. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/tests/test_kambites.py +0 -0
  283. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/tests/test_knuth_bendix.py +0 -0
  284. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/tests/test_konieczny.py +0 -0
  285. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/tests/test_matrix.py +0 -0
  286. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/tests/test_obvinf.py +0 -0
  287. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/tests/test_paths.py +0 -0
  288. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/tests/test_pbr.py +0 -0
  289. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/tests/test_presentation_examples.py +0 -0
  290. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/tests/test_runner.py +0 -0
  291. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/tests/test_schreier_sims.py +0 -0
  292. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/tests/test_sims.py +0 -0
  293. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/tests/test_stephen.py +0 -0
  294. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/tests/test_to.py +0 -0
  295. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/tests/test_todd_coxeter.py +0 -0
  296. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/tests/test_transf.py +0 -0
  297. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/tests/test_ukkonen.py +0 -0
  298. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/tests/test_word_graph.py +0 -0
  299. {libsemigroups_pybind11-1.4.3 → libsemigroups_pybind11-1.4.5}/tests/test_word_range.py +0 -0
@@ -0,0 +1,40 @@
1
+ default_install_hook_types: [pre-commit, pre-push]
2
+
3
+ repos:
4
+ - repo: https://github.com/astral-sh/ruff-pre-commit
5
+ rev: v0.16.2
6
+ hooks:
7
+ - id: ruff-check
8
+ - id: ruff-format
9
+ - repo: https://github.com/pre-commit/mirrors-clang-format
10
+ rev: v15.0.7
11
+ hooks:
12
+ - id: clang-format
13
+ files: ^src/.*\.(c|h)pp$
14
+ - repo: https://github.com/cpplint/cpplint
15
+ rev: 2.0.2
16
+ hooks:
17
+ - id: cpplint
18
+ stages: ["pre-push"]
19
+ files: ^src/.*\.(c|h)pp$
20
+ args: ["--repository=include", "--extensions=cpp,hpp"]
21
+ - repo: https://github.com/codespell-project/codespell
22
+ rev: v2.4.2
23
+ hooks:
24
+ - id: codespell
25
+ stages: ["pre-push"]
26
+ - repo: local
27
+ hooks:
28
+ - id: pylint
29
+ name: pylint
30
+ entry: pylint
31
+ language: system
32
+ args:
33
+ [
34
+ "-rn", # Only display messages
35
+ "-sn", # Don't display the score
36
+ ]
37
+ types: [python]
38
+ exclude: ^(?:build_tools|etc)/
39
+ require_serial: true
40
+ stages: [pre-push]
@@ -41,5 +41,5 @@ abstract: >-
41
41
  A Python package that wraps the functionality of the C++
42
42
  library libsemigroups.
43
43
  license: GPL-3.0+
44
- version: 1.4.3
45
- date-released: "2026-04-16"
44
+ version: 1.4.5
45
+ date-released: "2026-11-28"
@@ -42,6 +42,7 @@ clean-doc:
42
42
  clean: clean-doc
43
43
  find . -type d -name __pycache__ -prune -exec rm -rf {} \;
44
44
  rm -rf libsemigroups_pybind11.egg-info
45
+ rm -f src/_libsemigroups_pybind11.*.so
45
46
  rm -f *.whl
46
47
  rm -rf build/
47
48
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: libsemigroups_pybind11
3
- Version: 1.4.3
3
+ Version: 1.4.5
4
4
  Summary: A python package for the libsemigroups C++ library.
5
5
  Author-email: Reinis Cirpons <rc234@st-andrews.ac.uk>, Joseph Edwards <jde1@st-andrews.ac.uk>, James Mitchell <jdm3@st-andrews.ac.uk>, Maria Tsalakou <mt200@st-andrews.ac.uk>, Murray Whyte <mw231@st-andrews.ac.uk>
6
6
  License-Expression: GPL-3.0-or-later
@@ -188,10 +188,10 @@ uv pip install .
188
188
  To build `libsemigroups_pybind11` from a release archive:
189
189
 
190
190
  ```console
191
- curl -L -O https://github.com/libsemigroups/libsemigroups_pybind11/releases/latest/download/libsemigroups_pybind11-1.4.3.tar.gz
192
- tar -xf libsemigroups_pybind11-1.4.3.tar.gz
193
- rm -f libsemigroups_pybind11-1.4.3.tar.gz
194
- cd libsemigroups_pybind11-1.4.3
191
+ curl -L -O https://github.com/libsemigroups/libsemigroups_pybind11/releases/latest/download/libsemigroups_pybind11-1.4.5.tar.gz
192
+ tar -xf libsemigroups_pybind11-1.4.5.tar.gz
193
+ rm -f libsemigroups_pybind11-1.4.5.tar.gz
194
+ cd libsemigroups_pybind11-1.4.5
195
195
  pip install .
196
196
  ```
197
197
 
@@ -150,10 +150,10 @@ uv pip install .
150
150
  To build `libsemigroups_pybind11` from a release archive:
151
151
 
152
152
  ```console
153
- curl -L -O https://github.com/libsemigroups/libsemigroups_pybind11/releases/latest/download/libsemigroups_pybind11-1.4.3.tar.gz
154
- tar -xf libsemigroups_pybind11-1.4.3.tar.gz
155
- rm -f libsemigroups_pybind11-1.4.3.tar.gz
156
- cd libsemigroups_pybind11-1.4.3
153
+ curl -L -O https://github.com/libsemigroups/libsemigroups_pybind11/releases/latest/download/libsemigroups_pybind11-1.4.5.tar.gz
154
+ tar -xf libsemigroups_pybind11-1.4.5.tar.gz
155
+ rm -f libsemigroups_pybind11-1.4.5.tar.gz
156
+ cd libsemigroups_pybind11-1.4.5
157
157
  pip install .
158
158
  ```
159
159
 
@@ -11,4 +11,4 @@ def minimum_libsemigroups_version():
11
11
  """Returns the minimum required version of libsemigroups required to build
12
12
  libsemigroups_pybind11.
13
13
  """
14
- return "3.5.5"
14
+ return "3.6.3"
@@ -10,7 +10,7 @@
10
10
  Authors
11
11
  =======
12
12
 
13
- - `Reinis Cirpons`_ (rc234@st-andrews.ac.uk)_
13
+ - `Reinis Cirpons`_ (rc234@st-andrews.ac.uk)
14
14
  - `Joseph Edwards`_ (jde1@st-andrews.ac.uk)
15
15
  - `James Mitchell`_ (jdm3@st-andrews.ac.uk)
16
16
  - `Maria Tsalakou`_ (mt200@st-andrews.ac.uk)
@@ -8,6 +8,18 @@
8
8
  Changelog - version 1
9
9
  =====================
10
10
 
11
+ v1.4.5 (released 28/11/2026)
12
+ ----------------------------
13
+
14
+ This release contains a small number of improvements and bugfixes, including
15
+ bumping the required version of libsemigroups_ to the latest release (v3.6.2).
16
+
17
+ v1.4.4 (released 08/05/2026)
18
+ ----------------------------
19
+
20
+ This release contains a large number of fixes to the documentation, and some
21
+ minor issues in the C++ code were also resolved.
22
+
11
23
  v1.4.3 (released 16/04/2026)
12
24
  ----------------------------
13
25
 
@@ -99,11 +111,11 @@ This is a major release that significantly expands the API of
99
111
  ``libsemigroups_pybind11`` to expose much of the functionality implemented in
100
112
  version 3 of libsemigroups_. The extent of the changes made in this release
101
113
  means that it is likely that any code written with earlier versions of
102
- ``libsemigroups_pybin11`` will no longer work.
114
+ ``libsemigroups_pybind11`` will no longer work.
103
115
 
104
116
  The structure of ``libsemigroups_pybind11`` is very tightly linked to the
105
117
  structure of libsemigroups_. Therefore, some of the differences between
106
- v0.10.1 and v1.0.0 of ``libsemigroups_pyind11`` will be related to the
118
+ v0.10.1 and v1.0.0 of ``libsemigroups_pybind11`` will be related to the
107
119
  differences between v2 and v3 of libsemigroups_, such as changes to class names
108
120
  and interfaces. These changes can be found in the
109
121
  `libsemigroups changelog <https://libsemigroups.github.io/libsemigroups/md_changelog-v3.html>`_.
@@ -53,8 +53,7 @@ of the returned :any:`InversePresentation` will be :math:`\{0, 1, \dots, n-1, n,
53
53
  \dots, 2n-1\}`, where the inverse of letter :math:`i` is the letter :math:`i +
54
54
  n\, (\text{mod }2n)`.
55
55
 
56
- This function throws a :any:`LibsemigroupsError` if
57
- ``p.throw_if_bad_alphabet_or_rules()`` throws.
56
+ This function raises an exception if ``p.throw_if_bad_alphabet_or_rules()`` does.
58
57
 
59
58
  .. seealso::
60
59
 
@@ -95,11 +94,11 @@ specify the following values for *args*:
95
94
  Additionally, specify one of the following for *rtype*:
96
95
 
97
96
  - ``(InversePresentation, str)`` for constructing an
98
- - :any:`InversePresentation` over words of type ``str``.
97
+ :any:`InversePresentation` over words of type ``str``.
99
98
  - ``(InversePresentation, list[int])`` for constructing an
100
99
  :any:`InversePresentation` over words of type ``list[int]``.
101
100
 
102
- This function behaves in one of two ways, depending on type of words in *p*, and
101
+ This function behaves in one of two ways, depending on type of words in *ip*, and
103
102
  the type of words specified in *rtype*:
104
103
 
105
104
  1. When the type of words in *ip* and type of words specified in *rtype*
@@ -119,9 +118,9 @@ letter is of type ``str``, then the conversion from one type to another is
119
118
  of type ``list[int]``, then the conversion from one type to another is
120
119
  :math:`a_i \mapsto` ``human_readable_letter(a_i)``.
121
120
 
122
- This function throws a :any:`LibsemigroupsError` if the type of words in *ip* is
123
- not the same as that specified in *rtype* and
124
- ``p.throw_if_bad_alphabet_rules_or_inverses()`` throws.
121
+ This function raises a :any:`LibsemigroupsError` if the type of words in *ip* is
122
+ not the same as that specified in *rtype* or
123
+ ``p.throw_if_bad_alphabet_rules_or_inverses()`` raises.
125
124
 
126
125
  .. seealso::
127
126
 
@@ -152,8 +151,8 @@ not the same as that specified in *rtype* and
152
151
 
153
152
  .. _inverse-presentation-and-function-to-inverse-presentation:
154
153
 
155
- Converting an :any:`InversePresentation` to n :any:`InversePresentation` with a function
156
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
154
+ Converting an :any:`InversePresentation` to an :any:`InversePresentation` with a function
155
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
157
156
 
158
157
  To construct a :any:`InversePresentation` from a :any:`InversePresentation`
159
158
  using a custom letter conversion function, specify the following values for
@@ -177,8 +176,8 @@ This function returns an :any:`InversePresentation` equivalent to the input
177
176
  parameter *f* specifies how to map the letters of one :any:`InversePresentation`
178
177
  to the other.
179
178
 
180
- This function throws a :any:`LibsemigroupsError` if
181
- ``ip.throw_if_bad_alphabet_rules_or_inverses()`` throws, or if the function
179
+ This function raises a :any:`LibsemigroupsError` if
180
+ ``ip.throw_if_bad_alphabet_rules_or_inverses()`` raises, or if the function
182
181
  specified by *f* does not map letters of the type used in *ip* to letters of the
183
182
  type of word specified in *rtype*.
184
183
 
@@ -72,9 +72,9 @@ letter is of type ``str``, then the conversion from one type to another is
72
72
  of type ``list[int]``, then the conversion from one type to another is
73
73
  :math:`a_i \mapsto` ``human_readable_letter(a_i)``.
74
74
 
75
- This function throws a :any:`LibsemigroupsError` if the type of words in *p* is
76
- not the same as that specified in *rtype*, and
77
- ``p.throw_if_bad_alphabet_or_rules()`` throws.
75
+ This function raises a :any:`LibsemigroupsError` if the type of words in *p* is
76
+ not the same as that specified in *rtype*, or
77
+ ``p.throw_if_bad_alphabet_or_rules()`` raises.
78
78
 
79
79
  .. seealso::
80
80
 
@@ -128,8 +128,8 @@ example, can be used to convert from :any:`str` to :any:`int`). The second
128
128
  parameter *f* specifies how to map the letters of one :any:`Presentation` to the
129
129
  other.
130
130
 
131
- This function throws a :any:`LibsemigroupsError` if
132
- ``p.throw_if_bad_alphabet_or_rules()`` throws, or if the function specified by
131
+ This function raises a :any:`LibsemigroupsError` if
132
+ ``p.throw_if_bad_alphabet_or_rules()`` raises, or if the function specified by
133
133
  *f* does not map letters of the type used in *p* to letters of the type of word
134
134
  specified in *rtype*.
135
135
 
@@ -175,7 +175,7 @@ Additionally, specify one of the following for *rtype*:
175
175
  the same type as that in *kb*.
176
176
  - ``(Presentation, str)`` for constructing a :any:`Presentation` over words
177
177
  of type ``str``.
178
- - ``(Presentation, list[int]`` for constructing a :any:`Presentation` over
178
+ - ``(Presentation, list[int])`` for constructing a :any:`Presentation` over
179
179
  words of type ``list[int]``.
180
180
 
181
181
  This function constructs and returns a :any:`Presentation` object using the
@@ -101,10 +101,10 @@ To build ``libsemigroups_pybind11`` from a release archive:
101
101
 
102
102
  ::
103
103
 
104
- $ curl -L -O https://github.com/libsemigroups/libsemigroups_pybind11/releases/latest/download/libsemigroups_pybind11-1.4.3.tar.gz
105
- $ tar -xf libsemigroups_pybind11-1.4.3.tar.gz
106
- $ rm -f libsemigroups_pybind11-1.4.3.tar.gz
107
- $ cd libsemigroups_pybind11-1.4.3
104
+ $ curl -L -O https://github.com/libsemigroups/libsemigroups_pybind11/releases/latest/download/libsemigroups_pybind11-1.4.5.tar.gz
105
+ $ tar -xf libsemigroups_pybind11-1.4.5.tar.gz
106
+ $ rm -f libsemigroups_pybind11-1.4.5.tar.gz
107
+ $ cd libsemigroups_pybind11-1.4.5
108
108
  $ pip install .
109
109
 
110
110
  Building the documentation
@@ -52,7 +52,7 @@ The :any:`FroidurePin` object returned is isomorphic to the quotient of the
52
52
  underlying semigroup or monoid of *cong* by the congruence represented by
53
53
  *cong*.
54
54
 
55
- This function throws a :any:`LibsemigroupsError` if ``cong.kind`` is not
55
+ This function raises a :any:`LibsemigroupsError` if ``cong.kind`` is not
56
56
  ``congruence_kind.twosided``.
57
57
 
58
58
  .. doctest:: Python
@@ -95,7 +95,7 @@ Additionally, specify the following for *rtype*:
95
95
  The :any:`FroidurePin` object returned is isomorphic to the quotient semigroup
96
96
  or monoid represented by *k*.
97
97
 
98
- This function throws a :any:`LibsemigroupsError` if the
98
+ This function raises a :any:`LibsemigroupsError` if the
99
99
  :any:`Kambites.small_overlap_class` of *k* is not at least :math:`4`.
100
100
 
101
101
  .. warning::
@@ -145,7 +145,7 @@ Additionally, specify the following for *rtype*:
145
145
  The :any:`FroidurePin` object returned is isomorphic to the quotient semigroup
146
146
  or monoid represented by *kb*.
147
147
 
148
- This function throws a :any:`LibsemigroupsError` if ``kb.kind()`` is not
148
+ This function raises a :any:`LibsemigroupsError` if ``kb.kind()`` is not
149
149
  ``congruence.twosided``.
150
150
 
151
151
  .. doctest:: Python
@@ -189,7 +189,7 @@ Additionally, specify the following for *rtype*:
189
189
  The :any:`FroidurePin` object returned is isomorphic to the quotient semigroup
190
190
  or monoid represented by *tc*.
191
191
 
192
- This function throws a :any:`LibsemigroupsError` if ``tc.kind()`` is not
192
+ This function raises a :any:`LibsemigroupsError` if ``tc.kind()`` is not
193
193
  ``congruence.twosided``.
194
194
 
195
195
  .. doctest:: Python
@@ -257,8 +257,8 @@ satisfies :math:`\{a, \ldots, b - 1\}f \subseteq \{a, \ldots, b - 1\}`, then
257
257
  this function returns the :any:`FroidurePin` object corresponding to the
258
258
  semigroup or monoid generated by the set of all such transformations.
259
259
 
260
- This function throws a :any:`LibsemigroupsError` if
261
- ``throw_if_image_value_out_of_range`` throws for any of the constructed
260
+ This function raises a :any:`LibsemigroupsError` if
261
+ ``throw_if_image_value_out_of_range`` raises for any of the constructed
262
262
  generators. This can happen if, for example, the :any:`WordGraph` is not
263
263
  complete (i.e. there exists an edge label and node for which there is no edge
264
264
  with the given label and given source) or if there is an edge label such that
@@ -100,9 +100,9 @@ following values for *args*:
100
100
  Additionally, specify one of the following for *rtype*:
101
101
 
102
102
  - ``(KnuthBendix, 'RewriteTrie')`` for constructing a :any:`KnuthBendix`
103
- with the ``RewriteTrie'`` rewriter.
103
+ with the ``RewriteTrie`` rewriter.
104
104
  - ``(KnuthBendix, 'RewriteFromLeft')`` for constructing a :any:`KnuthBendix`
105
- with the ``RewriteFromLeft'`` rewriter.
105
+ with the ``RewriteFromLeft`` rewriter.
106
106
 
107
107
  This function converts a :any:`ToddCoxeter` object *tc* to a :any:`KnuthBendix`
108
108
  object with the rewriter as specified above, using
@@ -155,21 +155,21 @@ following values for *args*:
155
155
  Additionally, specify one of the following for *rtype*:
156
156
 
157
157
  - ``(KnuthBendix, str, 'RewriteTrie')`` for constructing a
158
- :any:`KnuthBendix` on words with type ``str`` using the ``RewriteTrie'``
158
+ :any:`KnuthBendix` on words with type ``str`` using the ``RewriteTrie``
159
159
  rewriter.
160
160
  - ``(KnuthBendix, list[int], 'RewriteTrie')`` for constructing a
161
161
  :any:`KnuthBendix` on words with type ``list[int]`` using the
162
- ``RewriteTrie'`` rewriter.
162
+ ``RewriteTrie`` rewriter.
163
163
  - ``(KnuthBendix, str, 'RewriteFromLeft')`` for constructing a
164
164
  :any:`KnuthBendix` on words with type ``str`` using the
165
- ``RewriteFromLeft'`` rewriter.
165
+ ``RewriteFromLeft`` rewriter.
166
166
  - ``(KnuthBendix, list[int], 'RewriteFromLeft')`` for constructing a
167
167
  :any:`KnuthBendix` on words with type ``list[int]`` using the
168
- ``RewriteFromLeft'`` rewriter.
168
+ ``RewriteFromLeft`` rewriter.
169
169
 
170
170
  This function converts a :any:`FroidurePin` object *fpb* to a :any:`KnuthBendix`
171
171
  object with the word type and rewriter as specified above. This is done using
172
- the presentation obtained from ``to(fpb, rtype=(Presentation, Word)`` where
172
+ the presentation obtained from ``to(fpb, rtype=(Presentation, Word))`` where
173
173
  ``Word`` is either ``str`` or ``list[int]``.
174
174
 
175
175
  This returned :any:`KnuthBendix` object represents the trivial congruence over
@@ -3,6 +3,7 @@ import sys
3
3
  from glob import iglob
4
4
 
5
5
  from bs4 import BeautifulSoup
6
+ from bs4.element import Tag
6
7
 
7
8
  BOLD_TEXT = "\033[1m"
8
9
  YELLOW = "\033[93m"
@@ -20,7 +21,7 @@ def warn(message):
20
21
  print(YELLOW + f"WARNING: {message}" + END_COLOUR)
21
22
 
22
23
 
23
- def extract_signature(func, func_name) -> tuple[dict[str, str], str]:
24
+ def extract_signature(func: Tag, func_name: str) -> tuple[dict[str, str], str]:
24
25
  """Extract the parameters and typehints from the signature of a function
25
26
 
26
27
  This function interrogates the signature of a function and returns:
@@ -31,6 +32,8 @@ def extract_signature(func, func_name) -> tuple[dict[str, str], str]:
31
32
  return_typehint = ""
32
33
  sig = func.find("dt", class_="sig sig-object py")
33
34
  for param in sig.find_all("em", class_="sig-param"):
35
+ if param.find("span", class_="keyword-only-separator"):
36
+ continue
34
37
  param_component = param.find_all("span", class_="n")
35
38
  if len(param_component) == 0 or len(param_component) > 2:
36
39
  warn(f"unexpected element in doc of {func_name}. Skipping . . .")
@@ -44,7 +47,7 @@ def extract_signature(func, func_name) -> tuple[dict[str, str], str]:
44
47
  return param_to_typehint, return_typehint
45
48
 
46
49
 
47
- def extract_documented_signature(func, name) -> tuple[dict[str, str], str]:
50
+ def extract_documented_signature(func: Tag, name: str) -> tuple[dict[str, str], str]:
48
51
  """Extract the parameters and typehints from the docstring of a function
49
52
 
50
53
  This function interrogates the docstring of a function and returns:
@@ -530,7 +530,7 @@ This function returns the point obtained by applying the action defined by
530
530
  "side",
531
531
  R"pbdoc(
532
532
  The values in this enum can be used to indicate that the action in an
533
- :any:`Action` instance should be a left action.
533
+ :any:`Action` instance should be a left or right action.
534
534
 
535
535
  The valid values are:
536
536
 
@@ -541,7 +541,7 @@ The valid values are:
541
541
  left action.
542
542
 
543
543
  .. py:attribute:: side.right
544
- :value: <side.left: 1>
544
+ :value: <side.right: 1>
545
545
 
546
546
  Value indicating that the action in an :any:`Action` instance should be a
547
547
  right action.
@@ -54,8 +54,7 @@ The implementation of :any:`AhoCorasick` uses two different types of node;
54
54
  in the trie. An inactive node is a node that used to be part of the trie, but
55
55
  has since been removed. It may later become active again after being
56
56
  reinitialised, and exists as a way of minimising how frequently memory needs
57
- to be allocated and deallocated for nodes. This function validates whether the
58
- given index *i* corresponds to an active node.
57
+ to be allocated and deallocated for nodes.
59
58
 
60
59
  Several helper functions are provided in the ``aho_corasick`` module, documented
61
60
  :doc:`here <helpers>`.
@@ -107,10 +106,11 @@ This function returns the index of the child of the node with index
107
106
  :param letter: the edge-label connecting the parent to the desired child.
108
107
  :type letter: int
109
108
 
110
- :returns: the index of the child.
109
+ :returns: The index of the child.
111
110
  :rtype: int | Undefined
112
111
 
113
- :raises LibsemigroupsError: if ``throw_if_node_index_not_active(parent)`` throws.
112
+ :raises LibsemigroupsError:
113
+ if ``throw_if_node_index_not_active(parent)`` raises an exception.
114
114
 
115
115
  :complexity: Constant.
116
116
 
@@ -127,10 +127,11 @@ Calculate the height of a node.
127
127
  :param i: the index of the node whose height is sought
128
128
  :type i: int
129
129
 
130
- :returns: the height.
130
+ :returns: The height.
131
131
  :rtype: int
132
132
 
133
- :raises LibsemigroupsError: if ``throw_if_node_index_not_active(i)`` throws.
133
+ :raises LibsemigroupsError:
134
+ if ``throw_if_node_index_not_active(i)`` raises an exception.
134
135
 
135
136
  :complexity:
136
137
  Linear in the return value which is, at worst, the maximum length
@@ -158,9 +159,9 @@ if it had been newly default constructed.
158
159
  R"pbdoc(
159
160
  Returns the number of nodes in the trie.
160
161
 
161
- This function Returns the number of nodes in the trie.
162
+ This function returns the number of nodes in the trie.
162
163
 
163
- :returns: The number of nodes>
164
+ :returns: The number of nodes.
164
165
  :rtype: int
165
166
 
166
167
  :complexity: Constant
@@ -206,7 +207,8 @@ the longest proper suffix of :math:`W` contained in the trie.
206
207
  :returns: The index of the suffix link.
207
208
  :rtype: int
208
209
 
209
- :raises LibsemigroupsError: if ``throw_if_node_index_not_active(current)`` throws.
210
+ :raises LibsemigroupsError:
211
+ if ``throw_if_node_index_not_active(current)`` raises an exception.
210
212
 
211
213
  :complexity: Linear in the height of the node.
212
214
 
@@ -240,10 +242,10 @@ trie.
240
242
  :returns: The index of the node traversed to
241
243
  :rtype: int
242
244
 
243
- :raises LibsemigroupsError: if ``throw_if_node_index_not_active(current)`` throws.
245
+ :raises LibsemigroupsError:
246
+ if ``throw_if_node_index_not_active(current)`` raises an exception.
244
247
 
245
248
  .. seealso:: :any:`throw_if_node_index_not_active`.
246
-
247
249
  )pbdoc");
248
250
 
249
251
  thing.def("throw_if_node_index_not_active",
@@ -257,8 +259,9 @@ Check if an index corresponds to a node currently in the trie.
257
259
  :param i: the index to validate
258
260
  :type i: int
259
261
 
260
- :raises LibsemigroupsError: if ``throw_if_node_index_out_of_range(i)`` throws, or if *i* is
261
- not an active node.
262
+ :raises LibsemigroupsError:
263
+ if ``throw_if_node_index_out_of_range(i)`` raises an exception, or if *i* is
264
+ not an active node.
262
265
 
263
266
  :complexity: Constant
264
267
 
@@ -351,8 +354,7 @@ Add a word to the trie of *ac*
351
354
  Calling this function immediately adds the word *w* to the trie of *ac*, and
352
355
  makes the final node on the path labelled by this word terminal (if it
353
356
  wasn't already). After adding a word, existing suffix links become
354
- invalid. If an identical word has already been added to the trie of *ac*, then
355
- this function does nothing.
357
+ invalid.
356
358
 
357
359
  :param ac: object whose trie is to be added to
358
360
  :type ac: AhoCorasick
@@ -364,6 +366,9 @@ this function does nothing.
364
366
  This node will have a :any:`signature` equal to that of *w*.
365
367
  :rtype: int
366
368
 
369
+ :raises LibsemigroupsError:
370
+ if an identical word has already been added to the trie of *ac*.
371
+
367
372
  :complexity: Linear in the length of *w*.
368
373
 
369
374
  .. seealso:: :any:`AhoCorasick.signature`
@@ -397,10 +402,9 @@ that correspond to the largest suffix *w*, such that each :math:`n_i` has either
397
402
  zero children or one. After this, existing suffix links become invalid.
398
403
 
399
404
  If *w* corresponds to a terminal node :math:`n` with children, then calling this
400
- function makes :math`n` not terminal.
405
+ function makes :math:`n` not terminal.
401
406
 
402
- If *w* does not correspond to a terminal node, then calling this function does
403
- nothing.
407
+ If *w* does not correspond to a terminal node, then this function raises an exception.
404
408
 
405
409
  :param ac: the trie.
406
410
  :type ac: AhoCorasick
@@ -411,6 +415,9 @@ nothing.
411
415
  :returns: The index corresponding to the node with signature equal to *w*.
412
416
  :rtype: int
413
417
 
418
+ :raises LibsemigroupsError:
419
+ if *w* does not correspond to a terminal node.
420
+
414
421
  :complexity: Linear in the length of *w*.
415
422
 
416
423
  .. seealso:: :any:`AhoCorasick.signature`
@@ -319,7 +319,7 @@ The parameter *lookup*:
319
319
  * must have length :math:`2n` for some positive integer :math:`n`;
320
320
  * consist of non-negative integers; and
321
321
  * have the property that if :math:`i`, :math:`i > 0` occurs in *lookup*,
322
- then :math:`i - 1` occurs earlier in *lookup*. The value of ``blocks[i]``
322
+ then :math:`i - 1` occurs earlier in *lookup*. The value of ``lookup[i]``
323
323
  should represent the index of the block containing ``i``.
324
324
 
325
325
  For example, if *lookup* is ``[0, 1, 1, 2, 1, 1, 3, 1, 1, 4, 5, 6]``, then
@@ -503,13 +503,13 @@ are referred to as the *transverse* blocks.
503
503
  &Bipartition::one,
504
504
  py::arg("n"),
505
505
  R"pbdoc(
506
- :sig=(self: Bipartition, n: int) -> Bipartition:
506
+ :sig=(n: int) -> Bipartition:
507
507
 
508
508
  Return the identity bipartition of given degree.
509
509
 
510
510
  Returns the identity bipartition of degree ``n``. The *identity bipartition* of
511
- degree :math:`n` has blocks :math:`\{i, -i\}` for all :math:`i\in \{0, \ldots,
512
- n - 1\}`. This member function returns a new identity bipartition of degree
511
+ degree :math:`n` has blocks :math:`\{i, -i\}` for all :math:`i\in \{1, \ldots,
512
+ n\}`. This member function returns a new identity bipartition of degree
513
513
  equal to ``n``.
514
514
 
515
515
  :param n: the degree of the identity to be returned.
@@ -547,7 +547,7 @@ returned list is ``True`` if the block with index ``i`` is transverse and
547
547
  Return the identity bipartition with the same degree as the given bipartition.
548
548
 
549
549
  The *identity bipartition* of degree :math:`n` has blocks :math:`\{i, -i\}` for
550
- all :math:`i\in \{0, \ldots, n - 1\}`. This function returns a new identity
550
+ all :math:`i\in \{1, \ldots, n\}`. This function returns a new identity
551
551
  bipartition of degree equal to the degree of *self*.
552
552
 
553
553
  :param f: a bipartition
@@ -569,7 +569,7 @@ partition* of a bipartition *f* is the partition of a subset :math:`P` of
569
569
 
570
570
  - :math:`\{|y|\mid y\in P\} = \{1, \ldots, n\}` ;
571
571
  - a block of the partition consists of negative numbers if and only if
572
- the corresponding block of *y* is a transverse block.
572
+ the corresponding block of *f* is a transverse block.
573
573
 
574
574
  :param f: the bipartition
575
575
  :type f: Bipartition
@@ -622,7 +622,7 @@ at random from among all bipartitions of degree equal to *deg*.
622
622
  :rtype: Bipartition
623
623
 
624
624
  :raises LibsemigroupsError:
625
- if the degree of *deg* is too large. The implementation depends on
625
+ if *deg* is too large. The implementation depends on
626
626
  computing several values that can easily exceed the maximum value of any
627
627
  fixed precision integer or float type. When this occurs this exception is
628
628
  thrown.)pbdoc");
@@ -227,7 +227,7 @@ of kind *knd* over the semigroup or monoid defined by the presentation *p*.
227
227
 
228
228
  {detail}
229
229
 
230
- :param knd: the kind (onesided or twosided) of the congruence.
230
+ :param knd: the kind (`onesided` or `twosided`) of the congruence.
231
231
  :type knd: congruence_kind
232
232
 
233
233
  :param p: the presentation.
@@ -307,13 +307,13 @@ had been newly constructed from *knd* and *p*.
307
307
 
308
308
  {detail}
309
309
 
310
- :param knd: the kind (onesided or twosided) of the congruence.
310
+ :param knd: the kind (`onesided` or `twosided`) of the congruence.
311
311
  :type knd: :any:`congruence_kind`
312
312
 
313
313
  :param p: the presentation.
314
314
  :type p: Presentation
315
315
 
316
- :returns: *self*.
316
+ :returns: *self*.
317
317
  :rtype: {name}
318
318
 
319
319
  :raises LibsemigroupsError: if *p* is not valid.
@@ -862,7 +862,7 @@ input word.
862
862
  &Thing::generating_pairs,
863
863
  make_doc(
864
864
  R"pbdoc(
865
- :sig=(self : {name}) -> list[list[int] | str]:
865
+ :sig=(self: {name}) -> list[list[int] | str]:
866
866
  {only_document_once}
867
867
 
868
868
  Get the generating pairs of the congruence.
@@ -989,7 +989,7 @@ presentation, then this presentation is returned by this function.
989
989
  py::arg(extra_doc.var.data()),
990
990
  py::arg("words"),
991
991
  make_doc(R"pbdoc(
992
- :sig=({var}: {name}, words: list[list[int] | str]) -> list[list[list[int]] | list[str]]:
992
+ :sig=({var}: {name}, words: list[list[int] | str]) -> list[list[list[int]]] | list[list[str]]:
993
993
  {only_document_once}
994
994
 
995
995
  Partition a list of words.
@@ -1007,7 +1007,7 @@ triggers a full enumeration of *{var}*.
1007
1007
  :type words: list[list[int] | str]
1008
1008
 
1009
1009
  :returns: The partitioned list of words.
1010
- :rtype: list[list[list[int]] | list[str]]
1010
+ :rtype: list[list[list[int]]] | list[list[str]]
1011
1011
 
1012
1012
  {raises}
1013
1013
  )pbdoc",
@@ -1057,7 +1057,7 @@ triggers a full enumeration of *{var}*.
1057
1057
  py::arg("words"),
1058
1058
  make_doc(
1059
1059
  R"pbdoc(
1060
- :sig=({var}: {name}, words: list[list[int] | str]) -> list[list[list[int]] | list[str]]:
1060
+ :sig=({var}: {name}, words: list[list[int] | str]) -> list[list[list[int]]] | list[list[str]]:
1061
1061
  {only_document_once}
1062
1062
 
1063
1063
  Find the non-trivial classes in the partition of a list of words.
@@ -1074,8 +1074,8 @@ instance *{var}*.
1074
1074
  :param words: the input list of words.
1075
1075
  :type words: list[list[int] | str]
1076
1076
 
1077
- :returns: The partition of the input list.
1078
- :rtype: list[list[list[int]] | list[str]]
1077
+ :returns: The non-trivial classes in the partition of the input list.
1078
+ :rtype: list[list[list[int]]] | list[list[str]]
1079
1079
 
1080
1080
  {raises})pbdoc",
1081
1081
  class_name,
@@ -227,7 +227,7 @@ contained in a :any:`Congruence` object.
227
227
  R"pbdoc(
228
228
  :sig=(c: Congruence) -> bool:
229
229
 
230
- Function for checking if a congruence obviously has infinite many
230
+ Function for checking if a congruence obviously has infinitely many
231
231
  classes.
232
232
 
233
233
  This function returns ``True`` if the quotient of the finitely presented