Metadata-Version: 2.4
Name: fabricatio-novel
Version: 0.1.8
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Typing :: Typed
Requires-Dist: fabricatio-character
Requires-Dist: fabricatio-core
Requires-Dist: pydantic>=2.11.9
Requires-Dist: fabricatio-novel[workflows,cli] ; extra == 'full'
Requires-Dist: fabricatio-actions ; extra == 'workflows'
Requires-Dist: fabricatio-novel[workflows] ; extra == 'cli'
Requires-Dist: questionary>=2.1.0 ; extra == 'cli'
Requires-Dist: typer-slim[standard]>=0.15.2 ; extra == 'cli'
Provides-Extra: full
Provides-Extra: workflows
Provides-Extra: cli
Summary: An extension of fabricatio
Author-email: Whth <zettainspector@foxmail.com>
License-Expression: MIT
Requires-Python: >=3.12, <3.15
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
Project-URL: Homepage, https://github.com/Whth/fabricatio
Project-URL: Repository, https://github.com/Whth/fabricatio
Project-URL: Issues, https://github.com/Whth/fabricatio/issues

# `fabricatio-novel`

[MIT](https://img.shields.io/badge/license-MIT-blue.svg)
![Python Versions](https://img.shields.io/pypi/pyversions/fabricatio-novel)
[![PyPI Version](https://img.shields.io/pypi/v/fabricatio-novel)](https://pypi.org/project/fabricatio-novel/)
[![PyPI Downloads](https://static.pepy.tech/badge/fabricatio-novel/week)](https://pepy.tech/projects/fabricatio-novel)
[![PyPI Downloads](https://static.pepy.tech/badge/fabricatio-novel)](https://pepy.tech/projects/fabricatio-novel)
[![Bindings: PyO3](https://img.shields.io/badge/bindings-pyo3-green)](https://github.com/PyO3/pyo3)
[![Build Tool: uv + maturin](https://img.shields.io/badge/built%20with-uv%20%2B%20maturin-orange)](https://github.com/astral-sh/uv)

An extension of fabricatio.

---

## 📦 Installation

This package is part of the `fabricatio` monorepo and can be installed as an optional dependency using either pip or uv:

```bash
pip install fabricatio[novel]
# or
uv pip install fabricatio[novel]
```

For a full installation that includes this package and all other components of `fabricatio`:

```bash
pip install fabricatio[full]
# or
uv pip install fabricatio[full]
```

## 🔍 Overview

Provides comprehensive AI-powered novel generation capabilities, enabling the creation of complete novels from outline
to publication-ready chapters. It orchestrates character development, plot structuring, and content generation through
an integrated pipeline that produces coherent, engaging narratives with rich character arcs and consistent storytelling.

## 🧩 Key Features

- **Complete Novel Pipeline**: End-to-end novel generation from initial outline to final chapters
- **Character Integration**: Automatic character creation and integration throughout the narrative
- **Script-Based Writing**: Structured chapter scripting with detailed scene planning
- **Language Detection**: Automatic language detection and consistent language usage
- **Content Formatting**: XHTML output formatting for publication-ready content
- **Scalable Generation**: Support for novels of varying lengths and complexity
- **Quality Assurance**: Built-in validation and improvement capabilities for generated content

## 🔗 Dependencies

Core dependencies:

- `fabricatio-core` - Core interfaces and utilities
- `fabricatio-character` - Character creation and management

No additional dependencies required.

## 📄 License

MIT – see [LICENSE](../../LICENSE)


