Initial commit
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
"""{{ cookiecutter.project_name }} - {{ cookiecutter.description }}"""
|
||||
|
||||
__version__ = "{{ cookiecutter.version }}"
|
||||
|
||||
|
||||
def hello() -> str:
|
||||
"""Return a hello message."""
|
||||
return "Hello from {{ cookiecutter.project_name }}!"
|
||||
@@ -0,0 +1,17 @@
|
||||
"""Core functionality for {{ cookiecutter.project_name }}."""
|
||||
|
||||
|
||||
def process_data(data: str) -> str:
|
||||
"""Process input data and return result."""
|
||||
return f"Processed: {data}"
|
||||
|
||||
|
||||
class {{ cookiecutter.project_name.replace(' ', '').replace('-', '') }}:
|
||||
"""Main class for {{ cookiecutter.project_name }}."""
|
||||
|
||||
def __init__(self, name: str = "default") -> None:
|
||||
self.name = name
|
||||
|
||||
def run(self) -> str:
|
||||
"""Run the main functionality."""
|
||||
return f"Running {{ cookiecutter.project_name }} with {self.name}"
|
||||
Reference in New Issue
Block a user