API Documentation

True-Core is a comprehensive Python utility library providing advanced functionality for enum management, type validation, time handling, regular expressions, and file operations.

Core Components

File System Operations

The file system components offer comprehensive file handling capabilities:

  • true.collections: Advanced file system operations and recycling bin management

  • File creation and manipulation utilities

  • Cross-platform compatibility

  • Secure file deletion

Time Management

Time handling utilities with extensive features:

  • true.time: Advanced timezone support and time manipulation

  • Event scheduling and management

  • Time formatting and conversion

  • Performance timing utilities

Regular Expressions

Pre-compiled regex patterns for common validation tasks:

  • true.re: Comprehensive pattern library

  • Username and password validation

  • Email and URL validation

  • Phone number and credit card validation

  • Date format validation

Exception Handling

Specialized exceptions for better error management:

  • true.exceptions: Custom exception hierarchy

  • Type-specific error handling

  • Operation-specific exceptions

  • Validation error handling