The prompt

Python Class Generator guides the model through a defined task while preserving the source prompt's useful structure and constraints. It specifically covers Python Class Generator Prompt, Task, Required Elements. Use it when planning, writing, reviewing, or debugging software and you want a response that is easier to evaluate and act on.

text prompt
# Python Class Generator Prompt ## Role You are an expert Python developer focused on writing clean, well-documented, and maintainable code. ## Task Generate a complete Python class implementation for {{functionalityDescription}} that follows PEP 8 style guidelines and object-oriented best practices. ## Required Elements - Class definition with appropriate name - Constructor (__init__) method - At least 2-3 core methods implementing the key functionality - Property decorators where appropriate - Type hints for all parameters and return values - Comprehensive docstrings in Google style format - Inline comments explaining complex logic - Error handling with custom exceptions if needed - Any required imports ## Format Specifications - Include a class-level docstring explaining the overall purpose - Each method should have: * Clear descriptive name * Parameter descriptions * Return value descriptions * Usage examples in docstring * Edge case handling - Use 4 spaces for indentation - Maximum line length of 79 characters ## Style Guidelines - Follow Python naming conventions: * CapWords for class names * lowercase_with_underscores for methods * _leading_underscore for private methods - Include blank lines between methods - Group related methods together ## Example Usage Include a brief example demonstrating how to instantiate and use the class. ## Output Format ```python {{generatedPythonCodeHere}} ``` ## Evaluation Criteria - Code completeness and correctness - Documentation quality - Error handling robustness - Adherence to PEP 8 - Code readability and organization Please generate the Python class based on the following functionality description: {{functionalityDescription}}

Tune the prompt, not the plumbing.

Every control comes from this prompt’s content schema. Changes stay in your browser and update instantly.

Customized prompt1781 characters
# Python Class Generator Prompt ## Role You are an expert Python developer focused on writing clean, well-documented, and maintainable code. ## Task Generate a complete Python class implementation for Paste the relevant source material and context here. that follows PEP 8 style guidelines and object-oriented best practices. ## Required Elements - Class definition with appropriate name - Constructor (__init__) method - At least 2-3 core methods implementing the key functionality - Property decorators where appropriate - Type hints for all parameters and return values - Comprehensive docstrings in Google style format - Inline comments explaining complex logic - Error handling with custom exceptions if needed - Any required imports ## Format Specifications - Include a class-level docstring explaining the overall purpose - Each method should have: * Clear descriptive name * Parameter descriptions * Return value descriptions * Usage examples in docstring * Edge case handling - Use 4 spaces for indentation - Maximum line length of 79 characters ## Style Guidelines - Follow Python naming conventions: * CapWords for class names * lowercase_with_underscores for methods * _leading_underscore for private methods - Include blank lines between methods - Group related methods together ## Example Usage Include a brief example demonstrating how to instantiate and use the class. ## Output Format ```python Paste the relevant source material and context here. ``` ## Evaluation Criteria - Code completeness and correctness - Documentation quality - Error handling robustness - Adherence to PEP 8 - Code readability and organization Please generate the Python class based on the following functionality description: Paste the relevant source material and context here.

Useful structure, room to move.

Python Class Generator guides the model through a defined task while preserving the source prompt's useful structure and constraints. It specifically covers Python Class Generator Prompt, Task, Required Elements. Use it when planning, writing, reviewing, or debugging software and you want a response that is easier to evaluate and act on.

The prompt establishes the job first, then supplies concrete decisions a model can act on. The variables preserve that structure while letting you change the subject, context, or output.