Glossary

field

A string that represents a method of a data provider.

field handler

A custom callable that generates data for a field. Field handlers accept a Random instance and keyword arguments, and can be registered using register_handler() or the handle() decorator.

fieldset

A list of fields.

key function

A callable that transforms the result of a field after generation. Key functions are applied using the key parameter in field operations.

See keys

locale

A locale that represents country-specific data for locale-dependent data providers.

See Locale

localized provider

A provider that depends on external JSON files with localized data.

provider

A class that provides various data generators.

schema builder

A declarative builder for generating related fake datasets with foreign keys, nested schemas, and automatic dependency resolution.

See SchemaBuilder

schema context

A context object passed to map() transformers that need more than the item itself. It exposes the current row index, schema seed, and shared run metadata set via with_context() (for example tenant or environment labels).

See SchemaContext and the guide section Transforming Items with map() and SchemaContext in Structured Data Generation.

universal provider

A provider without external dependencies that can be used for any locale.