Metadata-Version: 2.4
Name: nextpcg
Version: 1.0.6
Summary: NextPCG Python SDK — Dson plugin framework and Houdini HAPI wrapper for procedural game content generation
Home-page: https://nextpcg.notion.site/Wiki-384dc1d9d9f64306bd8774ff1138f618?pvs=4
Author: GenesisGroup
Author-email: cheneyshen@tencent.com
License: MIT
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Games/Entertainment
Classifier: Topic :: Multimedia :: Graphics :: 3D Modeling
Requires-Python: >=3.6
Description-Content-Type: text/markdown
Requires-Dist: numpy
Requires-Dist: pillow
Requires-Dist: requests
Requires-Dist: pyyaml
Requires-Dist: importlib_resources
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: license
Dynamic: requires-dist
Dynamic: requires-python
Dynamic: summary

# nextpcg

**nextpcg** is the Python SDK for the NextPCG procedural game content generation platform.
It provides the core framework and toolsets for building Dson plugins and integrating with Houdini Engine.

## Modules

| Module | Description |
|---|---|
| `nextpcg.common` | General-purpose utility library: path handling, logging, file operations |
| `nextpcg.pyhapi` | Houdini Engine API (HAPI) Python wrapper: node management, geometry I/O, cook control |
| `nextpcg.pypapi` | Dson plugin framework: `DsonBase`, `DsonMeta`, `Dispatcher`, `DsonPool`, field types, CLI |
| `nextpcg.pypapi.mcp` | MCP tool development public API: `MCPToolBase`, `expose_as_mcp` |
| `nextpcg.pypapi.testing` | Testing framework for external Dson plugin developers |
| `nextpcg.pypapi.pantry` | Pre-built Dson configuration templates (`.yaml`) |

## Installation

```bash
pip install nextpcg
```

## Quick Start

```python
from nextpcg.pypapi.dson import DsonBase
from nextpcg.pypapi.dson_field import String, Float3

class MyPlugin(DsonBase):
    name = String(default="my_plugin")
    position = Float3(default=(0.0, 0.0, 0.0))
```

## Documentation

Full documentation is available at:
https://nextpcg.notion.site/Wiki-384dc1d9d9f64306bd8774ff1138f618
