Extented Synthetic Data Generator#

Note

Understand the purpose of each component from the Architecture.

SDG uses pluggy to develop plug-in systems, which is based on the entry-points of Python project.

A plugin project is made up of three parts:

  • A class, inherits from the register_type of Manager, which contains your own logic.

  • A register function, which’s name is defined(decorated) by @hookspec. and you need to implement it and use @hookimp to declare it as a registed hook.

  • A entry-points in pyproject.toml, which pointing to the hookimp function. The subdomain of the entry-point is the PROJECT_NAME you can find in Manager.

View latest extension example on GitHub.

Plugin-supported modules#