Return to Arsenal
PY Validation/Python · Rust

Satya

Blazingly fast data validation for Python, powered by Rust. Up to 134x faster than Pydantic for large-scale validation.

Origin

Pydantic defined Python data validation. Satya redefines its speed. A Rust-powered engine that validates data structures 134x faster while maintaining a Python-native API. When your pipeline processes millions of records, the difference between microseconds and milliseconds is the difference between feasible and impossible.

Attributes

134x
Faster
Rust-powered
Rust-powered
Apache
2.0

Capabilities

  • 134x faster than Pydantic for large payloads
  • Rust-powered validation core via PyO3 bindings
  • Python-native API with familiar decorator patterns
  • Schema compatibility with existing Pydantic models
  • Zero-copy validation for maximum throughput
  • Compile-time schema optimization

Invoke

python
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