# PyBindGen API Reference

## Higher layers

- module: generate Python modules and submodules
  - Modules and Sub-modules
  - Modules and C++ namespaces
- function: C/C++ function wrappers
- enum: wrap enumrations
- cppclass: wrap C++ classes or C structures
- cppmethod: wrap class methods and constructors
- cppattribute: wrap class/instance attributes
- cppexception: translate C++ exceptions into Python
- container: wrap STL containers
- gccxmlparser: scan header files to extract API definitions
- settings: pybindgen global settings

## Lower layers

- utils: internal utilities
- typehandlers.base: abstract base classes for type handlers and wrapper generators
- cppclass_typehandlers: type handlers for C++ classes (or C structures)
- typehandlers.codesink: classes that receive generated source code