uvx pystrfreqThe tool will walk through the current directory, parse all .py file and then tabluate the frequency of string in the parsed files.
To check all usage options:
uvx pystrfreq -h- Requires Python 3.11 to 3.15.
- Results depend on the Python version running
pystrfreq: files are parsed with that interpreter's grammar, so files using newer syntax (e.g. t-strings, 3.14+) are skipped with a warning on an older Python. Run with the newest Python your codebase targets, e.g.uvx --python 3.15 pystrfreq. FormmatedValueinf-stringare not supported, while thef-stringwill be broken into its constant parts and tabulated.
This project is licensed under the MIT License.