Sungai is a tool for rating directories. It's great at giving pointers when cleaning up very messy directories.
Install with pip install sungai
To run sungai on current directory (".")
sungai .
The target directory will get a rating between 0.0 and 1.0. The minimum score required for the target directory can also be set with the --min_score
flag. The error count should be 0 for a pass.
sungai <your_path_string_here> --min_score 1.0 --verbose
Sungai lists directory paths in descending order of priority.
CAUTION: It is entirely up to the user to rearrange the contents of those directories. Or not. Example actions include:
- moving them up to their parent directory
- rearranging their files
- grouping their directories into new ones
- ignoring sungai
- altogether deleting the given directories
An ignore file path can be specified to sungai. The given file should follow the .gitignore syntax.
sungai <your_path_string_here> --ignore_config .sungai_ignore
Feel free to drop an issue on the project's github page.