Skip to content

Conversation

@Alfredooe
Copy link
Owner

No description provided.

This commit introduces a feature to identify and report emails that are
lexically similar to one or more specified usernames.

Key changes:

-   The `--similar-to` command-line argument now accepts multiple
    usernames (`nargs='+'`).
-   Uses Levenshtein distance to determine similarity between the
    local part of an email (before '@') and the provided usernames.
-   Found emails are processed against each target username.
-   Output (both console and file if `-o` is used) has been updated
    to display similar emails grouped by the target username they
    matched. Each group is clearly headed (e.g., "Emails similar to 'userX':").
-   If an output file is used, similar emails are appended to the same
    file, under their respective username headings, rather than creating
    separate files.
-   The `python-Levenshtein` library has been added to `requirements.txt`.
Adds documentation for the `--similar-to` command-line argument, including its purpose, behavior (multiple usernames, Levenshtein distance), and an example of its usage.
@Alfredooe Alfredooe merged commit b7774be into main May 20, 2025
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants