Purpose: [One sentence describing what this module does]
Entry Point: [main_file.py]
Status: [Active/Deprecated/Experimental]
Key Functions:
function_name()- [Purpose]another_function()- [Purpose]
Key Classes:
ClassName- [Purpose]
Common Usage:
from [module] import [class/function]
# [Example usage][Module architecture diagram or flow]
Example:
Input → Validation → Processing → Output
↓
Caching Layer
File: [filename.py]
Purpose: [Description]
Key Methods:
def important_method(self, param):
"""[What it does]"""
passFile: [filename.py]
Purpose: [Description]
Internal:
[other_module]- [Why needed]
External:
[library_name]- [Why needed]
Environment Variables:
export [VAR_NAME]=[value] # [Purpose]Config Files:
# [config.yml]
[key]: [value]Initialize:
[initialization code]Common Use Cases:
# Use case 1: [Description]
[code example]
# Use case 2: [Description]
[code example]Called By:
[file.py:line]- [Context]
Calls:
[module.function]- [Purpose][external.api]- [Purpose]
Common Errors:
[ErrorType]: [When it occurs] → [How to fix][ErrorType]: [When it occurs] → [How to fix]
Unit Tests:
pytest tests/test_[module].pyIntegration Tests:
pytest tests/integration/test_[module]_integration.py- [Performance note 1]
- [Performance note 2]
Benchmarks:
[Date]:
- [Change description]
- [Reason]
Last Updated: [Date] Maintained By: [Your name]