Windows Routines by Jason R. Coombs
A pure-python interface to Windows APIs using ctypes. This package is not designed to be exhaustive, but rather to supply interfaces as they are needed by the contributors.
jaraco.windows contains several modules for different purposes. For now, read the source. Eventually, I hope to put high-level descriptions of the modules here.
You should install this module the normal way using pip or easy_install.
If you want to monkeypatch the os module to include symlink compatibility, you should add the following to your usercustomize or sitecustomize module:
import jaraco.windows.filesystem as fs; fs.patch_os_module()
Thereafter, you should be able to use os.symlink and os.readlink in Windows Vista and later using the same interface as on Unix.
Note that jaraco.windows.filesystem.symlink takes an additional optional parameter target_is_directory, which must be specified if the target is not present and is expected to be a directory once present.
If jaraco.windows doesn’t supply the interface you require for your application, consider creating the interface and providing a pull request to the project.
Release history Release notifications
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size & hash SHA256 hash help||File type||Python version||Upload date|
|jaraco.windows-3.9.1-py2.py3-none-any.whl (54.6 kB) Copy SHA256 hash SHA256||Wheel||py2.py3||Apr 16, 2018|
|jaraco.windows-3.9.1.zip (72.5 kB) Copy SHA256 hash SHA256||Source||None||Apr 16, 2018|