# Prompt Generator
A Python package for generating structured prompts from markdown templates.
## Installation
```bash
pip install prompt-generator
```
## Usage
```python
from prompt_generator import PromptGenerator
# Initialize the generator
generator = PromptGenerator()
# Generate a prompt from a markdown template
prompt = await generator.generate_prompt("templates/background.md", "prompts")
```
## Features
- Generate structured prompts from markdown templates
- Support for examples and context in templates
- AWS Bedrock integration for AI-powered prompt generation
- Async/await support for efficient processing
## License
This project is licensed under the MIT License - see the LICENSE file for details.
Raw data
{
"_id": null,
"home_page": "https://github.com/devfactory/prompt-generator",
"name": "question-generator",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.7",
"maintainer_email": null,
"keywords": null,
"author": "David Schwartz",
"author_email": "david.schwartz@devfactory.com",
"download_url": "https://files.pythonhosted.org/packages/0f/fa/c760090b2bcf47ef419912ef3e0968eecd48b158b7142e66e89a22d7e0ec/question-generator-0.1.11.tar.gz",
"platform": null,
"description": "# Prompt Generator\n\nA Python package for generating structured prompts from markdown templates.\n\n## Installation\n\n```bash\npip install prompt-generator\n```\n\n## Usage\n\n```python\nfrom prompt_generator import PromptGenerator\n\n# Initialize the generator\ngenerator = PromptGenerator()\n\n# Generate a prompt from a markdown template\nprompt = await generator.generate_prompt(\"templates/background.md\", \"prompts\")\n```\n\n## Features\n\n- Generate structured prompts from markdown templates\n- Support for examples and context in templates\n- AWS Bedrock integration for AI-powered prompt generation\n- Async/await support for efficient processing\n\n## License\n\nThis project is licensed under the MIT License - see the LICENSE file for details.\n\n\n",
"bugtrack_url": null,
"license": null,
"summary": "A CLI tool for generating prompts from Notion templates",
"version": "0.1.11",
"project_urls": {
"Homepage": "https://github.com/devfactory/prompt-generator"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "f529078d7640c73be2f125e00c342aa2bb52139013339877fd1f0e5ab6cedc04",
"md5": "ce9e6c1e8ab84341bfc898b7b42c9f82",
"sha256": "93fe601316df947aeb6f20b62e39765affe0aa064d8ccb656ceee37525dea29e"
},
"downloads": -1,
"filename": "question_generator-0.1.11-py3-none-any.whl",
"has_sig": false,
"md5_digest": "ce9e6c1e8ab84341bfc898b7b42c9f82",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7",
"size": 7784,
"upload_time": "2024-12-09T07:49:00",
"upload_time_iso_8601": "2024-12-09T07:49:00.024244Z",
"url": "https://files.pythonhosted.org/packages/f5/29/078d7640c73be2f125e00c342aa2bb52139013339877fd1f0e5ab6cedc04/question_generator-0.1.11-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "0ffac760090b2bcf47ef419912ef3e0968eecd48b158b7142e66e89a22d7e0ec",
"md5": "981d5b64b73327c1d7203f6eb9eb100d",
"sha256": "8563d6c373dd6cffd064b988ceb4a2ccaf57780385b659c194befc9f2418a7b6"
},
"downloads": -1,
"filename": "question-generator-0.1.11.tar.gz",
"has_sig": false,
"md5_digest": "981d5b64b73327c1d7203f6eb9eb100d",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7",
"size": 6975,
"upload_time": "2024-12-09T07:49:01",
"upload_time_iso_8601": "2024-12-09T07:49:01.618456Z",
"url": "https://files.pythonhosted.org/packages/0f/fa/c760090b2bcf47ef419912ef3e0968eecd48b158b7142e66e89a22d7e0ec/question-generator-0.1.11.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-12-09 07:49:01",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "devfactory",
"github_project": "prompt-generator",
"github_not_found": true,
"lcname": "question-generator"
}