{"categories":[{"label":"Utilities","url":"https://skillfed.io/packages/category/utilities/10"}],"enrichment":{"capability":"Elevate re-launches the current Python process with root or admin privileges using platform-specific mechanisms (UAC on Windows, AppleScript on macOS, pkexec/sudo on Linux).","skillfed_tags":["privilege-escalation","cross-platform","system-admin"],"use_cases":["System administration scripts that need to perform privileged operations but should prompt for elevation only once at startup.","Cross-platform tools that require root access on Unix-like systems and admin access on Windows.","Installation or configuration utilities that need to modify system files or settings.","Daemon or service launchers that must run with elevated privileges from a user-initiated script."],"what_it_does":"Elevate is a small library that re-launches your Python process with elevated privileges, handling the platform-specific details of privilege escalation. When you call elevate() early in your script, it checks whether the process is already running as root; if not, it uses the appropriate system mechanism for your platform to request elevation and replace or restart the process. On Windows it uses UAC, on macOS it tries AppleScript before falling back to sudo, and on Linux it tries graphical tools like pkexec before sudo.\n\nThe library has no runtime dependencies and is designed to be called once at script startup. Its main constraint is that it depends entirely on system-level privilege escalation infrastructure, which varies across platforms and may not be available in all environments. The package has received no updates since its initial release.","worth_installing":"No. The package has not been updated since 2018-05-22 and is dormant, raising serious concerns about compatibility with modern Python versions and contemporary privilege escalation mechanisms. While the MIT license is permissive and there are no known vulnerabilities, the age and lack of maintenance make it a poor choice for new projects. Consider using platform-specific elevation mechanisms directly or evaluating actively maintained alternatives."},"id":"elevate","links":{"html":"https://skillfed.io/packages/elevate","md":"https://skillfed.io/packages/elevate.md","pypi":"https://pypi.org/project/elevate/"},"maintenance":{"status":"dormant"},"meta":{"latest_release":"2018-05-22","license_spdx":null,"license_treatment":"permissive","name":"elevate","python_support":"unspecified","summary":"Python library for requesting root privileges"},"popularity":{"monthly_downloads":111879,"position":12392,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.1.3"}
