{"categories":[{"label":"Software Development","url":"https://skillfed.io/packages/category/software-development/15"}],"enrichment":{"capability":"Provides execution-local storage that scopes attribute bindings to a code block and its callees, preventing state leakage across threads or greenlets.","skillfed_tags":["abandoned","legacy"],"use_cases":["Pass request-specific context to handler functions spawned in threads or greenlets without using globals.","Implement per-execution state in web frameworks or plugin systems where multiple concurrent executions need isolated bindings.","Prevent state leakage when invoking user code that should not modify the caller's execution context.","Manage thread-local or greenlet-local state with explicit lifecycle control via context managers."],"what_it_does":"xlocal implements execution-local storage\u2014a restricted variant of thread-local storage where attribute bindings are scoped to a context-managed code block and all functions it calls, rather than persisting globally or thread-wide. Attributes set via a with-statement are visible to all code invoked within that block, including nested function calls, but are automatically cleaned up when the block exits and do not leak to other threads or greenlets.\n\nThe package is designed for frameworks and libraries that invoke handler or plugin code and want to pass execution-specific state without using globals or thread locals. It prevents called code from rebinding state of its caller and ensures clean lifecycle management. However, the package has been abandoned since 2012-11-16 and is not actively maintained.","worth_installing":"No. The package is abandoned (last release 2012-11-16, no maintenance since), has unclear licensing, high install friction (zip-only distribution), and unspecified Python version support. Modern alternatives provide similar functionality with active maintenance. Use only if maintaining legacy code already depending on it."},"id":"xlocal","links":{"html":"https://skillfed.io/packages/xlocal","md":"https://skillfed.io/packages/xlocal.md","pypi":"https://pypi.org/project/xlocal/"},"maintenance":{"status":"abandoned"},"meta":{"latest_release":"2012-11-16","license_spdx":null,"license_treatment":"unclear","name":"xlocal","python_support":"unspecified","summary":"execution locals: killing global state (including thread locals)"},"popularity":{"monthly_downloads":132453,"position":11552,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.5"}
