{"library":"pyprctl","title":"pyprctl","description":"A pure-Python interface to Linux's prctl() syscall and related functionality (e.g., capabilities, process names, securebits) using ctypes. Version 0.1.3, released 2023-06-18. Low release cadence.","language":"python","status":"active","last_verified":"Mon Apr 27","install":{"commands":["pip install pyprctl"],"cli":null},"imports":["from pyprctl import prctl"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"from pyprctl import prctl\nfrom pyprctl.caps import Cap\n\n# Get current capability sets\npermitted = prctl.cap_get_pc()\neffective = prctl.cap_get_ec()\nprint(permitted, effective)\n\n# Check if a capability is supported\nif Cap.CAP_NET_RAW.is_supported():\n    print(\"CAP_NET_RAW is supported\")","lang":"python","description":"Demonstrates basic usage: querying capability sets and checking support.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}