Core Utilities๏
The core utilities provide fundamental functionality for the Siege Utilities package, including logging, string manipulation, and package initialization.
Package Discovery๏
Core package โ lazy-loaded.
Contains logging, string utilities, SQL safety, and other core functions. All submodules load on first attribute access via PEP 562 __getattr__.
Note
All functions in this module are automatically discovered and available at the package level. No explicit imports are required.
Functions๏
- siege_utilities.core.__init__(*args, **kwargs)๏
Initialize self. See help(type(self)) for accurate signature.
Usage Examples๏
Basic package usage:
import siege_utilities
# All functions are automatically available
print(dir(siege_utilities))
Unit Tests๏
The core module has comprehensive test coverage:
โ
test_package_discovery.py - Package discovery and import tests
โ
test_core_logging.py - Logging functionality tests
โ
test_string_utils.py - String utility tests
Test Results: All core utilities tests pass successfully.