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 tests Ruff https://readthedocs.org/projects/jaracowindows/badge/?version=latest https://img.shields.io/badge/skeleton-2024-informational

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.

Source Distribution

jaraco_windows-5.9.1.tar.gz (56.4 kB view details)

Uploaded Source

Built Distribution

jaraco.windows-5.9.1-py3-none-any.whl (58.4 kB view details)

Uploaded Python 3

File details

Details for the file jaraco_windows-5.9.1.tar.gz.

File metadata

  • Download URL: jaraco_windows-5.9.1.tar.gz
  • Upload date:
  • Size: 56.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for jaraco_windows-5.9.1.tar.gz
Algorithm Hash digest
SHA256 720c0e48d6eab0cf956dcc2a9b8a40936aaf6c5819e7fcf27f7b9acbd2fa0921
MD5 57020bcdd181e6c5b9f731bdaa061ba3
BLAKE2b-256 022a8b874d30e61f5c74f2363e02e7d643f20496cdcc3637f91d496145c7bf65

See more details on using hashes here.

File details

Details for the file jaraco.windows-5.9.1-py3-none-any.whl.

File metadata

File hashes

Hashes for jaraco.windows-5.9.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a8ebe95eecf20985b2ded7b010b230e93b9091b8dac890673ca2e1ddc93e3312
MD5 ddc51acf466af8347a3711f16a89c0d2
BLAKE2b-256 370cddddffe791978c9009cf369e8e9aa6ae1883369dcbed9b3c5b38994b147d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page