{"categories":[{"label":"Software Development","url":"https://skillfed.io/packages/category/software-development/3"}],"enrichment":{"capability":"Lets a module behave like a callable object or container by wrapping it with special methods, eliminating redundant import patterns.","skillfed_tags":["module-protocol","decorator","api-design"],"use_cases":["Make a module callable so the module itself can be invoked as a function without intermediate imports.","Wrap a module around a list or dict to support indexing and mutation directly on the module.","Reduce import boilerplate in libraries where the module itself is the primary interface.","Create a module that mimics a built-in type's interface for a more intuitive API."],"what_it_does":"xmod is a lightweight library that lets you give a module the behavior of a callable or container object. Normally, modules are static namespaces; xmod wraps a module so it can respond to function calls, indexing, or other object protocols. This is useful for single-purpose modules where you want to avoid boilerplate and instead call or index the module directly.\n\nThe package has no runtime dependencies and works with modern Python versions (3.10\u20133.14). It's maintained actively with no known vulnerabilities. The core use case is simplifying APIs of modules that \"just do one thing\" by letting them behave like the objects they export.","worth_installing":"Yes, if you want to simplify module APIs or reduce import boilerplate in single-purpose modules. The package is lightweight, actively maintained, permissively licensed, and carries no security vulnerabilities. Install friction is minimal. It's a niche tool, but well-suited to its specific use case."},"id":"xmod","links":{"html":"https://skillfed.io/packages/xmod","md":"https://skillfed.io/packages/xmod.md","pypi":"https://pypi.org/project/xmod/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-05-09","license_spdx":"MIT","license_treatment":"permissive","name":"xmod","python_support":"supports_current","summary":"\ud83c\udf31 Turn any object into a module \ud83c\udf31"},"popularity":{"monthly_downloads":4908921,"position":2200,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"1.10.0"}
