$npx skillfedfor your agent

xlocal

execution locals: killing global state (including thread locals)

SkipPyPI Software DevelopmentReleased Nov 2012132.5K downloads / moUNKNOWNSource build

Decision gist · record as of 2026-08-14

sdist only — xlocal-0.5.zip · builds from source
v0.5 · released 2012-11-16

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.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Python version support is unspecified; package was last released in 2012 and may not work on modern Python versions.
  • High install friction: distributed as a zip file rather than a wheel or sdist.
  • Package is abandoned—last release was 2012-11-16 with no commits or maintenance activity since.

License · maintenance · safety

UNKNOWN (unclear) — License is marked UNKNOWN with no SPDX identifier; actual licensing terms are unclear. Verify the LICENSE file in the source before using in commercial or copyleft-sensitive contexts.

last release 2012-11-16 (5019 days)

0 known vulnerabilities (OSV.dev, 2026-08-14) · 132,453 downloads/mo, #11,552 on PyPI

Verify before relying

from xlocal import xlocal

xcurrent = xlocal()

with xcurrent(x=1):
    print(xcurrent.x)  # prints 1

# Outside the context, xcurrent.x raises AttributeError
  • Whether xlocal works on current Python versions or only on Python 2.x.
  • Current compatibility with modern threading or async/await patterns.
  • Whether the zip distribution includes all necessary files or if setup.py is present.
Same gist for agents: .md · .json

What it is and what it does

xlocal implements execution-local storage—a 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.

The 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.

Use it for

  • 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.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Skip

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.

Install

xlocal on PyPI

Before you install

High install friction: distributed as a zip file rather than a wheel or sdist. Package is abandoned—last release was 2012-11-16 with no commits or maintenance activity since. Not suitable for new projects.

Python version support is unspecified; package was last released in 2012 and may not work on modern Python versions.

License in practice

License is marked UNKNOWN with no SPDX identifier; actual licensing terms are unclear. Verify the LICENSE file in the source before using in commercial or copyleft-sensitive contexts.

Quickstart

from xlocal import xlocal

xcurrent = xlocal()

with xcurrent(x=1):
    print(xcurrent.x)  # prints 1

# Outside the context, xcurrent.x raises AttributeError

Verify before relying

  • Whether xlocal works on current Python versions or only on Python 2.x.
  • Current compatibility with modern threading or async/await patterns.
  • Whether the zip distribution includes all necessary files or if setup.py is present.

Package facts

LicenseUNKNOWN unclear
Python supportNot specified
Install frictionHigh. Source build required
Runtime dependenciesNone
MaintenanceAbandoned 5,019 days since the last release
First released
Downloads132,453 / month, #11,552 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14

Evidence: xlocal-0.5.zip

Tags

Capabilities
execution local storagethread-safe context variablesscoped attribute bindinggreenlet-safe localscontext manager state isolation
Topics
abandonedlegacy

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “execution local storage”

  • xlocalProvides execution-local storage that scopes attribute bindings to a…
  • langgraph-checkpoint-sqliteProvides a SQLite-backed checkpoint saver for LangGraph, enabling…
  • render_sdkOfficial Python SDK for Render that lets you define and run workflow…

Give your agent the search over MCP, or paste the wish link into any chat.

More Software Development packages

typing-extensions Worth it
PyPI · Software Development · released Jul 2026

Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.

PSF-2.0pure Python · 3.9+
1.9Bdownloads / mo
numpy Worth it
PyPI · Software Development · released Aug 2026

NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.

BSD-3-Clause AND 0BSD AND MIT AND Zlib AND CC0-1.0compiled wheel · 3.12+
1.1Bdownloads / mo
fastapi Worth it
PyPI · Software Development · released Jul 2026

FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.

MITpure Python · 3.10+
568.6Mdownloads / mo
annotated-doc With conditions
PyPI · Software Development · released Jul 2026

Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.

MITpure Python · 3.9+
456.2Mdownloads / mo
typer Worth it
PyPI · Software Development · released Aug 2026

Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.

Install it if you are building CLIs in Python.

MITpure Python · 3.10+
369.3Mdownloads / mo
distlib With conditions
PyPI · Software Development · released Jun 2026

Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.

permissive licensepure Python
323.3Mdownloads / mo

See also psutil-home-assistant · Flask-Threads · greenlet · proxy_tools · threaded · opentelemetry-instrumentation-threading · kthread · stopit · pytest-threadleak · opencensus-context