Auto_Hash_Separator is a Python package designed to automate the insertion of hash separators between functions and classes within Python files. This tool enhances code readability by visually separating distinct sections of code, improving maintainability and collaboration in development projects.
- Automatic Insertion: Automatically inserts hash separators in Python files, enhancing code organization and readability.
- Flexible Usage: Supports processing of single files, all Python files in a directory, or specific directories.
- Developer-Friendly: Lightweight, easy-to-use tool that simplifies the process of maintaining clean and structured Python projects.
You can install Auto_Hash_Separator via pip:
pip install auto_hash_separatorTo insert hash separators in a single Python file:
hash-separator path/to/your/file_or_directoryReplace path/to/your/file_or_directory with the path to your Python file or directory.
To insert hash separators in all Python files within a directory:
hash-separator all