compat Module (stx.compat)

SciTeX Backward Compatibility Module.

This module provides aliases and wrappers for deprecated APIs. Import from here to use old function names that delegate to new implementations.

Deprecation Timeline: - v1.x: Old APIs work with deprecation warnings - v2.x: Old APIs removed, use new APIs directly

scitex.compat.deprecated(new_name, removal_version='2.0')[source]

Decorator to mark functions as deprecated.

scitex.compat.notify(*args, **kwargs)[source]

Deprecated: Use scitex.notify.alert() instead.

In standalone mode, this only emits a deprecation warning. The actual notification requires scitex.notify to be installed.

async scitex.compat.notify_async(*args, **kwargs)[source]

Deprecated: Use scitex.notify.alert_async() instead.

In standalone mode, this only emits a deprecation warning. The actual notification requires scitex.notify to be installed.