semvec/pypi-packages huggingface dataset:
pywinelevate 0.0.7
a symple python decorator that reloads the script with privileges if neccesary
Requires Python: >=3.6

# pywinelevate
a symple decorator that elevates a function rerunning the script as Admin if is not (in windows)

```from import pywinelevate import elevate

@elevate
def function_to_elevate(args*, argv**):
    foo = bar
    return foo
```

it will run ALL THE SCRIPT not only the function. be aware...