todex
Peak mud digger and TODO extractor
usage: todex [-h] [-x [PATTERN ...]] [-H] [-t [TOKEN ...]] [-i] [-f] [-s] [-r] [-m N] [-d] [-o OUT] [-v] PATH
positional arguments:
PATH path to file or dir to process
options:
-h, --help show this help message and exit
-x, --exclude [PATTERN ...]
git-like patterns to skip (paths, names, or globs together with default .* / __*), e.g.
bar.py any file named bar.py
/bar.py only top-level
foo/bar.py path under the scan root
vendor/ directory and its contents
**/*.pyc nested matches
!fizz.md re-include after a broader exclude
-H, --include-hidden do not apply default excludes for hidden names (.* / __*)
-t, --tokens [TOKEN ...]
list of tokens to search for (together with default TODO, FIXME) e.g. WARN, REVISIT.
If the token is followed by {lines-count} e.g. #FIXME{3}
the extractor will include multiline snippet with the length specified between the curly braces:
#FIXME{3} - revist after release
if self.foo == "bar":
return f"fizz{buzz}"
-i, --ignore-default use only -t tokens (skip default TODO, FIXME)
-f, --full-path display absolute dir/file path
-s, --short display only token messages e.g. '#TODO: after release', ignore longer snippets
-r, --recursive traverse given dir path recursively
-m, --max-depth N maximum depth of dir traversal - used with -r/--recursive flag
-d, --debug enable debug mode
-o, --out OUT path to output file, if existing dir is passed instead - TODO out file will be saved inside
-v, --version show program's version number and exit
Release files for todex 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| todex-1.0.1.tar.gz | 5.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| todex-1.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 13.5 kB
Release files / todex-1.0.1.tar.gz
| Download URL | todex-1.0.1.tar.gz |
|---|---|
| Size | 5.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9b8f3867d6f1aea7253ff5b475b44ab63d07d06553f4d20da29d3e7d010d0b4f
|
|
BLAKE2b-256 checksum How to use checksums |
b63b3ef34c299695e6588508bb4ae8324b0619fdaa9e7aa6abb9fd73dd2dad39
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.12
|
Release files / todex-1.0.1-py3-none-any.whl
| Download URL | todex-1.0.1-py3-none-any.whl |
|---|---|
| Size | 7.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8d3cdbd634f8c311c492215287f14c9217bb4bbecd538553ed5b0b0964874f9e
|
|
BLAKE2b-256 checksum How to use checksums |
354fba275fa1f93c005bc5a2d6de6300e790a82c6cd3d3d23e4536e90fefd04c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.12
|