WinSys is a Python package which wraps aspects of the Windows API to make
them more Pythonic and usable by Windows administrators directly
from the interpreter or as part of a wider set of applications.
It targets recent versions of Python and reasonably recent versions of Windows
although it’s not yet up to speed on Vista/W7 & x64.

It is unashamedly platform-specific: no hint of a concession towards more
Unix-like operating systems. You can read about the design
philosophy and decisions in About WinSys. If you want to see some
examples, have a look in the Cookbook.

WinSys is developed as an Open Source project and the project home,
together with issues list and browseable source code is at:

Copy a registry key from HKLM to HKCU and set its permissions so that
only the current user has change access while everyone else gets read.
Then dump the details of the new top-level key, including its security.

and then either add that directory into sys.path (I use a .pth
file but whatever works for you) or run setup.py install from
there. I don’t do setuptools, so you can’t do setup.py develop
unless you tweak the setup.py code.