{"categories":[{"label":"Utilities","url":"https://skillfed.io/packages/category/utilities/3"},{"label":"Systems Administration","url":"https://skillfed.io/packages/category/system-systems-administration"}],"enrichment":{"capability":"Provides a pure-Python shim for the selinux module that works inside virtualenvs, allowing tools to import selinux without requiring system-level virtualenv configuration.","skillfed_tags":["selinux","virtualenv-compat"],"use_cases":["Importing selinux in isolated Python environments for system administration tasks","Testing or developing tools that depend on selinux in a containerized or virtualenv-based CI/CD pipeline","Running code that requires selinux from within a virtualenv without system-level workarounds"],"what_it_does":"This package is a workaround for a specific virtualenv limitation: selinux normally cannot be imported from inside isolated Python environments even when the system library is installed. The selinux shim bridges that gap by providing a pure-Python wrapper that allows code running in a virtualenv to import selinux.\n\nThe shim requires that libselinux Python bindings be present on the host system\u2014it does not replace them, only makes them accessible from within a virtualenv. It has been tested to work both inside, outside virtualenvs without interfering with the original library. The package depends only on distro for runtime operation, supports Python 3.9 or later.","worth_installing":"Yes, if you need to use selinux from inside a virtualenv. The package solves a specific problem with minimal dependencies, no security issues, active maintenance status. The gap since the latest release is a minor concern, but the package remains actively maintained, marked Production/Stable. Install only if you encounter the virtualenv selinux import problem."},"id":"selinux","links":{"html":"https://skillfed.io/packages/selinux","md":"https://skillfed.io/packages/selinux.md","pypi":"https://pypi.org/project/selinux/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2022-12-24","license_spdx":null,"license_treatment":"permissive","name":"selinux","python_support":"supports_current","summary":"shim selinux module"},"popularity":{"monthly_downloads":1761246,"position":3583,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"0.3.0"}
