Skip to content

xPyTools

Complete documentation for all xpytools modules and functions.

New to xpytools? See Installation for setup instructions.

Type System (xtype)

Safe type conversions, runtime validation, and constrained types.

  • xcast - Safe type conversions that return None on failure
  • xcheck - Runtime type validation with boolean returns
  • choice - Constrained types without full Enum classes
  • Types - Specialized type implementations (TTLSet, UUIDLike)
  • Common Types - Shared type annotations and utilities

Utilities (xtool)

DataFrame operations, image processing, text manipulation, and SQL helpers.

Decorators (xdeco)

Function enhancers for dependency management and design patterns.