| 653 | |
| 654 | |
| 655 | def gen_readme(name: str, mod: str) -> str: |
| 656 | return f'''\ |
| 657 | # {name} |
| 658 | |
| 659 | > One-line description — what it does and why it's useful. |
| 660 | |
| 661 | [](https://pypi.org/project/{name}/) |
| 662 | [](https://pypi.org/project/{name}/) |
| 663 | [](LICENSE) |
| 664 | |
| 665 | ## Installation |
| 666 | |
| 667 | ```bash |
| 668 | pip install {name} |
| 669 | ``` |
| 670 | |
| 671 | ## Quick Start |
| 672 | |
| 673 | ```python |
| 674 | from {mod} import YourClient |
| 675 | |
| 676 | client = YourClient(api_key="sk-...") |
| 677 | result = client.process({{"input": "value"}}) |
| 678 | print(result) |
| 679 | ``` |
| 680 | |
| 681 | ## Configuration |
| 682 | |
| 683 | | Parameter | Type | Default | Description | |
| 684 | |---|---|---|---| |
| 685 | | api_key | str | required | Authentication credential | |
| 686 | | timeout | int | 30 | Request timeout in seconds | |
| 687 | | retries | int | 3 | Number of retry attempts | |
| 688 | |
| 689 | ## Contributing |
| 690 | |
| 691 | See [CONTRIBUTING.md](./CONTRIBUTING.md) |
| 692 | |
| 693 | ## Changelog |
| 694 | |
| 695 | See [CHANGELOG.md](./CHANGELOG.md) |
| 696 | |
| 697 | ## License |
| 698 | |
| 699 | MIT — see [LICENSE](./LICENSE) |
| 700 | ''' |
| 701 | |
| 702 | |
| 703 | def gen_setup_py() -> str: |