$npx skillfedfor your agent

dynamicprompts

Dynamic prompts templating library for Stable Diffusion

With conditionsPyPI Text ProcessingReleased Mar 2024157.0K downloads / mopermissive licensePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — dynamicprompts-0.31.0-py3-none-any.whl
v0.31.0 · released 2024-03-21 · Python >=3.8 · 2 runtime deps: jinja2, pyparsing

Yes, if you actively use Stable Diffusion or similar text-to-image generators and need to generate many prompt variations. The low install friction and permissive license make it safe to try. However, the dormant maintenance status means you should verify compatibility with your current image generator version and be prepared to fork or find alternatives if critical bugs emerge. Not recommended if you need active support or expect the package to evolve.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Low friction install with only jinja2 and pyparsing as runtime dependencies.
  • Package is dormant (876 days since last release in March 2024), so expect no active maintenance or bug fixes going forward.

License · maintenance · safety

permissive license (permissive) — MIT license (permissive) means you can use, modify, and distribute the package freely with minimal restrictions, though you must include the license notice.

last release 2024-03-21 (876 days)

0 known vulnerabilities (OSV.dev, 2026-08-14) · 157,039 downloads/mo, #10,769 on PyPI

Verify before relying

pip install dynamicprompts

from dynamicprompts.generators import RandomPromptGenerator

generator = RandomPromptGenerator()
results = generator.generate("I love {red|green|blue} roses", num_images=5)
  • Whether the package still works with current versions of Stable Diffusion or other image generators it targets
  • Whether the optional extras (magicprompt, attentiongrabber) are still functional or maintained elsewhere
  • Active community or alternative maintained forks given the dormant status
Same gist for agents: .md · .json

What it is and what it does

Dynamic Prompts is a templating library that transforms single prompt templates into multiple varied prompts for text-to-image generators. It lets you define variants using curly-brace syntax (e.g., `{red|green|blue}`), reference reusable wildcard files (e.g., `__colors__`), and use Jinja2 for advanced templating. The library can generate prompts randomly or exhaustively (all combinations), making it useful for batch-generating diverse image prompts without manual repetition.

The package depends on jinja2 for template processing and pyparsing for parsing the custom template syntax. It supports Python 3.8 through 3.11 and integrates with the Automatic1111 Stable Diffusion web UI extension. However, the package has been dormant since March 2024, so it receives no active maintenance or updates.

Use it for

  • Generate multiple image prompts from a single template to explore variations without manual rewriting
  • Build reusable wildcard libraries (colors, materials, subjects) to compose consistent prompt families
  • Exhaustively generate all possible prompt combinations to systematically test image generation outputs
  • Integrate prompt templating into batch image generation workflows for Stable Diffusion or similar tools
  • Create complex prompts with Jinja2 logic for conditional or computed prompt segments

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you actively use Stable Diffusion or similar text-to-image generators and need to generate many prompt variations.

The low install friction and permissive license make it safe to try. However, the dormant maintenance status means you should verify compatibility with your current image generator version and be prepared to fork or find alternatives if critical bugs emerge. Not recommended if you need active support or expect the package to evolve.

Install

dynamicprompts on PyPI

Before you install

Low friction install with only jinja2 and pyparsing as runtime dependencies. Package is dormant (876 days since last release in March 2024), so expect no active maintenance or bug fixes going forward.

License in practice

MIT license (permissive) means you can use, modify, and distribute the package freely with minimal restrictions, though you must include the license notice.

Quickstart

pip install dynamicprompts

from dynamicprompts.generators import RandomPromptGenerator

generator = RandomPromptGenerator()
results = generator.generate("I love {red|green|blue} roses", num_images=5)

Verify before relying

  • Whether the package still works with current versions of Stable Diffusion or other image generators it targets
  • Whether the optional extras (magicprompt, attentiongrabber) are still functional or maintained elsewhere
  • Active community or alternative maintained forks given the dormant status

Package facts

Licensepermissive license permissive
Python supportSupports the current Python release >=3.8
Install frictionLow. Pure-Python wheel
Runtime dependencies
2 packages
jinja2pyparsing
MaintenanceDormant 876 days since the last release
First released
Downloads157,039 / month, #10,769 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 4 - BetaIntended Audience :: DevelopersIntended Audience :: Information TechnologyLicense :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Text Processing

Evidence: dynamicprompts-0.31.0-py3-none-any.whl

Tags

Capabilities
prompt template generationstable diffusion prompt buildertext-to-image prompt templatingdynamic prompt variantswildcard prompt expansionprompt engineering librarycombinatorial prompt generation
Topics
prompt-engineeringstable-diffusiontemplate-generation
PyPI keywords
automatic1111prompt engineeringstable diffusiontext2img

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “prompt template generation”

  • dynamicpromptsGenerates varied text prompts for image generators like Stable…
  • pydantic-handlebarsRenders Handlebars templates for composing LLM prompts, with…
  • banksBanks is a template language and prompt management system for…

Give your agent the search over MCP, or paste the wish link into any chat.

More Text Processing packages

regex Worth it
PyPI · Python Modules · released Jul 2026

A drop-in replacement for Python's standard `re` module that adds advanced regex features like nested sets, fuzzy matching, lookaround in conditionals, and full Unicode case-folding while maintaining backward compatibility.

Apache-2.0 AND CNRI-Pythoncompiled wheel · 3.10+
437.7Mdownloads / mo
pyparsing Worth it
PyPI · Text Processing · released Jan 2026

pyparsing provides a library for building text parsers directly in Python code using composable grammar classes, handling quoted strings, whitespace variation, and embedded comments without regex or lex/yacc.

Install it if you need to parse text or define grammars programmatically.

MITpure Python · 3.9+
412.7Mdownloads / mo
fonttools Worth it
PyPI · Text Processing · released May 2026

fonttools manipulates font files in multiple formats (TrueType, OpenType, AFM, Type 1, Mac-specific) and includes TTX, a tool to convert fonts to and from XML text format.

Install it if you need to read, write, or manipulate fonts programmatically or via the TTX command-line tool.

permissive licensepure Python · 3.10+
235.9Mdownloads / mo
docutils With conditions
PyPI · Software Development · released May 2026

Docutils converts plaintext documentation in reStructuredText format into multiple output formats including HTML, XML, and LaTeX using a modular processing system.

BSD-3-Clausepure Python · 3.9+
225.6Mdownloads / mo
RapidFuzz Worth it
PyPI · Text Processing · released Apr 2026

RapidFuzz provides fast fuzzy string matching using Levenshtein Distance and related metrics, implemented mostly in C++ with Python bindings for rapid similarity scoring and approximate string matching.

Install it if you need fuzzy string matching; it's a solid replacement for FuzzyWuzzy with better licensing and performance.

MITcompiled wheel · 3.10+
184.2Mdownloads / mo
tinycss2 Worth it
PyPI · Text Processing · released Nov 2025

tinycss2 parses CSS strings into token and block objects, and generates CSS strings from those objects, following the CSS Syntax Level 3 specification without enforcing specific properties or values.

Install it if your project requires CSS tokenization or syntax manipulation.

BSD-3-Clausepure Python · 3.10+
113.2Mdownloads / mo

See also clip-interrogator · Jinja2 · questo · diffusers · prompthub-py · sphinx-prompt · banks · ell-ai · branca · beaupy