Conversation
- Add a pure Rust workspace (strsimpy-core) implementing every algorithm. - Add PyO3 bindings (strsimpy._strsimpy) and keep the Python package API, root exports, and per-module imports compatible. - Build with maturin; publish abi3 wheels and an sdist to PyPI. - Fix OptimalStringAlignment empty-string handling and SorensenDice division by zero; align NGram loop bounds with upstream. - Rewrite CI for Rust checks, Black formatting, Ruff RUF022, and Python 3.10-3.13; build and smoke-test distributions. - Expand the Python tests and add Rust unit tests. - Update README and changelog for 0.4.0. Co-Authored-By: Claude Code <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
crates/strsimpy-core) and expose them through PyO3 (crates/strsimpy-py).strsimpyAPI, root exports, and per-module imports.RUF022(__all__ordering) in CI.Verification
cargo test --workspace --locked: 64 passedpytest: 72 passed, 20 subtestsblack --check python tests,ruff check --select RUF022 python testsmaturin build --release --locked,maturin sdist,twine check🤖 Generated with Claude Code