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 builder class for creating related schemas with cross-references between them. It allows defining multiple named schemas and generating relational data.

See SchemaBuilder

schema context

A context object passed to schema transformation functions. It contains metadata about the current iteration (index, seed, custom data) and provides methods for accessing related schema data.

See SchemaContext

universal provider

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