gsudo
Alias of zhmiscellanygsudo — a fully-featured Python wrapper for gsudo that lets a Python process re-launch itself as admin, SYSTEM, or TrustedInstaller while keeping its console.
This package is a shim. pip install gsudo pulls in zhmiscellanygsudo and re-exports everything under the shorter name. All functionality, docs and bug reports live in the parent package.
import gsudo
print(gsudo.is_admin())
gsudo.rerun_as_admin(keep_same_console=True)
print("Hey, I'm running as admin now!")
gsudo.admin_subprocess.Popen / .run are also re-exported for drop-in subprocess-style usage.
Full docs: https://github.com/zen-ham/zhmiscellanygsudo
Metadata
Release files for gsudo 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| gsudo-0.0.1-py3-none-any.whl | Python 3 | none | any | Details for gsudo-0.0.1-py3-none-any.whl |
Release files / gsudo-0.0.1-py3-none-any.whl
| Download URL | gsudo-0.0.1-py3-none-any.whl |
|---|---|
| Size | 2.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d67e133f2cddd12be7505cd1367efe3cc9eb3dbe438dfe40247d8349c777ebc6
|
|
BLAKE2b-256 checksum How to use checksums |
ea446401eb9090113b04960456465e3b653066afe5dc85f350bf508678a2c8f5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.9
|
Security for gsudo 0.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.