SELinux Python Bindings (Shim)

JSON →
library 0.3.0 ·python
verified May 22, 2026

The `selinux` library for Python provides a shim for interacting with the system's SELinux module. It allows Python applications to query SELinux status, manage security contexts, and perform other SELinux-related operations. It primarily acts as a wrapper around the system's native `_selinux` module, which is typically provided by the `libselinux-python` package on Linux distributions. The current version is 0.3.0, with an active release cadence driven by contributions.

total hits 13
actors 6 distinct systems
last hit 22h ago ByteDance
GPTBot
6
Script
2
ByteDance
1
ClaudeBot
1
Search engines
1

top countries 🇺🇸 United States · 🇩🇪 Germany · 🇨🇦 Canada · 🇸🇬 Singapore · 🇫🇷 France