Skip to main content

NextPCG Python SDK — Dson plugin framework and Houdini HAPI wrapper for procedural game content generation

Project description

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

pip install nextpcg

Quick Start

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nextpcg-1.0.6.tar.gz (116.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nextpcg-1.0.6-py3-none-any.whl (130.8 kB view details)

Uploaded Python 3

File details

Details for the file nextpcg-1.0.6.tar.gz.

File metadata

  • Download URL: nextpcg-1.0.6.tar.gz
  • Upload date:
  • Size: 116.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.12

File hashes

Hashes for nextpcg-1.0.6.tar.gz
Algorithm Hash digest
SHA256 8f8678ae20b07289592a86612326cac18ce8f80da0672f0ce44b744a76dbaee0
MD5 ff4a224cc59cb434d0c8ddddcbfff8f1
BLAKE2b-256 70a52c1dad146af50907fa9c26a83d518635580c1c403a2517bf1ad51cecfeac

See more details on using hashes here.

File details

Details for the file nextpcg-1.0.6-py3-none-any.whl.

File metadata

  • Download URL: nextpcg-1.0.6-py3-none-any.whl
  • Upload date:
  • Size: 130.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.12

File hashes

Hashes for nextpcg-1.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 ba8bc3fe249fceaaeac06cbb5b1ca9791bbac5f999a25215f42a910003a3e73b
MD5 50dd9719d8406a07702bf2a1ce70fce4
BLAKE2b-256 907e02a47f4c406616f0c95e2d9f70d6e09cec6d6640bd17e79d562f33903a8e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page