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
Noneon 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.
- DataFrame Operations - Clean and transform pandas data
- Image Processing - Unified I/O from any source
- Text Processing - String manipulation and cleaning
- SQL Bridge - Prepare data for database insertion
- Pydantic Extensions - Enhanced model features
Decorators (xdeco)¶
Function enhancers for dependency management and design patterns.
- @requireModules - Graceful dependency handling
- @asSingleton - Singleton pattern enforcement
External Links¶
- PyPI Package - Install with
pip install xpytools - GitHub Repository - Source code and issues
- Author Profile - Kydoimos97 on GitHub