Tabulate the frequency of string object in a python codebase
Project description
Usage
uvx pystrfreq
The tool will walk through the current directory, parse all .py file and then tabluate the frequency of string in the parsed files.
Options
usage: pystrfreq [-h] [--min-count MIN_COUNT] [files_or_dirs ...]
count strings in Python files
positional arguments:
files_or_dirs files or directories to scan
optional arguments:
-h, --help show this help message and exit
--min-count MIN_COUNT, -m MIN_COUNT
show only strings with count equals to or is above this threshold
Known Caveats
- This package does not support parsing python version < 3.9
FormmatedValueinf-stringare not supported, while thef-stringwill be broken into its constant parts and tabulated.
License
This project is licensed under the MIT License.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pystrfreq-0.2.0.tar.gz
(2.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pystrfreq-0.2.0.tar.gz.
File metadata
- Download URL: pystrfreq-0.2.0.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8e1ab21dd351f1a30f69843bf0d4ed263306d9cb45975fd893c79ba6f36f8979
|
|
| MD5 |
635852405d75a70eddf904dedb553347
|
|
| BLAKE2b-256 |
58d19ad9d9a297e9fbaf110301a71a63e5a7092cc33a42beef03d9a3ebafb06c
|
File details
Details for the file pystrfreq-0.2.0-py3-none-any.whl.
File metadata
- Download URL: pystrfreq-0.2.0-py3-none-any.whl
- Upload date:
- Size: 3.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d5aa465074521d71a12423084e51c806521cf04007ca1da3b2364da7fce1955c
|
|
| MD5 |
468c87fe18c14fb5d7dbc6fd625787e3
|
|
| BLAKE2b-256 |
f2dacc84d7f38b3e110409cf4979f001526961455b8a82742a654f78efef315a
|