Submitting Author: Milad Rezanezhad (@miladrezanezhad)
Package Name: story-toolkit
One-Line Description of Package: A comprehensive Python toolkit for generating engaging and coherent stories with optional LLM support
Repository Link (if existing): https://github.com/miladrezanezhad/story-toolkit
EiC: TBD
Code of Conduct & Commitment to Maintain Package
Description
story-toolkit is a Python package that provides a comprehensive set of tools for generating and analyzing coherent stories. It offers modules for character creation (with traits, goals, relationships), plot generation (supporting multiple genres like fantasy, mystery, romance), dialogue writing, world building, and coherence checking. The package includes optional LLM integration (OpenAI, Anthropic, and local models via Ollama) for advanced generation, supports multiple export formats (PDF, EPUB, HTML, JSON, Markdown), and provides pre-built story templates (e.g., Hero's Journey, 3-Act structure). It is designed for writers, educators, and researchers in computational creativity and narrative generation.
Community Partnerships
Scope
Domain Specific
- Explain how and why the package falls under these categories:
The package falls under "Data processing/munging" because it processes and structures narrative text data (characters, plots, dialogues) into analyzable components. It also fits "Workflow automation" by automating the creative writing workflow (from character creation to coherence checking). The "Education" domain applies as the toolkit can be used to teach narrative structure, creative writing, and computational creativity concepts in academic settings. I am unsure if the package's primary focus on creative writing (rather than traditional scientific data) might be considered outside pyOpenSci's core scope.
- Target audience and scientific applications:
Target audience: Writers, educators, students, and researchers in computational creativity, narrative generation, and digital humanities.
Scientific applications:
-
Research in AI-assisted storytelling and narrative coherence
-
Educational tool for teaching story structure and creative writing techniques
-
Generating controlled narrative datasets for psychology or linguistics studies
-
Benchmarking LLM performance on creative writing tasks
-
Other similar packages and differences:
Yes, packages like tracery (grammar-based generation) and textgenrnn (RNN-based text generation) exist. However, story-toolkit differs by:
- Providing structured, multi-module approach (characters, plot, world, dialogue) vs. raw text generation
- Including coherence checking and analysis tools not found in other packages
- Offering optional LLM integration with multiple backends (OpenAI, Anthropic, local)
- Supporting multiple export formats (PDF, EPUB) and pre-built templates for common narrative structures
Generative AI Disclosure (Required)
Description of AI use:
Which parts: Documentation (initial drafts of docstrings and README sections) and boilerplate code structures (test file templates, class skeletons). No core logic or complex algorithms.
Scale: Documentation ~15-20%, boilerplate code ~5-10%. Core modules (character.py, plot_generator.py, coherence_checker.py) are 100% human-written.
How used: Queried separately for brainstorming, phrasing suggestions, and generating repetitive test patterns. All output manually reviewed and edited.
Link to AI policy: None yet.
- Any other questions or issues we should be aware of:
No.
P.S. Have feedback/comments about our review process? Leave a comment [on our discourse forum][Comments]
Submitting Author: Milad Rezanezhad (@miladrezanezhad)
Package Name: story-toolkit
One-Line Description of Package: A comprehensive Python toolkit for generating engaging and coherent stories with optional LLM support
Repository Link (if existing): https://github.com/miladrezanezhad/story-toolkit
EiC: TBD
Code of Conduct & Commitment to Maintain Package
Description
story-toolkitis a Python package that provides a comprehensive set of tools for generating and analyzing coherent stories. It offers modules for character creation (with traits, goals, relationships), plot generation (supporting multiple genres like fantasy, mystery, romance), dialogue writing, world building, and coherence checking. The package includes optional LLM integration (OpenAI, Anthropic, and local models via Ollama) for advanced generation, supports multiple export formats (PDF, EPUB, HTML, JSON, Markdown), and provides pre-built story templates (e.g., Hero's Journey, 3-Act structure). It is designed for writers, educators, and researchers in computational creativity and narrative generation.Community Partnerships
Scope
Domain Specific
The package falls under "Data processing/munging" because it processes and structures narrative text data (characters, plots, dialogues) into analyzable components. It also fits "Workflow automation" by automating the creative writing workflow (from character creation to coherence checking). The "Education" domain applies as the toolkit can be used to teach narrative structure, creative writing, and computational creativity concepts in academic settings. I am unsure if the package's primary focus on creative writing (rather than traditional scientific data) might be considered outside pyOpenSci's core scope.
Target audience: Writers, educators, students, and researchers in computational creativity, narrative generation, and digital humanities.
Scientific applications:
Research in AI-assisted storytelling and narrative coherence
Educational tool for teaching story structure and creative writing techniques
Generating controlled narrative datasets for psychology or linguistics studies
Benchmarking LLM performance on creative writing tasks
Other similar packages and differences:
Yes, packages like
tracery(grammar-based generation) andtextgenrnn(RNN-based text generation) exist. However,story-toolkitdiffers by:Generative AI Disclosure (Required)
Description of AI use:
Which parts: Documentation (initial drafts of docstrings and README sections) and boilerplate code structures (test file templates, class skeletons). No core logic or complex algorithms.
Scale: Documentation ~15-20%, boilerplate code ~5-10%. Core modules (
character.py,plot_generator.py,coherence_checker.py) are 100% human-written.How used: Queried separately for brainstorming, phrasing suggestions, and generating repetitive test patterns. All output manually reviewed and edited.
Link to AI policy: None yet.
No.
P.S. Have feedback/comments about our review process? Leave a comment [on our discourse forum][Comments]