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.0.tar.gz (117.6 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.0-py3-none-any.whl (130.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: nextpcg-1.0.0.tar.gz
  • Upload date:
  • Size: 117.6 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.0.tar.gz
Algorithm Hash digest
SHA256 edd641275ef9faebbf06619759f27cbe0d0a504c0a2a99122665e112d9c3c9ff
MD5 def72946ec3de0844050ed49745f0f0f
BLAKE2b-256 7d5659ad9661bce0d7d8e8dd2c904016da6bcdc8a7bc370ec4da01de19b3f0ad

See more details on using hashes here.

File details

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

File metadata

  • Download URL: nextpcg-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 130.6 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d1367cef61148006fbef0f50b2e23fe17ebcdc308dd2a3874a3cf838e7098108
MD5 e00b5f359e845f997dec25da0b3b508b
BLAKE2b-256 f93c526c2ccefc426ad145ccbc69be8175b9b4667f9962ed1a0334a898074fc3

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