Skip to content

pyis

Tiny helpers for common value checks in Python.

Instead of writing the same isinstance / is None / comparison conditions everywhere, call small named helpers.

from pyis import validations

validations.type.is_string("hello")   # True
validations.amount.is_set(None)       # False
validations.numbers.is_positive(3)    # True
PyPI pypi.org/project/pyis
Source GitLab

Next