Overview of Dataframely
mainDataframely is a Python package designed to validate the schema and content of polars data frames. It aims to make data pipelines more robust by ensuring data meets specific expectations and more readable by providing schema information through data frame type hints.
Key capabilities include:
- Declarative schema definitions using classes.
- Column-specific validation (e.g., nullability, string length).
- Cross-column and group validation, including primary key checks.
- Validation across collections of interdependent data frames.
- Soft validation (filtering out invalid rows instead of raising errors).
- Introspection of validation failures.
- Enhanced type hints for data pipeline contracts.
- Integration with
sqlalchemy,pydantic, and Arrow PyCapsule. - Generation of compliant test data.