Upload Python File
Upload a .py file to extract components and store them in the database.
What Gets Extracted?
- Functions: All top-level functions
- Methods: All methods within classes
- Classes: Class definitions with their structure
Captured Information:
- Complete source code
- Signatures with type annotations
- Docstrings and decorators
- Parameter types and defaults
- Return type annotations
- Line numbers and file location
LLM-Generated Metadata:
- Natural language description
- Purpose and functionality
- Parameter explanations
- Return value details
- Required dependencies
- Usage examples
- Best practices
- Searchable tags
- Complexity assessment