from satya import Model, Field
class User(Model):
name: str = Field(min_length=1, max_length=100)
email: str = Field(pattern=r"^[\w.-]+@[\w.-]+$")
age: int = Field(gt=0, lt=150)
# 134x faster than Pydantic
user = User(name="Rach", email="r@trilok.ai", age=25)
print(user.validate()) # True