@any_field.register(models.PositiveIntegerField)
def any_positiveinteger_field(field, **kwargs):
    min_value = kwargs.get('min_value', 1)
    max_value = kwargs.get('max_value', 9999)
    return xunit.any_int(min_value=min_value, max_value=max_value)
An positive integer
dataset/ETHPy150Open kmmbvnr/django-any/django_any/models.py/any_positiveinteger_field