Skip to main content

Windows Routines by Jason R. Coombs

Project description

https://img.shields.io/pypi/v/jaraco.windows.svg https://img.shields.io/pypi/pyversions/jaraco.windows.svg https://dev.azure.com/jaraco/jaraco.windows/_apis/build/status/jaraco.jaraco.windows?branchName=master https://img.shields.io/travis/jaraco/jaraco.windows/master.svg Code style: Black https://ci.appveyor.com/api/projects/status/f5l6sv7ox8q1ypo6?svg=true https://readthedocs.org/projects/jaracowindows/badge/?version=latest

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.

Package Contents

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.

Installation

You should install this module the normal way using pip.

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.

Contribute

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for jaraco.windows, version 5.0.0
Filename, size File type Python version Upload date Hashes
Filename, size jaraco.windows-5.0.0-py3-none-any.whl (54.9 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size jaraco.windows-5.0.0.tar.gz (56.4 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page